query
stringlengths
7
3.85k
document
stringlengths
11
430k
metadata
dict
negatives
sequencelengths
0
101
negative_scores
sequencelengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
New creates a new Service. It uses the provided http.Client for requests. Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func New(client *http.Client) (*Service, error) { if client == nil { return nil, errors.New("client is nil") } s := &Service{client: client, BasePath: basePath} s.Projects = NewProjectsService(s) return s, nil }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Apis = NewApisService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Projects = NewProjectsService(s)\n\ts.V1alpha1 = NewV1alpha1Service(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.LicenseAssignments = NewLicenseAssignmentsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Locations = NewLocationsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.IamPolicies = NewIamPoliciesService(s)\n\ts.Organizations = NewOrganizationsService(s)\n\ts.Permissions = NewPermissionsService(s)\n\ts.Projects = NewProjectsService(s)\n\ts.Roles = NewRolesService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Organizations = NewOrganizationsService(s)\n\ts.Projects = NewProjectsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Analytics = NewAnalyticsService(s)\n\ts.ClientMessages = NewClientMessagesService(s)\n\ts.Companies = NewCompaniesService(s)\n\ts.Leads = NewLeadsService(s)\n\ts.Offers = NewOffersService(s)\n\ts.UserEvents = NewUserEventsService(s)\n\ts.UserStates = NewUserStatesService(s)\n\ts.Users = NewUsersService(s)\n\ts.V2 = NewV2Service(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Hybrid = NewHybridService(s)\n\ts.Organizations = NewOrganizationsService(s)\n\ts.Projects = NewProjectsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Namespaces = NewNamespacesService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Companies = NewCompaniesService(s)\n\ts.Jobs = NewJobsService(s)\n\ts.V2 = NewV2Service(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Dms = NewDmsService(s)\n\ts.Media = NewMediaService(s)\n\ts.Rooms = NewRoomsService(s)\n\ts.Spaces = NewSpacesService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.AccountSummaries = NewAccountSummariesService(s)\n\ts.Accounts = NewAccountsService(s)\n\ts.Properties = NewPropertiesService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Searchanalytics = NewSearchanalyticsService(s)\n\ts.Sitemaps = NewSitemapsService(s)\n\ts.Sites = NewSitesService(s)\n\ts.UrlInspection = NewUrlInspectionService(s)\n\ts.UrlTestingTools = NewUrlTestingToolsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Subscriptions = NewSubscriptionsService(s)\n\ts.Topics = NewTopicsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Claims = NewClaimsService(s)\n\ts.Pages = NewPagesService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Media = NewMediaService(s)\n\ts.Sdfdownloadtasks = NewSdfdownloadtasksService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Debug = NewDebugService(s)\n\ts.Indexing = NewIndexingService(s)\n\ts.Media = NewMediaService(s)\n\ts.Operations = NewOperationsService(s)\n\ts.Query = NewQueryService(s)\n\ts.Settings = NewSettingsService(s)\n\ts.Stats = NewStatsService(s)\n\ts.V1 = NewV1Service(s)\n\treturn s, nil\n}", "func New() *Service {\n\ts := new(Service)\n\ts.GoRoutines = sdk.NewGoRoutines(context.Background())\n\treturn s\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Featuretiles = NewFeaturetilesService(s)\n\ts.Terraintiles = NewTerraintilesService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Folders = NewFoldersService(s)\n\ts.Operations = NewOperationsService(s)\n\treturn s, nil\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Purchases = NewPurchasesService(s)\n\treturn s, nil\n}", "func New() *service {\n\treturn &service{}\n}", "func New() Service {\n\treturn &service{}\n}", "func New() Service {\n\treturn &service{}\n}", "func New(ctx context.Context, scope string) (*Service, error) {\n\thttpClient, err := google.DefaultClient(ctx, scope)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn &Service{\n\t\tProject: NewProject(httpClient),\n\t}, nil\n}", "func New(c service.GapidClient) service.Service {\n\treturn &client{c, func() error { return nil }}\n}", "func New() *Service {\n\treturn &Service{}\n}", "func New() *Service {\n\treturn &Service{}\n}", "func New() *Service {\n\treturn &Service{}\n}", "func New() *Service {\n\ts := new(Service)\n\ts.GoRoutines = sdk.NewGoRoutines(context.Background())\n\ts.Router = &api.Router{\n\t\tMux: mux.NewRouter(),\n\t}\n\treturn s\n}", "func New(t string, opt []byte) (Service, error) {\n\tswitch t {\n\tcase constants.ServiceFs:\n\t\treturn fs.New(opt)\n\tcase constants.ServiceMySQL:\n\t\treturn mysql.New(opt)\n\tcase constants.ServiceRedis:\n\t\treturn redis.New(constants.ServiceRedis, opt)\n\tcase constants.ServiceRedisSentinel:\n\t\treturn redis.New(constants.ServiceRedisSentinel, opt)\n\tdefault:\n\t\treturn nil, constants.ErrServiceInvalid\n\t}\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Blogs = NewBlogsService(s)\n\ts.Comments = NewCommentsService(s)\n\ts.Pages = NewPagesService(s)\n\ts.Posts = NewPostsService(s)\n\ts.Users = NewUsersService(s)\n\treturn s, nil\n}", "func New() Service {\n\tvar svc Service\n\t{\n\t\tsvc = NewBasicService()\n\t}\n\treturn svc\n}", "func New(c *rpc.ClientConfig) (s *Service) {\n\ts = &Service{}\n\ts.client = rpc.NewDiscoveryCli(_appid, c)\n\treturn\n}", "func New(s *store.Store) *Service {\n\treturn &Service{\n\t\tus: client.New(s, &models.Stats{}),\n\t}\n}", "func NewService() Service {\n\treturn Service{\n\t\tclient: &http.Client{\n\t\t\t// TODO Make timeout configurable.\n\t\t\tTimeout: 10 * time.Second,\n\t\t},\n\t\tauthURL: authURL,\n\t\tregistryURL: registryURL,\n\t\tserviceURL: serviceURL,\n\t}\n}", "func NewService(name string, options types.ServiceCreateOptions) (*Service, error) {\n\tuuid, err := generateEntityID()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\turls := strings.Split(options.URLs, \",\")\n\n\tfor _, u := range urls {\n\t\tu = strings.Trim(u, \" \")\n\t}\n\n\ts := Service{\n\t\tID: uuid,\n\t\tName: name,\n\t\tURLs: urls,\n\t\tTargetVersion: \"\",\n\t\tBalancingMethod: options.Balancing,\n\t\tIsEnabled: options.Enable,\n\t}\n\n\treturn &s, nil\n}", "func New() *Service {\n\treturn &Service{Setting: setting.NewSetting()}\n}", "func New(opts *Options) *Service {\n\tvar instance *Service\n\t//\tonce.Do(func() {\n\tinstance = &Service{}\n\tinstance.primaryColor = opts.Color\n\tinstance.limit = opts.Limit\n\tinstance.refresh = opts.Refresh\n\t//\t})\n\n\treturn instance\n}", "func New(s *store.Store) *Service {\n\treturn &Service{\n\t\tus: client.New(s, &models.Activity{}),\n\t}\n}", "func NewService(fn ...Option) (Service, error) {\n\topts := &options{\n\t\tURL: DefaultURL,\n\t\tCacheDuration: DefaultCacheDuration,\n\t\tLogger: log.Default(),\n\t}\n\tfor _, f := range fn {\n\t\tf(opts)\n\t}\n\n\topts.Normalize()\n\n\tadapter := newServiceAdapter(opts.URL, opts.Token, opts.Logger)\n\tif opts.CachePath != \"\" {\n\t\tvar err error\n\t\tadapter, err = newCachingServiceAdapter(adapter, opts.CachePath, opts.CacheDuration)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\n\ts := &service{\n\t\tadapter: adapter,\n\t\tfetcher: newFetcher(adapter, opts.Logger),\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := option.WithScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := option.WithScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(opts ...Option) *ServiceBase {\n\ts := &ServiceBase{\n\t\toptions: Options{\n\t\t\tInfo: service.Info{},\n\t\t\tLogger: logger.Log(),\n\t\t},\n\t}\n\n\tfor _, opt := range opts {\n\t\topt(&s.options)\n\t}\n\n\tif s.Info().Name == \"\" {\n\t\tpanic(\"Service name option must be specified\")\n\t}\n\n\tif s.Info().Version == \"\" {\n\t\tpanic(\"Service version option must be specified\")\n\t}\n\n\tif s.Info().Address == nil {\n\t\tpanic(\"Service address option must be specified\")\n\t}\n\n\treturn s\n}", "func New(client *http.Client) (*Service, error) {\n\tif client == nil {\n\t\treturn nil, errors.New(\"client is nil\")\n\t}\n\ts := &Service{client: client, BasePath: basePath}\n\ts.Albums = NewAlbumsService(s)\n\ts.MediaItems = NewMediaItemsService(s)\n\ts.SharedAlbums = NewSharedAlbumsService(s)\n\treturn s, nil\n}", "func New(taskGateway domain.Gateway, opts ...Option) *Service {\n\tsvc := &Service{\n\t\ttaskGateway: taskGateway,\n\t}\n\tfor _, opt := range opts {\n\t\topt(svc)\n\t}\n\treturn svc\n}", "func NewService(client *clients.Client) *Service {\n\treturn &Service{\n\t\tclient: client,\n\t}\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud_search\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.debug\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.indexing\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.query\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.settings\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.settings.indexing\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.settings.query\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.stats\",\n\t\t\"https://www.googleapis.com/auth/cloud_search.stats.indexing\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(options *Options) *Service {\n\treturn &Service{\n\t\tConfig: NewServiceConfig(options),\n\t}\n}", "func New(cred esign.Credential) *Service {\n\treturn &Service{credential: cred}\n}", "func New(cred esign.Credential) *Service {\n\treturn &Service{credential: cred}\n}", "func New(cred esign.Credential) *Service {\n\treturn &Service{credential: cred}\n}", "func New(cred esign.Credential) *Service {\n\treturn &Service{credential: cred}\n}", "func New(cred esign.Credential) *Service {\n\treturn &Service{credential: cred}\n}", "func New(cred esign.Credential) *Service {\n\treturn &Service{credential: cred}\n}", "func New(codeService domains.CodeService) (*Service, error) {\n\tsrv := Service{\n\t\tcodeService:codeService,\n\t}\n\t\n\treturn &srv, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, client *http.Client) (*Service, error) {\n\tmsClient := NewClient(ctx, client)\n\tsvc := &Service{\n\t\tctx: ctx,\n\t\tclient: msClient,\n\t}\n\treturn svc, nil\n}", "func New(client client.ConfigProvider) *Service {\n\treturn &Service{\n\t\tBus: bus.New(client),\n\t\tRule: rule.New(client),\n\t}\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t\t\"https://www.googleapis.com/auth/trace.append\",\n\t\t\"https://www.googleapis.com/auth/trace.readonly\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t\t\"https://www.googleapis.com/auth/trace.append\",\n\t\t\"https://www.googleapis.com/auth/trace.readonly\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func New(store Storage) *Service {\n\ts := &Service{\n\t\tstorage: store,\n\t}\n\treturn s\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t\t\"https://www.googleapis.com/auth/cloud-platform.read-only\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(key string) *Service {\n\treturn &Service{\n\t\tURLFormat: defaultURLFormat,\n\t\tKey: key,\n\t\tTimeout: defaultTimeout,\n\t}\n}", "func New(c *conf.Config) (s *Service) {\n\ts = &Service{\n\t\tc: c,\n\t}\n\tcardRPC, err := v1.NewClient(c.CardClient)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\ts.cardRPC = cardRPC\n\treturn\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := internaloption.WithDefaultScopes(\n\t\t\"https://www.googleapis.com/auth/cloud-platform\",\n\t\t\"https://www.googleapis.com/auth/pubsub\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {\n\tscopesOption := option.WithScopes(\n\t\t\"https://www.googleapis.com/auth/analytics.edit\",\n\t\t\"https://www.googleapis.com/auth/analytics.manage.users\",\n\t\t\"https://www.googleapis.com/auth/analytics.manage.users.readonly\",\n\t\t\"https://www.googleapis.com/auth/analytics.readonly\",\n\t)\n\t// NOTE: prepend, so we don't override user-specified scopes.\n\topts = append([]option.ClientOption{scopesOption}, opts...)\n\topts = append(opts, internaloption.WithDefaultEndpoint(basePath))\n\topts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))\n\tclient, endpoint, err := htransport.NewClient(ctx, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\ts, err := New(client)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif endpoint != \"\" {\n\t\ts.BasePath = endpoint\n\t}\n\treturn s, nil\n}", "func New() *Service {\n\ts := Service{}\n\ts.app = core.New()\n\n\treturn &s\n}", "func New(cl hue.Client) (*Service, error) {\n\tif cl == nil {\n\t\treturn nil, errors.New(\"required Philips Hue client was no supplied\")\n\t}\n\n\treturn &Service{\n\t\thue: cl,\n\t}, nil\n}", "func NewService() *Service {\n\treturn &Service{\n\t\tgetParams: func(r *http.Request) map[string]string {\n\t\t\treturn make(map[string]string)\n\t\t},\n\t}\n}", "func New() endly.Service {\n\tvar result = &service{\n\t\tAbstractService: endly.NewAbstractService(ServiceID),\n\t}\n\tresult.AbstractService.Service = result\n\tresult.registerRoutes()\n\treturn result\n}" ]
[ "0.79852945", "0.7895712", "0.7888839", "0.7881923", "0.7874427", "0.7871431", "0.78480756", "0.78453964", "0.78161764", "0.77995443", "0.77887666", "0.77833706", "0.7762582", "0.77457714", "0.77381516", "0.7729531", "0.7697868", "0.7696661", "0.769274", "0.76925033", "0.7676161", "0.76757205", "0.76495755", "0.76495755", "0.7597244", "0.75969553", "0.7590266", "0.7590266", "0.7590266", "0.7571386", "0.7568486", "0.756397", "0.75533617", "0.7537524", "0.7513608", "0.749264", "0.7466679", "0.74614555", "0.74563146", "0.7433544", "0.7421005", "0.7396791", "0.7396791", "0.73929936", "0.7375199", "0.7373457", "0.734621", "0.7343887", "0.7338812", "0.7328389", "0.7328389", "0.7328389", "0.7328389", "0.7328389", "0.7328389", "0.73026556", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7292156", "0.7286597", "0.72657746", "0.7239379", "0.7239379", "0.7239087", "0.7222606", "0.7222083", "0.72094506", "0.71897227", "0.7180812", "0.71763635", "0.7167538", "0.71534896", "0.71489775" ]
0.7830135
24
Get: Gets information about a location. name: Resource name for the location.
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall { c := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func getLocation(name string) (int, error) {\n\tquery := fmt.Sprintf(\"https://www.metaweather.com/api/location/search/?query=%s\", name)\n\tresp, errGet := http.Get(query)\n\tif errGet != nil {\n\t\treturn 0, errGet\n\t}\n\tdefer resp.Body.Close()\n\tbody, errBody := ioutil.ReadAll(resp.Body)\n\tif errBody != nil {\n\t\treturn 0, errBody\n\t}\n\tlocations := []Location{}\n\terrJson := json.Unmarshal(body, &locations)\n\t// I feel lucky!\n\tif len(locations) < 1 {\n\t\treturn 0, fmt.Errorf(\"no location %s\", name)\n\t}\n\tlocaton := locations[0].Woeid\n\tfmt.Printf(\"%v\\n\", locations[0])\n\treturn locaton, errJson\n}", "func (r *NamedLocationRequest) Get(ctx context.Context) (resObj *NamedLocation, err error) {\n\tvar query string\n\tif r.query != nil {\n\t\tquery = \"?\" + r.query.Encode()\n\t}\n\terr = r.JSONRequest(ctx, \"GET\", query, nil, &resObj)\n\treturn\n}", "func (ls *LocationService) Get(locID string) (l Location, err error) {\n\t// GET: /location/:locationID\n\tvar req *http.Request\n\treq, err = ls.c.NewRequest(\"GET\", \"/location/\"+locID, nil)\n\tif err != nil {\n\t\treturn\n\t}\n\n\tresp := struct {\n\t\tStatus string\n\t\tData Location\n\t\tMessage string\n\t}{}\n\terr = ls.c.Do(req, &resp)\n\treturn resp.Data, err\n}", "func (s *LocationsOp) Get(ctx context.Context, locationID int) (*Location, *http.Response, error) {\n\tpath := fmt.Sprintf(\"%s/%d\", locationsPath, locationID)\n\n\treq, err := s.client.NewRequest(ctx, http.MethodGet, path, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\tlocation := new(Location)\n\tresp, err := s.client.Do(ctx, req, location)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\n\treturn location, resp, err\n}", "func (o LocationResponseOutput) LocationName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v LocationResponse) *string { return v.LocationName }).(pulumi.StringPtrOutput)\n}", "func (sys *System) GetLocation(ctx *Context, name string) (*Location, error) {\n\treturn sys.findLocation(ctx, name, false)\n}", "func (l *Location) String() string {\n\treturn l.get().name\n}", "func (l *Location) String() string {\n\treturn l.get().name\n}", "func (s *InventoryApiService) GetLocation(id string, w http.ResponseWriter) error {\n\tctx := context.Background()\n\tr, err := s.db.GetLocation(ctx, id)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn EncodeJSONResponse(r, nil, w)\n}", "func (api *API) FindLocation(name string) (*models.LocationResource, error) {\n\tqueryParams := make(map[string]string)\n\tqueryParams[\"name\"] = name\n\tcontents, getErr := api.getResource(\"location\", queryParams)\n\tif getErr != nil {\n\t\tlog.Print(\"Error making api call to find location\")\n\t\treturn nil, getErr\n\t}\n\n\tdata := &models.LocationBundle{}\n\tif err := json.Unmarshal(contents, data); err != nil {\n\t\tlog.Print(\"Error unmarshalling locations\")\n\t\treturn nil, err\n\t}\n\n\tif len(data.Entry) != 1 {\n\t\treturn nil, nil\n\t}\n\n\treturn &data.Entry[0].Resource, nil\n}", "func LocationGet(l int) Location {\n\ti := Locationmap[l]\n\treturn i\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (o *Workloadv1Location) GetName() string {\n\tif o == nil || o.Name == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.Name\n}", "func (lc LocationController) GetLocation(w http.ResponseWriter, r *http.Request, p httprouter.Params) {\n\t// Grab id\n\tid := p.ByName(\"id\")\n\n\t// Verify id is ObjectId, otherwise bail\n\tif !bson.IsObjectIdHex(id) {\n\t\tw.WriteHeader(404)\n\t\treturn\n\t}\n\n\t// Grab id\n\toid := bson.ObjectIdHex(id)\n\n\t// Stub Location\n\tvar locationObject Location\n\n\t// Fetch user\n\tif err := lc.session.DB(\"go_rest_api_assignment2\").C(\"locations\").FindId(oid).One(&locationObject); err != nil {\n\t\tw.WriteHeader(404)\n\t\treturn\n\t}\n\n\t// Marshal provided interface into JSON structure\n\tuj, _ := json.Marshal(locationObject)\n\n\t// Write content-type, statuscode, payload\n\tw.Header().Set(\"Content-Type\", \"application/json\")\n\tw.WriteHeader(200)\n\tfmt.Fprintf(w, \"%s\", uj)\n}", "func (o LocationOutput) LocationName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v Location) *string { return v.LocationName }).(pulumi.StringPtrOutput)\n}", "func (o CidrCollectionLocationOutput) LocationName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v CidrCollectionLocation) string { return v.LocationName }).(pulumi.StringOutput)\n}", "func (a *APIv1) GetLocation(id interface{}, qo *odata.QueryOptions, path string) (*entities.Location, error) {\n\t_, err := a.QueryOptionsSupported(qo, &entities.Location{})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tl, err := a.db.GetLocation(id, qo)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\ta.ProcessGetRequest(l, qo)\n\treturn l, nil\n}", "func (l *Location) Name() string {\n\tif l.refName != \"\" {\n\t\treturn l.refName\n\t}\n\tif l.LocationName != \"\" {\n\t\treturn l.LocationName\n\t}\n\treturn \"unknown\"\n}", "func (l *Location) GetLocation() string {\n\tchkParsed(l)\n\treturn l.host + \"/\" + l.group + \"/\" + l.name + \":\" + l.version\n}", "func (i *Resource) Location() string {\n\treturn i.data.Location\n}", "func (c *Client) Location(ip string) (*Location, error) {\n\tbody, err := c.getbody(\"geo\", ip)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tl := &Location{}\n\tif err := json.Unmarshal(body, l); err != nil {\n\t\treturn nil, err\n\t}\n\treturn l, nil\n}", "func (o FailoverPolicyResponseOutput) LocationName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v FailoverPolicyResponse) *string { return v.LocationName }).(pulumi.StringPtrOutput)\n}", "func (m *ScheduleItem) GetLocation()(*string) {\n val, err := m.GetBackingStore().Get(\"location\")\n if err != nil {\n panic(err)\n }\n if val != nil {\n return val.(*string)\n }\n return nil\n}", "func (r Virtual_Guest) GetLocation() (resp datatypes.Location, err error) {\n\terr = r.Session.DoRequest(\"SoftLayer_Virtual_Guest\", \"getLocation\", nil, &r.Options, &resp)\n\treturn\n}", "func (config *CrocConfig) GetLocation(locationID int) (Location, error) {\n\tvar location Location\n\tendpoint := fmt.Sprintf(\"locations/%d\", locationID)\n\n\tlbytes, err := config.queryPanelAPI(endpoint, \"get\", nil)\n\tif err != nil {\n\t\treturn location, err\n\t}\n\n\t// Get node info from the panel\n\t// Unmarshal the bytes to a usable struct.\n\terr = json.Unmarshal(lbytes, &location)\n\tif err != nil {\n\t\treturn location, err\n\t}\n\n\treturn location, nil\n}", "func (b Bucket) GetLocation(args ...Params) (string, error) {\n\theader, query := getHeaderQuery(args)\n\tquery.Set(\"location\", \"\")\n\tvar location string\n\terr := b.Do(\"GET\", \"\", nil, &location, header, query)\n\treturn location, err\n}", "func (p Meta) Location() string { return p.location }", "func (m *LocationManager) GetLocation(ctx context.Context, locationID int) (*Location, error) {\n\t// Magic numbers here are sourced from:\n\t// - http://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html\n\t// - https://oldforums.eveonline.com/?a=topic&threadID=667487\n\tconst offsetOfficeIDToStationID = 6000001\n\tconst legacyOutpostStart = 60014861\n\tconst legacyOutpostEndInclusive = 60014928\n\tloc := &Location{}\n\tvar corpID int\n\tif c, ok := authContextFromContext(ctx); ok {\n\t\tcorpID = c.CorporationID()\n\t}\n\tvar err error\n\tswitch {\n\tcase locationID < 60000000:\n\t\t// locationID is a SystemID.\n\t\tloc.System, err = m.evedb.GetSystem(locationID)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\tcase locationID < 61000000:\n\t\t// locationID is a Station or legacy outpost.\n\t\tif locationID >= legacyOutpostStart && locationID <= legacyOutpostEndInclusive {\n\t\t\t// Conquerable outpost pre-dating player outposts. Not yet supported.\n\t\t\treturn nil, errors.Errorf(\"unable to determine details for locationID %d, conquerable outposts are not supported\", locationID)\n\t\t}\n\t\t// Not a legacy outpost, must be a station.\n\t\tloc.Station, err = m.evedb.GetStation(locationID)\n\n\tcase locationID < 66000000:\n\t\t// locationID is a conquerable outpost. Not yet supported.\n\t\treturn nil, errors.Errorf(\"unable to determine details for locationID %d, conquerable outposts are not supported\", locationID)\n\n\tcase locationID < 67000000:\n\t\t// locationID is a rented office.\n\t\tloc.Station, err = m.evedb.GetStation(locationID - offsetOfficeIDToStationID)\n\n\tdefault:\n\t\t// locationID might be a citadel.\n\t\ts, err := m.structure.GetStructure(ctx, locationID)\n\t\tif err == nil {\n\t\t\tloc.Structure = s\n\t\t\tbreak\n\t\t}\n\t\t// locationID is in a container somewhere.\n\t\tif corpID != 0 {\n\t\t\t// Corporation is opted-in, we can query for asset information.\n\t\t\tif ca, err := m.asset.GetCorporationAsset(ctx, corpID, locationID); err == nil {\n\t\t\t\t// Found an asset with the given locationID, call GetLocation on the asset's location.\n\t\t\t\tif loc, err = m.GetLocation(ctx, ca.LocationID); err != nil {\n\t\t\t\t\treturn nil, errors.Wrapf(err, \"unable to determine details for locationID %d\", locationID)\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t} else if err != ErrCorpNotRegistered {\n\t\t\t\treturn nil, errors.Wrapf(err, \"unable to determine details for locationID %d\", locationID)\n\t\t\t}\n\t\t}\n\n\t}\n\n\t// Second round of resolution; ensure that loc.System gets populated.\n\tswitch {\n\tcase loc.System != nil:\n\t\t// do nothing\n\n\tcase loc.Structure != nil:\n\t\tif loc.System, err = m.evedb.GetSystem(int(loc.Structure.SystemID)); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\tcase loc.Station != nil:\n\t\tif loc.System, err = m.evedb.GetSystem(loc.Station.SystemID); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\tdefault:\n\t\treturn nil, errors.Errorf(\"unable to determine details for locationID %d\", locationID)\n\t}\n\n\t// Finally, populate the Constellation and Region information.\n\tif loc.Constellation, err = m.evedb.GetConstellation(loc.System.ConstellationID); err != nil {\n\t\treturn nil, err\n\t}\n\tif loc.Region, err = m.evedb.GetRegion(loc.System.RegionID); err != nil {\n\t\treturn nil, err\n\t}\n\tloc.LocationID = locationID\n\treturn loc, nil\n}", "func (l *Location) String() string {}", "func (o GetServiceAdditionalLocationOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetServiceAdditionalLocation) string { return v.Location }).(pulumi.StringOutput)\n}", "func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) {\n requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);\n if err != nil {\n return nil, err\n }\n errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {\n \"4XX\": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,\n \"5XX\": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,\n }\n res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateNamedLocationFromDiscriminatorValue, errorMapping)\n if err != nil {\n return nil, err\n }\n if res == nil {\n return nil, nil\n }\n return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil\n}", "func (client ManagementClient) GetLocationByHostName() (result Location, err error) {\n\treq, err := client.GetLocationByHostNamePreparer()\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"intune.ManagementClient\", \"GetLocationByHostName\", nil, \"Failure preparing request\")\n\t\treturn\n\t}\n\n\tresp, err := client.GetLocationByHostNameSender(req)\n\tif err != nil {\n\t\tresult.Response = autorest.Response{Response: resp}\n\t\terr = autorest.NewErrorWithError(err, \"intune.ManagementClient\", \"GetLocationByHostName\", resp, \"Failure sending request\")\n\t\treturn\n\t}\n\n\tresult, err = client.GetLocationByHostNameResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"intune.ManagementClient\", \"GetLocationByHostName\", resp, \"Failure responding to request\")\n\t}\n\n\treturn\n}", "func (l Location) GetLocation() (r Location, err error) {\n\tclient := &http.Client{}\n\treqAdd := fmt.Sprintf(\"https://maps.googleapis.com/maps/api/geocode/json?key=%s&address=%s\", os.Getenv(\"GOOGLE_API_KEY\"), strings.Replace(l.PostCode, \" \", \"%20\", -1))\n\treq, err := http.NewRequest(\"GET\", reqAdd, nil)\n\tif err != nil {\n\t\tfmt.Printf(\"Request: %v\", err)\n\t\treturn r, err\n\t}\n\n\tresp, err := client.Do(req)\n\tif err != nil {\n\t\tfmt.Printf(\"Do: %v\", err)\n\t\treturn r, err\n\t}\n\n\tbody, err := ioutil.ReadAll(resp.Body)\n\tif err != nil {\n\t\tfmt.Printf(\"Body: %v\", err)\n\t\treturn r, err\n\t}\n\n\tj := GoogleResponse{}\n\terr = json.Unmarshal(body, &j)\n\tif err != nil {\n\t\tfmt.Printf(\"Unmarshal: %v\", err)\n\t\treturn r, err\n\t}\n\n\tif len(j.Results) >= 1 {\n\t\tr := Location{\n\t\t\tPostCode: l.PostCode,\n\t\t\tLongitude: j.Results[0].Geometry.Location.Longitude,\n\t\t\tLatitude: j.Results[0].Geometry.Location.Latitude,\n\t\t\tStreet: j.Results[0].AddressComponents[1].ShortName,\n\t\t}\n\t\treturn r, nil\n\t}\n\n\treturn r, errors.New(\"invalid postcode\")\n}", "func getLocation(q string) (loc weatherLocation, err error) {\n\tu := \"http://maps.googleapis.com/maps/api/geocode/json?address=%s&sensor=false\"\n\tu = fmt.Sprintf(u, url.QueryEscape(q))\n\n\tif err = slack.GetJSON(u, &loc); err != nil {\n\t\treturn\n\t}\n\n\tif len(loc.Results) < 1 {\n\t\terr = fmt.Errorf(\"google maps failed to convert the query into a location\")\n\t}\n\treturn\n}", "func getLocation() *Data {\n\tresponse, err := http.Get(url)\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\tdefer response.Body.Close()\n\n\tresult, err := ioutil.ReadAll(response.Body)\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\n\tr := &Data{}\n\terr = json.Unmarshal(result, &r)\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\treturn r\n}", "func (az *Cloud) GetLocation() string {\n\treturn az.Location\n}", "func (w *CurrentWeatherData) CurrentByName(location string) error {\n\tresponse, err := w.client.Get(fmt.Sprintf(fmt.Sprintf(baseURL, \"appid=%s&q=%s&units=%s&lang=%s\"), w.Key, url.QueryEscape(location), w.Unit, w.Lang))\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer response.Body.Close()\n\n\tif err := json.NewDecoder(response.Body).Decode(&w); err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}", "func (l *Location) String() string {\n\treturn l.URI()\n}", "func (o RegistryGeoreplicationOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v RegistryGeoreplication) string { return v.Location }).(pulumi.StringOutput)\n}", "func (rc ResponseController) GetLocation(w http.ResponseWriter, r *http.Request, p httprouter.Params) {\n\tid := p.ByName(\"id\")\n\tfmt.Println(\"GET Request: ID:\", id)\n\n\tresp, err := getDBData(id, rc)\n\tif err != nil {\n\t w.WriteHeader(404)\n\t\tfmt.Println(\"Response: 404 Not Found\")\n\t\treturn\n\t}\n\n\tjsonOut, _ := json.Marshal(resp)\n\thttpResponse(w, jsonOut, 200)\n\tfmt.Println(\"Response:\", string(jsonOut), \" 200 OK\")\n}", "func (m *NamedLocation) GetDisplayName()(*string) {\n return m.displayName\n}", "func getLocation(loc string) *time.Location {\n\tl, _ := time.LoadLocation(loc)\n\treturn l\n}", "func (api InstagramAPI) Location(locationId string) Location {\n\tparams := getEmptyMap()\n\tresponse := api.DoRequest(\"locations/\" + locationId, params)\n\treturn LocationFromAPI(response.Object(\"data\"))\n}", "func (address *Address) GetLocation() *Location {\n\n // Just return a dummy for STUB\n\n return &Location{0,0}\n}", "func (o PartnerRegionInfoResponseOutput) Location() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v PartnerRegionInfoResponse) *string { return v.Location }).(pulumi.StringPtrOutput)\n}", "func (h *LocationHandler) show(w http.ResponseWriter, r *http.Request) {\n\tvars := mux.Vars(r)\n\tid, err := strconv.Atoi(vars[\"locationId\"])\n\tif err != nil {\n\t\tRespondWithError(w, http.StatusBadRequest, \"Invalid ID\")\n\t\treturn\n\t}\n\tlocation, err := h.locRepo.getLocation(id)\n\tif err != nil {\n\t\tRespondWithError(w, http.StatusInternalServerError, \"Unable to retrieve Location\")\n\t\treturn\n\t}\n\n\tRespondWithJSON(w, http.StatusOK, location)\n}", "func (search *Search) Location(lat, lng, location string) (*SearchResult, error) {\n\tinsta := search.inst\n\tq := map[string]string{\n\t\t\"rank_token\": insta.rankToken,\n\t\t\"latitude\": lat,\n\t\t\"longitude\": lng,\n\t\t\"ranked_content\": \"true\",\n\t}\n\n\tif location != \"\" {\n\t\tq[\"search_query\"] = location\n\t} else {\n\t\tq[\"timestamp\"] = strconv.FormatInt(time.Now().Unix(), 10)\n\t}\n\n\tbody, err := insta.sendRequest(\n\t\t&reqOptions{\n\t\t\tEndpoint: urlSearchLocation,\n\t\t\tQuery: q,\n\t\t},\n\t)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tres := &SearchResult{}\n\terr = json.Unmarshal(body, res)\n\treturn res, err\n}", "func Location() (string, error) {\n\tslice, err := loader(\"locations\")\n\tcheckErr(err)\n\treturn random(slice), nil\n}", "func (o WebTestGeolocationResponseOutput) Location() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v WebTestGeolocationResponse) *string { return v.Location }).(pulumi.StringPtrOutput)\n}", "func (o ExprResponseOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ExprResponse) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o ExprResponseOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ExprResponse) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o ExprResponseOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ExprResponse) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o ExprResponseOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ExprResponse) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o ExprResponseOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ExprResponse) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o ExprResponseOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ExprResponse) string { return v.Location }).(pulumi.StringOutput)\n}", "func (c *restClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetLocation[0:len((*c.CallOptions).GetLocation):len((*c.CallOptions).GetLocation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &locationpb.Location{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (c *tensorboardRESTClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v\", req.GetName())\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetLocation[0:len((*c.CallOptions).GetLocation):len((*c.CallOptions).GetLocation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &locationpb.Location{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {\n\tc := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (o LookupProvisioningConfigResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupProvisioningConfigResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func (c *restClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v2beta3/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetLocation[0:len((*c.CallOptions).GetLocation):len((*c.CallOptions).GetLocation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &locationpb.Location{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (l *GitLocation) GetLocation() *tmv1beta1.TestLocation {\n\treturn l.Info\n}", "func (r *Rook) Location() location.Location {\n\treturn r.loc\n}", "func (o LookupNetworkDataNetworkResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupNetworkDataNetworkResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func Location(ip string) (map[string]string, error) {\n\turi := fmt.Sprintf(\"%s%s\", baseURI, ip)\n\tbody, err := performRequest(uri)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdata, err := extractJSON(body)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tm := make(map[string]string)\n\tfor k, v := range data {\n\t\tif k == \"latitude\" || k == \"longitude\" || k == \"metro_code\" {\n\t\t\tm[k] = strconv.FormatFloat(v.(float64), 'f', -1, 64)\n\t\t} else {\n\t\t\tm[k] = v.(string)\n\t\t}\n\t}\n\treturn m, nil\n}", "func (o LookupSharedImageResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupSharedImageResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func (client ManagementClient) GetLocationByHostNameResponder(resp *http.Response) (result Location, err error) {\n\terr = autorest.Respond(\n\t\tresp,\n\t\tclient.ByInspecting(),\n\t\tazure.WithErrorUnlessStatusCode(http.StatusOK),\n\t\tautorest.ByUnmarshallingJSON(&result),\n\t\tautorest.ByClosing())\n\tresult.Response = autorest.Response{Response: resp}\n\treturn\n}", "func (o ServiceAdditionalLocationOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ServiceAdditionalLocation) string { return v.Location }).(pulumi.StringOutput)\n}", "func (s *Server) GetLocation(ctx context.Context, req *pb.GetLocationRequest) (*pb.GetLocationResponse, error) {\n\treturn &pb.GetLocationResponse{}, fmt.Errorf(\"Not implemented\")\n}", "func (object Object) Location(value interface{}) Object {\n\treturn object.Property(as.PropertyLocation, value)\n}", "func getLocation(w http.ResponseWriter, request *http.Request) {\n\tw.Header().Set(\"Content-Type\", \"application/json\")\n\tjson.NewEncoder(w).Encode(locations)\n}", "func (o LookupServicePlanResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupServicePlanResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func GetLocation(ctx context.Context, partnerID, locationName string, endpointID gocql.UUID) (location *time.Location, err error) {\n\tif len(locationName) > 0 {\n\t\treturn time.LoadLocation(locationName)\n\t}\n\n\treturn asset.ServiceInstance.GetLocationByEndpointID(ctx, partnerID, endpointID)\n}", "func Location() string {\n\treturn locationDefault\n}", "func (o LookupAccountResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupAccountResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func (db *AppDB) RetrieveLocationInfo(location Location, chargerType []string) (PointInfoJS, error) {\r\n\tctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)\r\n\tdefer cancel()\r\n\r\n\tvar results PointInfoJS\r\n\tfilter := bson.D{\r\n\t\tprimitive.E{Key: \"location\", Value: bson.D{\r\n\t\t\tprimitive.E{Key: \"$near\", Value: bson.D{\r\n\t\t\t\tprimitive.E{Key: \"$geometry\", Value: location},\r\n\t\t\t}},\r\n\t\t}},\r\n\t}\r\n\r\n\tcur, err := db.MDB.Collection(db.Env.DBPointColl).Find(ctx, filter)\r\n\tif err != nil {\r\n\t\treturn PointInfoJS{}, err\r\n\t}\r\n\tfor cur.Next(ctx) {\r\n\t\tvar p Point\r\n\t\terr := cur.Decode(&p)\r\n\t\tif err != nil {\r\n\t\t\tlogger.Error.Println(\"retrieveLocationInfo-decoding: \", err)\r\n\t\t\treturn PointInfoJS{}, err\r\n\t\t}\r\n\t\tpJS := parsePointInfo(p, chargerType)\r\n\t\treturn pJS, nil\r\n\t}\r\n\r\n\treturn results, nil\r\n}", "func (c *cloudSchedulerRESTClient) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetLocation[0:len((*c.CallOptions).GetLocation):len((*c.CallOptions).GetLocation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &locationpb.Location{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (c *ProductsGetCall) Location(location string) *ProductsGetCall {\n\tc.opt_[\"location\"] = location\n\treturn c\n}", "func (o LookupVirtualNetworkResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupVirtualNetworkResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o RecordCidrRoutingPolicyOutput) LocationName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v RecordCidrRoutingPolicy) string { return v.LocationName }).(pulumi.StringOutput)\n}", "func (o WebTestGeolocationOutput) Location() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v WebTestGeolocation) *string { return v.Location }).(pulumi.StringPtrOutput)\n}", "func (cl *CachedLocation) Get(ctx *Context, sys *System, name string, checkExists bool) (*Location, error) {\n\tLog(INFO, ctx, \"CachedLocation.Get\", \"name\", name, \"checking\", checkExists)\n\tcl.Lock()\n\tloc := cl.Location\n\tvar err error\n\tif loc == nil {\n\t\tLog(INFO, ctx, \"CachedLocation.Get\", \"name\", name, \"opening\", true)\n\t\tloc, err = sys.OpenLocation(ctx, name, checkExists)\n\t\tif err != nil {\n\t\t\tLog(WARN, ctx, \"CachedLocation.Get\", \"name\", name, \"when\", \"OpenLocation\", \"error\", err)\n\t\t} else {\n\t\t\tcl.Location = loc\n\n\t\t\t// See if we have a 'cacheTTL' property. If so, try to use it.\n\n\t\t\tx, have, err := loc.GetProp(ctx, \"cacheTTL\", 0)\n\t\t\tif err != nil {\n\t\t\t\tLog(WARN, ctx, \"CachedLocation.Get\", \"name\", name, \"when\", \"GetProp\", \"error\", err)\n\t\t\t} else if have {\n\t\t\t\tvar ms int\n\t\t\t\tif err == nil {\n\t\t\t\t\tLog(WARN, ctx, \"CachedLocation.Get\", \"name\", name, \"factTTL\", x)\n\t\t\t\t\tswitch vv := x.(type) {\n\t\t\t\t\tcase float64:\n\t\t\t\t\t\tms = int(vv)\n\t\t\t\t\tcase int:\n\t\t\t\t\t\tms = vv\n\t\t\t\t\tdefault:\n\t\t\t\t\t\terr = fmt.Errorf(\"%#v isn't a TTL (ms)\", x)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif err != nil {\n\t\t\t\t\tLog(WARN, ctx, \"CachedLocation.Get\", \"name\", name, \"when\", \"cacheTTL\", \"error\", err)\n\t\t\t\t} else {\n\t\t\t\t\tthen := time.Now().Add(time.Duration(ms) * time.Millisecond)\n\t\t\t\t\tLog(DEBUG, ctx, \"CachedLocation.Get\", \"name\", name, \"computedExpiration\", then)\n\t\t\t\t\tcl.Expires = then\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t} else {\n\t\tLog(DEBUG, ctx, \"CachedLocation.Get\", \"name\", name, \"opening\", false)\n\t\tctx.SetLoc(loc)\n\t}\n\tcl.Unlock()\n\n\t// Remove from cache if location does not exist so the cache does not explode\n\tif nil == cl.Location {\n\t\tsys.CachedLocations.Lock()\n\t\tdelete(sys.CachedLocations.locs, name)\n\t\tsys.CachedLocations.Unlock()\n\t}\n\n\treturn loc, err\n}", "func (u *User) GetLocation() string {\n\tif u == nil || u.Location == nil {\n\t\treturn \"\"\n\t}\n\treturn *u.Location\n}", "func (o *Organization) GetLocation() string {\n\tif o == nil || o.Location == nil {\n\t\treturn \"\"\n\t}\n\treturn *o.Location\n}", "func (c *ControlPlaneClient) Get(ctx context.Context, location, name string) (*[]cloud.ControlPlaneInfo, error) {\n\treturn c.internal.Get(ctx, location, name)\n}", "func (i *InputInlineQueryResultLocation) GetLocation() (value Location) {\n\tif i == nil {\n\t\treturn\n\t}\n\treturn i.Location\n}", "func (o LookupNetworkAttachedDataNetworkResultOutput) Location() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupNetworkAttachedDataNetworkResult) string { return v.Location }).(pulumi.StringOutput)\n}", "func (o AccessLevelCustomExprOutput) Location() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v AccessLevelCustomExpr) *string { return v.Location }).(pulumi.StringPtrOutput)\n}", "func (to *Session) GetPhysLocationByName(name string) ([]tc.PhysLocation, toclientlib.ReqInf, error) {\n\treturn to.GetPhysLocationByNameWithHdr(name, nil)\n}", "func (l *Location) String() string {\n\tvar builder strings.Builder\n\tbuilder.WriteString(\"Location(\")\n\tbuilder.WriteString(fmt.Sprintf(\"id=%v\", l.ID))\n\tbuilder.WriteString(\", name=\")\n\tbuilder.WriteString(l.Name)\n\tbuilder.WriteString(\", coords=\")\n\tbuilder.WriteString(fmt.Sprintf(\"%v\", l.Coords))\n\tbuilder.WriteByte(')')\n\treturn builder.String()\n}" ]
[ "0.70932215", "0.67622894", "0.66081816", "0.64951926", "0.6404476", "0.6403757", "0.63670135", "0.63670135", "0.6329599", "0.6327869", "0.6286295", "0.6274645", "0.6274645", "0.6274645", "0.6274645", "0.6274645", "0.6274645", "0.6232392", "0.62091947", "0.6207762", "0.6168777", "0.6135974", "0.6073941", "0.6034432", "0.6003446", "0.5998762", "0.59779197", "0.59112537", "0.57758784", "0.5764954", "0.57576776", "0.57403684", "0.57403237", "0.5723966", "0.56919837", "0.56825507", "0.56706697", "0.56528616", "0.56401783", "0.5621329", "0.5616803", "0.5610257", "0.56071025", "0.56055677", "0.56042403", "0.55938745", "0.5572291", "0.5564166", "0.5561648", "0.5554112", "0.5543064", "0.5538683", "0.55283225", "0.55250883", "0.5516097", "0.5516097", "0.5516097", "0.5516097", "0.5516097", "0.5516097", "0.5493725", "0.5493462", "0.5487628", "0.54526794", "0.5452614", "0.5443801", "0.5429709", "0.5424168", "0.5422965", "0.54062027", "0.5402704", "0.5396868", "0.5389951", "0.5388734", "0.5388247", "0.53880453", "0.53846854", "0.5373645", "0.5370714", "0.5367401", "0.53652984", "0.53648716", "0.535235", "0.53507", "0.53463316", "0.53444755", "0.5341636", "0.5329452", "0.53199416", "0.53120106", "0.53024983", "0.5282667", "0.52763283", "0.52546734" ]
0.652471
9
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64579004", "0.6409218", "0.6381991", "0.6328264", "0.6293984", "0.622573", "0.6193078", "0.61827034", "0.61631733", "0.6141335", "0.6125823", "0.6125462", "0.6124725", "0.611568", "0.6100482", "0.60680985", "0.60680985", "0.606125", "0.60492533", "0.6048319", "0.6021011", "0.59945804", "0.5990342", "0.59775597", "0.5961667", "0.5961667", "0.5959289", "0.5950366", "0.59500796", "0.5948174", "0.5939115", "0.5935769", "0.59348816", "0.5917293", "0.59139764", "0.5913886", "0.59099936", "0.58950424", "0.58915347", "0.58883166", "0.58867604", "0.5879923", "0.58720726", "0.58706236", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.58635837", "0.5863207", "0.5863207", "0.586281", "0.58625495", "0.5859657", "0.58480275", "0.58457154", "0.58454543", "0.5843712", "0.5831787", "0.5831525", "0.58293605", "0.58293605", "0.5820953", "0.581475", "0.5812048", "0.58032286", "0.579805", "0.57947665", "0.5791543", "0.57897764", "0.5786098", "0.5780869", "0.5779724", "0.577423", "0.57739097", "0.57659197", "0.57639176", "0.5762663", "0.57592666", "0.5751553", "0.5746938", "0.5746523", "0.5746084", "0.57429504", "0.57409465", "0.57337755", "0.57306266", "0.57259494", "0.5725422", "0.57247823", "0.5719918", "0.5719299", "0.5719299", "0.5717512", "0.56952816", "0.5693284", "0.56844383", "0.5682866", "0.56826854", "0.5673803" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.78571063", "0.77426845", "0.7717644", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7647176", "0.7599775", "0.7594325", "0.75929254", "0.75929254", "0.7582158", "0.7575828", "0.7575695", "0.7568742", "0.7555524", "0.75441426", "0.75313455", "0.7494666", "0.748358", "0.74634016", "0.74619853", "0.7452785", "0.74312496", "0.7428858", "0.7424827", "0.7414241", "0.7414112", "0.7414112", "0.7410183", "0.7404775", "0.7404775", "0.7402416", "0.7398951", "0.7392532", "0.73855126", "0.7379812", "0.7378651", "0.73666537", "0.73601836", "0.7357984", "0.73544204", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73491925", "0.7339757", "0.73346", "0.73155713", "0.73095214", "0.7308473", "0.7305993", "0.7305993", "0.73043364", "0.7303744", "0.72973424", "0.7293722", "0.7287206", "0.7286753", "0.72838", "0.7277307", "0.7276091", "0.72739077", "0.7272472", "0.727207", "0.72702944", "0.7269796", "0.7267224", "0.7261026", "0.72609854", "0.7256361", "0.72552556", "0.7254953", "0.7254242", "0.7252441", "0.7251688", "0.72484267", "0.724618", "0.72401345", "0.72391474", "0.7236357", "0.7236357", "0.7235006", "0.72316694", "0.7229783", "0.7229681", "0.7225013", "0.72218955", "0.72148854", "0.72139925", "0.72127664", "0.7210916", "0.7207084", "0.72065234", "0.7206281", "0.7206281" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
List: Lists information about the supported locations for this service. name: The resource that owns the locations collection, if applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall { c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (ls *LocationService) List(q *LocationListRequest) (ll LocationList, err error) {\n\t// GET: /locations\n\tvar req *http.Request\n\treq, err = ls.c.NewRequest(\"GET\", \"/locations\", q)\n\tif err != nil {\n\t\treturn\n\t}\n\n\terr = ls.c.Do(req, &ll)\n\treturn\n}", "func (s *LocationsService) List(ctx context.Context) ([]Location, *Response, error) {\n\tpath := fmt.Sprintf(\"%v/\", locationsBasePath)\n\n\treq, err := s.client.NewRequest(http.MethodGet, path, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\troot := new(locationsRoot)\n\tresp, err := s.client.Do(ctx, req, root)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\tif m := root.Meta; m != nil {\n\t\tresp.Meta = m\n\t}\n\n\treturn root.Locations, resp, nil\n}", "func (s *LocationsOp) List(ctx context.Context, opt *LocationsListOptions) (*LocationsList, *http.Response, error) {\n\tpath := locationsPath\n\tpath, err := addOptions(path, opt)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\treq, err := s.client.NewRequest(ctx, http.MethodGet, path, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\tlocations := new(LocationsList)\n\tresp, err := s.client.Do(ctx, req, locations)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\n\treturn locations, resp, err\n}", "func (s *InventoryApiService) ListLocations(w http.ResponseWriter) error {\n\tctx := context.Background()\n\tl, err := s.db.ListLocations(ctx)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn EncodeJSONResponse(l, nil, w)\n}", "func ExampleLocationService_List() {\n\tc := NewClient(os.Getenv(\"BREWERYDB_API_KEY\"))\n\n\treq := &LocationListRequest{\n\t\tLocality: \"Boston\",\n\t\tRegion: \"Massachusetts\",\n\t\tLocationType: LocationBrewpub,\n\t}\n\n\tfor l, err := c.Location.List(req); l.CurrentPage < l.NumberOfPages; req.Page++ {\n\t\tif err != nil {\n\t\t\tpanic(err)\n\t\t}\n\t\tfor _, loc := range l.Locations {\n\t\t\tfmt.Println(loc.Name)\n\t\t}\n\t}\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (az *AzureClient) ListLocations(ctx context.Context) (*[]subscriptions.Location, error) {\n\tlist, error := az.subscriptionsClient.ListLocations(ctx, az.subscriptionID)\n\tif error != nil {\n\t\treturn nil, error\n\t}\n\treturn list.Value, nil\n}", "func (client ManagementClient) GetLocations() (result LocationCollection, err error) {\n\treq, err := client.GetLocationsPreparer()\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"intune.ManagementClient\", \"GetLocations\", nil, \"Failure preparing request\")\n\t\treturn\n\t}\n\n\tresp, err := client.GetLocationsSender(req)\n\tif err != nil {\n\t\tresult.Response = autorest.Response{Response: resp}\n\t\terr = autorest.NewErrorWithError(err, \"intune.ManagementClient\", \"GetLocations\", resp, \"Failure sending request\")\n\t\treturn\n\t}\n\n\tresult, err = client.GetLocationsResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"intune.ManagementClient\", \"GetLocations\", resp, \"Failure responding to request\")\n\t}\n\n\treturn\n}", "func (c *restClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v2beta3/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *restClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *cloudSchedulerRESTClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *tensorboardRESTClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (l *Location) List() ([]string, error) {\n\n\tvar filenames []string\n\tclient, err := l.fileSystem.Client(l.Authority)\n\tif err != nil {\n\t\treturn filenames, err\n\t}\n\t// start timer once action is completed\n\tdefer l.fileSystem.connTimerStart()\n\n\tfileinfos, err := client.ReadDir(l.Path())\n\tif err != nil {\n\t\tif err == os.ErrNotExist {\n\t\t\treturn filenames, nil\n\t\t}\n\t\treturn filenames, err\n\t}\n\tfor _, fileinfo := range fileinfos {\n\t\tif !fileinfo.IsDir() {\n\t\t\tfilenames = append(filenames, fileinfo.Name())\n\t\t}\n\t}\n\n\treturn filenames, nil\n}", "func (a *AzureInfo) GetLocations() ([]string, error) {\n\treturn cluster.GetLocations(a.OrgId, a.SecretId)\n}", "func (c *workflowsServiceV2BetaRESTClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v2beta/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func ListLocations(warehouseID int64) ([]*Location, error) {\r\n\trows, err := database.GetDB().Query(\"SELECT location, warehouse_id FROM wms.locations WHERE warehouse_id=$1\", warehouseID)\r\n\tif err != nil {\r\n\t\treturn nil, err\r\n\t}\r\n\tresults := make([]*Location, 0)\r\n\tfor rows.Next() {\r\n\t\tlocation := new(Location)\r\n\t\trows.Scan(&location.ID, &location.WarehouseID)\r\n\t\tresults = append(results, location)\r\n\t}\r\n\treturn results, nil\r\n}", "func (client ManagementClient) GetLocationsResponder(resp *http.Response) (result LocationCollection, err error) {\n\terr = autorest.Respond(\n\t\tresp,\n\t\tclient.ByInspecting(),\n\t\tazure.WithErrorUnlessStatusCode(http.StatusOK),\n\t\tautorest.ByUnmarshallingJSON(&result),\n\t\tautorest.ByClosing())\n\tresult.Response = autorest.Response{Response: resp}\n\treturn\n}", "func (api *API) GetLocations() (*models.LocationBundle, error) {\n\tcontents, getErr := api.getResource(\"location\", nil)\n\tif getErr != nil {\n\t\tlog.Print(\"Error making api call for locations\")\n\t\treturn nil, getErr\n\t}\n\n\tdata := &models.LocationBundle{}\n\tif err := json.Unmarshal(contents, data); err != nil {\n\t\tlog.Print(\"Error unmarshalling location\")\n\t\treturn nil, err\n\t}\n\treturn data, nil\n}", "func (a *APIv1) GetLocations(qo *odata.QueryOptions, path string) (*models.ArrayResponse, error) {\n\t_, err := a.QueryOptionsSupported(qo, &entities.Location{})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tlocations, count, err := a.db.GetLocations(qo)\n\treturn processLocations(a, locations, qo, path, count, err)\n}", "func (lc *ILoginCredentials) GetLocations() (*inventory.GetLocationsResponse, error) {\n\tcredPld := &postGetLocations{\n\t\tILoginCredentials: lc,\n\t}\n\n\tresponse := &inventory.GetLocationsResponse{}\n\terr := do(credPld, response, \"inventory/getLocations\")\n\tif err != nil {\n\t\treturn nil, &Error{\"GetLocations()\", err}\n\t}\n\n\treturn response, nil\n}", "func (o *SyntheticsBrowserTest) GetLocations() []string {\n\tif o == nil {\n\t\tvar ret []string\n\t\treturn ret\n\t}\n\treturn o.Locations\n}", "func (o *SyntheticMonitorUpdate) GetLocations() []string {\n\tif o == nil {\n\t\tvar ret []string\n\t\treturn ret\n\t}\n\n\treturn o.Locations\n}", "func ListLocations(companyID string) ([]models.Location, error) {\n\t//s := fmt.Sprintf(\"dbname=%s user=%s password=%s port=5432\", \"priorincidents\", os.Getenv(\"DATABASE_USER\"), os.Getenv(\"DATABASE_PASSWORD\"))\n\tdb, err := gorm.Open(\"postgres\", os.Getenv(\"DATABASE_URL\"))\n\tvar locations []models.Location\n\tif err != nil {\n\t\treturn locations, err\n\t}\n\tdefer db.Close()\n\n\tdb.Find(&locations, \"company_id= ?\", companyID)\n\treturn locations, nil\n}", "func (c *locationClient) Names() []string {\n\tlocs, err := c.All(context.Background())\n\tif err != nil || len(locs) == 0 {\n\t\treturn nil\n\t}\n\tnames := make([]string, len(locs))\n\tfor i, loc := range locs {\n\t\tname := loc.Name\n\t\tif name == \"\" {\n\t\t\tname = strconv.FormatInt(loc.ID, 10)\n\t\t}\n\t\tnames[i] = name\n\t}\n\treturn names\n}", "func (m *MockInformation) ListLocations() []string {\n\tm.ctrl.T.Helper()\n\tret := m.ctrl.Call(m, \"ListLocations\")\n\tret0, _ := ret[0].([]string)\n\treturn ret0\n}", "func (s *service) Locs(server api.NetworkControlService_LocsServer) error {\n\treturn fmt.Errorf(\"deprecated\")\n}", "func (a *AzureInfoer) GetRegions(service string) (map[string]string, error) {\n\tlogger := a.log.WithFields(map[string]interface{}{\"service\": service})\n\tlogger.Debug(\"getting locations\")\n\n\tallLocations := make(map[string]string)\n\tsupLocations := make(map[string]string)\n\n\t// retrieve all locations for the subscription id (some of them may not be supported by the required provider)\n\tif locations, err := a.subscriptionsClient.ListLocations(context.TODO(), a.subscriptionId); err == nil {\n\t\t// fill up the map: DisplayName - > Name\n\t\tfor _, loc := range *locations.Value {\n\t\t\tallLocations[*loc.DisplayName] = *loc.Name\n\t\t}\n\t} else {\n\t\tlogger.Error(\"error while retrieving azure locations\")\n\t\treturn nil, err\n\t}\n\n\t// identify supported locations for the namespace and resource type\n\tconst (\n\t\tproviderNamespaceForCompute = \"Microsoft.Compute\"\n\t\tresourceTypeForCompute = \"locations/vmSizes\"\n\t\tproviderNamespaceForAks = \"Microsoft.ContainerService\"\n\t\tresourceTypeForAks = \"managedClusters\"\n\t)\n\n\tswitch service {\n\tcase \"aks\":\n\t\tif providers, err := a.providersClient.Get(context.TODO(), providerNamespaceForAks, \"\"); err == nil {\n\t\t\tfor _, pr := range *providers.ResourceTypes {\n\t\t\t\tif *pr.ResourceType == resourceTypeForAks {\n\t\t\t\t\tfor _, displName := range *pr.Locations {\n\t\t\t\t\t\tif loc, ok := allLocations[displName]; ok {\n\t\t\t\t\t\t\tsupLocations[loc] = displName\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlogger.Debug(\"unsupported location\", map[string]interface{}{\"name\": loc, \"displayname\": displName})\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tlogger.Error(\"failed to retrieve supported locations\", map[string]interface{}{\"resource\": resourceTypeForAks})\n\t\t\treturn nil, err\n\t\t}\n\n\t\tlogger.Debug(\"found supported locations\", map[string]interface{}{\"numberOfLocations\": len(supLocations)})\n\t\treturn supLocations, nil\n\tdefault:\n\t\tif providers, err := a.providersClient.Get(context.TODO(), providerNamespaceForCompute, \"\"); err == nil {\n\t\t\tfor _, pr := range *providers.ResourceTypes {\n\t\t\t\tif *pr.ResourceType == resourceTypeForCompute {\n\t\t\t\t\tfor _, displName := range *pr.Locations {\n\t\t\t\t\t\tif loc, ok := allLocations[displName]; ok {\n\t\t\t\t\t\t\tsupLocations[loc] = displName\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlogger.Debug(\"unsupported location\", map[string]interface{}{\"name\": loc, \"displayname\": displName})\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tlogger.Error(\"failed to retrieve supported locations\", map[string]interface{}{\"resource\": resourceTypeForCompute})\n\t\t\treturn nil, err\n\t\t}\n\n\t\tlogger.Debug(\"found supported locations\", map[string]interface{}{\"numberOfLocations\": len(supLocations)})\n\t\treturn supLocations, nil\n\t}\n}", "func GetLocationListMocked(t *testing.T, locationsIn []*types.Location) []*types.Location {\n\n\tassert := assert.New(t)\n\n\t// wire up\n\tcs := &utils.MockConcertoService{}\n\tds, err := NewLocationService(cs)\n\tassert.Nil(err, \"Couldn't load location service\")\n\tassert.NotNil(ds, \"Location service not instanced\")\n\n\t// to json\n\tdIn, err := json.Marshal(locationsIn)\n\tassert.Nil(err, \"Location test data corrupted\")\n\n\t// call service\n\tcs.On(\"Get\", \"/wizard/locations\").Return(dIn, 200, nil)\n\tlocationsOut, err := ds.GetLocationList()\n\tassert.Nil(err, \"Error getting location list\")\n\tassert.Equal(locationsIn, locationsOut, \"GetLocationList returned different locations\")\n\n\treturn locationsOut\n}", "func (locService *LocationService) GetLocations() ([]*Location, error) {\n\tlocations, err := locService.Repo.FindAll()\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn locations, nil\n}", "func (s *InventoryApiService) ListLocationInventory(id string, w http.ResponseWriter) error {\n\tctx := context.Background()\n\tl, err := s.db.ListLocationInventory(ctx, id)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn EncodeJSONResponse(l, nil, w)\n}", "func (a SQLEndpointsAPI) List() (lst EndpointList, err error) {\n\terr = a.client.Get(a.context, \"/sql/warehouses\", nil, &lst)\n\treturn\n}", "func (config *InitialConfig) Locations() error {\n\tn, countErr := config.DBClient.CountNodesWithFieldUnsafe(\"location.id\")\n\tif countErr != nil {\n\t\treturn countErr\n\t}\n\tif *n == 0 {\n\t\tapiLocations, apiErr := downloadAndMarshal()\n\t\tif apiErr != nil {\n\t\t\treturn apiErr\n\t\t}\n\n\t\tfor _, loc := range *apiLocations {\n\t\t\ttempLoc := db.Location{\n\t\t\t\tID: loc.ID,\n\t\t\t\tName: loc.UFName,\n\t\t\t\tDisabledAccess: yesNoToBool(loc.DisabledAccess),\n\t\t\t\tDType: []string{\"Location\"},\n\t\t\t}\n\n\t\t\t// If it can find the location, then add the damn location\n\t\t\tlatlon := tryAndGetTheLocationFromARoom(&loc)\n\t\t\tif latlon != nil {\n\t\t\t\ttempLoc.Location = *latlon\n\t\t\t}\n\n\t\t\t_, er1 := config.DBClient.UpsertLocation(tempLoc)\n\t\t\tif er1 != nil {\n\t\t\t\treturn er1\n\t\t\t}\n\t\t}\n\t}\n\n\treturn nil\n}", "func listURL(c *gophercloud.ServiceClient) string {\n\treturn c.ServiceURL(\"os-availability-zone\")\n}", "func getLocation(w http.ResponseWriter, request *http.Request) {\n\tw.Header().Set(\"Content-Type\", \"application/json\")\n\tjson.NewEncoder(w).Encode(locations)\n}", "func (o SkuResponseOutput) Locations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v SkuResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)\n}", "func (c *CloudSchedulerClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\treturn c.internalClient.ListLocations(ctx, req, opts...)\n}", "func (a *DefaultClient) List(l vfs.Location) ([]string, error) {\n\tURL, err := url.Parse(l.(*Location).ContainerURL())\n\tif err != nil {\n\t\treturn []string{}, err\n\t}\n\n\tcontainerURL := azblob.NewContainerURL(*URL, a.pipeline)\n\tctx := context.Background()\n\tvar list []string\n\tfor marker := (azblob.Marker{}); marker.NotDone(); {\n\t\tlistBlob, err := containerURL.ListBlobsHierarchySegment(ctx, marker, \"/\",\n\t\t\tazblob.ListBlobsSegmentOptions{Prefix: utils.RemoveLeadingSlash(l.Path())})\n\t\tif err != nil {\n\t\t\treturn []string{}, err\n\t\t}\n\n\t\tmarker = listBlob.NextMarker\n\n\t\tfor i := range listBlob.Segment.BlobItems {\n\t\t\tlist = append(list, listBlob.Segment.BlobItems[i].Name)\n\t\t}\n\t}\n\treturn list, nil\n}", "func GetLocations(orgId uint, secretId string) ([]string, error) {\n\tclient, err := getAKSClient(orgId, secretId)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn azureClient.GetLocations(client)\n}", "func (a *Client) GetLocations(params *GetLocationsParams, opts ...ClientOption) (*GetLocationsOK, *GetLocationsMultiStatus, error) {\n\t// TODO: Validate the params before sending\n\tif params == nil {\n\t\tparams = NewGetLocationsParams()\n\t}\n\top := &runtime.ClientOperation{\n\t\tID: \"GetLocations\",\n\t\tMethod: \"GET\",\n\t\tPathPattern: \"/kubernetes-protection/entities/cloud-locations/v1\",\n\t\tProducesMediaTypes: []string{\"application/json\"},\n\t\tConsumesMediaTypes: []string{\"application/json\", \"application/octet-stream\"},\n\t\tSchemes: []string{\"https\"},\n\t\tParams: params,\n\t\tReader: &GetLocationsReader{formats: a.formats},\n\t\tContext: params.Context,\n\t\tClient: params.HTTPClient,\n\t}\n\tfor _, opt := range opts {\n\t\topt(op)\n\t}\n\n\tresult, err := a.transport.Submit(op)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\tswitch value := result.(type) {\n\tcase *GetLocationsOK:\n\t\treturn value, nil, nil\n\tcase *GetLocationsMultiStatus:\n\t\treturn nil, value, nil\n\t}\n\t// safeguard: normally, absent a default response, unknown success responses return an error above: so this is a codegen issue\n\tmsg := fmt.Sprintf(\"unexpected success response for kubernetes_protection: API contract not enforced by server. Client expected to get an error, but got: %T\", result)\n\tpanic(msg)\n}", "func (a *AzureInfoer) GetRegions() (map[string]string, error) {\n\n\tallLocations := make(map[string]string)\n\tsupLocations := make(map[string]string)\n\n\t// retrieve all locations for the subscription id (some of them may not be supported by the required provider\n\tif locations, err := a.subscriptionsClient.ListLocations(context.TODO(), a.subscriptionId); err == nil {\n\t\t// fill up the map: DisplayName - > Name\n\t\tfor _, loc := range *locations.Value {\n\t\t\tallLocations[*loc.DisplayName] = *loc.Name\n\t\t}\n\t} else {\n\t\tlog.Errorf(\"error while retrieving azure locations. err: %s\", err.Error())\n\t\treturn nil, err\n\t}\n\n\t// identify supported locations for the namespace and resource type\n\tconst (\n\t\tproviderNamespace = \"Microsoft.Compute\"\n\t\tresourceType = \"locations/vmSizes\"\n\t)\n\n\tif providers, err := a.providersClient.Get(context.TODO(), providerNamespace, \"\"); err == nil {\n\t\tfor _, pr := range *providers.ResourceTypes {\n\t\t\tif *pr.ResourceType == resourceType {\n\t\t\t\tfor _, displName := range *pr.Locations {\n\t\t\t\t\tif loc, ok := allLocations[displName]; ok {\n\t\t\t\t\t\tlog.Debugf(\"found supported location. [name, display name] = [%s, %s]\", loc, displName)\n\t\t\t\t\t\tsupLocations[loc] = displName\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlog.Debugf(\"unsupported location. [name, display name] = [%s, %s]\", loc, displName)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t} else {\n\t\tlog.Errorf(\"error while retrieving supported locations for provider: %s. err: %s\", providerNamespace, err.Error())\n\t\treturn nil, err\n\t}\n\n\treturn supLocations, nil\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {\n\tc := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (o BucketCustomPlacementConfigResponseOutput) DataLocations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v BucketCustomPlacementConfigResponse) []string { return v.DataLocations }).(pulumi.StringArrayOutput)\n}", "func (s *EnvironmentsServiceOp) List() ([]string, *Response, error) {\n\treq, e := s.client.NewRequest(\"GET\", environmentsPath, nil)\n\tif e != nil {\n\t\treturn nil, nil, e\n\t}\n\tnamelist := make([]string, 0)\n\tresp, e := s.client.Do(req, &namelist)\n\tif e != nil {\n\t\treturn nil, resp, e\n\t}\n\treturn namelist, resp, e\n}", "func (s PathMetadata) NewAsLocations(n int32) (PathMetadata_Geo_List, error) {\n\tl, err := NewPathMetadata_Geo_List(s.Struct.Segment(), n)\n\tif err != nil {\n\t\treturn PathMetadata_Geo_List{}, err\n\t}\n\terr = s.Struct.SetPtr(1, l.List.ToPtr())\n\treturn l, err\n}", "func (o SkuResponsePtrOutput) Locations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v *SkuResponse) []string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn v.Locations\n\t}).(pulumi.StringArrayOutput)\n}", "func (l Location) GetLocations() []Locatable {\n\ta := make([]Locatable, 1)\n\ta[0] = l\n\treturn a\n}", "func (s StaticInfoExtn_GeoInfo) NewLocations(n int32) (StaticInfoExtn_GeoInfo_Location_List, error) {\n\tl, err := NewStaticInfoExtn_GeoInfo_Location_List(s.Struct.Segment(), n)\n\tif err != nil {\n\t\treturn StaticInfoExtn_GeoInfo_Location_List{}, err\n\t}\n\terr = s.Struct.SetPtr(0, l.List.ToPtr())\n\treturn l, err\n}", "func LocationData() (data []ServerLocation) {\n\t//nolint:lll\n\treturn []ServerLocation{\n\t\t{Region: \"Asia Pacific\", Country: \"Australia\", City: \"Adelaide\", RetroLoc: \"Australia Adelaide\", Hostname: \"au-adl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Australia\", City: \"Brisbane\", RetroLoc: \"Australia Brisbane\", Hostname: \"au-bne.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Australia\", City: \"Melbourne\", RetroLoc: \"Australia Melbourne\", Hostname: \"au-mel.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Australia\", City: \"Perth\", RetroLoc: \"Australia Perth\", Hostname: \"au-per.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Australia\", City: \"Sydney\", RetroLoc: \"Australia Sydney\", Hostname: \"au-syd.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Azerbaijan\", City: \"Baku\", RetroLoc: \"Azerbaijan\", Hostname: \"az-bak.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Hong Kong\", City: \"Hong Kong\", RetroLoc: \"Hong Kong\", Hostname: \"hk-hkg.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Hong Kong\", City: \"Hong Kong\", RetroLoc: \"Hong Kong\", Hostname: \"lk-cmb.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Hong Kong\", City: \"Hong Kong\", RetroLoc: \"Hong Kong\", Hostname: \"mn-uln.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Indonesia\", City: \"Jakarta\", RetroLoc: \"Indonesia\", Hostname: \"id-jak.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st014.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st015.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st016.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st017.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st018.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st019.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st020.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st021.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st022.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st023.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st024.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", Hostname: \"jp-tok-st025.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Japan\", City: \"Tokyo\", RetroLoc: \"Japan Tokyo\", Hostname: \"jp-tok.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Malaysia\", City: \"Kuala Lumpur\", RetroLoc: \"Malaysia\", Hostname: \"my-kul.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"New Zealand\", City: \"Auckland\", RetroLoc: \"New Zealand\", Hostname: \"nz-akl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Philippines\", City: \"Manila\", RetroLoc: \"Philippines\", Hostname: \"ph-mnl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore in\", City: \"\", RetroLoc: \"Singapore in\", Hostname: \"sg-in.prod.surfshark.com\", MultiHop: true},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", RetroLoc: \"Singapore mp001\", Hostname: \"sg-sng-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", Hostname: \"sg-sng-st005.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", Hostname: \"sg-sng-st006.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", Hostname: \"sg-sng-st007.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", Hostname: \"sg-sng-st008.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", Hostname: \"sg-sng-st009.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", Hostname: \"sg-sng-st010.prod.surfshark.com\"},\n\t\t{Region: \"Asia Pacific\", Country: \"Singapore\", City: \"Singapore\", RetroLoc: \"Singapore\", Hostname: \"sg-sng.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"South Korea\", City: \"Seoul\", RetroLoc: \"Korea\", Hostname: \"kr-seo.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Taiwan\", City: \"Taichung City\", RetroLoc: \"Taiwan\", Hostname: \"tw-tai.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Asia Pacific\", Country: \"Thailand\", City: \"Bangkok\", RetroLoc: \"Thailand\", Hostname: \"th-bkk.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Albania\", City: \"Tirana\", RetroLoc: \"Albania\", Hostname: \"al-tia.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Austria\", City: \"Vienna\", RetroLoc: \"Austria\", Hostname: \"at-vie.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Belgium\", City: \"Brussels\", RetroLoc: \"Belgium\", Hostname: \"be-bru.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Bosnia and Herzegovina\", City: \"Sarajevo\", RetroLoc: \"Bosnia and Herzegovina\", Hostname: \"ba-sjj.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Bulgaria\", City: \"Sofia\", RetroLoc: \"Bulgaria\", Hostname: \"bg-sof.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Croatia\", City: \"Zagreb\", RetroLoc: \"Croatia\", Hostname: \"hr-zag.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Cyprus\", City: \"Nicosia\", RetroLoc: \"Cyprus\", Hostname: \"cy-nic.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Czech Republic\", City: \"Prague\", RetroLoc: \"Czech Republic\", Hostname: \"cz-prg.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Denmark\", City: \"Copenhagen\", RetroLoc: \"Denmark\", Hostname: \"dk-cph.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Estonia\", City: \"Tallinn\", RetroLoc: \"Estonia\", Hostname: \"ee-tll.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Finland\", City: \"Helsinki\", RetroLoc: \"Finland\", Hostname: \"fi-hel.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"France\", City: \"Bordeaux\", RetroLoc: \"France Bordeaux\", Hostname: \"fr-bod.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"France\", City: \"Marseille\", RetroLoc: \"France Marseilles\", Hostname: \"fr-mrs.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"France\", City: \"Paris\", RetroLoc: \"France Paris\", Hostname: \"fr-par.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Berlin\", RetroLoc: \"Germany Berlin\", Hostname: \"de-ber.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st001\", Hostname: \"de-fra-st001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st002\", Hostname: \"de-fra-st002.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st003\", Hostname: \"de-fra-st003.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st004\", Hostname: \"de-fra-st004.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st005\", Hostname: \"de-fra-st005.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st006\", Hostname: \"de-fra-st006.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main st007\", Hostname: \"de-fra-st007.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt am Main\", Hostname: \"de-fra.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Germany\", City: \"Frankfurt am Main\", RetroLoc: \"Germany Frankfurt mp001\", Hostname: \"de-fra-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Greece\", City: \"Athens\", RetroLoc: \"Greece\", Hostname: \"gr-ath.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Hungary\", City: \"Budapest\", RetroLoc: \"Hungary\", Hostname: \"hu-bud.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Iceland\", City: \"Reykjavik\", RetroLoc: \"Iceland\", Hostname: \"is-rkv.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"India UK\", City: \"\", RetroLoc: \"India UK\", Hostname: \"in-uk.prod.surfshark.com\", MultiHop: true},\n\t\t{Region: \"Europe\", Country: \"Ireland\", City: \"Dublin\", RetroLoc: \"Ireland\", Hostname: \"ie-dub.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Italy\", City: \"Milan\", RetroLoc: \"Italy Milan\", Hostname: \"it-mil.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Italy\", City: \"Rome\", RetroLoc: \"Italy Rome\", Hostname: \"it-rom.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Latvia\", City: \"Riga\", RetroLoc: \"Latvia\", Hostname: \"lv-rig.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Luxembourg\", City: \"Luxembourg\", RetroLoc: \"Luxembourg\", Hostname: \"lu-ste.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Moldova\", City: \"Chisinau\", RetroLoc: \"Moldova\", Hostname: \"md-chi.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Netherlands\", City: \"Amsterdam\", RetroLoc: \"Netherlands Amsterdam mp001\", Hostname: \"nl-ams-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Netherlands\", City: \"Amsterdam\", RetroLoc: \"Netherlands Amsterdam st001\", Hostname: \"nl-ams-st001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Netherlands\", City: \"Amsterdam\", RetroLoc: \"Netherlands Amsterdam\", Hostname: \"nl-ams.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"North Macedonia\", City: \"Skopje\", RetroLoc: \"North Macedonia\", Hostname: \"mk-skp.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Norway\", City: \"Oslo\", RetroLoc: \"Norway\", Hostname: \"no-osl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Poland\", City: \"Gdansk\", RetroLoc: \"Poland Gdansk\", Hostname: \"pl-gdn.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Poland\", City: \"Warsaw\", RetroLoc: \"Poland Warsaw\", Hostname: \"pl-waw.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Portugal\", City: \"Lisbon\", RetroLoc: \"Portugal Lisbon\", Hostname: \"pt-lis.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Portugal\", City: \"Porto\", RetroLoc: \"Portugal Porto\", Hostname: \"pt-opo.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Romania\", City: \"Bucharest\", RetroLoc: \"Romania\", Hostname: \"ro-buc.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Serbia\", City: \"Belgrade\", RetroLoc: \"Serbia\", Hostname: \"rs-beg.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Slovakia\", City: \"Bratislava\", RetroLoc: \"Slovekia\", Hostname: \"sk-bts.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Slovenia\", City: \"Ljubljana\", RetroLoc: \"Slovenia\", Hostname: \"si-lju.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Spain\", City: \"Barcelona\", RetroLoc: \"Spain Barcelona\", Hostname: \"es-bcn.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Spain\", City: \"Madrid\", RetroLoc: \"Spain Madrid\", Hostname: \"es-mad.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Spain\", City: \"Valencia\", RetroLoc: \"Spain Valencia\", Hostname: \"es-vlc.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Sweden\", City: \"Stockholm\", RetroLoc: \"Sweden\", Hostname: \"se-sto.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Switzerland\", City: \"Zurich\", RetroLoc: \"Switzerland\", Hostname: \"ch-zur.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Turkey\", City: \"Istanbul\", RetroLoc: \"Turkey Istanbul\", Hostname: \"tr-ist.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"Ukraine\", City: \"Kyiv\", RetroLoc: \"Ukraine\", Hostname: \"ua-iev.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"Glasgow\", RetroLoc: \"UK Glasgow\", Hostname: \"uk-gla.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London mp001\", Hostname: \"uk-lon-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London st001\", Hostname: \"uk-lon-st001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London st002\", Hostname: \"uk-lon-st002.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London st003\", Hostname: \"uk-lon-st003.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London st004\", Hostname: \"uk-lon-st004.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London st005\", Hostname: \"uk-lon-st005.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"London\", RetroLoc: \"UK London\", Hostname: \"uk-lon.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Europe\", Country: \"United Kingdom\", City: \"Manchester\", RetroLoc: \"UK Manchester\", Hostname: \"uk-man.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Middle East and Africa\", Country: \"Israel\", City: \"Tel Aviv\", RetroLoc: \"Israel\", Hostname: \"il-tlv.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Middle East and Africa\", Country: \"Nigeria\", City: \"Lagos\", RetroLoc: \"Nigeria\", Hostname: \"ng-lag.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Middle East and Africa\", Country: \"South Africa\", City: \"Johannesburg\", RetroLoc: \"South Africa\", Hostname: \"za-jnb.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"Middle East and Africa\", Country: \"United Arab Emirates\", City: \"Dubai\", RetroLoc: \"United Arab Emirates\", Hostname: \"ae-dub.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Argentina\", City: \"Buenos Aires\", RetroLoc: \"Argentina Buenos Aires\", Hostname: \"ar-bua.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Brazil\", City: \"Sao Paulo\", RetroLoc: \"Brazil\", Hostname: \"br-sao.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Canada\", City: \"Montreal\", RetroLoc: \"Canada Montreal\", Hostname: \"ca-mon.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Canada\", City: \"Toronto\", RetroLoc: \"Canada Toronto mp001\", Hostname: \"ca-tor-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Canada\", City: \"Toronto\", RetroLoc: \"Canada Toronto\", Hostname: \"ca-tor.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Canada\", City: \"Vancouver\", RetroLoc: \"Canada Vancouver\", Hostname: \"ca-van.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Chile\", City: \"Santiago\", RetroLoc: \"Chile\", Hostname: \"cl-san.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Colombia\", City: \"Bogota\", RetroLoc: \"Colombia\", Hostname: \"co-bog.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Costa Rica\", City: \"San Jose\", RetroLoc: \"Costa Rica\", Hostname: \"cr-sjn.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"Mexico\", City: \"Mexico City\", RetroLoc: \"Mexico City Mexico\", Hostname: \"mx-mex.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Atlanta\", RetroLoc: \"US Atlanta\", Hostname: \"us-atl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Bend\", RetroLoc: \"US Bend\", Hostname: \"us-bdn.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Boston\", RetroLoc: \"US Boston\", Hostname: \"us-bos.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Buffalo\", RetroLoc: \"US Buffalo\", Hostname: \"us-buf.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Charlotte\", RetroLoc: \"US Charlotte\", Hostname: \"us-clt.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Chicago\", RetroLoc: \"US Chicago\", Hostname: \"us-chi.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Dallas\", RetroLoc: \"US Dallas\", Hostname: \"us-dal.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Denver\", RetroLoc: \"US Denver\", Hostname: \"us-den.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Detroit\", RetroLoc: \"US Gahanna\", Hostname: \"us-dtw.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Houston\", RetroLoc: \"US Houston\", Hostname: \"us-hou.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Kansas City\", RetroLoc: \"US Kansas City\", Hostname: \"us-kan.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Las Vegas\", RetroLoc: \"US Las Vegas\", Hostname: \"us-las.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Latham\", RetroLoc: \"US Latham\", Hostname: \"us-ltm.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Los Angeles\", RetroLoc: \"US Los Angeles\", Hostname: \"us-lax.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Miami\", RetroLoc: \"US Miami\", Hostname: \"us-mia.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City mp001\", Hostname: \"us-nyc-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City st001\", Hostname: \"us-nyc-st001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City st002\", Hostname: \"us-nyc-st002.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City st003\", Hostname: \"us-nyc-st003.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City st004\", Hostname: \"us-nyc-st004.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City st005\", Hostname: \"us-nyc-st005.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"New York\", RetroLoc: \"US New York City\", Hostname: \"us-nyc.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Orlando\", RetroLoc: \"US Orlando\", Hostname: \"us-orl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Phoenix\", RetroLoc: \"US Phoenix\", Hostname: \"us-phx.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Salt Lake City\", RetroLoc: \"US Salt Lake City\", Hostname: \"us-slc.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"San Francisco\", RetroLoc: \"US San Francisco mp001\", Hostname: \"us-sfo-mp001.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"San Francisco\", RetroLoc: \"US San Francisco\", Hostname: \"us-sfo.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Seattle\", RetroLoc: \"US Seatle\", Hostname: \"us-sea.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"St. Louis\", RetroLoc: \"US Saint Louis\", Hostname: \"us-stl.prod.surfshark.com\", MultiHop: false},\n\t\t{Region: \"The Americas\", Country: \"United States\", City: \"Tampa\", RetroLoc: \"US Tampa\", Hostname: \"us-tpa.prod.surfshark.com\", MultiHop: false},\n\t}\n}", "func (t LocationTable) List(\n\tdb DBi,\n\tquery string,\n\targs ...interface{},\n) (\n\tl []Location,\n\terr error,\n) {\n\trows, err := db.Query(query, args...)\n\tif err != nil {\n\t\treturn l, errors.Unexpected.\n\t\t\tWrap(\"Location.List failed: %w\", err).\n\t\t\tAlert()\n\t}\n\tdefer rows.Close()\n\n\tfor rows.Next() {\n\t\trow, err := t.Scan(rows)\n\t\tif err != nil {\n\t\t\treturn l, err\n\t\t}\n\t\tl = append(l, row)\n\t}\n\n\tif err := rows.Err(); err != nil {\n\t\treturn l, errors.Unexpected.\n\t\t\tWrap(\"Location.List iteration failed: %w\", err).\n\t\t\tAlert()\n\t}\n\n\treturn l, nil\n}", "func Locations(ctx context.Context, tables *airtable.Tables) (types.TableContent, error) {\n\tctx, span := beeline.StartSpan(ctx, \"endpoints.legacy.Locations\")\n\tdefer span.Send()\n\n\trawTable, err := tables.GetLocations(ctx)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to fetch Locations table: %w\", err)\n\t}\n\tfields := []string{\n\t\t\"Address\",\n\t\t\"Affiliation\",\n\t\t\"Appointment scheduling instructions\",\n\t\t\"Availability Info\",\n\t\t\"County\",\n\t\t\"Has Report\",\n\t\t\"Latest report\",\n\t\t\"Latest report notes\",\n\t\t\"Latest report yes?\",\n\t\t\"Latitude\",\n\t\t\"Location Type\",\n\t\t\"Longitude\",\n\t\t\"Name\",\n\t\t\"vaccinefinder_location_id\",\n\t\t\"vaccinespotter_location_id\",\n\t\t\"google_places_id\",\n\t}\n\n\tfilteredTable, err := filter.Transform(rawTable, filter.WithFieldSlice(fields))\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"Transform: %w\", err)\n\t}\n\n\treturn filteredTable, nil\n}", "func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {\n\tc := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (config *CrocConfig) GetLocations() (Locations, error) {\n\tvar locations Locations\n\tvar locationsAll Locations\n\n\tpages, err := config.GetLocationByPage(1)\n\tif err != nil {\n\t\treturn locations, err\n\t}\n\n\tfor i := 1; i >= pages.Meta.Pagination.TotalPages; i++ {\n\t\tlocations, err := config.GetLocationByPage(i)\n\t\tif err != nil {\n\t\t\treturn locations, err\n\t\t}\n\t\tfor _, location := range locations.Locations {\n\t\t\tlocationsAll.Locations = append(locationsAll.Locations, location)\n\t\t}\n\t}\n\n\treturn locationsAll, nil\n}", "func (o *SyntheticsBrowserTest) GetLocationsOk() (*[]string, bool) {\n\tif o == nil {\n\t\treturn nil, false\n\t}\n\treturn &o.Locations, true\n}", "func (p *Provider) List() ([]string, error) {\n\treturn p.provider.ListClusters()\n}", "func (c *TensorboardClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\treturn c.internalClient.ListLocations(ctx, req, opts...)\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {\n\tc := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func Locations() []string {\n\treturn LocationsOn(runtime.GOOS)\n}", "func (c Client) GetLocationItems(query url.Values) ([]Location, error) {\n\tvar res struct {\n\t\tRecords []Location\n\t}\n\terr := c.GetRecordsFor(TableLocation, query, &res)\n\treturn res.Records, err\n}", "func (o *SyntheticMonitorUpdate) GetLocationsOk() (*[]string, bool) {\n\tif o == nil {\n\t\treturn nil, false\n\t}\n\treturn &o.Locations, true\n}", "func (mr *MockInformationMockRecorder) ListLocations() *gomock.Call {\n\tmr.mock.ctrl.T.Helper()\n\treturn mr.mock.ctrl.RecordCallWithMethodType(mr.mock, \"ListLocations\", reflect.TypeOf((*MockInformation)(nil).ListLocations))\n}", "func (r *ProjectsLocationsJobsService) List(parent string) *ProjectsLocationsJobsListCall {\n\tc := &ProjectsLocationsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsVolumesService) List(parent string) *ProjectsLocationsVolumesListCall {\n\tc := &ProjectsLocationsVolumesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *Client) List(ctx context.Context) (res StoredBottleCollection, err error) {\n\tvar ires any\n\tires, err = c.ListEndpoint(ctx, nil)\n\tif err != nil {\n\t\treturn\n\t}\n\treturn ires.(StoredBottleCollection), nil\n}", "func (o BucketCustomPlacementConfigOutput) DataLocations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v BucketCustomPlacementConfig) []string { return v.DataLocations }).(pulumi.StringArrayOutput)\n}", "func (o BucketCustomPlacementConfigOutput) DataLocations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v BucketCustomPlacementConfig) []string { return v.DataLocations }).(pulumi.StringArrayOutput)\n}", "func listInfo() ([]*RegionInfo, error) {\n // ex-1)\n // /cloud-info-spaces/regions/aws_region01/AWS/region [ap-northeast-2]\n // ex-2)\n // /cloud-info-spaces/regions/gcp_region02/GCP/region [us-east1]\n // /cloud-info-spaces/regions/gcp_region02/GCP/zone [us-east1-c]\n\n\n key := \"/cloud-info-spaces/regions\"\n keyValueList, err := store.GetList(key, true)\n if err != nil {\n return nil, err\n }\n\n var regionInfoList []*RegionInfo\n\tvar inKeyValueList []icbs.KeyValue\n\tprevRegionName := \"\"\n\tprevProviderName := \"\"\n for _, kv := range keyValueList {\n\n\t\tregionName := utils.GetNodeValue(kv.Key, 3)\n\t\tproviderName := utils.GetNodeValue(kv.Key, 4)\n\n\t\tif prevRegionName==\"\" || regionName == prevRegionName {\n\t\t\tprevRegionName = regionName\n\t\t\tprevProviderName = providerName\n\t\t\tkeyValue := icbs.KeyValue{utils.GetNodeValue(kv.Key, 5), kv.Value}\n\t\t\tinKeyValueList = append(inKeyValueList, keyValue)\n\t\t} else {\n\t\t\t// insert prev RegionInfo\n\t\t\trgnInfo := &RegionInfo{prevRegionName, prevProviderName, inKeyValueList}\n\t\t\tregionInfoList = append(regionInfoList, rgnInfo)\n\n\t\t\tprevRegionName = regionName\n\t\t\tprevProviderName = providerName\n\t\t\tinKeyValueList = nil\n\t\t\tkeyValue := icbs.KeyValue{utils.GetNodeValue(kv.Key, 5), kv.Value}\n\t\t\tinKeyValueList = append(inKeyValueList, keyValue)\n\t\t}\n\n }\n\n\tif len(keyValueList) > 0 {\n\t\t// insert last RegionInfo\n\t\trgnInfo := &RegionInfo{prevRegionName, prevProviderName, inKeyValueList}\n\t\tregionInfoList = append(regionInfoList, rgnInfo)\n\t}\n\n return regionInfoList, nil\n}", "func (r *ProjectsLocationsProvisioningQuotasService) List(parent string) *ProjectsLocationsProvisioningQuotasListCall {\n\tc := &ProjectsLocationsProvisioningQuotasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsSubscriptionsService) List(parent string) *ProjectsLocationsSubscriptionsListCall {\n\tc := &ProjectsLocationsSubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (o CidrCollectionLocationOutput) LocationName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v CidrCollectionLocation) string { return v.LocationName }).(pulumi.StringOutput)\n}", "func (o LookupImageResultOutput) StorageLocations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v LookupImageResult) []string { return v.StorageLocations }).(pulumi.StringArrayOutput)\n}", "func (r *Resolver) Locations() []*LocationResolver {\n\tvar lrs []*LocationResolver\n\tvar s service.LocationService\n\tlocations := s.All()\n\tfor _, l := range locations {\n\t\tlrs = append(lrs, &LocationResolver{&location{l}})\n\t}\n\treturn lrs\n}", "func (r *ProjectsLocationsOsImagesService) List(parent string) *ProjectsLocationsOsImagesListCall {\n\tc := &ProjectsLocationsOsImagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func getGeoLocation(locations []interface{}) *[]insights.WebTestGeolocation {\n\tvar geoLocations []insights.WebTestGeolocation\n\tfor _, v := range locations {\n\t\tl := v.(string)\n\t\tgeoLocations = append(geoLocations, insights.WebTestGeolocation{\n\t\t\tLocation: &l,\n\t\t})\n\t}\n\treturn &geoLocations\n}", "func (r Virtual_Storage_Repository) GetStorageLocations() (resp []datatypes.Location, err error) {\n\terr = r.Session.DoRequest(\"SoftLayer_Virtual_Storage_Repository\", \"getStorageLocations\", nil, &r.Options, &resp)\n\treturn\n}", "func (c *WorkflowsServiceV2BetaClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\treturn c.internalClient.ListLocations(ctx, req, opts...)\n}", "func (c *withNameAndCode) Location() []parser.Range {\n\treturn c.location\n}", "func (c *PolicyBasedRoutingClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\treturn c.internalClient.ListLocations(ctx, req, opts...)\n}", "func (r *OrganizationsOperationsService) List(name string) *OrganizationsOperationsListCall {\n\tc := &OrganizationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}" ]
[ "0.7622333", "0.7306006", "0.7014166", "0.69047207", "0.6813956", "0.6791429", "0.6791429", "0.6791429", "0.6791429", "0.6791429", "0.6356459", "0.62853664", "0.62692344", "0.62155646", "0.6181431", "0.6145698", "0.61389154", "0.6031002", "0.59756887", "0.595151", "0.5929503", "0.5838542", "0.5829221", "0.57790726", "0.57460463", "0.5722847", "0.5705971", "0.5667531", "0.5664467", "0.5656392", "0.55478233", "0.55296004", "0.55174154", "0.55129534", "0.5509339", "0.5463695", "0.5463605", "0.546218", "0.54570645", "0.5449097", "0.5437357", "0.54327506", "0.54310656", "0.5422533", "0.53893965", "0.53893965", "0.53893965", "0.53893965", "0.53893965", "0.53893965", "0.53893965", "0.53700894", "0.5348777", "0.5344241", "0.5334923", "0.53088146", "0.5295525", "0.52846766", "0.5277526", "0.5273006", "0.5268832", "0.52513754", "0.5227062", "0.5218478", "0.5216826", "0.5213312", "0.5213312", "0.5213312", "0.5213312", "0.5213312", "0.5213312", "0.5177912", "0.5140047", "0.51366717", "0.5132885", "0.51209694", "0.51206136", "0.5104344", "0.510157", "0.510157", "0.5096988", "0.50854737", "0.50841373", "0.5082503", "0.50800735", "0.50704527", "0.50700754", "0.506399", "0.50625753", "0.50582355", "0.5051096", "0.50403434", "0.5037581" ]
0.7083557
9
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP160 (
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Filter(filter string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPortChannelListRequest) Filter(filter string) ApiGetEtherPortChannelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (c *OrganizationsOptimizedHostStatsGetCall) Filter(filter string) *OrganizationsOptimizedHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *PcloudNetworksGetallParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetEtherPhysicalPortListRequest) Filter(filter string) ApiGetEtherPhysicalPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiDatacentersLansNicsGetRequest) Filter(key string, value string) ApiDatacentersLansNicsGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherNetworkPortListRequest) Filter(filter string) ApiGetEtherNetworkPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Filter(filter string) ApiGetHyperflexDriveListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Filter(filter string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolReservationListRequest) Filter(filter string) ApiGetIqnpoolReservationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsOptimizedStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(f *protocol.Filter) DiscoverOption {\n\treturn func(o *dOpts) {\n\t\to.filter = f\n\t}\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersGetRequest) Filter(key string, value string) ApiDatacentersGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetEtherHostPortListRequest) Filter(filter string) ApiGetEtherHostPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (a *AliasAddAction) Filter(filter Query) *AliasAddAction {\n\ta.filter = filter\n\treturn a\n}", "func (r ApiGetIqnpoolLeaseListRequest) Filter(filter string) ApiGetIqnpoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (res *Resource) Filter(filter *Filter) {\n\tfilter.Resource = res\n\n\tif filter.Label == \"\" {\n\t\tfilter.Label = utils.HumanizeString(filter.Name)\n\t}\n\n\tif filter.Config != nil {\n\t\tfilter.Config.ConfigureQORAdminFilter(filter)\n\t}\n\n\tif filter.Handler == nil {\n\t\t// generate default handler\n\t\tfilter.Handler = func(db *gorm.DB, filterArgument *FilterArgument) *gorm.DB {\n\t\t\tif metaValue := filterArgument.Value.Get(\"Value\"); metaValue != nil {\n\t\t\t\treturn defaultFieldFilter(res, []string{filter.Name}, utils.ToString(metaValue.Value), db, filterArgument.Context)\n\t\t\t}\n\t\t\treturn db\n\t\t}\n\t}\n\n\tif filter.Type != \"\" {\n\t\tres.filters = append(res.filters, filter)\n\t} else {\n\t\tutils.ExitWithMsg(\"Invalid filter definition %v for resource %v\", filter.Name, res.Name)\n\t}\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexHypervisorVirtualMachineListRequest) Filter(filter string) ApiGetHyperflexHypervisorVirtualMachineListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolBlockListRequest) Filter(filter string) ApiGetIqnpoolBlockListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Filter(filter string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Filter(filter string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexWitnessConfigurationListRequest) Filter(filter string) ApiGetHyperflexWitnessConfigurationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareVersionPolicyListRequest) Filter(filter string) ApiGetHyperflexSoftwareVersionPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *StatsKeywordParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHypervisorHostListRequest) Filter(filter string) ApiGetHyperflexHypervisorHostListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filters ...FilterOption) Option {\n\treturn func(stackdriver *Stackdriver) {\n\t\tfor i, filterOpt := range filters {\n\t\t\tf := &filter{}\n\t\t\tfilterOpt(f)\n\n\t\t\tif i != 0 || len(stackdriver.Builder.Model.MetricQuery.Filters) != 0 {\n\t\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, \"AND\")\n\t\t\t}\n\n\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, f.leftOperand, f.operator, f.rightOperand)\n\t\t}\n\t}\n}", "func (r ApiGetHyperflexAutoSupportPolicyListRequest) Filter(filter string) ApiGetHyperflexAutoSupportPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolMemberListRequest) Filter(filter string) ApiGetIqnpoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionEntryListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckPackageChecksumListRequest) Filter(filter string) ApiGetHyperflexHealthCheckPackageChecksumListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolMemberListRequest) Filter(filter string) ApiGetResourcepoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Filter(filter string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (uom *UpdateOneModel) SetFilter(filter interface{}) *UpdateOneModel {\n\tuom.Filter = filter\n\treturn uom\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) Filter() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaRuleFilterActionResponse) string { return v.Filter }).(pulumi.StringOutput)\n}", "func (c *CseSiterestrictListCall) Filter(filter string) *CseSiterestrictListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexVmBackupInfoListRequest) Filter(filter string) ApiGetHyperflexVmBackupInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexExtFcStoragePolicyListRequest) Filter(filter string) ApiGetHyperflexExtFcStoragePolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexUcsmConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexUcsmConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsAppgroupsListCall) Filter(filter string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *FieldSort) Filter(filter Query) *FieldSort {\n\ts.filter = filter\n\treturn s\n}", "func (r ApiGetHyperflexLocalCredentialPolicyListRequest) Filter(filter string) ApiGetHyperflexLocalCredentialPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *AppsOperationsListCall) Filter(filter string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (s *Searcher) Filter(filter *Filter, values *resource.MetaValues) *Searcher {\n\tnewSearcher := s.clone()\n\tif newSearcher.filters == nil {\n\t\tnewSearcher.filters = map[*Filter]*resource.MetaValues{}\n\t}\n\tnewSearcher.filters[filter] = values\n\treturn newSearcher\n}", "func (c *PropertiesListCall) Filter(filter string) *PropertiesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (o *FieldHistogramKeywordParams) SetFilter(filter *string) {\n\to.Filter = filter\n}" ]
[ "0.74350995", "0.7426516", "0.7305703", "0.72292197", "0.7191094", "0.719048", "0.7175063", "0.71747154", "0.7131145", "0.7127273", "0.70934826", "0.7062645", "0.70487916", "0.7037594", "0.7030505", "0.7020536", "0.699124", "0.6972744", "0.694736", "0.69447315", "0.69413567", "0.6934303", "0.69325805", "0.6924529", "0.69221085", "0.6918361", "0.69102967", "0.68878245", "0.6851598", "0.684475", "0.6841736", "0.6841371", "0.68365735", "0.6835583", "0.68330026", "0.68275684", "0.68222934", "0.6816124", "0.6813206", "0.6810776", "0.67994076", "0.679894", "0.67946905", "0.67936724", "0.6786168", "0.6778651", "0.67786205", "0.6767198", "0.6765046", "0.67635775", "0.6758663", "0.6757034", "0.674902", "0.6746766", "0.67388326", "0.67387116", "0.67309046", "0.67219293", "0.67111695", "0.67103404", "0.6709126", "0.6708953", "0.6703379", "0.67027974", "0.66943485", "0.66903514", "0.6676003", "0.6665942", "0.6662185", "0.6661695", "0.66431755", "0.6633029", "0.66308355", "0.6625442", "0.66240215", "0.66213053", "0.6620725", "0.66130173", "0.65981936", "0.65965235", "0.6591774", "0.6585275", "0.6579338", "0.65778947", "0.65664697", "0.6563978", "0.6562893", "0.65420985", "0.6541058", "0.653972", "0.65360475", "0.6532715", "0.6528781", "0.65271044", "0.6514993", "0.6506467", "0.64999115", "0.6499478", "0.64957887", "0.6486184", "0.6481191" ]
0.0
-1
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Pagination(w http.ResponseWriter, query url.Values, m martini.Context) {\n\tpage, pageErr := strconv.Atoi(query.Get(\"page\"))\n\titemsPerPage, itemsPerPageErr := strconv.Atoi(query.Get(\"items_per_page\"))\n\n\tif pageErr != nil || itemsPerPageErr != nil || page < 1 || itemsPerPage < 1 {\n\t\tm.Map(PaginationParameters{Page: 1, ItemsPerPage: 9})\n\t\treturn\n\t}\n\n\tm.Map(PaginationParameters{Page: page, ItemsPerPage: itemsPerPage})\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func TestGetPageSize(t *testing.T) {\n\tcases := []struct {\n\t\toffset, total, limit, expected int64\n\t\tname string\n\t}{\n\t\t{1, 0, 50, 0, \"no results\"},\n\t\t{1, 1, 50, 1, \"first partial page\"},\n\t\t{1, 50, 50, 50, \"first full page\"},\n\t\t{2, 100, 50, 50, \"second page full\"},\n\t\t{2, 51, 50, 1, \"last partial page\"},\n\t}\n\tfor _, tt := range cases {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tactual := getPageSize(tt.offset, tt.total, tt.limit)\n\t\t\tassert.Equal(t, tt.expected, actual, \"actual didn't match expected\")\n\t\t})\n\t}\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *Reader) PageSize(numOfRecs int) *Reader {\n\tif r.XMLName.Local == readByQueryXMLName.Local {\n\t\tr.MaxRecs = numOfRecs\n\t}\n\treturn r\n}", "func (c *AnalyticsListCall) PageSize(pageSize int64) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsScanConfigsScanRunsFindingsListCall) PageSize(pageSize int64) *ProjectsScanConfigsScanRunsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func GetPageSize() uint64 {\n\tpanic(\"not implemented\")\n}", "func (c *PagesListCall) PageSize(pageSize int64) *PagesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (q *Query) Pager(page, size int) *Query {\n\tif page < 1 {\n\t\tpage = 1\n\t}\n\tif size < 1 {\n\t\tsize = 1\n\t}\n\tq.limit = [2]int{(page - 1) * size, page * size}\n\treturn q\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *CompaniesListCall) PageSize(pageSize int64) *CompaniesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *CompaniesListCall) PageSize(pageSize int64) *CompaniesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesConversionEventsListCall) PageSize(pageSize int64) *PropertiesConversionEventsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsScanConfigsListCall) PageSize(pageSize int64) *ProjectsScanConfigsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsProcessesRunsLineageEventsListCall) PageSize(pageSize int64) *ProjectsLocationsProcessesRunsLineageEventsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}" ]
[ "0.7480888", "0.7137837", "0.7085092", "0.7036075", "0.69886184", "0.69736636", "0.69518805", "0.69397736", "0.68634105", "0.68165153", "0.68165153", "0.6811419", "0.6806752", "0.68066293", "0.67947876", "0.676301", "0.6725968", "0.6725968", "0.6724397", "0.66974354", "0.6694574", "0.6690715", "0.6686883", "0.66840124", "0.6676418", "0.6667029", "0.66665846", "0.6652648", "0.66280913", "0.6627595", "0.6622356", "0.66177756", "0.66090465", "0.6603976", "0.6600425", "0.6592947", "0.65735227", "0.6567764", "0.6567764", "0.6549972", "0.65490526", "0.65064466", "0.64925", "0.6490183", "0.6471865", "0.64162874", "0.64162874", "0.64089286", "0.64064723", "0.63978785", "0.639264", "0.63913363", "0.638485", "0.63776284", "0.6352975", "0.6352975", "0.63342947", "0.6319835", "0.6308544", "0.6305303", "0.63037336", "0.6286759", "0.62811756", "0.6275394", "0.6263801", "0.6252728", "0.6252728", "0.6251297", "0.6245818", "0.6233895", "0.6232149", "0.6230539", "0.621169", "0.621169", "0.62116534", "0.6207831", "0.62000036", "0.61905956", "0.6185415", "0.6180131", "0.6178925", "0.6167762", "0.6158971", "0.6157878", "0.6150837", "0.6144941", "0.6130341", "0.6130341", "0.6121635", "0.6093105", "0.6084369", "0.6078689", "0.6075767" ]
0.60939145
96
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (o *Ga4ghSearchCallSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchLabtestsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchFusionDetectionResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (s *ListJobsByPipelineOutput) SetNextPageToken(v string) *ListJobsByPipelineOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageTokenOk() (*string, bool) {\n\tif o == nil {\n\t\treturn nil, false\n\t}\n\treturn &o.NextPageToken, true\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) HasNextPageToken() bool {\n\tif o != nil && o.NextPageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (cl *APIClient) RequestNextResponsePage(rr *R.Response) (*R.Response, error) {\n\tmycmd := cl.toUpperCaseKeys(rr.GetCommand())\n\tif _, ok := mycmd[\"LAST\"]; ok {\n\t\treturn nil, errors.New(\"Parameter LAST in use. Please remove it to avoid issues in requestNextPage\")\n\t}\n\tfirst := 0\n\tif v, ok := mycmd[\"FIRST\"]; ok {\n\t\tfirst, _ = fmt.Sscan(\"%s\", v)\n\t}\n\ttotal := rr.GetRecordsTotalCount()\n\tlimit := rr.GetRecordsLimitation()\n\tfirst += limit\n\tif first < total {\n\t\tmycmd[\"FIRST\"] = fmt.Sprintf(\"%d\", first)\n\t\tmycmd[\"LIMIT\"] = fmt.Sprintf(\"%d\", limit)\n\t\treturn cl.Request(mycmd), nil\n\t}\n\treturn nil, errors.New(\"Could not find further existing pages\")\n}", "func (o *Ga4ghSearchContinuousSetsResponse) HasNextPageToken() bool {\n\tif o != nil && o.NextPageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) HasNextPageToken() bool {\n\tif o != nil && o.NextPageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (o *Ga4ghSearchCallSetsResponse) HasNextPageToken() bool {\n\tif o != nil && o.NextPageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageTokenOk() (string, bool) {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.NextPageToken, true\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageTokenOk() (string, bool) {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.NextPageToken, true\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageTokenOk() (string, bool) {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.NextPageToken, true\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *ListProtectionGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProtectionGroupsOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.MaxResults = limit\n\n\tresult, err := p.client.ListProtectionGroups(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken && prevToken != nil && p.nextToken != nil && *prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func (p *ListQualificationRequestsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListQualificationRequestsOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.MaxResults = limit\n\n\tresult, err := p.client.ListQualificationRequests(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken && prevToken != nil && p.nextToken != nil && *prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) HasPageToken() bool {\n\tif o != nil && o.PageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (r *PostMentionsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]Mention, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []Mention\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []Mention\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (p *EventSubscriptionsListGlobalByResourceGroupPager) NextPage(ctx context.Context) bool {\n\tvar req *policy.Request\n\tvar err error\n\tif !reflect.ValueOf(p.current).IsZero() {\n\t\tif p.current.EventSubscriptionsListResult.NextLink == nil || len(*p.current.EventSubscriptionsListResult.NextLink) == 0 {\n\t\t\treturn false\n\t\t}\n\t\treq, err = p.advancer(ctx, p.current)\n\t} else {\n\t\treq, err = p.requester(ctx)\n\t}\n\tif err != nil {\n\t\tp.err = err\n\t\treturn false\n\t}\n\tresp, err := p.client.pl.Do(req)\n\tif err != nil {\n\t\tp.err = err\n\t\treturn false\n\t}\n\tif !runtime.HasStatusCode(resp, http.StatusOK) {\n\t\tp.err = p.client.listGlobalByResourceGroupHandleError(resp)\n\t\treturn false\n\t}\n\tresult, err := p.client.listGlobalByResourceGroupHandleResponse(resp)\n\tif err != nil {\n\t\tp.err = err\n\t\treturn false\n\t}\n\tp.current = result\n\treturn true\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageTokenOk() (string, bool) {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.NextPageToken, true\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *EventSubscriptionsListGlobalByResourceGroupPager) PageResponse() EventSubscriptionsListGlobalByResourceGroupResponse {\n\treturn p.current\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *ListPipelinesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPipelinesOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.Marker = p.nextToken\n\n\tresult, err := p.client.ListPipelines(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.Marker\n\n\tif p.options.StopOnDuplicateToken &&\n\t\tprevToken != nil &&\n\t\tp.nextToken != nil &&\n\t\t*prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *DescribeReservedInstancesOfferingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeReservedInstancesOfferingsOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.MaxResults = limit\n\n\tresult, err := p.client.DescribeReservedInstancesOfferings(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken &&\n\t\tprevToken != nil &&\n\t\tp.nextToken != nil &&\n\t\t*prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func (r *ApprovalWorkflowProviderRequestsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]RequestObject, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []RequestObject\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []RequestObject\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (m *Model) NextPage() {\n\tif !m.OnLastPage() {\n\t\tm.Page++\n\t}\n}", "func (r *ApprovalWorkflowProviderRequestsAwaitingMyDecisionCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]RequestObject, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []RequestObject\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []RequestObject\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (r *SynchronizationTemplatesCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]SynchronizationTemplate, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []SynchronizationTemplate\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []SynchronizationTemplate\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageTokenOk() (string, bool) {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.PageToken, true\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *ListGameServersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGameServersOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.Limit = limit\n\n\tresult, err := p.client.ListGameServers(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken && prevToken != nil && p.nextToken != nil && *prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func Send(r io.Reader, sender Sender, opts SenderOpts) error {\n\tif opts.IsPageToken == nil {\n\t\topts.IsPageToken = func(_ []byte) bool { return true }\n\t}\n\n\twriter := &writer{sender: sender, options: opts}\n\treturn writer.consume(r)\n}", "func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r *PolicySetItemsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]PolicySetItem, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []PolicySetItem\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []PolicySetItem\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *ListProtectionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProtectionsOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.MaxResults = limit\n\n\tresult, err := p.client.ListProtections(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken &&\n\t\tprevToken != nil &&\n\t\tp.nextToken != nil &&\n\t\t*prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func GenPagination(data interface{}, page, size, count int64) *Pagination {\n\ttotalPages := TotalPages(count, size)\n\toffset := Offset(page, size)\n\treturn &Pagination{\n\t\tTotalRecords: count,\n\t\tTotalPages: totalPages,\n\t\tData: data,\n\t\tOffset: offset,\n\t\tLimit: size,\n\t\tPage: page,\n\t\tPrevPage: PrevPage(page),\n\t\tNextPage: NextPage(page, totalPages),\n\t}\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (p *VPNGatewaysClientListPager) PageResponse() VPNGatewaysClientListResponse {\n\treturn p.current\n}", "func (r *InformationProtectionThreatAssessmentRequestsCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]ThreatAssessmentRequestObject, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []ThreatAssessmentRequestObject\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []ThreatAssessmentRequestObject\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (p *UsagesClientListPager) PageResponse() UsagesClientListResponse {\n\treturn p.current\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (p *ReservationClientListAllPager) NextPage(ctx context.Context) bool {\n\tvar req *policy.Request\n\tvar err error\n\tif !reflect.ValueOf(p.current).IsZero() {\n\t\tif p.current.ListResult.NextLink == nil || len(*p.current.ListResult.NextLink) == 0 {\n\t\t\treturn false\n\t\t}\n\t\treq, err = p.advancer(ctx, p.current)\n\t} else {\n\t\treq, err = p.requester(ctx)\n\t}\n\tif err != nil {\n\t\tp.err = err\n\t\treturn false\n\t}\n\tresp, err := p.client.pl.Do(req)\n\tif err != nil {\n\t\tp.err = err\n\t\treturn false\n\t}\n\tif !runtime.HasStatusCode(resp, http.StatusOK) {\n\t\tp.err = runtime.NewResponseError(resp)\n\t\treturn false\n\t}\n\tresult, err := p.client.listAllHandleResponse(resp)\n\tif err != nil {\n\t\tp.err = err\n\t\treturn false\n\t}\n\tp.current = result\n\treturn true\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r *ApprovalWorkflowProviderBusinessFlowsWithRequestsAwaitingMyDecisionCollectionRequest) Paging(ctx context.Context, method, path string, obj interface{}, n int) ([]BusinessFlow, error) {\n\treq, err := r.NewJSONRequest(method, path, obj)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif ctx != nil {\n\t\treq = req.WithContext(ctx)\n\t}\n\tres, err := r.client.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tvar values []BusinessFlow\n\tfor {\n\t\tif res.StatusCode != http.StatusOK {\n\t\t\tb, _ := ioutil.ReadAll(res.Body)\n\t\t\tres.Body.Close()\n\t\t\terrRes := &ErrorResponse{Response: res}\n\t\t\terr := jsonx.Unmarshal(b, errRes)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"%s: %s\", res.Status, string(b))\n\t\t\t}\n\t\t\treturn nil, errRes\n\t\t}\n\t\tvar (\n\t\t\tpaging Paging\n\t\t\tvalue []BusinessFlow\n\t\t)\n\t\terr := jsonx.NewDecoder(res.Body).Decode(&paging)\n\t\tres.Body.Close()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = jsonx.Unmarshal(paging.Value, &value)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tvalues = append(values, value...)\n\t\tif n >= 0 {\n\t\t\tn--\n\t\t}\n\t\tif n == 0 || len(paging.NextLink) == 0 {\n\t\t\treturn values, nil\n\t\t}\n\t\treq, err = http.NewRequest(\"GET\", paging.NextLink, nil)\n\t\tif ctx != nil {\n\t\t\treq = req.WithContext(ctx)\n\t\t}\n\t\tres, err = r.client.Do(req)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *TransferOperationsListCall) PageToken(pageToken string) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (pagedList *PagedList) GetNextPage() (*Embed, error) {\n\treturn pagedList.GetPage(pagedList.PageNumber + 1)\n}", "func (r ApiGetBitlinksByGroupRequest) Page(page int32) ApiGetBitlinksByGroupRequest {\n\tr.page = &page\n\treturn r\n}", "func (p *ListFHIRImportJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFHIRImportJobsOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.MaxResults = limit\n\n\tresult, err := p.client.ListFHIRImportJobs(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken &&\n\t\tprevToken != nil &&\n\t\tp.nextToken != nil &&\n\t\t*prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}", "func (p *ListOrganizationInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListOrganizationInsightsOutput, error) {\n\tif !p.HasMorePages() {\n\t\treturn nil, fmt.Errorf(\"no more pages available\")\n\t}\n\n\tparams := *p.params\n\tparams.NextToken = p.nextToken\n\n\tvar limit *int32\n\tif p.options.Limit > 0 {\n\t\tlimit = &p.options.Limit\n\t}\n\tparams.MaxResults = limit\n\n\tresult, err := p.client.ListOrganizationInsights(ctx, &params, optFns...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tp.firstPage = false\n\n\tprevToken := p.nextToken\n\tp.nextToken = result.NextToken\n\n\tif p.options.StopOnDuplicateToken &&\n\t\tprevToken != nil &&\n\t\tp.nextToken != nil &&\n\t\t*prevToken == *p.nextToken {\n\t\tp.nextToken = nil\n\t}\n\n\treturn result, nil\n}" ]
[ "0.6797941", "0.6790853", "0.6738324", "0.66716856", "0.665878", "0.660652", "0.65925986", "0.6502729", "0.64697576", "0.6416618", "0.6394981", "0.6382084", "0.6360037", "0.6355575", "0.6294262", "0.6271371", "0.6270677", "0.626954", "0.6266507", "0.62256205", "0.62095785", "0.6178846", "0.6052186", "0.60475415", "0.6030072", "0.60145795", "0.596573", "0.5612917", "0.5602145", "0.5554816", "0.5504524", "0.54159963", "0.5391875", "0.5387587", "0.53782076", "0.5311043", "0.53031397", "0.52922374", "0.5265802", "0.5262767", "0.51818234", "0.5163639", "0.51518106", "0.51508415", "0.51048535", "0.50985163", "0.5095885", "0.5093354", "0.5092939", "0.50824213", "0.5080028", "0.50743574", "0.50600016", "0.5031449", "0.50287175", "0.50144297", "0.50123197", "0.5009446", "0.50076884", "0.50032413", "0.49997276", "0.4995996", "0.49936086", "0.49820456", "0.49809724", "0.497137", "0.4964479", "0.49489003", "0.49435157", "0.4942687", "0.4941618", "0.4938524", "0.4937828", "0.49243054", "0.49168348", "0.49141634", "0.49095798", "0.49095798", "0.4908092", "0.4908092", "0.49052846", "0.4905197", "0.48949623", "0.48897767", "0.48844543", "0.4883944", "0.48815316", "0.48809925", "0.48780543", "0.48760095", "0.48740715", "0.48714966", "0.4870957", "0.48704186", "0.48693618", "0.48693618", "0.48672497", "0.48642844", "0.4861232", "0.48541766", "0.48533952" ]
0.0
-1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64579004", "0.6409218", "0.6381991", "0.6328264", "0.6293984", "0.622573", "0.6193078", "0.61827034", "0.61631733", "0.6141335", "0.6125823", "0.6125462", "0.6124725", "0.611568", "0.6100482", "0.60680985", "0.60680985", "0.606125", "0.60492533", "0.6048319", "0.6021011", "0.59945804", "0.5990342", "0.59775597", "0.5961667", "0.5961667", "0.5959289", "0.5950366", "0.59500796", "0.5948174", "0.5939115", "0.5935769", "0.59348816", "0.5917293", "0.59139764", "0.5913886", "0.59099936", "0.58950424", "0.58915347", "0.58883166", "0.58867604", "0.5879923", "0.58720726", "0.58706236", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.58635837", "0.5863207", "0.5863207", "0.586281", "0.58625495", "0.5859657", "0.58480275", "0.58457154", "0.58454543", "0.5843712", "0.5831787", "0.5831525", "0.58293605", "0.58293605", "0.5820953", "0.581475", "0.5812048", "0.58032286", "0.579805", "0.57947665", "0.5791543", "0.57897764", "0.5786098", "0.5780869", "0.5779724", "0.577423", "0.57739097", "0.57659197", "0.57639176", "0.5762663", "0.57592666", "0.5751553", "0.5746938", "0.5746523", "0.5746084", "0.57429504", "0.57409465", "0.57337755", "0.57306266", "0.57259494", "0.5725422", "0.57247823", "0.5719918", "0.5719299", "0.5719299", "0.5717512", "0.56952816", "0.5693284", "0.56844383", "0.5682866", "0.56826854", "0.5673803" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.78571063", "0.77426845", "0.7717644", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7647176", "0.7599775", "0.7594325", "0.75929254", "0.75929254", "0.7582158", "0.7575828", "0.7575695", "0.7568742", "0.7555524", "0.75441426", "0.75313455", "0.7494666", "0.748358", "0.74634016", "0.74619853", "0.7452785", "0.74312496", "0.7428858", "0.7424827", "0.7414241", "0.7414112", "0.7414112", "0.7410183", "0.7404775", "0.7404775", "0.7402416", "0.7398951", "0.7392532", "0.73855126", "0.7379812", "0.7378651", "0.73666537", "0.73601836", "0.7357984", "0.73544204", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73491925", "0.7339757", "0.73346", "0.73155713", "0.73095214", "0.7308473", "0.7305993", "0.7305993", "0.73043364", "0.7303744", "0.72973424", "0.7293722", "0.7287206", "0.7286753", "0.72838", "0.7277307", "0.7276091", "0.72739077", "0.7272472", "0.727207", "0.72702944", "0.7269796", "0.7267224", "0.7261026", "0.72609854", "0.7256361", "0.72552556", "0.7254953", "0.7254242", "0.7252441", "0.7251688", "0.72484267", "0.724618", "0.72401345", "0.72391474", "0.7236357", "0.7236357", "0.7235006", "0.72316694", "0.7229783", "0.7229681", "0.7225013", "0.72218955", "0.72148854", "0.72139925", "0.72127664", "0.7210916", "0.7207084", "0.72065234", "0.7206281", "0.7206281" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
Pages invokes f for each page of results. A nonnil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { x, err := c.Do() if err != nil { return err } if err := f(x); err != nil { return err } if x.NextPageToken == "" { return nil } c.PageToken(x.NextPageToken) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *PermissionsQueryTestablePermissionsCall) Pages(ctx context.Context, f func(*QueryTestablePermissionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querytestablepermissionsrequest.PageToken = pt }(c.querytestablepermissionsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querytestablepermissionsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchForAlertCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FoldersSearchCall) Pages(ctx context.Context, f func(*SearchFoldersResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchfoldersrequest.PageToken = pt }(c.searchfoldersrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchfoldersrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OperationsLroListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTabularStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTabularStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytabularstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytabularstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytabularstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectResultsFindingsListCall) Pages(ctx context.Context, f func(*ListInspectFindingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsBatchSearchLinkProcessesCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = pt }(c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsSearchLinksCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1SearchLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1searchlinksrequest.PageToken = pt }(c.googleclouddatacataloglineagev1searchlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1searchlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTraceSinksListCall) Pages(ctx context.Context, f func(*ListTraceSinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PostsListCall) Pages(ctx context.Context, f func(*PostList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTimeSeriesStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTimeSeriesStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Pages(ctx context.Context, f func(*ListExecutionResultsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) Pages(ctx context.Context, f func(*ListListingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Pages(ctx context.Context, f func(*ListInventoriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Pages(ctx context.Context, f func(*ListScannedResourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ClaimsSearchCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsSecurityProfilesEnvironmentsComputeEnvironmentScoresCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ComputeEnvironmentScoresResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = pt }(c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SpacesListCall) Pages(ctx context.Context, f func(*ListSpacesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) Pages(ctx context.Context, f func(*ListSharedResourceSubscriptionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (o Oscar) IterateResults(f func(string, int, int, int, time.Duration, time.Duration, time.Duration)) {\n\tfor i, ts := range o.Suits {\n\t\tfor _, tc := range ts.GetCases() {\n\t\t\tcntErr := 0\n\t\t\tif tc.Error != nil {\n\t\t\t\tcntErr = 1\n\t\t\t}\n\t\t\tif cntErr == 0 && tc.CountAssertSuccess == 0 {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\telapsedTotal, elapsedHTTP, elapsedSleep := tc.Elapsed()\n\n\t\t\tf(\n\t\t\t\to.prefix(i)+tc.Name,\n\t\t\t\ttc.CountAssertSuccess,\n\t\t\t\tcntErr,\n\t\t\t\ttc.CountRemoteRequests,\n\t\t\t\telapsedTotal,\n\t\t\t\telapsedHTTP,\n\t\t\t\telapsedSleep,\n\t\t\t)\n\t\t}\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsProcessesRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListRunsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = pt }(c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AnalyticsListCall) Pages(ctx context.Context, f func(*ListAnalyticsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Pages(ctx context.Context, f func(*ListTimeSeriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *JobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) Pages(ctx context.Context, f func(*LicenseAssignmentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) Pages(ctx context.Context, f func(*ListOSPolicyAssignmentRevisionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OffersHistoryListCall) Pages(ctx context.Context, f func(*ListOffersHistoryResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PagesListCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListCall) Pages(ctx context.Context, f func(*ListDataExchangesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsWorkflowsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsMonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsOccurrencesListCall) Pages(ctx context.Context, f func(*ListOccurrencesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ListProjectsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LeadsListCall) Pages(ctx context.Context, f func(*ListLeadsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesVulnerabilityReportsListCall) Pages(ctx context.Context, f func(*ListVulnerabilityReportsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MobileAppsListCall) Pages(ctx context.Context, f func(*MobileAppsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AlbumsListCall) Pages(ctx context.Context, f func(*ListAlbumsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}" ]
[ "0.638546", "0.638546", "0.619373", "0.60504717", "0.6037753", "0.59754544", "0.58251286", "0.57954067", "0.5791087", "0.5761814", "0.5742279", "0.5742164", "0.5712449", "0.5702505", "0.56302", "0.56261736", "0.56261736", "0.56147426", "0.5611694", "0.56075704", "0.55971897", "0.5594965", "0.55933994", "0.5592046", "0.5591114", "0.5585566", "0.5582276", "0.55800784", "0.5568035", "0.55598307", "0.55187947", "0.55045", "0.55045", "0.5473387", "0.54536855", "0.545217", "0.544178", "0.5441464", "0.5440477", "0.5437611", "0.54353213", "0.54283625", "0.54101264", "0.5407115", "0.5402562", "0.53900975", "0.53890115", "0.5388679", "0.5385398", "0.5385398", "0.53800803", "0.5379511", "0.53787094", "0.5377002", "0.537624", "0.5363129", "0.53615755", "0.5357984", "0.53578925", "0.5348969", "0.53232443", "0.5320492", "0.53203267", "0.53156924", "0.5315391", "0.5314967", "0.53091735", "0.5303459", "0.5297312", "0.5297312", "0.5290914", "0.5286059", "0.52826273", "0.52761763", "0.52761763", "0.52607447", "0.5258019", "0.525316", "0.52415764", "0.52415764", "0.52415764", "0.52415764", "0.52399343", "0.52354294", "0.52310234", "0.52253944", "0.52223104", "0.520827", "0.520827", "0.52032226", "0.5194318", "0.51903754", "0.5182758" ]
0.52331144
89
EvaluationId sets the optional parameter "evaluationId": Required. Id of the requesting object
func (c *ProjectsLocationsEvaluationsCreateCall) EvaluationId(evaluationId string) *ProjectsLocationsEvaluationsCreateCall { c.urlParams_.Set("evaluationId", evaluationId) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *UpdateContactEvaluationOutput) SetEvaluationId(v string) *UpdateContactEvaluationOutput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *SubmitContactEvaluationOutput) SetEvaluationId(v string) *SubmitContactEvaluationOutput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *UpdateContactEvaluationInput) SetEvaluationId(v string) *UpdateContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *StartContactEvaluationOutput) SetEvaluationId(v string) *StartContactEvaluationOutput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *DescribeContactEvaluationInput) SetEvaluationId(v string) *DescribeContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *SubmitContactEvaluationInput) SetEvaluationId(v string) *SubmitContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *DeleteContactEvaluationInput) SetEvaluationId(v string) *DeleteContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *Evaluation) SetEvaluationId(v string) *Evaluation {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *EvaluationSummary) SetEvaluationId(v string) *EvaluationSummary {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *ActivateEvaluationFormOutput) SetEvaluationFormId(v string) *ActivateEvaluationFormOutput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *UpdateEvaluationFormOutput) SetEvaluationFormId(v string) *UpdateEvaluationFormOutput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *DeactivateEvaluationFormOutput) SetEvaluationFormId(v string) *DeactivateEvaluationFormOutput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *CreateEvaluationFormOutput) SetEvaluationFormId(v string) *CreateEvaluationFormOutput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *ActivateEvaluationFormInput) SetEvaluationFormId(v string) *ActivateEvaluationFormInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *UpdateEvaluationFormInput) SetEvaluationFormId(v string) *UpdateEvaluationFormInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *DescribeEvaluationFormInput) SetEvaluationFormId(v string) *DescribeEvaluationFormInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *StartContactEvaluationInput) SetEvaluationFormId(v string) *StartContactEvaluationInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *DeactivateEvaluationFormInput) SetEvaluationFormId(v string) *DeactivateEvaluationFormInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *EvaluationFormVersionSummary) SetEvaluationFormId(v string) *EvaluationFormVersionSummary {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *EvaluationFormContent) SetEvaluationFormId(v string) *EvaluationFormContent {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *EvaluationForm) SetEvaluationFormId(v string) *EvaluationForm {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *EvaluationFormSummary) SetEvaluationFormId(v string) *EvaluationFormSummary {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *ListEvaluationFormVersionsInput) SetEvaluationFormId(v string) *ListEvaluationFormVersionsInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *DeleteEvaluationFormInput) SetEvaluationFormId(v string) *DeleteEvaluationFormInput {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (s *EvaluationSummary) SetEvaluationFormId(v string) *EvaluationSummary {\n\ts.EvaluationFormId = &v\n\treturn s\n}", "func (e *EvaluationHandler) QuizEvaluation(c *gin.Context) {\n\t// Form Data\n\tvar req RequestEvaluation\n\n\t// Validation\n\terr := c.ShouldBind(&req)\n\tif err != nil {\n\t\t//a.Middleware.CheckValidate(err, c)\n\t\tvar errValidation []response.Error\n\t\tif reflect.TypeOf(err).String() != \"validator.ValidationErrors\" {\n\t\t\terror := response.Error{\"\", err.Error()}\n\t\t\terrValidation = append(errValidation, error)\n\t\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\t\treturn\n\t\t}\n\t\tfor _, fieldErr := range err.(validator.ValidationErrors) {\n\t\t\te := fieldErr.Translate(e.Validator.Translation)\n\n\t\t\terror := response.Error{fieldErr.Field(), e}\n\t\t\terrValidation = append(errValidation, error)\n\t\t}\n\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\treturn\n\t}\n\n\t// User session\n\tloggedIn := e.Middleware.GetLoggedInUser(c)\n\n\t// Check if user already pass this quiz\n\texists, answer := e.EvaluationUsecase.IsAnswerExists(loggedIn.Username, req.Title)\n\tif exists {\n\t\tanswerObj := e.EvaluationUsecase.CheckAnswerResult(answer.Selected)\n\t\tif answerObj.IsPass() {\n\t\t\tmsg := \"Anda telah lulus kuis\"\n\t\t\terr := struct{}{}\n\t\t\tresponse.RespondSuccessJSON(c.Writer, err, msg)\n\t\t\treturn\n\t\t}\n\t}\n\treq.Limit = 5\n\tassesment, totalData := e.EvaluationUsecase.StartEvaluation(req.Title, req.Page, req.Limit)\n\n\t// Pagination\n\ttotalPage := int(math.Round(float64(totalData) / float64(req.Limit)))\n\tprevPage := req.Page - 1\n\tif prevPage <= 0 {\n\t\tprevPage = 1\n\t}\n\tnextPage := req.Page + 1\n\tif nextPage >= totalPage {\n\t\tnextPage = totalPage\n\t}\n\n\ttotalData = 5\n\tmsg := \"Daftar pertanyaan\"\n\tres := PreEvaluationResponse{\n\t\tStartTime: assesment.Start,\n\t\tEndTime: assesment.End,\n\t\tPagination: PaginationResponse{\n\t\t\tTotalData: totalData,\n\t\t\tTotalPage: totalPage,\n\t\t\tLimit: req.Limit,\n\t\t\tCurrent: req.Page,\n\t\t\tPreviousUrl: \"/test/pre?page=\" + strconv.Itoa(prevPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t\tNextUrl: \"/test/pre?page=\" + strconv.Itoa(nextPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t},\n\t}\n\n\tfor _, question := range assesment.QuestionList {\n\t\tq := Question{\n\t\t\tId: question.Id,\n\t\t\tType: question.Type,\n\t\t\tAttachType: question.AttachType,\n\t\t\tAttachment: question.Attachment,\n\t\t\tQuestion: question.Text,\n\t\t\tChoices: Choice{\n\t\t\t\tType: question.Choices.Type,\n\t\t\t\tOptions: question.Choices.Options,\n\t\t\t},\n\t\t}\n\t\tres.Test = append(res.Test, q)\n\t}\n\n\tresponse.RespondSuccessJSON(c.Writer, res, msg)\n}", "func (s *DescribeContactEvaluationOutput) SetEvaluation(v *Evaluation) *DescribeContactEvaluationOutput {\n\ts.Evaluation = v\n\treturn s\n}", "func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsId(assignmentFilterEvaluationStatusDetailsId string)(*ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) {\n urlTplParams := make(map[string]string)\n for idx, item := range m.BaseRequestBuilder.PathParameters {\n urlTplParams[idx] = item\n }\n if assignmentFilterEvaluationStatusDetailsId != \"\" {\n urlTplParams[\"assignmentFilterEvaluationStatusDetails%2Did\"] = assignmentFilterEvaluationStatusDetailsId\n }\n return NewItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter)\n}", "func GetEvaluation(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *EvaluationState, opts ...pulumi.ResourceOption) (*Evaluation, error) {\n\tvar resource Evaluation\n\terr := ctx.ReadResource(\"google-native:dialogflow/v2:Evaluation\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func NewEvaluation(ctx *pulumi.Context,\n\tname string, args *EvaluationArgs, opts ...pulumi.ResourceOption) (*Evaluation, error) {\n\tif args == nil {\n\t\treturn nil, errors.New(\"missing one or more required arguments\")\n\t}\n\n\tif args.ConversationModelId == nil {\n\t\treturn nil, errors.New(\"invalid value for required argument 'ConversationModelId'\")\n\t}\n\treplaceOnChanges := pulumi.ReplaceOnChanges([]string{\n\t\t\"conversationModelId\",\n\t\t\"location\",\n\t\t\"project\",\n\t})\n\topts = append(opts, replaceOnChanges)\n\topts = internal.PkgResourceDefaultOpts(opts)\n\tvar resource Evaluation\n\terr := ctx.RegisterResource(\"google-native:dialogflow/v2:Evaluation\", name, args, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func TestGetEvaluation(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/evaluation/%d/\", evaluationId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData model.EvaluationInfo\n\t}\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation Info Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (o EvaluationOutput) EvaluationConfig() GoogleCloudDialogflowV2EvaluationConfigResponseOutput {\n\treturn o.ApplyT(func(v *Evaluation) GoogleCloudDialogflowV2EvaluationConfigResponseOutput { return v.EvaluationConfig }).(GoogleCloudDialogflowV2EvaluationConfigResponseOutput)\n}", "func (s *UpdateContactEvaluationOutput) SetEvaluationArn(v string) *UpdateContactEvaluationOutput {\n\ts.EvaluationArn = &v\n\treturn s\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponseOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput {\n\treturn o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse) GoogleCloudDatalabelingV1beta1EvaluationConfigResponse {\n\t\treturn v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput)\n}", "func (s *SubmitContactEvaluationOutput) SetEvaluationArn(v string) *SubmitContactEvaluationOutput {\n\ts.EvaluationArn = &v\n\treturn s\n}", "func (s *StartContactEvaluationOutput) SetEvaluationArn(v string) *StartContactEvaluationOutput {\n\ts.EvaluationArn = &v\n\treturn s\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponsePtrOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigResponsePtrOutput {\n\treturn o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse) *GoogleCloudDatalabelingV1beta1EvaluationConfigResponse {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigResponsePtrOutput)\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigOutput {\n\treturn o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobConfig) GoogleCloudDatalabelingV1beta1EvaluationConfig {\n\t\treturn v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigOutput)\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigPtrOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigPtrOutput {\n\treturn o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1EvaluationJobConfig) *GoogleCloudDatalabelingV1beta1EvaluationConfig {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigPtrOutput)\n}", "func (m *executionResponse) ExecutionID() string {\n\treturn m.executionIdField\n}", "func (c *ProjectsLocationsEvaluationsCreateCall) RequestId(requestId string) *ProjectsLocationsEvaluationsCreateCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (s *EvaluationSummary) SetEvaluationArn(v string) *EvaluationSummary {\n\ts.EvaluationArn = &v\n\treturn s\n}", "func (k Keeper) SetEvaluation(ctx sdk.Context, topicID string, fromAddress sdk.AccAddress, toAddress sdk.AccAddress, weight1000 sdk.Int) {\n\tfrom := fromAddress.String()\n\tto := toAddress.String()\n\n\tlinkMatrix := k.getLinkMatrixUnmarshaled(ctx, topicID)\n\tstochasticMatrix := pagerank.GetStochastixMatrix(linkMatrix)\n\tscoreVector := k.getScoreVectorUnmarshaled(ctx, topicID)\n\n\tsetEvaluationAndTransition(from, to, weight1000.Int64(), &linkMatrix, &stochasticMatrix, &scoreVector)\n\n\tk.setLinkMatrixMarshaled(ctx, topicID, linkMatrix)\n\tk.setStochasticMatrixMarshaled(ctx, topicID, stochasticMatrix)\n\tk.setScoreVectorMarshaled(ctx, topicID, scoreVector)\n}", "func (c *Client) DeleteEvaluation(ctx context.Context, params *DeleteEvaluationInput, optFns ...func(*Options)) (*DeleteEvaluationOutput, error) {\n\tif params == nil {\n\t\tparams = &DeleteEvaluationInput{}\n\t}\n\n\tresult, metadata, err := c.invokeOperation(ctx, \"DeleteEvaluation\", params, optFns, addOperationDeleteEvaluationMiddlewares)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tout := result.(*DeleteEvaluationOutput)\n\tout.ResultMetadata = metadata\n\treturn out, nil\n}", "func (o ResourcePolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *ResourcePolicyExemption) pulumi.StringOutput { return v.PolicyAssignmentId }).(pulumi.StringOutput)\n}", "func (s *Evaluation) SetEvaluationArn(v string) *Evaluation {\n\ts.EvaluationArn = &v\n\treturn s\n}", "func TestGetEvaluation2(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/evaluation/%d/\", evaluationId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, \"\")\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData model.EvaluationInfo\n\t}\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation Info Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (s *TestExecutionSummary) SetTestExecutionId(v string) *TestExecutionSummary {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func (m *UnifiedRoleAssignmentScheduleRequest) SetAppScopeId(value *string)() {\n m.appScopeId = value\n}", "func (m *executionResponse) SetExecutionID(val string) {\n\tm.executionIdField = val\n}", "func (e *EvaluationHandler) PostEvaluation(c *gin.Context) {\n\t// Form Data\n\tvar req RequestEvaluation\n\t// Validation\n\terr := c.ShouldBind(&req)\n\tif err != nil {\n\t\t//a.Middleware.CheckValidate(err, c)\n\t\tvar errValidation []response.Error\n\t\tif reflect.TypeOf(err).String() != \"validator.ValidationErrors\" {\n\t\t\terror := response.Error{\"\", err.Error()}\n\t\t\terrValidation = append(errValidation, error)\n\t\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\t\treturn\n\t\t}\n\t\tfor _, fieldErr := range err.(validator.ValidationErrors) {\n\t\t\te := fieldErr.Translate(e.Validator.Translation)\n\n\t\t\terror := response.Error{fieldErr.Field(), e}\n\t\t\terrValidation = append(errValidation, error)\n\t\t}\n\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\treturn\n\t}\n\t// User session\n\tloggedIn := e.Middleware.GetLoggedInUser(c)\n\n\t// Check if user already join post test\n\texists, answer := e.EvaluationUsecase.IsAnswerExists(loggedIn.Username, \"posttest\")\n\tif exists {\n\t\tanswerObj := e.EvaluationUsecase.CheckAnswerResult(answer.Selected)\n\t\tif answerObj.IsPass() {\n\t\t\tmsg := \"Anda telah lulus post test\"\n\t\t\terr := struct{}{}\n\t\t\tresponse.RespondSuccessJSON(c.Writer, err, msg)\n\t\t\treturn\n\t\t}\n\t\te.EvaluationUsecase.ArchivedPostAnswer(loggedIn.Username)\n\t}\n\n\tassesment, totalData := e.EvaluationUsecase.StartPostEvaluation(loggedIn.Username)\n\tif assesment == nil {\n\t\tmsg := \"You have to join pre test first\"\n\t\terr := struct{}{}\n\t\tresponse.RespondSuccessJSON(c.Writer, err, msg)\n\t\treturn\n\t}\n\n\t// Pagination\n\ttotalPage := int(math.Round(float64(totalData) / float64(req.Limit)))\n\tprevPage := req.Page - 1\n\tif prevPage <= 0 {\n\t\tprevPage = 1\n\t}\n\tnextPage := req.Page + 1\n\tif nextPage >= totalPage {\n\t\tnextPage = totalPage\n\t}\n\n\tmsg := \"Daftar pertanyaan\"\n\tres := PreEvaluationResponse{\n\t\tStartTime: assesment.Start,\n\t\tEndTime: assesment.End,\n\t\tPagination: PaginationResponse{\n\t\t\tTotalData: totalData,\n\t\t\tTotalPage: totalPage,\n\t\t\tLimit: req.Limit,\n\t\t\tCurrent: req.Page,\n\t\t\tPreviousUrl: \"/test/pre?page=\" + strconv.Itoa(prevPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t\tNextUrl: \"/test/pre?page=\" + strconv.Itoa(nextPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t},\n\t}\n\n\tfor _, question := range assesment.QuestionList {\n\t\tq := Question{\n\t\t\tId: question.Id,\n\t\t\tType: question.Type,\n\t\t\tAttachType: question.AttachType,\n\t\t\tAttachment: question.Attachment,\n\t\t\tQuestion: question.Text,\n\t\t\tChoices: Choice{\n\t\t\t\tType: question.Choices.Type,\n\t\t\t\tOptions: question.Choices.Options,\n\t\t\t},\n\t\t}\n\t\tres.Test = append(res.Test, q)\n\t}\n\n\tresponse.RespondSuccessJSON(c.Writer, res, msg)\n}", "func (r *PromRule) SetEvaluationDuration(dur time.Duration) {\n\tr.mtx.Lock()\n\tdefer r.mtx.Unlock()\n\tr.evaluationDuration = dur\n}", "func TestEvaluationsOfOneCourse(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/course/%s/evaluations/?limit=10&lastId=0&sort=hot\", courseId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData evaluationsOfCourseResponse\n\t}\n\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluations of One Course Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (s *NotificationContext) SetValidationId(v string) *NotificationContext {\n\ts.ValidationId = &v\n\treturn s\n}", "func (s *GetTestExecutionArtifactsUrlInput) SetTestExecutionId(v string) *GetTestExecutionArtifactsUrlInput {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func handleStartEvaluationEvent(event cloudevents.Event, shkeptncontext string, data *keptnevents.StartEvaluationEventData, logger *keptnutils.Logger) error {\n\tlogger.Info(fmt.Sprintf(\"Handling Start Evaluation Event: %s\", event.Context.GetID()));\n\n\treturn nil\n}", "func TestEvaluationPlayground(t *testing.T) {\n\tg := getRouter(true)\n\turi := \"api/v1/evaluation/?pageSize=20&lastEvaluationId=0\"\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData playgroundResponse\n\t}\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation List Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (o *StorageEnclosure) SetEnclosureId(v int64) {\n\to.EnclosureId = &v\n}", "func (s *ListTestExecutionResultItemsInput) SetTestExecutionId(v string) *ListTestExecutionResultItemsInput {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func (s *DescribeTestExecutionInput) SetTestExecutionId(v string) *DescribeTestExecutionInput {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func (m *TermsAndConditionsItemRequestBuilder) AssignmentsById(id string)(*i2fc7a2614754963997f99635ae3e50b962e993d7cc3fdeb1c79dc9fa08d7674c.TermsAndConditionsAssignmentItemRequestBuilder) {\n urlTplParams := make(map[string]string)\n for idx, item := range m.pathParameters {\n urlTplParams[idx] = item\n }\n if id != \"\" {\n urlTplParams[\"termsAndConditionsAssignment%2Did\"] = id\n }\n return i2fc7a2614754963997f99635ae3e50b962e993d7cc3fdeb1c79dc9fa08d7674c.NewTermsAndConditionsAssignmentItemRequestBuilderInternal(urlTplParams, m.requestAdapter);\n}", "func (et *executionTableImpl) evaluateID(udpeID int, context nonTerminal, evaluationsCount int) customBool {\n\trecord, err := et.recordByID(udpeID)\n\tif err != nil {\n\t\tpanic(fmt.Sprintf(`udpe boolean evaluation error for id: %v`, err))\n\t}\n\n\t//Do not consider the effective boolean value of all those UDPEs which are\n\t//the initial UDPE of some NUDPE.\n\t//The boolean value of a NUDPE is computed at the end of the entire parsing of the document.\n\tif record.belongsToNudpe() {\n\t\treturn Undefined\n\t}\n\n\tif record.hasSolutionsFor(context) {\n\t\treturn True\n\t}\n\n\t//FPEs are always bounded w.r.t. a specific context and their boolean value\n\t//is always available as soon as the context has been synthesized.\n\tif record.udpeType() == FPE {\n\t\treturn False\n\t}\n\n\t//RPEs may be unbounded w.r.t. a certain context and their boolean values\n\t//may be undefined at the time when the context is synthesized.\n\tif evaluationsCount == 0 || record.hasExecutionThreadRunningFor(context) {\n\t\treturn Undefined\n\t}\n\n\treturn False\n}", "func handleEvaluationDoneEvent(event cloudevents.Event, shkeptncontext string, data *keptnevents.EvaluationDoneEventData, logger *keptnutils.Logger) error {\n\tlogger.Info(fmt.Sprintf(\"Handling Evaluation Done Event: %s\", event.Context.GetID()));\n\n\treturn nil\n}", "func (s *GetTestExecutionArtifactsUrlOutput) SetTestExecutionId(v string) *GetTestExecutionArtifactsUrlOutput {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func (o GetAccessAssignmentsResultOutput) Id() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetAccessAssignmentsResult) string { return v.Id }).(pulumi.StringOutput)\n}", "func (s *StartTestExecutionOutput) SetTestExecutionId(v string) *StartTestExecutionOutput {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func (s *DescribeTestExecutionOutput) SetTestExecutionId(v string) *DescribeTestExecutionOutput {\n\ts.TestExecutionId = &v\n\treturn s\n}", "func (b *PolicySetAssignmentsCollectionRequestBuilder) ID(id string) *PolicySetAssignmentRequestBuilder {\n\tbb := &PolicySetAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}\n\tbb.baseURL += \"/\" + id\n\treturn bb\n}", "func (b *AccessReviewDecisionsCollectionRequestBuilder) ID(id string) *AccessReviewDecisionRequestBuilder {\n\tbb := &AccessReviewDecisionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}\n\tbb.baseURL += \"/\" + id\n\treturn bb\n}", "func (b *ApprovalWorkflowProviderRequestsAwaitingMyDecisionCollectionRequestBuilder) ID(id string) *RequestObjectRequestBuilder {\n\tbb := &RequestObjectRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}\n\tbb.baseURL += \"/\" + id\n\treturn bb\n}", "func (b *DeviceEnrollmentConfigurationAssignmentsCollectionRequestBuilder) ID(id string) *EnrollmentConfigurationAssignmentRequestBuilder {\n\tbb := &EnrollmentConfigurationAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}\n\tbb.baseURL += \"/\" + id\n\treturn bb\n}", "func NewTargetOfEvaluation(assuranceLevel string) *orchestrator.TargetOfEvaluation {\n\tvar toe = &orchestrator.TargetOfEvaluation{\n\t\tCloudServiceId: testdata.MockCloudServiceID1,\n\t\tCatalogId: testdata.MockCatalogID,\n\t}\n\n\tif assuranceLevel != \"\" {\n\t\ttoe.AssuranceLevel = &assuranceLevel\n\t}\n\n\t// Our test catalog does not allow scoping, so we need to emulate what we do in CreateTargetOfEvaluation\n\ttoe.ControlsInScope = []*orchestrator.Control{\n\t\t{\n\t\t\tId: testdata.MockControlID1,\n\t\t\tCategoryName: testdata.MockCategoryName,\n\t\t\tCategoryCatalogId: testdata.MockCatalogID,\n\t\t\tName: testdata.MockControlName,\n\t\t\tDescription: testdata.MockControlDescription,\n\t\t},\n\t\t{\n\t\t\tId: testdata.MockSubControlID11,\n\t\t\tCategoryName: testdata.MockCategoryName,\n\t\t\tCategoryCatalogId: testdata.MockCatalogID,\n\t\t\tName: testdata.MockSubControlName,\n\t\t\tDescription: testdata.MockSubControlDescription,\n\t\t\tParentControlId: util.Ref(testdata.MockControlID1),\n\t\t\tParentControlCategoryName: util.Ref(testdata.MockCategoryName),\n\t\t\tParentControlCategoryCatalogId: util.Ref(testdata.MockCatalogID),\n\t\t\tAssuranceLevel: &testdata.AssuranceLevelBasic,\n\t\t},\n\t}\n\n\treturn toe\n}", "func (b *OfficeClientConfigurationAssignmentsCollectionRequestBuilder) ID(id string) *OfficeClientConfigurationAssignmentRequestBuilder {\n\tbb := &OfficeClientConfigurationAssignmentRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}\n\tbb.baseURL += \"/\" + id\n\treturn bb\n}", "func (net *Network) SetMaxEvaluationIterations(n int) {\n\tnet.maxIterations = n\n}", "func (e *EvaluationHandler) ProcessEvaluationAnswer(c *gin.Context) {\n\t// Form Data\n\tvar req RequestProcessEvaluationAnswer\n\t// Validation\n\terr := c.ShouldBind(&req)\n\tif err != nil {\n\t\t//a.Middleware.CheckValidate(err, c)\n\t\tvar errValidation []response.Error\n\t\tif reflect.TypeOf(err).String() != \"validator.ValidationErrors\" {\n\t\t\terror := response.Error{\"\", err.Error()}\n\t\t\terrValidation = append(errValidation, error)\n\t\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\t\treturn\n\t\t}\n\t\tfor _, fieldErr := range err.(validator.ValidationErrors) {\n\t\t\te := fieldErr.Translate(e.Validator.Translation)\n\n\t\t\terror := response.Error{fieldErr.Field(), e}\n\t\t\terrValidation = append(errValidation, error)\n\t\t}\n\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\treturn\n\t}\n\t// User Logged in session\n\tloggedIn := e.Middleware.GetLoggedInUser(c)\n\n\t// Check if user not join pre test yet\n\texists, _ := e.EvaluationUsecase.IsAnswerExists(loggedIn.Username, \"pretest\")\n\tif exists {\n\t\tmsg := \"Anda telah mengikuti pre test\"\n\t\terr := struct{}{}\n\t\tresponse.RespondSuccessJSON(c.Writer, err, msg)\n\t\treturn\n\t}\n\n\t// Remove double quote start & end from answer\n\treq.Answer = req.Answer[1 : len(req.Answer)-1]\n\n\tanswerObj := e.EvaluationUsecase.CheckAnswerResult(req.Answer)\n\te.EvaluationUsecase.SaveAnswer(loggedIn.Username, \"pretest\", req.Answer, answerObj.Grade)\n\te.LearningUsecase.SetDefaultCourse(loggedIn.Username)\n\n\tmsg := \"Terima kasih, kami telah menerima jawaban anda\"\n\tres := struct{}{}\n\tresponse.RespondSuccessJSON(c.Writer, res, msg)\n}", "func (e *EvaluationHandler) PreEvaluation(c *gin.Context) {\n\t// Form Data\n\tvar req RequestEvaluation\n\t// Validation\n\terr := c.ShouldBind(&req)\n\tif err != nil {\n\t\t//a.Middleware.CheckValidate(err, c)\n\t\tvar errValidation []response.Error\n\t\tif reflect.TypeOf(err).String() != \"validator.ValidationErrors\" {\n\t\t\terror := response.Error{\"\", err.Error()}\n\t\t\terrValidation = append(errValidation, error)\n\t\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\t\treturn\n\t\t}\n\t\tfor _, fieldErr := range err.(validator.ValidationErrors) {\n\t\t\te := fieldErr.Translate(e.Validator.Translation)\n\n\t\t\terror := response.Error{fieldErr.Field(), e}\n\t\t\terrValidation = append(errValidation, error)\n\t\t}\n\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\treturn\n\t}\n\t// User Logged in session\n\tloggedIn := e.Middleware.GetLoggedInUser(c)\n\n\t// Check if user not join pre test yet\n\texists, _ := e.EvaluationUsecase.IsAnswerExists(loggedIn.Username, \"pretest\")\n\tif exists {\n\t\tmsg := \"Anda telah mengikuti pre test\"\n\t\terr := struct{}{}\n\t\tresponse.RespondSuccessJSON(c.Writer, err, msg)\n\t\treturn\n\t}\n\n\tassesment, totalData := e.EvaluationUsecase.StartEvaluation(\"prepost\", req.Page, req.Limit)\n\n\t// Pagination\n\ttotalPage := int(math.Round(float64(totalData) / float64(req.Limit)))\n\tprevPage := req.Page - 1\n\tif prevPage <= 0 {\n\t\tprevPage = 1\n\t}\n\tnextPage := req.Page + 1\n\tif nextPage >= totalPage {\n\t\tnextPage = totalPage\n\t}\n\n\tmsg := \"List of questions\"\n\tres := PreEvaluationResponse{\n\t\tStartTime: assesment.Start,\n\t\tEndTime: assesment.End,\n\t\tPagination: PaginationResponse{\n\t\t\tTotalData: totalData,\n\t\t\tTotalPage: totalPage,\n\t\t\tLimit: req.Limit,\n\t\t\tCurrent: req.Page,\n\t\t\tPreviousUrl: \"/test/pre?page=\" + strconv.Itoa(prevPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t\tNextUrl: \"/test/pre?page=\" + strconv.Itoa(nextPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t},\n\t}\n\n\tfor _, question := range assesment.QuestionList {\n\t\tq := Question{\n\t\t\tId: question.Id,\n\t\t\tType: question.Type,\n\t\t\tAttachType: question.AttachType,\n\t\t\tAttachment: question.Attachment,\n\t\t\tQuestion: question.Text,\n\t\t\tChoices: Choice{\n\t\t\t\tType: question.Choices.Type,\n\t\t\t\tOptions: question.Choices.Options,\n\t\t\t},\n\t\t}\n\t\tres.Test = append(res.Test, q)\n\t}\n\n\tresponse.RespondSuccessJSON(c.Writer, res, msg)\n}", "func (b *AccessReviewMyDecisionsCollectionRequestBuilder) ID(id string) *AccessReviewDecisionRequestBuilder {\n\tbb := &AccessReviewDecisionRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}\n\tbb.baseURL += \"/\" + id\n\treturn bb\n}", "func (m *DeviceManagementRequestBuilder) RoleAssignmentsById(id string)(*idd0a88efd8948b1f5076671630001feacd82e5f59287364da79d7d9ea14e73b1.DeviceAndAppManagementRoleAssignmentItemRequestBuilder) {\n urlTplParams := make(map[string]string)\n for idx, item := range m.pathParameters {\n urlTplParams[idx] = item\n }\n if id != \"\" {\n urlTplParams[\"deviceAndAppManagementRoleAssignment%2Did\"] = id\n }\n return idd0a88efd8948b1f5076671630001feacd82e5f59287364da79d7d9ea14e73b1.NewDeviceAndAppManagementRoleAssignmentItemRequestBuilderInternal(urlTplParams, m.requestAdapter);\n}", "func (mr *MockPolicyClientMockRecorder) GetPolicyEvaluation(arg0, arg1 interface{}) *gomock.Call {\n\tmr.mock.ctrl.T.Helper()\n\treturn mr.mock.ctrl.RecordCallWithMethodType(mr.mock, \"GetPolicyEvaluation\", reflect.TypeOf((*MockPolicyClient)(nil).GetPolicyEvaluation), arg0, arg1)\n}", "func (s *MonitoringAlertSummary) SetEvaluationPeriod(v int64) *MonitoringAlertSummary {\n\ts.EvaluationPeriod = &v\n\treturn s\n}", "func (m *EducationAssignmentItemRequestBuilder) SubmissionsById(id string)(*i2d4596e7585085aa1bcbd1dfc3b2ce4826b6afe4b02ed3c80e40d2c1de2dd769.EducationSubmissionItemRequestBuilder) {\n urlTplParams := make(map[string]string)\n for idx, item := range m.pathParameters {\n urlTplParams[idx] = item\n }\n if id != \"\" {\n urlTplParams[\"educationSubmission%2Did\"] = id\n }\n return i2d4596e7585085aa1bcbd1dfc3b2ce4826b6afe4b02ed3c80e40d2c1de2dd769.NewEducationSubmissionItemRequestBuilderInternal(urlTplParams, m.requestAdapter);\n}", "func EvaluationRPC(id int) (res []byte, err error) {\n\t// Create connection\n\t// Kubernetes connection\n\tconn, err := amqp.Dial(\"amqp://admin:hola-mama@rabbitmq:5672/\")\n\t// Local connection\n\t// conn, err := amqp.Dial(\"amqp://guest:guest@localhost:5672/\")\n\tfailOnError(err, \"Failed to connect to RabbitMQ\")\n\tdefer conn.Close()\n\n\t// Create channel\n\tch, err := conn.Channel()\n\tfailOnError(err, \"Failed to open a channel\")\n\tdefer ch.Close()\n\n\t// Create queue\n\tq, err := ch.QueueDeclare(\n\t\t\"\", // name\n\t\tfalse, // durable\n\t\tfalse, // delete when usused\n\t\ttrue, // exclusive\n\t\tfalse, // noWait\n\t\tnil, // arguments\n\t)\n\tfailOnError(err, \"Failed to declare a queue\")\n\n\t// Queue consumer\n\tmsgs, err := ch.Consume(\n\t\tq.Name, // queue\n\t\t\"\", // consumer\n\t\ttrue, // auto-ack\n\t\tfalse, // exclusive\n\t\tfalse, // no-local\n\t\tfalse, // no-wait\n\t\tnil, // args\n\t)\n\tfailOnError(err, \"Failed to register a consumer\")\n\n\tcorrID := randomString(32)\n\n\t// Publish new request\n\terr = ch.Publish(\n\t\t\"\", // exchange\n\t\t\"rpc_queue\", // routing key\n\t\tfalse, // mandatory\n\t\tfalse, // immediate\n\t\tamqp.Publishing{\n\t\t\tContentType: \"application/json\",\n\t\t\tCorrelationId: corrID,\n\t\t\tReplyTo: q.Name,\n\t\t\tBody: []byte(strconv.Itoa(id)),\n\t\t})\n\tfailOnError(err, \"Failed to publish a message\")\n\n\tfor d := range msgs {\n\t\tif corrID == d.CorrelationId {\n\t\t\tres, err = d.Body, nil\n\t\t\tfailOnError(err, \"Failed to convert body to integer\")\n\t\t\tbreak\n\t\t}\n\t}\n\n\treturn\n}", "func (m *SequentialActivationRenewalsAlertIncident) SetAssigneeId(value *string)() {\n err := m.GetBackingStore().Set(\"assigneeId\", value)\n if err != nil {\n panic(err)\n }\n}", "func (s *ServerValidationConfiguration) SetValidationId(v string) *ServerValidationConfiguration {\n\ts.ValidationId = &v\n\treturn s\n}", "func (o *ExpenseApplicationsIndexResponseExpenseApplications) SetApplicantId(v int32) {\n\to.ApplicantId = v\n}", "func GetCanaryEvaluation(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *CanaryEvaluationState, opts ...pulumi.ResourceOption) (*CanaryEvaluation, error) {\n\tvar resource CanaryEvaluation\n\terr := ctx.ReadResource(\"google-native:apigee/v1:CanaryEvaluation\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func NewAssignmentFilterEvaluateRequest()(*AssignmentFilterEvaluateRequest) {\n m := &AssignmentFilterEvaluateRequest{\n }\n m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance();\n m.SetAdditionalData(make(map[string]any))\n return m\n}", "func (m *UnifiedRoleAssignmentScheduleRequest) GetAppScopeId()(*string) {\n return m.appScopeId\n}", "func (s *AppValidationConfiguration) SetValidationId(v string) *AppValidationConfiguration {\n\ts.ValidationId = &v\n\treturn s\n}", "func (o *ExpenseApplicationsIndexResponseExpenseApplications) SetCurrentStepId(v int32) {\n\to.CurrentStepId.Set(&v)\n}", "func (s *UpdateMonitoringAlertInput) SetEvaluationPeriod(v int64) *UpdateMonitoringAlertInput {\n\ts.EvaluationPeriod = &v\n\treturn s\n}", "func (s *DescribeContactEvaluationOutput) SetEvaluationForm(v *EvaluationFormContent) *DescribeContactEvaluationOutput {\n\ts.EvaluationForm = v\n\treturn s\n}", "func (r *PromRule) SetEvaluationTimestamp(ts time.Time) {\n\tr.mtx.Lock()\n\tdefer r.mtx.Unlock()\n\tr.evaluationTimestamp = ts\n}", "func (r *ExplainDataFrameAnalytics) Id(id string) *ExplainDataFrameAnalytics {\n\tr.paramSet |= idMask\n\tr.id = id\n\n\treturn r\n}", "func (s *ActivateEvaluationFormOutput) SetEvaluationFormVersion(v int64) *ActivateEvaluationFormOutput {\n\ts.EvaluationFormVersion = &v\n\treturn s\n}", "func (m *PoliciesRequestBuilder) RoleManagementPolicyAssignmentsById(id string)(*RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilder) {\n urlTplParams := make(map[string]string)\n for idx, item := range m.pathParameters {\n urlTplParams[idx] = item\n }\n if id != \"\" {\n urlTplParams[\"unifiedRoleManagementPolicyAssignment%2Did\"] = id\n }\n return NewRoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilderInternal(urlTplParams, m.requestAdapter)\n}", "func (m *DeviceConfigurationItemRequestBuilder) AssignmentsById(id string)(*i847fd9044721470530d680766ffdf92095b6c54818a689f742e81f854e71cbd3.DeviceConfigurationAssignmentItemRequestBuilder) {\n urlTplParams := make(map[string]string)\n for idx, item := range m.pathParameters {\n urlTplParams[idx] = item\n }\n if id != \"\" {\n urlTplParams[\"deviceConfigurationAssignment%2Did\"] = id\n }\n return i847fd9044721470530d680766ffdf92095b6c54818a689f742e81f854e71cbd3.NewDeviceConfigurationAssignmentItemRequestBuilderInternal(urlTplParams, m.requestAdapter);\n}", "func (_this *DeprecationReportBody) Id() string {\n\tvar ret string\n\tvalue := _this.Value_JS.Get(\"id\")\n\tret = (value).String()\n\treturn ret\n}", "func (s *DeactivateEvaluationFormOutput) SetEvaluationFormVersion(v int64) *DeactivateEvaluationFormOutput {\n\ts.EvaluationFormVersion = &v\n\treturn s\n}", "func (s *DescribeEvaluationFormOutput) SetEvaluationForm(v *EvaluationForm) *DescribeEvaluationFormOutput {\n\ts.EvaluationForm = v\n\treturn s\n}" ]
[ "0.80306584", "0.8015458", "0.8002185", "0.79934996", "0.79789937", "0.79736376", "0.7972233", "0.7761939", "0.7695921", "0.67576563", "0.6709796", "0.6705421", "0.6660508", "0.66365033", "0.65861225", "0.65786797", "0.6578314", "0.65645117", "0.6534155", "0.6525493", "0.6518213", "0.6501144", "0.6460711", "0.6457265", "0.61763227", "0.56638753", "0.5632633", "0.5388457", "0.5378225", "0.5367123", "0.5363824", "0.5352549", "0.5188178", "0.5177163", "0.5125676", "0.5110564", "0.50902873", "0.50451934", "0.50223076", "0.5020587", "0.49905455", "0.49799412", "0.4976168", "0.4961485", "0.4925793", "0.49227837", "0.48411155", "0.47970286", "0.4777302", "0.47677985", "0.47505778", "0.47497183", "0.47308838", "0.46735257", "0.46516484", "0.4646283", "0.46436253", "0.46335882", "0.46324617", "0.46196377", "0.46173188", "0.46056914", "0.45494822", "0.45493424", "0.4539586", "0.45332295", "0.45331797", "0.45289385", "0.45163047", "0.4501845", "0.45017242", "0.44984892", "0.44917366", "0.44859892", "0.4479698", "0.44501248", "0.44484457", "0.44477218", "0.44373366", "0.4432832", "0.44237927", "0.44167688", "0.44091606", "0.44049743", "0.43989015", "0.43903565", "0.43830693", "0.43738845", "0.43728015", "0.43203524", "0.43102005", "0.43087015", "0.4284932", "0.4266898", "0.4253088", "0.4249798", "0.42449388", "0.42438307", "0.42433044", "0.42420602" ]
0.7836809
7
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000000000000000000000000000).
func (c *ProjectsLocationsEvaluationsCreateCall) RequestId(requestId string) *ProjectsLocationsEvaluationsCreateCall { c.urlParams_.Set("requestId", requestId) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ApplianceDeviceClaimAllOf) SetRequestId(v string) {\n\to.RequestId = &v\n}", "func (m *ServicePrincipalRiskDetection) SetRequestId(value *string)() {\n err := m.GetBackingStore().Set(\"requestId\", value)\n if err != nil {\n panic(err)\n }\n}", "func (o *AssetReportFreddieGetResponse) SetRequestId(v string) {\n\to.RequestId = v\n}", "func (o *Cause) SetRequestId(v string) {\n\to.RequestId = &v\n}", "func (s *DataLakeUpdateStatus) SetRequestId(v string) *DataLakeUpdateStatus {\n\ts.RequestId = &v\n\treturn s\n}", "func (s *StartRunInput) SetRequestId(v string) *StartRunInput {\n\ts.RequestId = &v\n\treturn s\n}", "func (s *CreateRunGroupInput) SetRequestId(v string) *CreateRunGroupInput {\n\ts.RequestId = &v\n\treturn s\n}", "func (o *PartnerCustomerCreateResponse) SetRequestId(v string) {\n\to.RequestId = &v\n}", "func (o *WatchlistScreeningIndividualReviewCreateResponse) SetRequestId(v string) {\n\to.RequestId = v\n}", "func (o *WatchlistScreeningIndividualUpdateResponse) SetRequestId(v string) {\n\to.RequestId = v\n}", "func (c *ProjectsLocationsMigrationJobsCreateCall) RequestId(requestId string) *ProjectsLocationsMigrationJobsCreateCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (o *WalletTransactionsListResponse) SetRequestId(v string) {\n\to.RequestId = v\n}", "func (s *CreateWorkflowInput) SetRequestId(v string) *CreateWorkflowInput {\n\ts.RequestId = &v\n\treturn s\n}", "func (o *PaymentInitiationPaymentGetResponse) SetRequestId(v string) {\n\to.RequestId = v\n}", "func (o *AssetReportFreddieGetResponse) GetRequestId() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.RequestId\n}", "func (o *AccessRequestData) SetRequestId(v string) {\n\to.RequestId = &v\n}", "func (o *TransferSweepListResponse) SetRequestId(v string) {\n\to.RequestId = v\n}", "func (c *ProjectsLocationsMigrationJobsPatchCall) RequestId(requestId string) *ProjectsLocationsMigrationJobsPatchCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (c *ProjectsLocationsProcessesRunsLineageEventsCreateCall) RequestId(requestId string) *ProjectsLocationsProcessesRunsLineageEventsCreateCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (client *ClientImpl) UpdateRequestsRequestId(ctx context.Context, args UpdateRequestsRequestIdArgs) (*Request, error) {\n\tif args.UpdateRequest == nil {\n\t\treturn nil, &azuredevops.ArgumentNilError{ArgumentName: \"args.UpdateRequest\"}\n\t}\n\trouteValues := make(map[string]string)\n\tif args.RequestId == nil || *args.RequestId == \"\" {\n\t\treturn nil, &azuredevops.ArgumentNilOrEmptyError{ArgumentName: \"args.RequestId\"}\n\t}\n\trouteValues[\"requestId\"] = *args.RequestId\n\n\tbody, marshalErr := json.Marshal(*args.UpdateRequest)\n\tif marshalErr != nil {\n\t\treturn nil, marshalErr\n\t}\n\tlocationId, _ := uuid.Parse(\"ebc09fe3-1b20-4667-abc5-f2b60fe8de52\")\n\tresp, err := client.Client.Send(ctx, http.MethodPatch, locationId, \"6.0-preview.1\", routeValues, nil, bytes.NewReader(body), \"application/json\", \"application/json\", nil)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tvar responseValue Request\n\terr = client.Client.UnmarshalBody(resp, &responseValue)\n\treturn &responseValue, err\n}", "func (c *ProjectsLocationsProcessesCreateCall) RequestId(requestId string) *ProjectsLocationsProcessesCreateCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (c *ProjectsLocationsProcessesRunsCreateCall) RequestId(requestId string) *ProjectsLocationsProcessesRunsCreateCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (o *ApplianceDeviceClaimAllOf) GetRequestId() string {\n\tif o == nil || o.RequestId == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.RequestId\n}", "func (o *Cause) GetRequestId() string {\n\tif o == nil || o.RequestId == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.RequestId\n}", "func (c *chain) RequestId() string {\n\treturn c.JobChain.RequestId\n}", "func (client *ClientImpl) DeleteRequestsRequestId(ctx context.Context, args DeleteRequestsRequestIdArgs) error {\n\trouteValues := make(map[string]string)\n\tif args.RequestId == nil || *args.RequestId == \"\" {\n\t\treturn &azuredevops.ArgumentNilOrEmptyError{ArgumentName: \"args.RequestId\"}\n\t}\n\trouteValues[\"requestId\"] = *args.RequestId\n\n\tqueryParams := url.Values{}\n\tif args.Synchronous != nil {\n\t\tqueryParams.Add(\"synchronous\", strconv.FormatBool(*args.Synchronous))\n\t}\n\tlocationId, _ := uuid.Parse(\"ebc09fe3-1b20-4667-abc5-f2b60fe8de52\")\n\t_, err := client.Client.Send(ctx, http.MethodDelete, locationId, \"6.0-preview.1\", routeValues, queryParams, nil, \"\", \"application/json\", nil)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}", "func (o *WatchlistScreeningIndividualUpdateResponse) GetRequestId() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.RequestId\n}", "func (o *WatchlistScreeningIndividualReviewCreateResponse) GetRequestId() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.RequestId\n}", "func (c *ProjectsLocationsMigrationJobsDeleteCall) RequestId(requestId string) *ProjectsLocationsMigrationJobsDeleteCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (client *ClientImpl) GetRequestsRequestId(ctx context.Context, args GetRequestsRequestIdArgs) (*Request, error) {\n\trouteValues := make(map[string]string)\n\tif args.RequestId == nil || *args.RequestId == \"\" {\n\t\treturn nil, &azuredevops.ArgumentNilOrEmptyError{ArgumentName: \"args.RequestId\"}\n\t}\n\trouteValues[\"requestId\"] = *args.RequestId\n\n\tlocationId, _ := uuid.Parse(\"ebc09fe3-1b20-4667-abc5-f2b60fe8de52\")\n\tresp, err := client.Client.Send(ctx, http.MethodGet, locationId, \"6.0-preview.1\", routeValues, nil, nil, \"\", \"application/json\", nil)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tvar responseValue Request\n\terr = client.Client.UnmarshalBody(resp, &responseValue)\n\treturn &responseValue, err\n}", "func (o RegionAutoscalerOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *RegionAutoscaler) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func ContextRequestId(ctx context.Context) (requestId string) {\n\tif d, ok := ctx.Value(contextHandlerDetailsKey).(*handlerDetails); ok {\n\t\trequestId = d.requestId\n\t}\n\treturn\n}", "func (o TargetProjectOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *TargetProject) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func (c *ProjectsLocationsConnectionProfilesCreateCall) RequestId(requestId string) *ProjectsLocationsConnectionProfilesCreateCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (o TargetPoolOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *TargetPool) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func (o *AccessRequestData) GetRequestId() string {\n\tif o == nil || o.RequestId == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.RequestId\n}", "func (s *ResolverRule) SetCreatorRequestId(v string) *ResolverRule {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *ResolverRule) SetCreatorRequestId(v string) *ResolverRule {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (o *PaymentInitiationPaymentGetResponse) GetRequestId() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.RequestId\n}", "func generateRequestId() uint64 {\n\tupdatedId := atomic.AddUint64(&internalAtomicIdCounter, 1)\n\treturn updatedId\n}", "func (c *ProjectsLocationsConnectionProfilesPatchCall) RequestId(requestId string) *ProjectsLocationsConnectionProfilesPatchCall {\n\tc.urlParams_.Set(\"requestId\", requestId)\n\treturn c\n}", "func (o *PartnerCustomerCreateResponse) GetRequestId() string {\n\tif o == nil || o.RequestId == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.RequestId\n}", "func (s *FirewallRule) SetCreatorRequestId(v string) *FirewallRule {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (abcr AppendBlobsCreateResponse) RequestID() string {\n\treturn abcr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (self *ProxyRequest) requestId() string {\n\n\tt := time.Now().Local()\n\n\t// This should provide an extremely low chance to create race conditions.\n\tname := fmt.Sprintf(\n\t\t\"%s-%04d%02d%02d-%02d%02d%02d-%09d\",\n\t\tself.Request.Method,\n\t\tt.Year(),\n\t\tt.Month(),\n\t\tt.Day(),\n\t\tt.Hour(),\n\t\tt.Minute(),\n\t\tt.Second(),\n\t\tt.Nanosecond(),\n\t)\n\n\treturn name\n}", "func (s *CreateResolverRuleInput) SetCreatorRequestId(v string) *CreateResolverRuleInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *CreateResolverRuleInput) SetCreatorRequestId(v string) *CreateResolverRuleInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (o *WalletTransactionsListResponse) GetRequestId() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.RequestId\n}", "func (s *ResolverQueryLogConfig) SetCreatorRequestId(v string) *ResolverQueryLogConfig {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *FirewallRuleGroup) SetCreatorRequestId(v string) *FirewallRuleGroup {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (m *ServicePrincipalRiskDetection) GetRequestId()(*string) {\n val, err := m.GetBackingStore().Get(\"requestId\")\n if err != nil {\n panic(err)\n }\n if val != nil {\n return val.(*string)\n }\n return nil\n}", "func (o TestMatrixOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *TestMatrix) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func (s *CreateFirewallRuleInput) SetCreatorRequestId(v string) *CreateFirewallRuleInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *FirewallRuleGroupMetadata) SetCreatorRequestId(v string) *FirewallRuleGroupMetadata {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *FirewallDomainList) SetCreatorRequestId(v string) *FirewallDomainList {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *TableRestoreStatus) SetTableRestoreRequestId(v string) *TableRestoreStatus {\n\ts.TableRestoreRequestId = &v\n\treturn s\n}", "func (ccr ContainersCreateResponse) RequestID() string {\n\treturn ccr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *CreateResolverQueryLogConfigInput) SetCreatorRequestId(v string) *CreateResolverQueryLogConfigInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (bcsr BlobsCreateSnapshotResponse) RequestID() string {\n\treturn bcsr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (ababr AppendBlobsAppendBlockResponse) RequestID() string {\n\treturn ababr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *CreateFirewallRuleGroupInput) SetCreatorRequestId(v string) *CreateFirewallRuleGroupInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *FirewallRuleGroupAssociation) SetCreatorRequestId(v string) *FirewallRuleGroupAssociation {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (bstr BlobsSetTierResponse) RequestID() string {\n\treturn bstr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *UtteranceSpecification) SetUtteranceRequestId(v string) *UtteranceSpecification {\n\ts.UtteranceRequestId = &v\n\treturn s\n}", "func (o AddressGroupOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *AddressGroup) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func (s *ResolverEndpoint) SetCreatorRequestId(v string) *ResolverEndpoint {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *ResolverEndpoint) SetCreatorRequestId(v string) *ResolverEndpoint {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *FirewallDomainListMetadata) SetCreatorRequestId(v string) *FirewallDomainListMetadata {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (crlr ContainersReleaseLeaseResponse) RequestID() string {\n\treturn crlr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *CreateFirewallDomainListInput) SetCreatorRequestId(v string) *CreateFirewallDomainListInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (o NetworkAttachmentOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *NetworkAttachment) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func (o SslCertificateOutput) RequestId() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *SslCertificate) pulumi.StringPtrOutput { return v.RequestId }).(pulumi.StringPtrOutput)\n}", "func (s *OutpostResolver) SetCreatorRequestId(v string) *OutpostResolver {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (brlr BlobsReleaseLeaseResponse) RequestID() string {\n\treturn brlr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (bclr BlobsChangeLeaseResponse) RequestID() string {\n\treturn bclr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (cclr ContainersChangeLeaseResponse) RequestID() string {\n\treturn cclr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *GetTableRestoreStatusInput) SetTableRestoreRequestId(v string) *GetTableRestoreStatusInput {\n\ts.TableRestoreRequestId = &v\n\treturn s\n}", "func (s *AssociateFirewallRuleGroupInput) SetCreatorRequestId(v string) *AssociateFirewallRuleGroupInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *CreateResolverEndpointInput) SetCreatorRequestId(v string) *CreateResolverEndpointInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (s *CreateResolverEndpointInput) SetCreatorRequestId(v string) *CreateResolverEndpointInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (tuo *TransactionUpdateOne) SetRequestID(id uuid.UUID) *TransactionUpdateOne {\n\ttuo.mutation.SetRequestID(id)\n\treturn tuo\n}", "func (bbcblr BlockBlobsCommitBlockListResponse) RequestID() string {\n\treturn bbcblr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (brlr BlobsRenewLeaseResponse) RequestID() string {\n\treturn brlr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (o JobOutput) ClientRequestId() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Job) pulumi.StringOutput { return v.ClientRequestId }).(pulumi.StringOutput)\n}", "func (bbsbr BlockBlobsStageBlockResponse) RequestID() string {\n\treturn bbsbr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (bbur BlockBlobsUploadResponse) RequestID() string {\n\treturn bbur.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *CreateOutpostResolverInput) SetCreatorRequestId(v string) *CreateOutpostResolverInput {\n\ts.CreatorRequestId = &v\n\treturn s\n}", "func (calr ContainersAcquireLeaseResponse) RequestID() string {\n\treturn calr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (crlr ContainersRenewLeaseResponse) RequestID() string {\n\treturn crlr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (tu *TransactionUpdate) SetRequestID(id uuid.UUID) *TransactionUpdate {\n\ttu.mutation.SetRequestID(id)\n\treturn tu\n}", "func (s *TagOperationException) RequestID() string {\n\treturn s.RespMetadata.RequestID\n}", "func (balr BlobsAcquireLeaseResponse) RequestID() string {\n\treturn balr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (o *AssetReportFreddieGetResponse) GetRequestIdOk() (*string, bool) {\n\tif o == nil {\n\t\treturn nil, false\n\t}\n\treturn &o.RequestId, true\n}", "func (o *TransferSweepListResponse) GetRequestId() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.RequestId\n}", "func (pbcr PageBlobsCreateResponse) RequestID() string {\n\treturn pbcr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (lcr ListContainersResponse) RequestID() string {\n\treturn lcr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (bsmr BlobsSetMetadataResponse) RequestID() string {\n\treturn bsmr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func RequestID() gin.HandlerFunc {\n\treturn func(c *gin.Context) {\n\t\tc.Header(\"X-Request-Id\", uuid.New().String())\n\t\tc.Next()\n\t}\n}", "func (bshhr BlobsSetHTTPHeadersResponse) RequestID() string {\n\treturn bshhr.rawResponse.Header.Get(\"x-ms-request-id\")\n}", "func (s *NoFreeAddressesInSubnet) RequestID() string {\n\treturn s.RespMetadata.RequestID\n}" ]
[ "0.6733917", "0.66578877", "0.6586262", "0.6525037", "0.6474896", "0.6466977", "0.64438754", "0.64435154", "0.64219874", "0.6417774", "0.6410216", "0.6372751", "0.6346203", "0.62971866", "0.62529665", "0.62158775", "0.62037283", "0.61547375", "0.6106285", "0.61010915", "0.59938043", "0.5973065", "0.5900673", "0.5890965", "0.5849978", "0.5806823", "0.5765525", "0.57634807", "0.5739776", "0.57094085", "0.57065195", "0.56671214", "0.56622124", "0.5632487", "0.56192964", "0.5569806", "0.5565698", "0.5565698", "0.555633", "0.55500466", "0.5535923", "0.55109507", "0.5501458", "0.5498319", "0.5495281", "0.5483819", "0.5483819", "0.5461104", "0.5451803", "0.54320323", "0.5408397", "0.53850144", "0.5378308", "0.5377255", "0.537308", "0.5360391", "0.5359988", "0.535015", "0.5338763", "0.53137314", "0.5302071", "0.53004616", "0.5298883", "0.5293801", "0.5291361", "0.5283078", "0.5283078", "0.5277692", "0.52766275", "0.526658", "0.52627915", "0.5262086", "0.5261891", "0.525714", "0.5251907", "0.52473605", "0.52469903", "0.52386874", "0.5203186", "0.5203186", "0.5195751", "0.51798743", "0.51689047", "0.51623267", "0.5149296", "0.5143844", "0.5134175", "0.5128535", "0.51275694", "0.51248425", "0.51152015", "0.5113335", "0.5104396", "0.5100225", "0.5092435", "0.5072589", "0.5065282", "0.50443447", "0.5028805", "0.5025781" ]
0.6036757
20
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64583564", "0.64089453", "0.63825923", "0.6329182", "0.62945044", "0.6225895", "0.619365", "0.6182673", "0.61636275", "0.61414576", "0.612667", "0.61260766", "0.61254126", "0.6115779", "0.61003155", "0.6067746", "0.6067746", "0.6061624", "0.6047966", "0.6045541", "0.6019901", "0.5994803", "0.5990605", "0.59757566", "0.5961258", "0.5961258", "0.59596264", "0.5950205", "0.59479946", "0.5946376", "0.59391904", "0.59362525", "0.59334743", "0.5916428", "0.59146625", "0.5914137", "0.59100276", "0.5893598", "0.589179", "0.58878744", "0.588714", "0.58790183", "0.5871864", "0.5868891", "0.58633685", "0.58633685", "0.58628243", "0.5862554", "0.5862554", "0.5862554", "0.5862554", "0.5862554", "0.58618456", "0.5860892", "0.58579326", "0.5848325", "0.5845566", "0.58454007", "0.5842217", "0.5831592", "0.5831122", "0.5828655", "0.5828655", "0.5819126", "0.5813496", "0.58109957", "0.58029073", "0.5797994", "0.5794926", "0.5789773", "0.57896835", "0.578311", "0.5779994", "0.5778984", "0.57742655", "0.5771941", "0.5766177", "0.5762638", "0.5761581", "0.57587826", "0.5749813", "0.57466763", "0.574626", "0.57459193", "0.5741631", "0.57414067", "0.57333165", "0.5730675", "0.5725508", "0.5725087", "0.5724914", "0.57197326", "0.5718999", "0.5718999", "0.5716166", "0.5692843", "0.5692457", "0.5684587", "0.56828916", "0.5682519", "0.5673288" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsCreateCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsCreateCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.66235137", "0.64344084", "0.6383178", "0.6270063", "0.6144445", "0.6144445", "0.6143892", "0.612991", "0.6124678", "0.6120316", "0.6096121", "0.6080446", "0.60695136", "0.6067953", "0.60596967", "0.6059417", "0.60566366", "0.60449743", "0.60237515", "0.6011819", "0.6006558", "0.59965366", "0.59898025", "0.5984241", "0.5981279", "0.59773576", "0.59771824", "0.5973381", "0.59656495", "0.59656495", "0.59557056", "0.5953212", "0.5951194", "0.59508395", "0.594157", "0.5938914", "0.59337056", "0.5933108", "0.59298694", "0.59268975", "0.5915904", "0.5912403", "0.5911474", "0.5910315", "0.5905953", "0.5900835", "0.58967566", "0.58963144", "0.5896037", "0.5887992", "0.5887992", "0.5881177", "0.58786774", "0.5875623", "0.5871704", "0.5871704", "0.5869171", "0.5861542", "0.5859896", "0.585379", "0.5851625", "0.58509046", "0.5850036", "0.5841373", "0.5839679", "0.5838723", "0.58365595", "0.5836501", "0.583633", "0.58358836", "0.58353436", "0.58346283", "0.58267444", "0.5825405", "0.58225656", "0.58145076", "0.58108354", "0.58098435", "0.58071196", "0.58070546", "0.58068985", "0.5804559", "0.580315", "0.5801571", "0.5799761", "0.5799452", "0.57993793", "0.5798138", "0.57954276", "0.5794124", "0.5793289", "0.5788691", "0.5788427", "0.5787556", "0.57857794", "0.57827073", "0.5781179", "0.5781179", "0.5775117", "0.5774034", "0.5772883" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74045575", "0.7240345", "0.7231556", "0.72286886", "0.7225144", "0.7220892", "0.7211064", "0.7204605", "0.7200339", "0.71941656", "0.7188011", "0.7188011", "0.71877944", "0.718559", "0.71789914", "0.7176322", "0.7176322", "0.7171874", "0.71623826", "0.71602637", "0.7144154", "0.7144154", "0.7144154", "0.7143109", "0.7139234", "0.7133915", "0.71298724", "0.7129597", "0.7122606", "0.7116456", "0.71134925", "0.71098983", "0.71042293", "0.71042293", "0.7101177", "0.7099879", "0.7099349", "0.70980054", "0.7097353", "0.70958745", "0.70953804", "0.7091542", "0.70892286", "0.7088931", "0.7087422", "0.7085846", "0.7073104", "0.70707655", "0.70707655", "0.7064144", "0.7058561", "0.7056006", "0.7055869", "0.7055869", "0.70535403", "0.70535403", "0.70534354", "0.7052519", "0.70511025", "0.705056", "0.7049734", "0.7049211", "0.7047664", "0.7045296", "0.70414394", "0.703803", "0.70379484", "0.7031038", "0.70308185", "0.7030429", "0.70285296", "0.7028526", "0.7028526", "0.7028141", "0.70266974", "0.70266426", "0.702373", "0.702373", "0.7022347", "0.70220834", "0.70220834", "0.7021023", "0.7018856", "0.701855", "0.701745", "0.70173943", "0.7016581", "0.70094526", "0.7008969", "0.7008969", "0.7008199", "0.70076936", "0.70074576", "0.70039994", "0.7002133", "0.7000649", "0.6999397", "0.6999238", "0.6998797", "0.6995897", "0.6994625" ]
0.0
-1
Get: Gets details of a single Evaluation. name: Name of the resource.
func (r *ProjectsLocationsEvaluationsService) Get(name string) *ProjectsLocationsEvaluationsGetCall { c := &ProjectsLocationsEvaluationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetEvaluation(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *EvaluationState, opts ...pulumi.ResourceOption) (*Evaluation, error) {\n\tvar resource Evaluation\n\terr := ctx.ReadResource(\"google-native:dialogflow/v2:Evaluation\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func TestGetEvaluation(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/evaluation/%d/\", evaluationId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData model.EvaluationInfo\n\t}\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation Info Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (e *Evaluator) GetEvaluation(info evaluate.Info) (*evaluate.Evaluation, error) {\n\tglog.V(3).Infoln(\"Evaluating gathered metrics\")\n\t// Convert evaluation input into JSON\n\tspecJSON, err := json.Marshal(info)\n\tif err != nil {\n\t\t// Should not occur, panic\n\t\tpanic(err)\n\t}\n\n\tif e.Config.PreEvaluate != nil {\n\t\tglog.V(3).Infoln(\"Attempting to run pre-evaluate hook\")\n\t\thookResult, err := e.Execute.ExecuteWithValue(e.Config.PreEvaluate, string(specJSON))\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"failed run pre-evaluate hook: %w\", err)\n\t\t}\n\t\tglog.V(3).Infof(\"Pre-evaluate hook response: %+v\", hookResult)\n\t}\n\n\tglog.V(3).Infoln(\"Attempting to run evaluation logic\")\n\tgathered, err := e.Execute.ExecuteWithValue(e.Config.Evaluate, string(specJSON))\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to get evaluation: %w\", err)\n\t}\n\tglog.V(3).Infof(\"Evaluation determined: %s\", gathered)\n\n\tglog.V(3).Infoln(\"Attempting to parse evaluation\")\n\tevaluation := &evaluate.Evaluation{}\n\terr = json.Unmarshal([]byte(gathered), evaluation)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to parse JSON evaluation, got '%s': %w\", gathered, err)\n\t}\n\tglog.V(3).Infof(\"Evaluation parsed: %+v\", evaluation)\n\n\t// Add results into the evaluation spec\n\tinfo.Evaluation = evaluation\n\n\tif e.Config.PostEvaluate != nil {\n\t\tglog.V(3).Infoln(\"Attempting to run post-evaluate hook\")\n\t\t// Convert post evaluation into JSON\n\t\tpostSpecJSON, err := json.Marshal(info)\n\t\tif err != nil {\n\t\t\t// Should not occur, panic\n\t\t\tpanic(err)\n\t\t}\n\t\thookResult, err := e.Execute.ExecuteWithValue(e.Config.PostEvaluate, string(postSpecJSON))\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"failed run post-evaluate hook: %w\", err)\n\t\t}\n\t\tglog.V(3).Infof(\"Post-evaluate hook response: %+v\", hookResult)\n\t}\n\treturn evaluation, nil\n}", "func (o EvaluationOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Evaluation) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func TestGetEvaluation2(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/evaluation/%d/\", evaluationId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, \"\")\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData model.EvaluationInfo\n\t}\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation Info Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (r *ProjectsLocationsEvaluationsExecutionsService) Get(name string) *ProjectsLocationsEvaluationsExecutionsGetCall {\n\tc := &ProjectsLocationsEvaluationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func GetCanaryEvaluation(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *CanaryEvaluationState, opts ...pulumi.ResourceOption) (*CanaryEvaluation, error) {\n\tvar resource CanaryEvaluation\n\terr := ctx.ReadResource(\"google-native:apigee/v1:CanaryEvaluation\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func GetModelEvaluation(name string, outputFile string) (*automlpb.ModelEvaluation, error) {\n\tctx := context.Background()\n\tclient, err := automl.NewClient(ctx)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"NewClient: %v\", err)\n\t}\n\tdefer client.Close()\n\n\treq := &automlpb.ListModelEvaluationsRequest{\n\t\tParent: name,\n\t}\n\n\tvar w *csv.Writer\n\tif outputFile == \"\" {\n\t\tw = csv.NewWriter(os.Stdout)\n\t} else {\n\t\tf, err := os.Create(outputFile)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tdefer f.Close()\n\t\tw = csv.NewWriter(bufio.NewWriter(f))\n\t}\n\n\tdefer w.Flush()\n\tit := client.ListModelEvaluations(ctx, req)\n\t\n\tw.Write([]string{\"Label\", \"Precision\", \"Recall\", \"Threshold\" })\n\n\t// Iterate over all results\n\tfor {\n\t\te, err := it.Next()\n\t\tif err == iterator.Done {\n\t\t\tbreak\n\t\t}\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"ListModelEvaluationsRequest.Next: %v\", err)\n\t\t}\n\n\t\ttoString:= func(f float32) string {\n\t\t\treturn fmt.Sprintf(\"%v\", f)\n\t\t}\n\t\tm := e.GetClassificationEvaluationMetrics()\n\t\tfor i, entry := range m.GetConfidenceMetricsEntry() {\n\t\t\t// Find the first entry that is <=.5\n\t\t\tif i == len(m.GetConfidenceMetricsEntry()) || m.GetConfidenceMetricsEntry()[i+1].GetConfidenceThreshold() > .5 {\n\t\t\t\tw.Write([]string{e.GetDisplayName(), toString(entry.GetPrecision()), toString(entry.GetRecall()), toString(entry.GetConfidenceThreshold())})\n\t\t\t\tbreak\n\t\t\t}\n\n\t\t}\n\n\t\t//log.Infof(\"Evaluation: %+v, %+v\", e, m.GetAuRoc())\n\t}\n\n\treturn nil, nil\n}", "func GetExperiment(experimentName string) (experiment Experiment, err error) {\n\tvar exp Experiment\n\tvar URL = ExperimentationAPIURLQA + experimentName\n\n\treq, err := http.NewRequest(\"GET\", URL, nil)\n\tif err != nil {\n\t\tlog.Print(err)\n\t\treturn exp, err\n\t}\n\n\t// Add headers\n\treq.Header.Add(\"Z-Auth-Key\", expAuthKey)\n\treq.Header.Add(\"Content-Type\", \"application/json; charset=UTF-8\")\n\n\t// Perform request\n\tclient := &http.Client{Timeout: time.Duration(30 * time.Second)}\n\tresp, err := client.Do(req)\n\tif err != nil {\n\t\tlog.Print(err)\n\t\treturn exp, err\n\t}\n\n\tif resp.StatusCode == http.StatusNotFound {\n\t\terr := fmt.Errorf(\"Experiment '%s' not found\", experimentName)\n\t\tlog.Print(err)\n\t\treturn exp, err\n\t}\n\n\t// Read response\n\tdefer resp.Body.Close()\n\tbody, err := ioutil.ReadAll(resp.Body)\n\tif err != nil {\n\t\tlog.Print(err)\n\t\treturn exp, err\n\t}\n\n\t// Prase Json string into Experiment struct\n\tif err := json.Unmarshal(body, &exp); err != nil {\n\t\tlog.Print(err)\n\t\treturn exp, err\n\t}\n\n\treturn exp, nil\n}", "func (c *ProjectsLocationsEvaluationsCreateCall) EvaluationId(evaluationId string) *ProjectsLocationsEvaluationsCreateCall {\n\tc.urlParams_.Set(\"evaluationId\", evaluationId)\n\treturn c\n}", "func (sr *Registry) Get(name string) Suite {\n\ts, found := sr.registry[name]\n\tif !found {\n\t\tlog.Fatal(fmt.Sprintf(\"The suite %s does not exist\", name))\n\t}\n\n\treturn s\n}", "func (r *ProjectsAssignmentsService) Get(name string) *ProjectsAssignmentsGetCall {\n\tc := &ProjectsAssignmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (s Scope) Get(name string) (Expr, bool) {\n\tif expr, found := s.m.Get(name); found {\n\t\tif expr != nil {\n\t\t\treturn expr.(Expr), true\n\t\t}\n\t\treturn nil, true\n\t}\n\treturn nil, false\n}", "func (r *Registry) get(name string) (v []byte, err error) {\n\tpair, err := r.store.Get(r.getModelName(name))\n\tif err != nil {\n\t\treturn\n\t}\n\treturn pair.Value, nil\n}", "func (cs *Suite) Get(name string) (Check, error) {\n\tif cs.Has(name) {\n\t\treturn cs.checks[name], nil\n\t}\n\treturn nil, ErrNoCheck\n}", "func GetExecution(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *ExecutionState, opts ...pulumi.ResourceOption) (*Execution, error) {\n\tvar resource Execution\n\terr := ctx.ReadResource(\"keycloak:authentication/execution:Execution\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func (p *PolicyResource) GetByName(name string) (*Policy, error) {\n\tpolicies, err := p.GetBy(\"name\", name)\n\n\tif err != nil {\n\t\tlog.Println(err)\n\t\treturn nil, err\n\t}\n\n\tif len(policies) > 0 {\n\t\tpolicy := policies[0]\n\t\treturn policy, nil\n\t}\n\n\treturn nil, errors.New(\"Resource doesn't exist\")\n}", "func (hc *Actions) Get(name string) (*release.Release, error) {\n\tactGet := action.NewGet(hc.Config)\n\treturn actGet.Run(name)\n}", "func (m *Measurer) ExperimentName() string {\n\treturn testName\n}", "func NewEvaluation(ctx *pulumi.Context,\n\tname string, args *EvaluationArgs, opts ...pulumi.ResourceOption) (*Evaluation, error) {\n\tif args == nil {\n\t\treturn nil, errors.New(\"missing one or more required arguments\")\n\t}\n\n\tif args.ConversationModelId == nil {\n\t\treturn nil, errors.New(\"invalid value for required argument 'ConversationModelId'\")\n\t}\n\treplaceOnChanges := pulumi.ReplaceOnChanges([]string{\n\t\t\"conversationModelId\",\n\t\t\"location\",\n\t\t\"project\",\n\t})\n\topts = append(opts, replaceOnChanges)\n\topts = internal.PkgResourceDefaultOpts(opts)\n\tvar resource Evaluation\n\terr := ctx.RegisterResource(\"google-native:dialogflow/v2:Evaluation\", name, args, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func GetAssignment(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *AssignmentState, opts ...pulumi.ResourceOption) (*Assignment, error) {\n\tvar resource Assignment\n\terr := ctx.ReadResource(\"azure-native:blueprint:Assignment\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func (o EvaluationOutput) EvaluationConfig() GoogleCloudDialogflowV2EvaluationConfigResponseOutput {\n\treturn o.ApplyT(func(v *Evaluation) GoogleCloudDialogflowV2EvaluationConfigResponseOutput { return v.EvaluationConfig }).(GoogleCloudDialogflowV2EvaluationConfigResponseOutput)\n}", "func (s Evaluation) String() string {\n\treturn awsutil.Prettify(s)\n}", "func (mr *MockPolicyClientMockRecorder) GetPolicyEvaluation(arg0, arg1 interface{}) *gomock.Call {\n\tmr.mock.ctrl.T.Helper()\n\treturn mr.mock.ctrl.RecordCallWithMethodType(mr.mock, \"GetPolicyEvaluation\", reflect.TypeOf((*MockPolicyClient)(nil).GetPolicyEvaluation), arg0, arg1)\n}", "func (r Expansions) Get(id string) (res string, ok bool) { res, ok = r[id]; return res, ok }", "func (e *Education) Get(ctx context.Context, k int64) {\n\tGet(ctx, \"education\", k, e)\n}", "func (s *StartContactEvaluationOutput) SetEvaluationId(v string) *StartContactEvaluationOutput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (s *Service) getExperimentDetail(c *gin.Context) {}", "func (r *OrganizationsAssignmentsService) Get(name string) *OrganizationsAssignmentsGetCall {\n\tc := &OrganizationsAssignmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (i *API) GetRetrieval(prID ffs.RetrievalID) (Retrieval, error) {\n\ti.lock.Lock()\n\tdefer i.lock.Unlock()\n\n\trr, err := i.is.getRetrievalRequest(prID)\n\tif err == ErrNotFound {\n\t\treturn Retrieval{}, err\n\t}\n\tif err != nil {\n\t\treturn Retrieval{}, fmt.Errorf(\"getting retrieval request from store: %s\", err)\n\t}\n\tr := retrievalRequestToRetrieval(rr)\n\tri, err := i.sched.GetRetrievalInfo(r.ID)\n\tif err != nil {\n\t\treturn Retrieval{}, fmt.Errorf(\"getting retrieval info: %s\", err)\n\t}\n\tr.RetrievalMiner = ri.MinerAddr\n\tr.DataCid = ri.DataCid\n\n\treturn r, nil\n}", "func TestEvaluationPlayground(t *testing.T) {\n\tg := getRouter(true)\n\turi := \"api/v1/evaluation/?pageSize=20&lastEvaluationId=0\"\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData playgroundResponse\n\t}\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation List Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (s *Scope) Get(name string) interface{} {\n\tif _, ok := s.store[name]; ok {\n\t\treturn s.store[name]\n\t}\n\n\tif s.parent != nil {\n\t\treturn s.parent.Get(name)\n\t}\n\n\treturn nil\n}", "func (s *UpdateContactEvaluationOutput) SetEvaluationId(v string) *UpdateContactEvaluationOutput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (f *Facts) Name() string {\n\treturn \"experiment\"\n}", "func (myprovider *ElasticWorkerMetricsProvider) GetMetricByName(name types.NamespacedName, info provider.CustomMetricInfo, metricSelector labels.Selector) (*custom_metrics.MetricValue, error) {\n klog.Infof(\"Attempt to retrieve metric: %v for resource: %v with metricSelector: %v\",info, name, metricSelector)\n value, err := myprovider.valueFor(info, name.Namespace, name.Name)\n if err != nil {\n return nil, err\n }\n return myprovider.metricFor(value, name, info)\n}", "func (c *Contract) Evaluate(ctx TransactionContextInterface, jeweler string, paperNumber string, evaluator string, evalDateTime string) (*InventoryFinancingPaper, error) {\r\n\tpaper, err := ctx.GetPaperList().GetPaper(jeweler, paperNumber)\r\n\r\n\tif err != nil {\r\n\t\treturn nil, err\r\n\t}\r\n\r\n\tif paper.GetEvaluator() == \"\" {\r\n\t\tpaper.SetEvaluator(evaluator)\r\n\t}\r\n\r\n\tif paper.IsReceived() {\r\n\t\tpaper.SetEvaluated()\r\n\t}\r\n\r\n\tif !paper.IsEvaluated() {\r\n\t\treturn nil, fmt.Errorf(\"inventory paper %s:%s is not yet evaluated, Current state = %s\", jeweler, paperNumber, paper.GetState())\r\n\t}\r\n\r\n\terr = ctx.GetPaperList().UpdatePaper(paper)\r\n\r\n\tif err != nil {\r\n\t\treturn nil, err\r\n\t}\r\n\tfmt.Printf(\"The evluator %q has evaluated the inventory financing paper %q:%q,the evaluate date is %q..\\n Current State is %q\", paper.GetEvaluator(), jeweler, paperNumber, evalDateTime, paper.GetState())\r\n\treturn paper, nil\r\n}", "func (s *SubmitContactEvaluationOutput) SetEvaluationId(v string) *SubmitContactEvaluationOutput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func TestEvaluationPlayground2(t *testing.T) {\n\tg := getRouter(true)\n\turi := \"api/v1/evaluation/\"\n\tw := util.PerformRequest(http.MethodGet, g, uri, \"\")\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData playgroundResponse\n\t}\n\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluation List Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func Retrieve(name string) (interface{}, error) {\n\treturn i.Retrieve(name)\n}", "func (s *SubmitContactEvaluationInput) SetEvaluationId(v string) *SubmitContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (r *ProjectsInstancesService) Get(name string) *ProjectsInstancesGetCall {\n\tc := &ProjectsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (s *UpdateContactEvaluationInput) SetEvaluationId(v string) *UpdateContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (r *PromRule) GetEvaluationDuration() time.Duration {\n\tr.mtx.Lock()\n\tdefer r.mtx.Unlock()\n\treturn r.evaluationDuration\n}", "func (d *DI) Get(name string) interface{} {\n\td.mutex.RLock()\n\tv := d.store[name]\n\td.mutex.RUnlock()\n\treturn v\n}", "func (s *DescribeContactEvaluationInput) SetEvaluationId(v string) *DescribeContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func TestEvaluationsOfOneCourse(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/course/%s/evaluations/?limit=10&lastId=0&sort=hot\", courseId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData evaluationsOfCourseResponse\n\t}\n\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluations of One Course Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (m *DeviceManagementApplicabilityRuleOsEdition) GetName()(*string) {\n val, err := m.GetBackingStore().Get(\"name\")\n if err != nil {\n panic(err)\n }\n if val != nil {\n return val.(*string)\n }\n return nil\n}", "func (s *DeleteContactEvaluationInput) SetEvaluationId(v string) *DeleteContactEvaluationInput {\n\ts.EvaluationId = &v\n\treturn s\n}", "func Get(repo repository.Repo, revision string) (*Review, error) {\n\tsummary, err := GetSummary(repo, revision)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif summary == nil {\n\t\treturn nil, nil\n\t}\n\treturn summary.Details()\n}", "func (s *Store) GetSilencedEntryByName(ctx context.Context, name string) (*corev2.Silenced, error) {\n\tif name == \"\" {\n\t\treturn nil, &store.ErrNotValid{Err: errors.New(\"must specify name\")}\n\t}\n\n\tvar resp *clientv3.GetResponse\n\terr := kvc.Backoff(ctx).Retry(func(n int) (done bool, err error) {\n\t\tresp, err = s.client.Get(ctx, GetSilencedPath(ctx, name))\n\t\treturn kvc.RetryRequest(n, err)\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tsilencedArray, err := s.arraySilencedEntries(ctx, resp)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif len(silencedArray) < 1 {\n\t\treturn nil, nil\n\t}\n\n\treturn silencedArray[0], nil\n}", "func (r *ProjectsOccurrencesService) Get(name string) *ProjectsOccurrencesGetCall {\n\tc := &ProjectsOccurrencesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (p *templateStore) Get(name string) (Renderer, bool) {\n\tm := p.getMutex(name)\n\tm.RLock()\n\tdefer m.RUnlock()\n\tt, ok := p.data[name]\n\treturn t, ok\n}", "func (c Client) Get(name string) (string, error) {\n\treturn c.Store.Get(c.ctx, name)\n}", "func (c *Context) Get(name string) (value interface{}) {\n\treturn c.data.Get(name)\n}", "func (r *Registry) Get(name string) interface{} {\n\treturn r.registrants[name]\n}", "func (m *PolicyRule) GetName()(*string) {\n val, err := m.GetBackingStore().Get(\"name\")\n if err != nil {\n panic(err)\n }\n if val != nil {\n return val.(*string)\n }\n return nil\n}", "func (app *registry) Fetch(name string) (computable.Value, error) {\n\tif val, ok := app.variables[name]; ok {\n\t\treturn val, nil\n\t}\n\n\tstr := fmt.Sprintf(\"the variable (name: %s) is not declared in the registry\", name)\n\treturn nil, errors.New(str)\n}", "func Get(name string, data interface{}) (string, error) {\n\tif !ready {\n\t\tInit()\n\t}\n\n\tb := new(bytes.Buffer)\n\terr := tpl.ExecuteTemplate(b, name, data)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\treturn b.String(), nil\n}", "func (e *EvaluationHandler) QuizEvaluation(c *gin.Context) {\n\t// Form Data\n\tvar req RequestEvaluation\n\n\t// Validation\n\terr := c.ShouldBind(&req)\n\tif err != nil {\n\t\t//a.Middleware.CheckValidate(err, c)\n\t\tvar errValidation []response.Error\n\t\tif reflect.TypeOf(err).String() != \"validator.ValidationErrors\" {\n\t\t\terror := response.Error{\"\", err.Error()}\n\t\t\terrValidation = append(errValidation, error)\n\t\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\t\treturn\n\t\t}\n\t\tfor _, fieldErr := range err.(validator.ValidationErrors) {\n\t\t\te := fieldErr.Translate(e.Validator.Translation)\n\n\t\t\terror := response.Error{fieldErr.Field(), e}\n\t\t\terrValidation = append(errValidation, error)\n\t\t}\n\t\tresponse.RespondErrorJSON(c.Writer, errValidation)\n\t\treturn\n\t}\n\n\t// User session\n\tloggedIn := e.Middleware.GetLoggedInUser(c)\n\n\t// Check if user already pass this quiz\n\texists, answer := e.EvaluationUsecase.IsAnswerExists(loggedIn.Username, req.Title)\n\tif exists {\n\t\tanswerObj := e.EvaluationUsecase.CheckAnswerResult(answer.Selected)\n\t\tif answerObj.IsPass() {\n\t\t\tmsg := \"Anda telah lulus kuis\"\n\t\t\terr := struct{}{}\n\t\t\tresponse.RespondSuccessJSON(c.Writer, err, msg)\n\t\t\treturn\n\t\t}\n\t}\n\treq.Limit = 5\n\tassesment, totalData := e.EvaluationUsecase.StartEvaluation(req.Title, req.Page, req.Limit)\n\n\t// Pagination\n\ttotalPage := int(math.Round(float64(totalData) / float64(req.Limit)))\n\tprevPage := req.Page - 1\n\tif prevPage <= 0 {\n\t\tprevPage = 1\n\t}\n\tnextPage := req.Page + 1\n\tif nextPage >= totalPage {\n\t\tnextPage = totalPage\n\t}\n\n\ttotalData = 5\n\tmsg := \"Daftar pertanyaan\"\n\tres := PreEvaluationResponse{\n\t\tStartTime: assesment.Start,\n\t\tEndTime: assesment.End,\n\t\tPagination: PaginationResponse{\n\t\t\tTotalData: totalData,\n\t\t\tTotalPage: totalPage,\n\t\t\tLimit: req.Limit,\n\t\t\tCurrent: req.Page,\n\t\t\tPreviousUrl: \"/test/pre?page=\" + strconv.Itoa(prevPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t\tNextUrl: \"/test/pre?page=\" + strconv.Itoa(nextPage) + \"&limit=\" + strconv.Itoa(req.Limit),\n\t\t},\n\t}\n\n\tfor _, question := range assesment.QuestionList {\n\t\tq := Question{\n\t\t\tId: question.Id,\n\t\t\tType: question.Type,\n\t\t\tAttachType: question.AttachType,\n\t\t\tAttachment: question.Attachment,\n\t\t\tQuestion: question.Text,\n\t\t\tChoices: Choice{\n\t\t\t\tType: question.Choices.Type,\n\t\t\t\tOptions: question.Choices.Options,\n\t\t\t},\n\t\t}\n\t\tres.Test = append(res.Test, q)\n\t}\n\n\tresponse.RespondSuccessJSON(c.Writer, res, msg)\n}", "func (c *Client) Get(name string) (*Release, error) {\n\treleases, err := c.List(ListParameters{Filter: name})\n\tif err != nil {\n\t\treturn nil, trace.Wrap(err)\n\t}\n\tfor _, release := range releases {\n\t\tif release.Name == name {\n\t\t\treturn &release, nil\n\t\t}\n\t}\n\treturn nil, trace.NotFound(\"release %v not found\", name)\n}", "func (s *DgraphStore) Get(r *http.Request, name string) (*sessions.Session, error) {\n\treturn sessions.GetRegistry(r).Get(s, name)\n}", "func (s *DescribeContactEvaluationOutput) SetEvaluation(v *Evaluation) *DescribeContactEvaluationOutput {\n\ts.Evaluation = v\n\treturn s\n}", "func (o EvaluationOutput) DisplayName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Evaluation) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput)\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponseOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput {\n\treturn o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse) GoogleCloudDatalabelingV1beta1EvaluationConfigResponse {\n\t\treturn v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput)\n}", "func (r *InspectOperationsService) Get(name string) *InspectOperationsGetCall {\n\tc := &InspectOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsPatchPoliciesService) Get(name string) *ProjectsPatchPoliciesGetCall {\n\tc := &ProjectsPatchPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (e *Environment) Get(name string) (Object, bool) {\n\tobj, ok := e.store[name]\n\tif !ok && e.outer != nil {\n\t\tobj, ok = e.outer.Get(name)\n\t}\n\n\treturn obj, ok\n}", "func Eval(txApp *sysl.Application, assign Scope, e *sysl.Expr) *sysl.Value {\n\tswitch x := e.Expr.(type) {\n\tcase *sysl.Expr_Transform_:\n\t\treturn evalTransform(txApp, assign, x, e)\n\tcase *sysl.Expr_Binexpr:\n\t\treturn evalBinExpr(txApp, assign, x.Binexpr)\n\tcase *sysl.Expr_Call_:\n\t\treturn evalCall(txApp, assign, x)\n\tcase *sysl.Expr_Name:\n\t\treturn evalName(assign, x)\n\tcase *sysl.Expr_GetAttr_:\n\t\treturn evalGetAttr(txApp, assign, x)\n\tcase *sysl.Expr_Ifelse:\n\t\treturn evalIfelse(txApp, assign, x)\n\tcase *sysl.Expr_Literal:\n\t\treturn x.Literal\n\tcase *sysl.Expr_Set:\n\t\treturn evalSet(txApp, assign, x)\n\tcase *sysl.Expr_List_:\n\t\treturn evalList(txApp, assign, x)\n\tcase *sysl.Expr_Unexpr:\n\t\treturn evalUnaryFunc(x.Unexpr.Op, Eval(txApp, assign, x.Unexpr.Arg))\n\tdefault:\n\t\tlogrus.Warnf(\"Skipping Expr of type %T\\n\", x)\n\t\treturn nil\n\t}\n}", "func (s *EvaluationSummary) SetEvaluationId(v string) *EvaluationSummary {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (r *TerraintilesService) Get(name string) *TerraintilesGetCall {\n\tc := &TerraintilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponsePtrOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigResponsePtrOutput {\n\treturn o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse) *GoogleCloudDatalabelingV1beta1EvaluationConfigResponse {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigResponsePtrOutput)\n}", "func (as *ApplicationStore) GetByName(name string) (*model.Application, error) {\n\tvar application model.Application\n\tif err := as.db.\n\t\tPreload(clause.Associations).\n\t\tFirst(&application, &model.Application{Name: name}).\n\t\tError; err != nil {\n\t\tif errors.Is(err, gorm.ErrRecordNotFound) {\n\t\t\treturn nil, nil\n\t\t}\n\t\treturn nil, err\n\t}\n\treturn &application, nil\n}", "func (c *client) getRegistryByName(registryName string) (*Registry, error) {\n\tregistryJSON, err := c.runCmd(\"registry\", \"list\", \"-o\", \"json\")\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tregistryList := &RegistryList{}\n\tif err := registryList.Unmarshal([]byte(registryJSON)); err != nil {\n\t\treturn nil, err\n\t}\n\n\tfor _, registry := range registryList.Registries {\n\t\tif registry.Name == registryName {\n\t\t\tif c.verbose {\n\t\t\t\tfmt.Printf(\"k3d registry '%s' exists\", registryName)\n\t\t\t}\n\t\t\treturn &registry, nil\n\t\t}\n\t}\n\n\tif c.verbose {\n\t\tfmt.Printf(\"k3d registry '%s' does not exist\", registryName)\n\t}\n\treturn nil, nil\n}", "func (e *Environment) Get(name string) (Object, bool) {\n\tv, ok := e.store[name]\n\tif !ok && e.outer != nil {\n\t\tv, ok = e.outer.GetVar(name)\n\t}\n\treturn v.value, ok\n}", "func (e *Environment) Get(name string) (Object, bool) {\n\tobj, ok := e.store[name]\n\t// attempt to load from enclosing environment\n\tif !ok && e.outer != nil {\n\t\tobj, ok = e.outer.Get(name)\n\t}\n\treturn obj, ok\n}", "func (c *podSecurityPolicySubjectReviews) Get(name string) (result *api.PodSecurityPolicySubjectReview, err error) {\n\tresult = &api.PodSecurityPolicySubjectReview{}\n\terr = c.client.Get().\n\t\tNamespace(c.ns).\n\t\tResource(\"podsecuritypolicysubjectreviews\").\n\t\tName(name).\n\t\tDo().\n\t\tInto(result)\n\treturn\n}", "func (s *Evaluation) SetEvaluationId(v string) *Evaluation {\n\ts.EvaluationId = &v\n\treturn s\n}", "func (client *AlertConfigClient) GetByName(name string) (*models.AlertConfig, error) {\n\tvar obj *models.AlertConfig\n\terr := client.aviSession.GetObjectByName(\"alertconfig\", name, &obj)\n\treturn obj, err\n}", "func (qp QueryParser) Get(name string) (string, error) {\n\treturn qp.Parse(name, nil)\n}", "func (m *Manager) GetByName(ctx context.Context, name string) (*hub.ChartRepository, error) {\n\tvar r *hub.ChartRepository\n\terr := m.dbQueryUnmarshal(ctx, &r, \"select get_chart_repository_by_name($1::text)\", name)\n\treturn r, err\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigOutput {\n\treturn o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobConfig) GoogleCloudDatalabelingV1beta1EvaluationConfig {\n\t\treturn v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigOutput)\n}", "func (c *releaseClient) Get(name string) (*Release, error) {\n\tlist, err := c.config.Releases.List(func(r *release.Release) bool {\n\t\treturn r.Namespace == c.config.Namespace() && r.Name == name\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t} else if len(list) == 0 {\n\t\treturn nil, errors.New(\"release not found\")\n\t} else if len(list) > 1 {\n\t\treturn nil, errors.New(\"release is ambiguous\")\n\t}\n\treturn getRelease(c.config, list[0])\n}", "func (c Provider) Latest(name string) (r *results.Result, s results.Status) {\n\t// Query the APIDownloadURL\n\tmodule, s := nameToModule(name)\n\tif s != results.OK {\n\t\treturn\n\t}\n\tresp, err := http.Get(fmt.Sprintf(APIDownloadURL, module))\n\tif err != nil {\n\t\tfmt.Fprintln(os.Stderr, err.Error())\n\t\ts = results.Unavailable\n\t\treturn\n\t}\n\tdefer resp.Body.Close()\n\t// Translate Status Code\n\tswitch resp.StatusCode {\n\tcase 200:\n\t\ts = results.OK\n\tcase 404:\n\t\ts = results.NotFound\n\tdefault:\n\t\ts = results.Unavailable\n\t}\n\n\t// Fail if not OK\n\tif s != results.OK {\n\t\treturn\n\t}\n\n\tdec := json.NewDecoder(resp.Body)\n\trs := &Release{}\n\terr = dec.Decode(rs)\n\tif err != nil {\n\t\tfmt.Fprintln(os.Stderr, err.Error())\n\t\ts = results.Unavailable\n\t\treturn\n\t}\n\tif len(rs.Error) > 0 {\n\t\ts = results.NotFound\n\t\treturn\n\t}\n\tr = rs.Convert(name)\n\tif r == nil {\n\t\ts = results.NotFound\n\t}\n\treturn\n}", "func evaluate(courseName string, assignmentName string, userName string) {\r\n\r\n\t// build a results struct\r\n\tresults := Submission{}\r\n\r\n\t// open database connection\r\n\tdb, err := sql.Open(\"mysql\", DB_USER_NAME+\":\"+DB_PASSWORD+\"@unix(/var/run/mysql/mysql.sock)/\"+DB_NAME)\r\n\tif err != nil {\r\n\t\tpanic(\"No connection\")\r\n\t}\r\n\r\n\tdefer db.Close()\r\n\r\n\t// get userID from database\r\n\trows, err := db.Query(\"select UserID from Users where Username=?\", userName)\r\n\tif err != nil {\r\n\t\tpanic(\"DB error\")\r\n\t}\r\n\r\n\tif rows.Next() == false {\r\n\t\tpanic(\"Invalid user.\")\r\n\t} else {\r\n\t\trows.Scan(&results.userID)\r\n\t}\r\n\r\n\t// get number of test cases, compiler options, and maxRuntime from DB\r\n\trows, err = db.Query(\"select NumTestCases, MaxRuntime, CompilerOptions from Assignments where CourseName=? and AssignmentName=?\", courseName, assignmentName)\r\n\tif err != nil {\r\n\t\tpanic(\"DB error\")\r\n\t}\r\n\r\n\tif rows.Next() == false {\r\n\t\tpanic(\"Invalid assignment.\")\r\n\t} else {\r\n\t\trows.Scan(&results.numTestCases, &results.maxRuntime, &results.compilerOptions)\r\n\t}\r\n\r\n\trows, err = db.Query(\"select SubmissionNumber from Submissions where Student=? and AssignmentName=? order by SubmissionNumber DESC limit 1\", results.userID, assignmentName)\r\n\tif err != nil {\r\n\t\tpanic(\"DB error\")\r\n\t}\r\n\r\n\tif rows.Next() == false {\r\n\t\tpanic(\"No submission for user.\")\r\n\t} else {\r\n\t\trows.Scan(&results.submissionNum)\r\n\t}\r\n\r\n\tresults.courseName = courseName\r\n\tresults.assignmentName = assignmentName\r\n\tresults.userName = userName\r\n\tresults.sourceName = userName + strconv.Itoa(results.submissionNum)\r\n\tresults.compiled = true\r\n\tresults.results = \"\"\r\n\r\n\t// path to directory containing all submissions for this assignment\r\n\tassignmentRoot := \"data/\" + results.courseName + \"/\" + results.assignmentName + \"/\"\r\n\r\n\t// make sure assignmentRoot folder exists, if not, panic\r\n\t_, err = os.Stat(assignmentRoot)\r\n\r\n\tif err != nil {\r\n\t\tpanic(\"Assignment folder does not exist or permission error: \" + assignmentRoot)\r\n\t}\r\n\r\n\t// call to change working directory back to current, defer to ensure execution despite errors\r\n\tcurrentDir, err := os.Getwd()\r\n\r\n\tdefer os.Chdir(currentDir)\r\n\r\n\t// change working directory to the correct assignment folder\r\n\tos.Chdir(assignmentRoot)\r\n\r\n\t// call compile\r\n\tcompile(results)\r\n}", "func (s *RedisStore) Get(r *http.Request, name string) (*sessions.Session, error) {\n\treturn sessions.GetRegistry(r).Get(s, name)\n}", "func (h *HostExpr) EvalName() string {\n\treturn fmt.Sprintf(\"host %q of server %q\", h.Name, h.ServerName)\n}", "func (s EvaluationSummary) String() string {\n\treturn awsutil.Prettify(s)\n}", "func (skillCollection *SkillCollection) GetByName(name string) (*Skill, error) {\n\tdb := GetDatabase()\n\tdefer db.Close()\n\n\tskill := Skill{}\n\n\tstmt, err := db.Preparex(`\n SELECT\n id,\n name\n FROM skill\n WHERE name = ?\n `)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tstmt.Get(&skill, name)\n\n\treturn &skill, err\n}", "func Get(name string) *Template {\n\tlock.RLock()\n\tdefer lock.RUnlock()\n\n\tif v, ok := templates[name]; ok {\n\t\treturn v\n\t}\n\tlog.Println(\"view not found!\")\n\treturn nil\n}", "func (gen *progGen) Eval(input any) (ref.Val, *EvalDetails, error) {\n\t// The factory based Eval() differs from the standard evaluation model in that it generates a\n\t// new EvalState instance for each call to ensure that unique evaluations yield unique stateful\n\t// results.\n\tstate := interpreter.NewEvalState()\n\tcostTracker := &interpreter.CostTracker{}\n\tdet := &EvalDetails{state: state, costTracker: costTracker}\n\n\t// Generate a new instance of the interpretable using the factory configured during the call to\n\t// newProgram(). It is incredibly unlikely that the factory call will generate an error given\n\t// the factory test performed within the Program() call.\n\tp, err := gen.factory(state, costTracker)\n\tif err != nil {\n\t\treturn nil, det, err\n\t}\n\n\t// Evaluate the input, returning the result and the 'state' within EvalDetails.\n\tv, _, err := p.Eval(input)\n\tif err != nil {\n\t\treturn v, det, err\n\t}\n\treturn v, det, nil\n}", "func (c *Firewall) Get(name string) (Entry, error) {\n\tans := c.container()\n\terr := c.ns.Object(util.Get, c.pather(), name, ans)\n\treturn first(ans, err)\n}", "func (rs *Resources) GetByName(name string) (*ResourceConfig, bool) {\n\tresource, ok := rs.rsMap[name]\n\treturn resource, ok\n}", "func (a *Approval) Name() string {\n\treturn a.name\n}", "func (c *Prometheus) getState(name string) state.State {\n\tc.Lock()\n\tdefer c.Unlock()\n\n\tst, ok := c.states[name]\n\tif !ok {\n\t\tst = c.stFactory.Create()\n\t\tc.states[name] = st\n\t}\n\n\treturn st\n}", "func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigPtrOutput) EvaluationConfig() GoogleCloudDatalabelingV1beta1EvaluationConfigPtrOutput {\n\treturn o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1EvaluationJobConfig) *GoogleCloudDatalabelingV1beta1EvaluationConfig {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.EvaluationConfig\n\t}).(GoogleCloudDatalabelingV1beta1EvaluationConfigPtrOutput)\n}", "func (c *MockRoleAssignmentsClient) Get(ctx context.Context, scope string, roleAssignmentName string) (result authorizationmgmt.RoleAssignment, err error) {\n\treturn c.MockGet(ctx, scope, roleAssignmentName)\n}", "func (e *EnvSlice) Get(name string) expand.Variable {\n\treturn expand.ListEnviron(*e...).Get(name)\n}", "func (r *PolicySetAssignmentRequest) Get(ctx context.Context) (resObj *PolicySetAssignment, err error) {\n\tvar query string\n\tif r.query != nil {\n\t\tquery = \"?\" + r.query.Encode()\n\t}\n\terr = r.JSONRequest(ctx, \"GET\", query, nil, &resObj)\n\treturn\n}", "func (o ResourcePolicyExemptionOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *ResourcePolicyExemption) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func (app *frame) Fetch(name string) (computable.Value, error) {\n\tif app.isStopped {\n\t\treturn nil, nil\n\t}\n\n\tif val, ok := app.variables[name]; ok {\n\t\treturn val, nil\n\t}\n\n\tstr := fmt.Sprintf(\"the variable (name: %s) is not defined\", name)\n\treturn nil, errors.New(str)\n}" ]
[ "0.6812347", "0.61449456", "0.5972721", "0.56329733", "0.56320906", "0.5569149", "0.5528227", "0.5502868", "0.52270323", "0.5210199", "0.5195714", "0.51400864", "0.50649077", "0.50241756", "0.49904108", "0.49638322", "0.49186492", "0.48763013", "0.48643303", "0.48598096", "0.48575044", "0.48352602", "0.48266968", "0.48247397", "0.4813226", "0.47730073", "0.47586665", "0.4750936", "0.47267872", "0.47203088", "0.47124535", "0.47058973", "0.46908712", "0.46859336", "0.46759352", "0.4675245", "0.46686584", "0.46544483", "0.4650164", "0.4648628", "0.46373296", "0.46264723", "0.46157014", "0.46022233", "0.45956397", "0.45841584", "0.4578515", "0.45756078", "0.45755592", "0.45672464", "0.45592353", "0.4548747", "0.45451707", "0.4532104", "0.4530274", "0.4528219", "0.45277384", "0.45112076", "0.44968376", "0.4486445", "0.4474131", "0.44551945", "0.44482005", "0.44478208", "0.44436532", "0.44424072", "0.44418675", "0.44410142", "0.4433613", "0.44288245", "0.44260916", "0.4424396", "0.4420992", "0.4415516", "0.44083676", "0.4393617", "0.43922916", "0.43830726", "0.43731722", "0.43700975", "0.43700668", "0.43693078", "0.43610072", "0.436087", "0.4359369", "0.4358476", "0.43573025", "0.43559277", "0.4355425", "0.43360457", "0.4334821", "0.4330991", "0.4329978", "0.43247974", "0.43238384", "0.43189996", "0.43188065", "0.43174002", "0.43136716", "0.43094158" ]
0.57899606
3
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64583564", "0.64089453", "0.63825923", "0.6329182", "0.62945044", "0.6225895", "0.619365", "0.6182673", "0.61636275", "0.61414576", "0.612667", "0.61260766", "0.61254126", "0.6115779", "0.61003155", "0.6067746", "0.6067746", "0.6061624", "0.6047966", "0.6045541", "0.6019901", "0.5994803", "0.5990605", "0.59757566", "0.5961258", "0.5961258", "0.59596264", "0.5950205", "0.59479946", "0.5946376", "0.59391904", "0.59362525", "0.59334743", "0.5916428", "0.59146625", "0.5914137", "0.59100276", "0.5893598", "0.589179", "0.58878744", "0.588714", "0.58790183", "0.5871864", "0.5868891", "0.58633685", "0.58633685", "0.58628243", "0.5862554", "0.5862554", "0.5862554", "0.5862554", "0.5862554", "0.58618456", "0.5860892", "0.58579326", "0.5848325", "0.5845566", "0.58454007", "0.5842217", "0.5831592", "0.5831122", "0.5828655", "0.5828655", "0.5819126", "0.5813496", "0.58109957", "0.58029073", "0.5797994", "0.5794926", "0.5789773", "0.57896835", "0.578311", "0.5779994", "0.5778984", "0.57742655", "0.5771941", "0.5766177", "0.5762638", "0.5761581", "0.57587826", "0.5749813", "0.57466763", "0.574626", "0.57459193", "0.5741631", "0.57414067", "0.57333165", "0.5730675", "0.5725508", "0.5725087", "0.5724914", "0.57197326", "0.5718999", "0.5718999", "0.5716166", "0.5692843", "0.5692457", "0.5684587", "0.56828916", "0.5682519", "0.5673288" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsEvaluationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsGetCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.7856915", "0.7742315", "0.7717524", "0.76562524", "0.76562524", "0.76562524", "0.76562524", "0.76562524", "0.76470387", "0.7598943", "0.75946856", "0.75928915", "0.75928915", "0.7581871", "0.75754654", "0.75749147", "0.75679207", "0.75551766", "0.7544325", "0.75312793", "0.7494897", "0.7483777", "0.74629784", "0.74617136", "0.7452628", "0.743155", "0.7428336", "0.7424912", "0.7414069", "0.7413934", "0.7413934", "0.7410072", "0.7404712", "0.7404712", "0.74025375", "0.73986983", "0.7392287", "0.73852175", "0.7379601", "0.7378404", "0.7366483", "0.7360054", "0.73578346", "0.7354622", "0.7351172", "0.7351172", "0.7351172", "0.7351172", "0.7351172", "0.7351172", "0.7348782", "0.73395485", "0.73342586", "0.7315294", "0.7309225", "0.7308406", "0.730617", "0.730617", "0.73046416", "0.73036736", "0.72977257", "0.72934234", "0.7287188", "0.7286862", "0.7283329", "0.7277226", "0.72756106", "0.72735554", "0.7272243", "0.72721845", "0.727", "0.72693557", "0.7266933", "0.72609526", "0.72604495", "0.7256147", "0.7254827", "0.72548074", "0.7254268", "0.7252136", "0.72516775", "0.7248177", "0.72459096", "0.7240045", "0.7239445", "0.72362953", "0.72362953", "0.723492", "0.72313994", "0.7229874", "0.72285426", "0.72247326", "0.72212654", "0.7214676", "0.7213278", "0.7212452", "0.72104883", "0.7206647", "0.7206328", "0.72062105", "0.72062105" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsGetCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsSubmitCall) Context(ctx context.Context) *SitemapsSubmitCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622972", "0.643288", "0.6382811", "0.6269599", "0.61437964", "0.61437964", "0.61436164", "0.6129285", "0.6123501", "0.6120075", "0.6095985", "0.6079866", "0.60701233", "0.6067624", "0.60597116", "0.60589564", "0.60562456", "0.60457146", "0.6022841", "0.6010764", "0.60068536", "0.5996336", "0.598939", "0.5982841", "0.5981214", "0.59777", "0.597736", "0.5972875", "0.59654874", "0.59654874", "0.59558237", "0.595194", "0.5950948", "0.5950527", "0.59415585", "0.593879", "0.5933788", "0.5932977", "0.5930526", "0.5926151", "0.59156436", "0.59117466", "0.59106165", "0.5909749", "0.5902685", "0.5901116", "0.589744", "0.5896949", "0.5896112", "0.5886812", "0.5886812", "0.588089", "0.5877531", "0.5874977", "0.58707523", "0.58707523", "0.5868119", "0.5860046", "0.58579344", "0.5853489", "0.5850863", "0.58500123", "0.58490336", "0.5840584", "0.5839103", "0.5837734", "0.58369887", "0.58359385", "0.5835881", "0.58358073", "0.58356696", "0.5834931", "0.5825429", "0.5825237", "0.58218944", "0.5813698", "0.5810267", "0.5809338", "0.5806625", "0.580555", "0.58053035", "0.58039427", "0.58020747", "0.58007294", "0.58002305", "0.5798983", "0.5798447", "0.57972634", "0.5793845", "0.5793363", "0.5793154", "0.5787949", "0.5787632", "0.5786548", "0.5785534", "0.5781648", "0.5779831", "0.5779831", "0.57749295", "0.5772869", "0.5772589" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74025714", "0.7238838", "0.7230757", "0.72271925", "0.72243625", "0.7220261", "0.72102654", "0.72036356", "0.7199734", "0.7194343", "0.718775", "0.7187544", "0.7187544", "0.71850395", "0.7177919", "0.7175592", "0.7175592", "0.7169927", "0.71603835", "0.7159505", "0.7143761", "0.7143761", "0.7143761", "0.71413666", "0.71383744", "0.7132215", "0.7129289", "0.7128805", "0.71221364", "0.7115329", "0.71126974", "0.7108846", "0.71031654", "0.71031654", "0.70996636", "0.70993346", "0.70983315", "0.7098287", "0.7096071", "0.70947367", "0.70940226", "0.7090853", "0.7088131", "0.70866036", "0.70859486", "0.70850253", "0.7072645", "0.7070124", "0.7070124", "0.70635104", "0.70580333", "0.70555747", "0.70555747", "0.70554703", "0.70526946", "0.705256", "0.705256", "0.70518607", "0.70503885", "0.70503294", "0.7049596", "0.70487314", "0.7047003", "0.7045051", "0.7039034", "0.7036114", "0.7036105", "0.7030291", "0.70295984", "0.70287734", "0.70277286", "0.70277286", "0.70275295", "0.702751", "0.7025861", "0.7025698", "0.7023307", "0.7023307", "0.7021237", "0.70208895", "0.70208895", "0.70198154", "0.70183885", "0.70179236", "0.7016496", "0.70160085", "0.7015961", "0.7008884", "0.7007855", "0.7007855", "0.7006566", "0.7006326", "0.7006207", "0.700341", "0.7000154", "0.69988734", "0.6998735", "0.699818", "0.69968516", "0.69955593", "0.69926643" ]
0.0
-1
List: Lists Evaluations in a given project and location. parent: Parent value for ListEvaluationsRequest.
func (r *ProjectsLocationsEvaluationsService) List(parent string) *ProjectsLocationsEvaluationsListCall { c := &ProjectsLocationsEvaluationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *ProjectsLocationsEvaluationsExecutionsScannedResourcesService) List(parent string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall {\n\tc := &ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProcessesRunsService) List(parent string) *ProjectsLocationsProcessesRunsListCall {\n\tc := &ProjectsLocationsProcessesRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProcessesService) List(parent string) *ProjectsLocationsProcessesListCall {\n\tc := &ProjectsLocationsProcessesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProcessesRunsLineageEventsService) List(parent string) *ProjectsLocationsProcessesRunsLineageEventsListCall {\n\tc := &ProjectsLocationsProcessesRunsLineageEventsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {\n\tc := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsOccurrencesService) List(parent string) *ProjectsOccurrencesListCall {\n\tc := &ProjectsOccurrencesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsOsPolicyAssignmentsService) List(parent string) *ProjectsLocationsOsPolicyAssignmentsListCall {\n\tc := &ProjectsLocationsOsPolicyAssignmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsJobsService) List(parent string) *ProjectsLocationsJobsListCall {\n\tc := &ProjectsLocationsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProvisioningQuotasService) List(parent string) *ProjectsLocationsProvisioningQuotasListCall {\n\tc := &ProjectsLocationsProvisioningQuotasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsDataExchangesService) List(parent string) *ProjectsLocationsDataExchangesListCall {\n\tc := &ProjectsLocationsDataExchangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsDataExchangesListingsService) List(parent string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc := &ProjectsLocationsDataExchangesListingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsEvaluationsService) Get(name string) *ProjectsLocationsEvaluationsGetCall {\n\tc := &ProjectsLocationsEvaluationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (r *ProjectsLocationsSubscriptionsService) List(parent string) *ProjectsLocationsSubscriptionsListCall {\n\tc := &ProjectsLocationsSubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsResultsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (r *OrganizationsAssignmentsService) List(parent string) *OrganizationsAssignmentsListCall {\n\tc := &OrganizationsAssignmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsInstancesService) List(parent string) *ProjectsInstancesListCall {\n\tc := &ProjectsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsAssignmentsService) List(parent string) *ProjectsAssignmentsListCall {\n\tc := &ProjectsAssignmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsVolumesSnapshotsService) List(parent string) *ProjectsLocationsVolumesSnapshotsListCall {\n\tc := &ProjectsLocationsVolumesSnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (r *ProjectsLocationsOsImagesService) List(parent string) *ProjectsLocationsOsImagesListCall {\n\tc := &ProjectsLocationsOsImagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsPatchPoliciesService) List(parent string) *ProjectsPatchPoliciesListCall {\n\tc := &ProjectsPatchPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsPatchJobsInstanceDetailsService) List(parent string) *ProjectsPatchJobsInstanceDetailsListCall {\n\tc := &ProjectsPatchJobsInstanceDetailsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsEvaluationsExecutionsService) Get(name string) *ProjectsLocationsEvaluationsExecutionsGetCall {\n\tc := &ProjectsLocationsEvaluationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsPatchJobsService) List(parent string) *ProjectsPatchJobsListCall {\n\tc := &ProjectsPatchJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (s *LocationsOp) List(ctx context.Context, opt *LocationsListOptions) (*LocationsList, *http.Response, error) {\n\tpath := locationsPath\n\tpath, err := addOptions(path, opt)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\treq, err := s.client.NewRequest(ctx, http.MethodGet, path, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\tlocations := new(LocationsList)\n\tresp, err := s.client.Do(ctx, req, locations)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\n\treturn locations, resp, err\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {\n\tc := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsSshKeysService) List(parent string) *ProjectsLocationsSshKeysListCall {\n\tc := &ProjectsLocationsSshKeysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *cloudSchedulerRESTClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *ProjectsLocationsEvaluationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsListCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsResultsListCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *ProjectsLocationsConnectorsService) List(parent string) *ProjectsLocationsConnectorsListCall {\n\tc := &ProjectsLocationsConnectorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsVolumesService) List(parent string) *ProjectsLocationsVolumesListCall {\n\tc := &ProjectsLocationsVolumesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsProvisioningQuotasService) List(parent string) *ProjectsProvisioningQuotasListCall {\n\tc := &ProjectsProvisioningQuotasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (ls *LocationService) List(q *LocationListRequest) (ll LocationList, err error) {\n\t// GET: /locations\n\tvar req *http.Request\n\treq, err = ls.c.NewRequest(\"GET\", \"/locations\", q)\n\tif err != nil {\n\t\treturn\n\t}\n\n\terr = ls.c.Do(req, &ll)\n\treturn\n}", "func (le ListExpr) Eval(scope Scope) (interface{}, error) {\n\tif len(le.List) == 0 {\n\t\treturn le.List, nil\n\t}\n\n\tval, err := le.List[0].Eval(scope)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tif macroFn, ok := val.(MacroFunc); ok {\n\t\tvar name string\n\t\tif sym, ok := le.List[0].(SymbolExpr); ok {\n\t\t\tname = sym.Symbol\n\t\t}\n\t\treturn macroFn(scope, name, le.List[1:])\n\t}\n\n\targs := []interface{}{}\n\tfor i := 1; i < len(le.List); i++ {\n\t\targ, err := le.List[i].Eval(scope)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\targs = append(args, arg)\n\t}\n\n\tif scopedFn, ok := val.(ScopedFunc); ok {\n\t\treturn scopedFn(scope, args...)\n\t}\n\n\treturn reflection.Call(val, args...)\n}", "func List(c *gin.Context) {\n\tvar (\n\t\tp listEnvironments\n\t)\n\tif err := c.ShouldBind(&p); err != nil {\n\t\tc.JSON(http.StatusBadRequest, gin.H{\"error\": err.Error()})\n\t\treturn\n\t}\n\tp.StartLimit, p.EndLimit = tools.GetPagination(p.Page, 0, commons.GetRangeLimit(), commons.GetRangeLimit())\n\n\tresult, err := p.list()\n\tif err != nil {\n\t\tlog.Error().Err(err).Msg(\"Error occured while performing db query\")\n\t\tc.JSON(http.StatusInternalServerError, gin.H{\"error\": \"Internal Server Error\"})\n\t\treturn\n\t}\n\n\tif len(result) == 0 {\n\t\tc.AbortWithStatus(204)\n\t} else {\n\t\tc.JSON(http.StatusOK, result)\n\t}\n}", "func (r *ProjectsLocationsNetworksService) List(parent string) *ProjectsLocationsNetworksListCall {\n\tc := &ProjectsLocationsNetworksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsListCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *OrganizationsService) List(parent string) *OrganizationsListCall {\n\tc := &OrganizationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {\n\tc := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsPatchDeploymentsService) List(parent string) *ProjectsPatchDeploymentsListCall {\n\tc := &ProjectsPatchDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *tensorboardRESTClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *ProjectsLocationsEvaluationsExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (page LocationListResultPage) Values() []Location {\n\tif page.llr.IsEmpty() {\n\t\treturn nil\n\t}\n\treturn *page.llr.Value\n}", "func (schematics *SchematicsV1) ListSchematicsLocation(listSchematicsLocationOptions *ListSchematicsLocationOptions) (result []SchematicsLocations, response *core.DetailedResponse, err error) {\n\treturn schematics.ListSchematicsLocationWithContext(context.Background(), listSchematicsLocationOptions)\n}", "func (s *LocationsService) List(ctx context.Context) ([]Location, *Response, error) {\n\tpath := fmt.Sprintf(\"%v/\", locationsBasePath)\n\n\treq, err := s.client.NewRequest(http.MethodGet, path, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\troot := new(locationsRoot)\n\tresp, err := s.client.Do(ctx, req, root)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\tif m := root.Meta; m != nil {\n\t\tresp.Meta = m\n\t}\n\n\treturn root.Locations, resp, nil\n}", "func (c *ProjectsLocationsEvaluationsExecutionsRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsRunCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *workflowsServiceV2BetaRESTClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v2beta/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (s *testRunLister) List(selector labels.Selector) (ret []*v1alpha1.TestRun, err error) {\n\terr = cache.ListAll(s.indexer, selector, func(m interface{}) {\n\t\tret = append(ret, m.(*v1alpha1.TestRun))\n\t})\n\treturn ret, err\n}", "func List(ctx context.Context, client *selvpcclient.ServiceClient) ([]*Project, *selvpcclient.ResponseResult, error) {\n\turl := strings.Join([]string{client.Endpoint, resourceURL}, \"/\")\n\tresponseResult, err := client.DoRequest(ctx, http.MethodGet, url, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\tif responseResult.Err != nil {\n\t\treturn nil, responseResult, responseResult.Err\n\t}\n\n\t// Extract projects from the response body.\n\tvar result struct {\n\t\tProjects []*Project `json:\"projects\"`\n\t}\n\terr = responseResult.ExtractResult(&result)\n\tif err != nil {\n\t\treturn nil, responseResult, err\n\t}\n\n\treturn result.Projects, responseResult, nil\n}", "func (p *Provider) List() (vm.List, error) {\n\tvar vms vm.List\n\tfor _, prj := range p.GetProjects() {\n\t\targs := []string{\"compute\", \"instances\", \"list\", \"--project\", prj, \"--format\", \"json\"}\n\n\t\t// Run the command, extracting the JSON payload\n\t\tjsonVMS := make([]jsonVM, 0)\n\t\tif err := runJSONCommand(args, &jsonVMS); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\t// Now, convert the json payload into our common VM type\n\t\tfor _, jsonVM := range jsonVMS {\n\t\t\tvms = append(vms, *jsonVM.toVM(prj, &p.opts))\n\t\t}\n\t}\n\n\treturn vms, nil\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsListCall) Filter(filter string) *ProjectsLocationsEvaluationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func List(values []int) *ListExpression {\n\tif len(values) < 1 {\n\t\tpanic(\"schedule: invalid ListExpression expression\")\n\t}\n\tsort.Ints(values)\n\treturn &ListExpression{\n\t\tvalues: values,\n\t}\n}", "func (s *GLClassificationsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*GLClassifications, error) {\n\tvar entities []*GLClassifications\n\tu, _ := s.client.ResolvePathWithDivision(\"/api/v1/{division}/financial/GLClassifications\", division) // #nosec\n\tapi.AddListOptionsToURL(u, o)\n\n\tif all {\n\t\terr := s.client.ListRequestAndDoAll(ctx, u.String(), &entities)\n\t\treturn entities, err\n\t}\n\t_, _, err := s.client.NewRequestAndDo(ctx, \"GET\", u.String(), nil, &entities)\n\treturn entities, err\n}", "func (t *FakeObjectTracker) List(gvr schema.GroupVersionResource, gvk schema.GroupVersionKind, ns string) (runtime.Object, error) {\n\tif t.fakingOptions.failAll != nil {\n\t\terr := t.fakingOptions.failAll.RunFakeInvocations()\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\treturn t.delegatee.List(gvr, gvk, ns)\n}", "func (s *AbsenceRegistrationsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*AbsenceRegistrations, error) {\n\tvar entities []*AbsenceRegistrations\n\tu, _ := s.client.ResolvePathWithDivision(\"/api/v1/{division}/hrm/AbsenceRegistrations\", division) // #nosec\n\tapi.AddListOptionsToURL(u, o)\n\n\tif all {\n\t\terr := s.client.ListRequestAndDoAll(ctx, u.String(), &entities)\n\t\treturn entities, err\n\t}\n\t_, _, err := s.client.NewRequestAndDo(ctx, \"GET\", u.String(), nil, &entities)\n\treturn entities, err\n}", "func List() []string {\n\treturn failpoints.List()\n}", "func List(collection Getter) func(ctx context.Context) ([]interface{}, error) {\n\treturn func(ctx context.Context) ([]interface{}, error) {\n\t\tprojects := []Project{}\n\t\terr := collection.GetAll(ctx, &projects)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\titems := make([]interface{}, len(projects))\n\t\tfor i, v := range projects {\n\t\t\titems[i] = v\n\t\t}\n\t\treturn items, nil\n\t}\n}", "func (c *restClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v2beta3/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (s *stepsrvc) List(ctx context.Context, p *step.ListPayload) (res *step.StoredListOfSteps, err error) {\n\tres = &step.StoredListOfSteps{}\n\ts.logger.Print(\"step.list\")\n\n\tres, err = s.db.LoadWalkthroughSteps(p.ID)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\ts.logger.Print(\"step.list res: \", res.WtID)\n\tsort.Slice(res.Steps, func(i, j int) bool {\n\t\treturn res.Steps[i].StepNumber < res.Steps[j].StepNumber\n\t})\n\n\treturn res, nil\n\n}", "func TestEvaluationsOfOneCourse(t *testing.T) {\n\tg := getRouter(true)\n\turi := fmt.Sprintf(\"api/v1/course/%s/evaluations/?limit=10&lastId=0&sort=hot\", courseId)\n\tw := util.PerformRequest(http.MethodGet, g, uri, tokenStr)\n\n\tvar data struct {\n\t\tCode int\n\t\tMessage string\n\t\tData evaluationsOfCourseResponse\n\t}\n\n\tif err := json.Unmarshal([]byte(w.Body.String()), &data); err != nil {\n\t\tt.Errorf(\"Test Error: Get Evaluations of One Course Error; Json Unmarshal Error: %s\", err.Error())\n\t}\n\n\tif w.Code != http.StatusOK {\n\t\tt.Errorf(\"Test Error: StatusCode Error: %d\", w.Code)\n\t}\n}", "func (r *ProjectsOsConfigsService) List(parent string) *ProjectsOsConfigsListCall {\n\tc := &ProjectsOsConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (eh *EvaluateSLIHandler) getPreviousEvaluations(e *keptnv2.GetSLIFinishedEventData, numberOfPreviousResults int, includeResult string) ([]*keptnv2.EvaluationFinishedEventData, []string, error) {\n\tvar evaluationDoneEvents []*keptnv2.EvaluationFinishedEventData\n\tvar eventIDs []string\n\n\t// previous results are fetched from mongodb datastore with source=lighthouse-service\n\tqueryString := fmt.Sprintf(\"source=%s&limit=%d&excludeInvalidated=true&\",\n\t\t\"lighthouse-service\", numberOfPreviousResults)\n\n\tincludeResult = strings.ToLower(includeResult)\n\n\tfilter := \"filter=data.project:\" + e.Project + \"%20AND%20data.stage:\" + e.Stage + \"%20AND%20data.service:\" + e.Service\n\tswitch includeResult {\n\tcase \"pass\":\n\t\tfilter = filter + \"%20AND%20data.result:pass\"\n\t\tbreak\n\tcase \"pass_or_warn\":\n\t\tfilter = filter + \"%20AND%20data.result:pass,warning\"\n\t\tbreak\n\tdefault:\n\t\tbreak\n\t}\n\n\tqueryString = queryString + filter\n\n\treq, err := http.NewRequest(\"GET\", getDatastoreURL()+\"/event/type/\"+keptnv2.GetFinishedEventType(keptnv2.EvaluationTaskName)+\"?\"+queryString, nil)\n\treq.Header.Set(\"Content-Type\", \"application/json\")\n\tresp, err := eh.HTTPClient.Do(req)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\tdefer resp.Body.Close()\n\tbody, _ := ioutil.ReadAll(resp.Body)\n\n\tif resp.StatusCode != 200 {\n\t\treturn nil, nil, errors.New(\"could not retrieve previous evaluation.finished events\")\n\t}\n\tpreviousEvents := &datastoreResult{}\n\terr = json.Unmarshal(body, previousEvents)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\t// iterate over previous events\n\tfor _, event := range previousEvents.Events {\n\t\tbytes, err := json.Marshal(event.Data)\n\t\tif err != nil {\n\t\t\tcontinue\n\t\t}\n\t\tvar evaluationDoneEvent keptnv2.EvaluationFinishedEventData\n\t\terr = json.Unmarshal(bytes, &evaluationDoneEvent)\n\n\t\tif err != nil {\n\t\t\tcontinue\n\t\t}\n\t\tevaluationDoneEvents = append(evaluationDoneEvents, &evaluationDoneEvent)\n\t\teventIDs = append(eventIDs, event.ID)\n\t\tif len(evaluationDoneEvents) == numberOfPreviousResults {\n\t\t\treturn evaluationDoneEvents, eventIDs, nil\n\t\t}\n\t}\n\n\treturn evaluationDoneEvents, eventIDs, nil\n}", "func (page ProjectListPage) Values() []Project {\n\tif page.pl.IsEmpty() {\n\t\treturn nil\n\t}\n\treturn *page.pl.Value\n}", "func (r *PropertiesCustomMetricsService) List(parent string) *PropertiesCustomMetricsListCall {\n\tc := &PropertiesCustomMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *restClient) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator {\n\tit := &LocationIterator{}\n\treq = proto.Clone(req).(*locationpb.ListLocationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*locationpb.Location, string, error) {\n\t\tresp := &locationpb.ListLocationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v/locations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetLocations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (r *OperatingSystemVersionsService) List(profileId int64) *OperatingSystemVersionsListCall {\n\tc := &OperatingSystemVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.profileId = profileId\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsExecutionsRunCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsRunCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (i *ProjectIPServiceOp) List(projectID string, opts *ListOptions) ([]IPAddressReservation, *Response, error) {\n\tif validateErr := ValidateUUID(projectID); validateErr != nil {\n\t\treturn nil, nil, validateErr\n\t}\n\tendpointPath := path.Join(projectBasePath, projectID, ipBasePath)\n\tapiPathQuery := opts.WithQuery(endpointPath)\n\treservations := new(struct {\n\t\tReservations []IPAddressReservation `json:\"ip_addresses\"`\n\t})\n\n\tresp, err := i.client.DoRequest(\"GET\", apiPathQuery, nil, reservations)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\treturn reservations.Reservations, resp, nil\n}", "func (r *OperatingSystemsService) List(profileId int64) *OperatingSystemsListCall {\n\tc := &OperatingSystemsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.profileId = profileId\n\treturn c\n}", "func (l *Location) QueryParent() *LocationQuery {\n\treturn (&LocationClient{l.config}).QueryParent(l)\n}", "func (l *Location) QueryParent() *LocationQuery {\n\treturn (&LocationClient{config: l.config}).QueryParent(l)\n}", "func (client RecommendedElasticPoolsClient) List(resourceGroupName string, serverName string) (result RecommendedElasticPoolListResult, err error) {\n\treq, err := client.ListPreparer(resourceGroupName, serverName)\n\tif err != nil {\n\t\treturn result, autorest.NewErrorWithError(err, \"sql.RecommendedElasticPoolsClient\", \"List\", nil, \"Failure preparing request\")\n\t}\n\n\tresp, err := client.ListSender(req)\n\tif err != nil {\n\t\tresult.Response = autorest.Response{Response: resp}\n\t\treturn result, autorest.NewErrorWithError(err, \"sql.RecommendedElasticPoolsClient\", \"List\", resp, \"Failure sending request\")\n\t}\n\n\tresult, err = client.ListResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"sql.RecommendedElasticPoolsClient\", \"List\", resp, \"Failure responding to request\")\n\t}\n\n\treturn\n}", "func (r *CseSiterestrictService) List(q string) *CseSiterestrictListCall {\n\tc := &CseSiterestrictListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.urlParams_.Set(\"q\", q)\n\treturn c\n}", "func (c *ProjectsLocationsEvaluationsListCall) OrderBy(orderBy string) *ProjectsLocationsEvaluationsListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r *ProjectsTraceSinksService) List(parent string) *ProjectsTraceSinksListCall {\n\tc := &ProjectsTraceSinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func ListByProjectID(c *gin.Context) {\n\tvar (\n\t\tp listEnvironmentsByProjectID\n\t)\n\tid := c.Params.ByName(\"projectId\")\n\tif id == \"\" {\n\t\tc.JSON(http.StatusBadRequest, gin.H{\"error\": \"projectId is missing in uri\"})\n\t\treturn\n\t}\n\tvID, err := strconv.Atoi(id)\n\tif err != nil {\n\t\tlog.Error().Err(err).Msg(\"Error occured while converting string to int\")\n\t\tc.JSON(http.StatusInternalServerError, gin.H{\"error\": \"Internal Server Error\"})\n\t\treturn\n\t}\n\n\tp.ProjectID = vID\n\tresult, err := p.listByProjectID()\n\tif err != nil {\n\t\tlog.Error().Err(err).Msg(\"Error occured while performing db query\")\n\t\tc.JSON(http.StatusInternalServerError, gin.H{\"error\": \"Internal Server Error\"})\n\t\treturn\n\t}\n\n\tif len(result) == 0 {\n\t\tc.AbortWithStatus(404)\n\t} else {\n\t\tc.JSON(http.StatusOK, result)\n\t}\n}", "func GetModelEvaluation(name string, outputFile string) (*automlpb.ModelEvaluation, error) {\n\tctx := context.Background()\n\tclient, err := automl.NewClient(ctx)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"NewClient: %v\", err)\n\t}\n\tdefer client.Close()\n\n\treq := &automlpb.ListModelEvaluationsRequest{\n\t\tParent: name,\n\t}\n\n\tvar w *csv.Writer\n\tif outputFile == \"\" {\n\t\tw = csv.NewWriter(os.Stdout)\n\t} else {\n\t\tf, err := os.Create(outputFile)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tdefer f.Close()\n\t\tw = csv.NewWriter(bufio.NewWriter(f))\n\t}\n\n\tdefer w.Flush()\n\tit := client.ListModelEvaluations(ctx, req)\n\t\n\tw.Write([]string{\"Label\", \"Precision\", \"Recall\", \"Threshold\" })\n\n\t// Iterate over all results\n\tfor {\n\t\te, err := it.Next()\n\t\tif err == iterator.Done {\n\t\t\tbreak\n\t\t}\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"ListModelEvaluationsRequest.Next: %v\", err)\n\t\t}\n\n\t\ttoString:= func(f float32) string {\n\t\t\treturn fmt.Sprintf(\"%v\", f)\n\t\t}\n\t\tm := e.GetClassificationEvaluationMetrics()\n\t\tfor i, entry := range m.GetConfidenceMetricsEntry() {\n\t\t\t// Find the first entry that is <=.5\n\t\t\tif i == len(m.GetConfidenceMetricsEntry()) || m.GetConfidenceMetricsEntry()[i+1].GetConfidenceThreshold() > .5 {\n\t\t\t\tw.Write([]string{e.GetDisplayName(), toString(entry.GetPrecision()), toString(entry.GetRecall()), toString(entry.GetConfidenceThreshold())})\n\t\t\t\tbreak\n\t\t\t}\n\n\t\t}\n\n\t\t//log.Infof(\"Evaluation: %+v, %+v\", e, m.GetAuRoc())\n\t}\n\n\treturn nil, nil\n}", "func (s *ListContactEvaluationsOutput) SetEvaluationSummaryList(v []*EvaluationSummary) *ListContactEvaluationsOutput {\n\ts.EvaluationSummaryList = v\n\treturn s\n}", "func (r *ProjectsBrokersServiceInstancesService) List(parent string) *ProjectsBrokersServiceInstancesListCall {\n\tc := &ProjectsBrokersServiceInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *ProjectService) List() ([]Project, *http.Response, error) {\n\tresponse := new(projectListResponse)\n\tapiError := new(APIError)\n\tresp, err := c.sling.New().Get(\"\").Receive(response, apiError)\n\treturn response.Results, resp, relevantError(err, *apiError)\n}", "func (s *Server) List(ctx context.Context, q *ProjectQuery) (*v1alpha1.AppProjectList, error) {\n\tlist, err := s.appclientset.ArgoprojV1alpha1().AppProjects(s.ns).List(metav1.ListOptions{})\n\tlist.Items = append(list.Items, v1alpha1.GetDefaultProject(s.ns))\n\tif list != nil {\n\t\tnewItems := make([]v1alpha1.AppProject, 0)\n\t\tfor i := range list.Items {\n\t\t\tproject := list.Items[i]\n\t\t\tif s.enf.EnforceClaims(ctx.Value(\"claims\"), \"projects\", \"get\", project.Name) {\n\t\t\t\tnewItems = append(newItems, project)\n\t\t\t}\n\t\t}\n\t\tlist.Items = newItems\n\t}\n\treturn list, err\n}" ]
[ "0.68386835", "0.5911789", "0.5765838", "0.566382", "0.56449455", "0.55336624", "0.5502461", "0.54571146", "0.53309864", "0.52141833", "0.5154175", "0.51461816", "0.51024204", "0.5051421", "0.5035599", "0.4999914", "0.4959736", "0.4954247", "0.4925787", "0.49113256", "0.48997453", "0.48046365", "0.47979727", "0.47494927", "0.47277346", "0.4720401", "0.46716228", "0.46716228", "0.46716228", "0.46716228", "0.46716228", "0.46716228", "0.46716228", "0.46716228", "0.46601516", "0.46452126", "0.46267933", "0.4568617", "0.45606855", "0.45464474", "0.45456114", "0.45153868", "0.4489553", "0.44861346", "0.44845542", "0.44669914", "0.44601965", "0.44537327", "0.44426283", "0.43920374", "0.43913132", "0.43913132", "0.43913132", "0.43913132", "0.43913132", "0.43890876", "0.43539163", "0.4352342", "0.4338602", "0.43380594", "0.43276855", "0.4316435", "0.4311616", "0.42456105", "0.42365795", "0.42274544", "0.42067385", "0.41989055", "0.4180006", "0.41787946", "0.415403", "0.41369757", "0.41243878", "0.41221428", "0.41197786", "0.4117849", "0.41147187", "0.41102108", "0.41092324", "0.41047847", "0.40964025", "0.4087636", "0.4085353", "0.40660238", "0.40523908", "0.4038368", "0.4032147", "0.4003879", "0.40023345", "0.39990664", "0.39923403", "0.39909884", "0.39874434", "0.39842683", "0.3971392", "0.396969", "0.395923", "0.395518", "0.39535937", "0.3950079" ]
0.81339604
0
Filter sets the optional parameter "filter": Filtering results
func (c *ProjectsLocationsEvaluationsListCall) Filter(filter string) *ProjectsLocationsEvaluationsListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolReservationListRequest) Filter(filter string) ApiGetIqnpoolReservationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Filter(filter string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPhysicalPortListRequest) Filter(filter string) ApiGetEtherPhysicalPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Filter(filter string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *NestedSort) Filter(filter Query) *NestedSort {\n\ts.filter = filter\n\treturn s\n}", "func (s *FieldSort) Filter(filter Query) *FieldSort {\n\ts.filter = filter\n\treturn s\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherNetworkPortListRequest) Filter(filter string) ApiGetEtherNetworkPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPortChannelListRequest) Filter(filter string) ApiGetEtherPortChannelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherHostPortListRequest) Filter(filter string) ApiGetEtherHostPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsOptimizedHostStatsGetCall) Filter(filter string) *OrganizationsOptimizedHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersGetRequest) Filter(key string, value string) ApiDatacentersGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *Searcher) Filter(filter *Filter, values *resource.MetaValues) *Searcher {\n\tnewSearcher := s.clone()\n\tif newSearcher.filters == nil {\n\t\tnewSearcher.filters = map[*Filter]*resource.MetaValues{}\n\t}\n\tnewSearcher.filters[filter] = values\n\treturn newSearcher\n}", "func (r ApiGetHyperflexHypervisorVirtualMachineListRequest) Filter(filter string) ApiGetHyperflexHypervisorVirtualMachineListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Filter(filter string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *PcloudNetworksGetallParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (q *Query) Filter(fn Filter) error {\n\terr, Answer := fn(q.Answer)\n\tif err == nil {\n\t\tq.Answer = Answer\n\t\treturn nil\n\t}\n\treturn err\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetIqnpoolLeaseListRequest) Filter(filter string) ApiGetIqnpoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolBlockListRequest) Filter(filter string) ApiGetIqnpoolBlockListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Filter(filter string) ApiGetHyperflexDriveListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmBackupInfoListRequest) Filter(filter string) ApiGetHyperflexVmBackupInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (a *AliasAddAction) Filter(filter Query) *AliasAddAction {\n\ta.filter = filter\n\treturn a\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (c *OrganizationsEnvironmentsStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Filter(filter string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsOptimizedStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filters ...FilterOption) Option {\n\treturn func(stackdriver *Stackdriver) {\n\t\tfor i, filterOpt := range filters {\n\t\t\tf := &filter{}\n\t\t\tfilterOpt(f)\n\n\t\t\tif i != 0 || len(stackdriver.Builder.Model.MetricQuery.Filters) != 0 {\n\t\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, \"AND\")\n\t\t\t}\n\n\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, f.leftOperand, f.operator, f.rightOperand)\n\t\t}\n\t}\n}", "func (r ApiGetHyperflexSoftwareVersionPolicyListRequest) Filter(filter string) ApiGetHyperflexSoftwareVersionPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolMemberListRequest) Filter(filter string) ApiGetIqnpoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolMemberListRequest) Filter(filter string) ApiGetResourcepoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersLansNicsGetRequest) Filter(key string, value string) ApiDatacentersLansNicsGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckPackageChecksumListRequest) Filter(filter string) ApiGetHyperflexHealthCheckPackageChecksumListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(pattern string) option {\n\treturn func(b *Benchmark) { b.filter = pattern }\n}", "func (r ApiGetHyperflexHypervisorHostListRequest) Filter(filter string) ApiGetHyperflexHypervisorHostListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (q *Query) Filter(rule string) *Query {\n\tq.headers = append(q.headers, \"Filter: \"+rule)\n\treturn q\n}", "func (o *SearchKeywordChunkedParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (res *Resource) Filter(filter *Filter) {\n\tfilter.Resource = res\n\n\tif filter.Label == \"\" {\n\t\tfilter.Label = utils.HumanizeString(filter.Name)\n\t}\n\n\tif filter.Config != nil {\n\t\tfilter.Config.ConfigureQORAdminFilter(filter)\n\t}\n\n\tif filter.Handler == nil {\n\t\t// generate default handler\n\t\tfilter.Handler = func(db *gorm.DB, filterArgument *FilterArgument) *gorm.DB {\n\t\t\tif metaValue := filterArgument.Value.Get(\"Value\"); metaValue != nil {\n\t\t\t\treturn defaultFieldFilter(res, []string{filter.Name}, utils.ToString(metaValue.Value), db, filterArgument.Context)\n\t\t\t}\n\t\t\treturn db\n\t\t}\n\t}\n\n\tif filter.Type != \"\" {\n\t\tres.filters = append(res.filters, filter)\n\t} else {\n\t\tutils.ExitWithMsg(\"Invalid filter definition %v for resource %v\", filter.Name, res.Name)\n\t}\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionEntryListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(f *protocol.Filter) DiscoverOption {\n\treturn func(o *dOpts) {\n\t\to.filter = f\n\t}\n}", "func (r ApiGetHyperflexDevicePackageDownloadStateListRequest) Filter(filter string) ApiGetHyperflexDevicePackageDownloadStateListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func _filter() {\n\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (o *StatsKeywordParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Filter(filter string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsTimeSeriesListCall) Filter(filter string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (m *MetricFilter) Filter(filter shared.Filter) *MetricFilter {\n\tm.filterList = append(m.filterList, filter)\n\treturn m\n}", "func (r ApiGetHyperflexWitnessConfigurationListRequest) Filter(filter string) ApiGetHyperflexWitnessConfigurationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r *BaseRequest) Filter(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$filter\", value)\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Filter(filter string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}" ]
[ "0.76132125", "0.7314447", "0.72316515", "0.7217387", "0.7188109", "0.7163296", "0.71585685", "0.7139564", "0.71183896", "0.7100262", "0.7097088", "0.70957214", "0.7066966", "0.70646036", "0.70443267", "0.7036704", "0.6991772", "0.6978911", "0.6969857", "0.6969598", "0.6965799", "0.6961256", "0.6946028", "0.69403243", "0.6936335", "0.6933426", "0.6925315", "0.69226027", "0.69189763", "0.6918161", "0.691184", "0.69047743", "0.6894319", "0.68912846", "0.6880307", "0.68684024", "0.68673825", "0.6854266", "0.68539405", "0.6845076", "0.6841823", "0.6837326", "0.683453", "0.6832071", "0.68117934", "0.68034345", "0.68034214", "0.6801401", "0.67966545", "0.6781415", "0.6778401", "0.6773719", "0.6772339", "0.6762602", "0.6755798", "0.67541826", "0.6753363", "0.67527324", "0.6746675", "0.6740191", "0.6739312", "0.6728605", "0.6728393", "0.67248523", "0.67214453", "0.6719769", "0.67192024", "0.67073417", "0.670493", "0.6698441", "0.6693769", "0.6688343", "0.66804254", "0.6678777", "0.66685605", "0.6665748", "0.6652509", "0.66395414", "0.663919", "0.6628384", "0.6627652", "0.6624353", "0.6623384", "0.6620489", "0.66162044", "0.6596738", "0.6592684", "0.6590575", "0.6590571", "0.6582493", "0.6576943", "0.65554965", "0.6543709", "0.65357494", "0.65302217", "0.65082234", "0.6506483", "0.65057856", "0.6502931", "0.64962894", "0.6469542" ]
0.0
-1
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (c *ProjectsLocationsEvaluationsListCall) OrderBy(orderBy string) *ProjectsLocationsEvaluationsListCall { c.urlParams_.Set("orderBy", orderBy) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (p *queryPlan) orderBy() {\n\torder := p.stm.OrderByConfig()\n\tif len(order) <= 0 {\n\t\treturn\n\t}\n\ttracer.V(2).Trace(p.tracer, func() *tracer.Arguments {\n\t\treturn &tracer.Arguments{\n\t\t\tMsgs: []string{\"Ordering by \" + order.String()},\n\t\t}\n\t})\n\tp.tbl.Sort(order)\n}", "func (s *Select) OrderBy(fieldName ...string) *Select {\n\ts.orderBy = fieldName\n\treturn s\n}", "func (q *Query) OrderBy(orderBys ...string) *Query {\n\tq.orderBys = append(q.orderBys, orderBys...)\n\treturn q\n}", "func (q *queryImpl) OrderBy(orderBys ...string) Query {\n\tq.orderBys = append(q.orderBys, orderBys...)\n\treturn q\n}", "func OrderBy(query string) QueryOption {\n\treturn newFuncQueryOption(func(wrapper *QueryWrapper) {\n\t\twrapper.order = query\n\t\twrapper.queryLen += 2\n\t})\n}", "func (q *Query) OrderBy(bys ...string) *Query {\n\tq.orderBys = append(q.orderBys, bys...)\n\treturn q\n}", "func (q ReleaseQuery) OrderBy(cmd string) ReleaseQuery {\n\tq.builder = q.builder.OrderBy(cmd)\n\treturn q\n}", "func (ub *UpdateBuilder) OrderBy(\n\torderBys ...string,\n) *UpdateBuilder {\n\tub.sql = ub.sql.OrderBy(orderBys...)\n\treturn ub\n}", "func (q *Query) OrderBy(expression string, asc bool) *Query {\n\tq.ordering = append(q.ordering, &order{expression, asc})\n\treturn q\n}", "func (c *ProjectsTimeSeriesListCall) OrderBy(orderBy string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (b *QueryBuilder) OrderBy(nodes ...NodeI) {\n\tb.OrderBys = append(b.OrderBys, nodes...)\n}", "func (o *FileInfoCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (b *SelectBuilder) OrderBy(exprs ...interface{}) *SelectBuilder {\n\tb.Select.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (q Query) OrderBy(key string, ascending bool) Query {\n\tq[orderByKey] = Ordering{key, ascending}\n\treturn q\n}", "func (o *ListScansParams) SetOrderBy(orderBy *string) {\n\to.OrderBy = orderBy\n}", "func (r *BaseRequest) OrderBy(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$orderby\", value)\n}", "func (i *Item) OrderBy() string {\n\tif i.orderBy != \"\" {\n\t\treturn i.orderBy\n\t}\n\tswitch key := i.Key.(type) {\n\tcase Order:\n\t\ti.orderBy = key.OrderBy()\n\tcase string:\n\t\ti.orderBy = key\n\tcase fmt.Stringer:\n\t\ti.orderBy = key.String()\n\tdefault:\n\t\ti.orderBy = fmt.Sprint(key)\n\t}\n\treturn i.orderBy\n}", "func (r ApiDatacentersGetRequest) OrderBy(orderBy string) ApiDatacentersGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func OrderBy(field string, asc bool) Query {\n\treturn func(db *gorm.DB) *gorm.DB {\n\t\tif asc {\n\t\t\treturn db.Order(field + \" ASC\")\n\t\t}\n\n\t\treturn db.Order(field + \" DESC\")\n\t}\n}", "func (q *Query) OrderBy(field_name string, desc bool) *Query {\n\tq.order_by = append(q.order_by, query.Order{\n\t\tField: field_name,\n\t\tDesc: desc,\n\t})\n\treturn q\n}", "func (o *QtreeCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (r ApiDatacentersLansGetRequest) OrderBy(orderBy string) ApiDatacentersLansGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func (fb *Firebase) OrderBy(value string) *Firebase {\n\tc := fb.copy()\n\tif value != \"\" {\n\t\tc.params.Set(orderByParam, value)\n\t} else {\n\t\tc.params.Del(orderByParam)\n\t}\n\treturn c\n}", "func (o *AccountCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (ub *UpdateBuilder) OrderBy(col ...string) *UpdateBuilder {\n\tub.orderByCols = col\n\tub.marker = updateMarkerAfterOrderBy\n\treturn ub\n}", "func (o *EmsEventCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (r ApiDatacentersLansNicsGetRequest) OrderBy(orderBy string) ApiDatacentersLansNicsGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func ExampleZSelectBuilder_OrderBy() {\n\tuser := q.T(\"user\")\n\tfmt.Println(\n\t\t\"Single order: \",\n\t\tq.Select().From(user).OrderBy(user.C(\"age\"), true),\n\t)\n\tfmt.Println(\n\t\t\"Multiple order:\",\n\t\tq.Select().From(user).OrderBy(user.C(\"age\"), true).OrderBy(\n\t\t\tq.CharLength(user.C(\"name\")), false),\n\t)\n\t// Output:\n\t// Single order: SELECT * FROM \"user\" ORDER BY \"user\".\"age\" ASC []\n\t// Multiple order: SELECT * FROM \"user\" ORDER BY \"user\".\"age\" ASC, CHAR_LENGTH(\"user\".\"name\") DESC []\n}", "func (m *AssignmentFilterEvaluateRequest) SetOrderBy(value []string)() {\n err := m.GetBackingStore().Set(\"orderBy\", value)\n if err != nil {\n panic(err)\n }\n}", "func (o *PortsetCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (o *GetInterceptionitemsParams) SetOrderBy(orderBy string) {\n\to.OrderBy = orderBy\n}", "func (o *ApplicationComponentSnapshotCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (o *BucketsCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (s UserSet) OrderBy(exprs ...string) m.UserSet {\n\tres := s.Collection().Call(\"OrderBy\", exprs)\n\tresTyped := res.(models.RecordSet).Collection().Wrap(\"User\").(m.UserSet)\n\treturn resTyped\n}", "func (o *GetSMSitemsParams) SetOrderBy(orderBy string) {\n\to.OrderBy = orderBy\n}", "func (sb *SQLBuilder) OrderBy(operator string, fields ...string) *SQLBuilder {\n\tvar buf strings.Builder\n\n\tbuf.WriteString(\"ORDER BY \")\n\n\tfor k, field := range fields {\n\n\t\tbuf.WriteString(field)\n\n\t\tif k != len(fields)-1 {\n\t\t\tbuf.WriteString(\",\")\n\t\t}\n\t}\n\n\tbuf.WriteString(\" \")\n\tbuf.WriteString(operator)\n\n\tsb._orderBy = buf.String()\n\n\treturn sb\n}", "func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetOrderBy(_orderBy string) error {\n\tr._orderBy = _orderBy\n\tr.Set(\"order_by\", _orderBy)\n\treturn nil\n}", "func OrderBy(clause string) QueryMod {\n\treturn func(q *queries.Query) {\n\t\tqueries.AppendOrderBy(q, clause)\n\t}\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Orderby(orderby string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (q ReleaseGroupQuery) OrderBy(cmd string) ReleaseGroupQuery {\n\tq.builder = q.builder.OrderBy(cmd)\n\treturn q\n}", "func (c *LeadsListCall) OrderBy(orderBy string) *LeadsListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetBulkResultListRequest) Orderby(orderby string) ApiGetBulkResultListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *commentsQueryBuilder) OrderBy(fields ...string) *commentsQueryBuilder {\n\tif c.err != nil {\n\t\treturn c\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tc.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Comments'\")\n\t\t\treturn c\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Comments.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tc.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Comments'\", field)\n\t\t\treturn c\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tc.builder.OrderBy(sortFields...)\n\treturn c\n}", "func (o *SecurityCertificateCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (r ApiGetHyperflexConfigResultListRequest) Orderby(orderby string) ApiGetHyperflexConfigResultListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (stmt *statement) OrderBy(expr ...string) Statement {\n\tstmt.addPart(posOrderBy, \"ORDER BY\", strings.Join(expr, \", \"), nil, \", \")\n\treturn stmt\n}", "func (s *Session) OrderBy(orderby string) *Session {\n\ts.statement.OrderBy(orderby)\n\treturn s\n}", "func (b *UpdateBuilder) OrderBy(exprs ...interface{}) *UpdateBuilder {\n\tb.Update.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (session *Session) OrderBy(order string) *Session {\n\tsession.Statement.OrderBy(order)\n\treturn session\n}", "func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) OrderBy() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey) *string { return v.OrderBy }).(pulumi.StringPtrOutput)\n}", "func (r ApiGetHyperflexNodeListRequest) Orderby(orderby string) ApiGetHyperflexNodeListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (self *TStatement) OrderBy(clause string) *TStatement {\r\n\tif len(self.OrderByClause) > 0 {\r\n\t\tself.OrderByClause += \", \"\r\n\t}\r\n\tself.OrderByClause += clause\r\n\treturn self\r\n}", "func (w *Wrapper) buildOrderBy() (query string) {\n\tif len(w.orders) == 0 {\n\t\treturn\n\t}\n\tquery += \"ORDER BY \"\n\tfor _, v := range w.orders {\n\t\tswitch len(v.args) {\n\t\t// .OrderBy(\"RAND()\")\n\t\tcase 0:\n\t\t\tquery += fmt.Sprintf(\"%s, \", v.column)\n\t\t// .OrderBy(\"ID\", \"ASC\")\n\t\tcase 1:\n\t\t\tquery += fmt.Sprintf(\"%s %s, \", v.column, v.args[0])\n\t\t// .OrderBy(\"UserGroup\", \"ASC\", \"SuperUser\", \"Admin\")\n\t\tdefault:\n\t\t\tquery += fmt.Sprintf(\"FIELD (%s, %s) %s, \", v.column, w.bindParams(v.args[1:]), v.args[0])\n\t\t}\n\t}\n\tquery = trim(query)\n\treturn\n}", "func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) OrderBy() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse) string { return v.OrderBy }).(pulumi.StringOutput)\n}", "func (session *Session) OrderBy(order string) *Session {\n\tsession.Session = session.Session.OrderBy(order)\n\treturn session\n}", "func (r ApiGetHyperflexAutoSupportPolicyListRequest) Orderby(orderby string) ApiGetHyperflexAutoSupportPolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (w *Wrapper) OrderBy(column string, args ...interface{}) *Wrapper {\n\tw.orders = append(w.orders, order{\n\t\tcolumn: column,\n\t\targs: args,\n\t})\n\treturn w\n}", "func (c *CompaniesGetCall) OrderBy(orderBy string) *CompaniesGetCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Orderby(orderby string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *OffersHistoryListCall) OrderBy(orderBy string) *OffersHistoryListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (c *ProjectsTracesListCall) OrderBy(orderBy string) *ProjectsTracesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (p *postsQueryBuilder) OrderBy(fields ...string) *postsQueryBuilder {\n\tif p.err != nil {\n\t\treturn p\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tp.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Posts'\")\n\t\t\treturn p\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Posts.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tp.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Posts'\", field)\n\t\t\treturn p\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tp.builder.OrderBy(sortFields...)\n\treturn p\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Orderby(orderby string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Orderby(orderby string) ApiGetResourcepoolPoolListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Orderby(orderby string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func OrderBy(order Order, fieldPaths ...interface{}) QueryOptions {\n\treturn func(query *Query) (*Query, error) {\n\t\tif len(fieldPaths) == 0 {\n\t\t\treturn query, nil\n\t\t}\n\t\tvar fp []interface{}\n\t\tfor _, field := range fieldPaths {\n\t\t\tif fieldString, ok := field.(string); ok {\n\t\t\t\tfp = append(fp, map[string]interface{}{fieldString: orders[order]})\n\t\t\t} else {\n\t\t\t\treturn nil, errors.New(\"field path type can be only string\")\n\t\t\t}\n\t\t}\n\t\tresMap, err := mergeQueryMaps(query.content,\n\t\t\tmap[string]interface{}{operations[ORDER_BY]: fp})\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tquery.content = resMap.(map[string]interface{})\n\t\treturn query, nil\n\t}\n}", "func (q *PollOptionQuery) Order(cols ...kallax.ColumnOrder) *PollOptionQuery {\n\tq.BaseQuery.Order(cols...)\n\treturn q\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Orderby(orderby string) ApiGetHyperflexAppCatalogListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Orderby(orderby string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Orderby(orderby string) ApiGetHyperflexEncryptionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (b *blogsQueryBuilder) OrderBy(fields ...string) *blogsQueryBuilder {\n\tif b.err != nil {\n\t\treturn b\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tb.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Blogs'\")\n\t\t\treturn b\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Blogs.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tb.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Blogs'\", field)\n\t\t\treturn b\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tb.builder.OrderBy(sortFields...)\n\treturn b\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Orderby(orderby string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Orderby(orderby string) ApiGetIqnpoolPoolListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Orderby(orderby string) ApiGetHyperflexVolumeListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Orderby(orderby string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (b *DeleteBuilder) OrderBy(exprs ...interface{}) *DeleteBuilder {\n\tb.Delete.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Orderby(orderby string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Orderby(orderby string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Orderby(orderby string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *CompaniesListCall) OrderBy(orderBy string) *CompaniesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetHyperflexAlarmListRequest) Orderby(orderby string) ApiGetHyperflexAlarmListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Orderby(orderby string) ApiGetBulkRequestListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetIqnpoolLeaseListRequest) Orderby(orderby string) ApiGetIqnpoolLeaseListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Orderby(orderby string) ApiGetHyperflexNodeProfileListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func orderBy(lf ...lessFunc) *multiSorter {\n\tms := &multiSorter{}\n\tms.lessFunctions = lf\n\treturn ms\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Orderby(orderby string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (tq *TweetQuery) Order(o ...OrderFunc) *TweetQuery {\n\ttq.order = append(tq.order, o...)\n\treturn tq\n}", "func (c *OrganizationsApiproductsRateplansListCall) OrderBy(orderBy string) *OrganizationsApiproductsRateplansListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (c *ProjectsLogEntriesListCall) OrderBy(orderBy string) *ProjectsLogEntriesListCall {\n\tc.params_.Set(\"orderBy\", fmt.Sprintf(\"%v\", orderBy))\n\treturn c\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Orderby(orderby string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c MethodsCollection) OrderBy() pOrderBy {\n\treturn pOrderBy{\n\t\tMethod: c.MustGet(\"OrderBy\"),\n\t}\n}", "func (r ApiGetHyperflexDriveListRequest) Orderby(orderby string) ApiGetHyperflexDriveListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func Order(q *query.Query) *query.Query {\n\treturn q.Order(\"status desc\")\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Orderby(orderby string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexHealthListRequest) Orderby(orderby string) ApiGetHyperflexHealthListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (eq *EntityQuery) Order(o ...OrderFunc) *EntityQuery {\n\teq.order = append(eq.order, o...)\n\treturn eq\n}", "func (r ApiGetHyperflexExtFcStoragePolicyListRequest) Orderby(orderby string) ApiGetHyperflexExtFcStoragePolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Orderby(orderby string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) OrderBy() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn v.OrderBy\n\t}).(pulumi.StringPtrOutput)\n}", "func (r ApiGetResourcepoolLeaseListRequest) Orderby(orderby string) ApiGetResourcepoolLeaseListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (q *PollQuery) Order(cols ...kallax.ColumnOrder) *PollQuery {\n\tq.BaseQuery.Order(cols...)\n\treturn q\n}" ]
[ "0.732018", "0.72285634", "0.7171492", "0.71337193", "0.70753", "0.7001693", "0.6864536", "0.6856947", "0.684164", "0.6824712", "0.68204504", "0.68164223", "0.6806121", "0.6796102", "0.67683965", "0.6754924", "0.6753009", "0.6732995", "0.67230433", "0.6701163", "0.6698814", "0.66875225", "0.6651391", "0.66473746", "0.66094965", "0.65370375", "0.65179074", "0.65164137", "0.6514999", "0.6503867", "0.64898485", "0.64815146", "0.6478032", "0.6463986", "0.6463414", "0.6449968", "0.6400116", "0.63926244", "0.63876724", "0.63656193", "0.6361893", "0.6361211", "0.63590795", "0.63491917", "0.6333892", "0.6331757", "0.6327911", "0.6324039", "0.63199455", "0.6305404", "0.6300636", "0.6297627", "0.62970555", "0.6296238", "0.62937874", "0.6284762", "0.6279296", "0.62773865", "0.62723595", "0.6248887", "0.6247538", "0.62385976", "0.62380236", "0.62342006", "0.62248737", "0.62158096", "0.6215699", "0.62082", "0.6187774", "0.61830115", "0.6182776", "0.6182738", "0.6182548", "0.6172844", "0.6161908", "0.6154603", "0.61532986", "0.61510956", "0.61508405", "0.6146759", "0.6145697", "0.6137403", "0.61372006", "0.61351913", "0.61338794", "0.6131905", "0.6124779", "0.6118009", "0.6117154", "0.6116681", "0.6115836", "0.61129534", "0.6107442", "0.6105108", "0.6101594", "0.6094837", "0.60861427", "0.6083726", "0.6082424", "0.6080419", "0.6075784" ]
0.0
-1
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (c *ProjectsLocationsEvaluationsListCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func GetPageSize() uint64 {\n\tpanic(\"not implemented\")\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PerPage(items int) ReqOption {\n\treturn func(v url.Values) {\n\t\tv.Set(\"per_page\", strconv.FormatInt(int64(items), 10))\n\t}\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsModulesListCall) PageSize(pageSize int64) *AppsModulesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r *Reader) PageSize(numOfRecs int) *Reader {\n\tif r.XMLName.Local == readByQueryXMLName.Local {\n\t\tr.MaxRecs = numOfRecs\n\t}\n\treturn r\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func TestGetPageSize(t *testing.T) {\n\tcases := []struct {\n\t\toffset, total, limit, expected int64\n\t\tname string\n\t}{\n\t\t{1, 0, 50, 0, \"no results\"},\n\t\t{1, 1, 50, 1, \"first partial page\"},\n\t\t{1, 50, 50, 50, \"first full page\"},\n\t\t{2, 100, 50, 50, \"second page full\"},\n\t\t{2, 51, 50, 1, \"last partial page\"},\n\t}\n\tfor _, tt := range cases {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tactual := getPageSize(tt.offset, tt.total, tt.limit)\n\t\t\tassert.Equal(t, tt.expected, actual, \"actual didn't match expected\")\n\t\t})\n\t}\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *NgGrid) GetPageSize() int64 {\n\tif g.PageSize <= 0 {\n\t\tg.PageSize = 10\n\t}\n\treturn g.PageSize\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageSize(pageSize int64) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AnalyticsListCall) PageSize(pageSize int64) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageSize(pageSize int64) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func Pagination(w http.ResponseWriter, query url.Values, m martini.Context) {\n\tpage, pageErr := strconv.Atoi(query.Get(\"page\"))\n\titemsPerPage, itemsPerPageErr := strconv.Atoi(query.Get(\"items_per_page\"))\n\n\tif pageErr != nil || itemsPerPageErr != nil || page < 1 || itemsPerPage < 1 {\n\t\tm.Map(PaginationParameters{Page: 1, ItemsPerPage: 9})\n\t\treturn\n\t}\n\n\tm.Map(PaginationParameters{Page: page, ItemsPerPage: itemsPerPage})\n}", "func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Getpagesize() int", "func (c *ProjectsLocationsSshKeysListCall) PageSize(pageSize int64) *ProjectsLocationsSshKeysListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}" ]
[ "0.7271277", "0.7017402", "0.69593596", "0.6921684", "0.68830246", "0.68657845", "0.68657845", "0.68406963", "0.6833454", "0.6833454", "0.6818377", "0.67729205", "0.6765243", "0.6730712", "0.67232376", "0.66968524", "0.66813475", "0.66732216", "0.6657173", "0.66564214", "0.66564214", "0.66556126", "0.66555035", "0.66466105", "0.66393787", "0.66178", "0.6614965", "0.66094166", "0.65816194", "0.65785754", "0.6572844", "0.6571749", "0.6571749", "0.6560399", "0.65459716", "0.65059483", "0.6499509", "0.64835644", "0.6480233", "0.6477332", "0.6477332", "0.646286", "0.64596677", "0.6459325", "0.64485383", "0.6442633", "0.64330345", "0.6424508", "0.6417406", "0.6414069", "0.63905334", "0.6389869", "0.6382637", "0.63769865", "0.6363368", "0.63584375", "0.6355635", "0.63535196", "0.63487846", "0.6347237", "0.63306946", "0.6323802", "0.62903863", "0.62870026", "0.626723", "0.6253586", "0.6253586", "0.62147033", "0.62147033", "0.6208524", "0.61995703", "0.6189118", "0.6177931", "0.61658835", "0.6161288", "0.6156891", "0.61381495", "0.6132445", "0.6129041", "0.6110254", "0.61004794", "0.60913837", "0.6083557", "0.60787153", "0.6076417", "0.60700953", "0.6066274", "0.6060956", "0.605765", "0.60562307", "0.6043433", "0.6040711", "0.603744", "0.6031149", "0.6026765", "0.6023125", "0.602055", "0.6016499", "0.60120684", "0.6011293", "0.6004964" ]
0.0
-1
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (c *ProjectsLocationsEvaluationsListCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchCallSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (o *Ga4ghSearchLabtestsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchContinuousSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) HasPageToken() bool {\n\tif o != nil && o.PageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchFusionDetectionResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *InspectResultsFindingsListCall) PageToken(pageToken string) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FoldersListCall) PageToken(pageToken string) *FoldersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AnalyticsListCall) PageToken(pageToken string) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageToken(pageToken string) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageToken(pageToken string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsInstancesListCall) PageToken(pageToken string) *OrganizationsInstancesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ClaimsSearchCall) PageToken(pageToken string) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageTokenOk() (string, bool) {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.PageToken, true\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsDatacollectorsListCall) PageToken(pageToken string) *OrganizationsDatacollectorsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsLroListCall) PageToken(pageToken string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsKeyvaluemapsEntriesListCall) PageToken(pageToken string) *OrganizationsKeyvaluemapsEntriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InspectOperationsListCall) PageToken(pageToken string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAssignmentsListCall) PageToken(pageToken string) *OrganizationsAssignmentsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageToken(pageToken string) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductAndSkuCall) PageToken(pageToken string) *LicenseAssignmentsListForProductAndSkuCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsOperationsListCall) PageToken(pageToken string) *OrganizationsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}" ]
[ "0.73745614", "0.73069805", "0.7255268", "0.7221221", "0.72087693", "0.719236", "0.71567136", "0.7142982", "0.67851585", "0.62322545", "0.6078054", "0.6047933", "0.60100853", "0.59775794", "0.59348804", "0.5883822", "0.5858704", "0.5856172", "0.5853042", "0.5809341", "0.5797347", "0.5789333", "0.5774045", "0.5767145", "0.57601684", "0.5746444", "0.5718378", "0.571385", "0.57011145", "0.56975466", "0.56754065", "0.5672044", "0.5657803", "0.56243217", "0.56177765", "0.56163085", "0.5606265", "0.55976456", "0.55818814", "0.5576142", "0.5573331", "0.5560749", "0.5555806", "0.5555806", "0.5545102", "0.55430317", "0.553814", "0.55379903", "0.55348915", "0.55348915", "0.5534032", "0.5525872", "0.550292", "0.550292", "0.5502778", "0.55022496", "0.5501581", "0.5487543", "0.5482893", "0.54776514", "0.54776514", "0.54767823", "0.54767823", "0.5462219", "0.54582596", "0.5455178", "0.5449375", "0.5449375", "0.54412603", "0.5413944", "0.5387957", "0.53778124", "0.537557", "0.5366612", "0.53603333", "0.53603333", "0.53582674", "0.5358128", "0.5352242", "0.53434837", "0.5337286", "0.5337286", "0.5335742", "0.5313991", "0.5312407", "0.53094506", "0.5301059", "0.5300299", "0.5298975", "0.52911717", "0.52851695", "0.5282836", "0.5279226", "0.52755636", "0.52755636", "0.5273227", "0.52725136", "0.5271802", "0.5269022", "0.5267295", "0.52658963" ]
0.0
-1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64579004", "0.6409218", "0.6381991", "0.6328264", "0.6293984", "0.622573", "0.6193078", "0.61827034", "0.61631733", "0.6141335", "0.6125823", "0.6125462", "0.6124725", "0.611568", "0.6100482", "0.60680985", "0.60680985", "0.606125", "0.60492533", "0.6048319", "0.6021011", "0.59945804", "0.5990342", "0.59775597", "0.5961667", "0.5961667", "0.5959289", "0.5950366", "0.59500796", "0.5948174", "0.5939115", "0.5935769", "0.59348816", "0.5917293", "0.59139764", "0.5913886", "0.59099936", "0.58950424", "0.58915347", "0.58883166", "0.58867604", "0.5879923", "0.58720726", "0.58706236", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.58635837", "0.5863207", "0.5863207", "0.586281", "0.58625495", "0.5859657", "0.58480275", "0.58457154", "0.58454543", "0.5843712", "0.5831787", "0.5831525", "0.58293605", "0.58293605", "0.5820953", "0.581475", "0.5812048", "0.58032286", "0.579805", "0.57947665", "0.5791543", "0.57897764", "0.5786098", "0.5780869", "0.5779724", "0.577423", "0.57739097", "0.57659197", "0.57639176", "0.5762663", "0.57592666", "0.5751553", "0.5746938", "0.5746523", "0.5746084", "0.57429504", "0.57409465", "0.57337755", "0.57306266", "0.57259494", "0.5725422", "0.57247823", "0.5719918", "0.5719299", "0.5719299", "0.5717512", "0.56952816", "0.5693284", "0.56844383", "0.5682866", "0.56826854", "0.5673803" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsEvaluationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsListCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.78571063", "0.77426845", "0.7717644", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7647176", "0.7599775", "0.7594325", "0.75929254", "0.75929254", "0.7582158", "0.7575828", "0.7575695", "0.7568742", "0.7555524", "0.75441426", "0.75313455", "0.7494666", "0.748358", "0.74634016", "0.74619853", "0.7452785", "0.74312496", "0.7428858", "0.7424827", "0.7414241", "0.7414112", "0.7414112", "0.7410183", "0.7404775", "0.7404775", "0.7402416", "0.7398951", "0.7392532", "0.73855126", "0.7379812", "0.7378651", "0.73666537", "0.73601836", "0.7357984", "0.73544204", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73491925", "0.7339757", "0.73346", "0.73155713", "0.73095214", "0.7308473", "0.7305993", "0.7305993", "0.73043364", "0.7303744", "0.72973424", "0.7293722", "0.7287206", "0.7286753", "0.72838", "0.7277307", "0.7276091", "0.72739077", "0.7272472", "0.727207", "0.72702944", "0.7269796", "0.7267224", "0.7261026", "0.72609854", "0.7256361", "0.72552556", "0.7254953", "0.7254242", "0.7252441", "0.7251688", "0.72484267", "0.724618", "0.72401345", "0.72391474", "0.7236357", "0.7236357", "0.7235006", "0.72316694", "0.7229783", "0.7229681", "0.7225013", "0.72218955", "0.72148854", "0.72139925", "0.72127664", "0.7210916", "0.7207084", "0.72065234", "0.7206281", "0.7206281" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsListCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
Pages invokes f for each page of results. A nonnil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { x, err := c.Do() if err != nil { return err } if err := f(x); err != nil { return err } if x.NextPageToken == "" { return nil } c.PageToken(x.NextPageToken) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *PermissionsQueryTestablePermissionsCall) Pages(ctx context.Context, f func(*QueryTestablePermissionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querytestablepermissionsrequest.PageToken = pt }(c.querytestablepermissionsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querytestablepermissionsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchForAlertCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FoldersSearchCall) Pages(ctx context.Context, f func(*SearchFoldersResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchfoldersrequest.PageToken = pt }(c.searchfoldersrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchfoldersrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OperationsLroListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTabularStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTabularStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytabularstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytabularstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytabularstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectResultsFindingsListCall) Pages(ctx context.Context, f func(*ListInspectFindingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsBatchSearchLinkProcessesCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = pt }(c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsSearchLinksCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1SearchLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1searchlinksrequest.PageToken = pt }(c.googleclouddatacataloglineagev1searchlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1searchlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTraceSinksListCall) Pages(ctx context.Context, f func(*ListTraceSinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PostsListCall) Pages(ctx context.Context, f func(*PostList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTimeSeriesStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTimeSeriesStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Pages(ctx context.Context, f func(*ListExecutionResultsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) Pages(ctx context.Context, f func(*ListListingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Pages(ctx context.Context, f func(*ListInventoriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Pages(ctx context.Context, f func(*ListScannedResourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ClaimsSearchCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsSecurityProfilesEnvironmentsComputeEnvironmentScoresCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ComputeEnvironmentScoresResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = pt }(c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SpacesListCall) Pages(ctx context.Context, f func(*ListSpacesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) Pages(ctx context.Context, f func(*ListSharedResourceSubscriptionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (o Oscar) IterateResults(f func(string, int, int, int, time.Duration, time.Duration, time.Duration)) {\n\tfor i, ts := range o.Suits {\n\t\tfor _, tc := range ts.GetCases() {\n\t\t\tcntErr := 0\n\t\t\tif tc.Error != nil {\n\t\t\t\tcntErr = 1\n\t\t\t}\n\t\t\tif cntErr == 0 && tc.CountAssertSuccess == 0 {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\telapsedTotal, elapsedHTTP, elapsedSleep := tc.Elapsed()\n\n\t\t\tf(\n\t\t\t\to.prefix(i)+tc.Name,\n\t\t\t\ttc.CountAssertSuccess,\n\t\t\t\tcntErr,\n\t\t\t\ttc.CountRemoteRequests,\n\t\t\t\telapsedTotal,\n\t\t\t\telapsedHTTP,\n\t\t\t\telapsedSleep,\n\t\t\t)\n\t\t}\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsProcessesRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListRunsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = pt }(c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AnalyticsListCall) Pages(ctx context.Context, f func(*ListAnalyticsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Pages(ctx context.Context, f func(*ListTimeSeriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *JobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) Pages(ctx context.Context, f func(*LicenseAssignmentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) Pages(ctx context.Context, f func(*ListOSPolicyAssignmentRevisionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OffersHistoryListCall) Pages(ctx context.Context, f func(*ListOffersHistoryResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PagesListCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListCall) Pages(ctx context.Context, f func(*ListDataExchangesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsWorkflowsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsMonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsOccurrencesListCall) Pages(ctx context.Context, f func(*ListOccurrencesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ListProjectsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LeadsListCall) Pages(ctx context.Context, f func(*ListLeadsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesVulnerabilityReportsListCall) Pages(ctx context.Context, f func(*ListVulnerabilityReportsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MobileAppsListCall) Pages(ctx context.Context, f func(*MobileAppsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AlbumsListCall) Pages(ctx context.Context, f func(*ListAlbumsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}" ]
[ "0.638546", "0.638546", "0.619373", "0.60504717", "0.6037753", "0.59754544", "0.58251286", "0.57954067", "0.5791087", "0.5761814", "0.5742279", "0.5742164", "0.5712449", "0.5702505", "0.56302", "0.56261736", "0.56261736", "0.56147426", "0.5611694", "0.56075704", "0.55971897", "0.5594965", "0.55933994", "0.5592046", "0.5591114", "0.5585566", "0.55800784", "0.5568035", "0.55598307", "0.55187947", "0.55045", "0.55045", "0.5473387", "0.54536855", "0.545217", "0.544178", "0.5441464", "0.5440477", "0.5437611", "0.54353213", "0.54283625", "0.54101264", "0.5407115", "0.5402562", "0.53900975", "0.53890115", "0.5388679", "0.5385398", "0.5385398", "0.53800803", "0.5379511", "0.53787094", "0.5377002", "0.537624", "0.5363129", "0.53615755", "0.5357984", "0.53578925", "0.5348969", "0.53232443", "0.5320492", "0.53203267", "0.53156924", "0.5315391", "0.5314967", "0.53091735", "0.5303459", "0.5297312", "0.5297312", "0.5290914", "0.5286059", "0.52826273", "0.52761763", "0.52761763", "0.52607447", "0.5258019", "0.525316", "0.52415764", "0.52415764", "0.52415764", "0.52415764", "0.52399343", "0.52354294", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52310234", "0.52253944", "0.52223104", "0.520827", "0.520827", "0.52032226", "0.5194318", "0.51903754", "0.5182758" ]
0.5582276
26
Get: Gets details of a single Execution. name: Name of the resource.
func (r *ProjectsLocationsEvaluationsExecutionsService) Get(name string) *ProjectsLocationsEvaluationsExecutionsGetCall { c := &ProjectsLocationsEvaluationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func GetExecution(ctx *pulumi.Context,\n\tname string, id pulumi.IDInput, state *ExecutionState, opts ...pulumi.ResourceOption) (*Execution, error) {\n\tvar resource Execution\n\terr := ctx.ReadResource(\"keycloak:authentication/execution:Execution\", name, id, state, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func (v *AddDecisionTaskRequest) GetExecution() (o *WorkflowExecution) {\n\tif v != nil && v.Execution != nil {\n\t\treturn v.Execution\n\t}\n\treturn\n}", "func (hc *Actions) Get(name string) (*release.Release, error) {\n\tactGet := action.NewGet(hc.Config)\n\treturn actGet.Run(name)\n}", "func (t *PanicTask) GetExecution() (execute time.Time) {\n\texecute = t.execution\n\treturn\n}", "func getTaskByName(app string, c *gin.Context) (*_5xxDBTask, error) {\n\tdb, err := utils.GetDBFromContext(c)\n\tif err != nil {\n\t\treturn nil, errors.New(\"Unable to access database\")\n\t}\n\n\ttask := _5xxDBTask{}\n\n\terr = db.Get(&task, \"SELECT * FROM _5xx_tasks WHERE app=$1\", app)\n\tif err != nil {\n\t\tif err == sql.ErrNoRows {\n\t\t\treturn nil, sql.ErrNoRows\n\t\t}\n\t\treturn nil, errors.New(\"Unable to access database\")\n\t}\n\treturn &task, nil\n}", "func (c *iperfTasks) Get(name string, options v1.GetOptions) (result *alpha1.IperfTask, err error) {\n\tresult = &alpha1.IperfTask{}\n\terr = c.client.Get().\n\t\tNamespace(c.ns).\n\t\tResource(\"iperftasks\").\n\t\tName(name).\n\t\tVersionedParams(&options, scheme.ParameterCodec).\n\t\tDo().\n\t\tInto(result)\n\treturn\n}", "func (v *AddActivityTaskRequest) GetExecution() (o *WorkflowExecution) {\n\tif v != nil && v.Execution != nil {\n\t\treturn v.Execution\n\t}\n\treturn\n}", "func (r *SdfdownloadtasksOperationsService) Get(name string) *SdfdownloadtasksOperationsGetCall {\n\tc := &SdfdownloadtasksOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsProcessesRunsService) Get(name string) *ProjectsLocationsProcessesRunsGetCall {\n\tc := &ProjectsLocationsProcessesRunsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *InspectOperationsService) Get(name string) *InspectOperationsGetCall {\n\tc := &InspectOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (s *server) GetExec(req *runtimeapi.ExecRequest) (*runtimeapi.ExecResponse, error) {\n\t// TODO: validate the request.\n\ttoken, err := s.cache.Insert(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn &runtimeapi.ExecResponse{\n\t\tUrl: s.buildURL(\"exec\", token),\n\t}, nil\n}", "func (in *Database) GetExec(id string) (*types.Exec, error) {\n\ttxn := in.db.Txn(false)\n\tdefer txn.Abort()\n\traw, err := txn.First(\"exec\", \"id\", id)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif raw == nil {\n\t\treturn nil, fmt.Errorf(\"exec %s not found\", id)\n\t}\n\treturn raw.(*types.Exec), nil\n}", "func (t *TaskList) Get(name string) Task {\n\tt.RLock()\n\tdefer t.RUnlock()\n\treturn t.taskSet[name]\n}", "func (o GetTaskExecutionResultOutput) Id() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetTaskExecutionResult) string { return v.Id }).(pulumi.StringOutput)\n}", "func (m *Manager) getExecutor(name string, info *interfaceInfo) (executor, error) {\n\te, ok := m.executorPool.Load(name)\n\tif !ok {\n\t\tne, err := NewExecutor(info)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\te, _ = m.executorPool.LoadOrStore(name, ne)\n\t}\n\treturn e.(executor), nil\n}", "func (r *ProjectsInstancesService) Get(name string) *ProjectsInstancesGetCall {\n\tc := &ProjectsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (o LaunchOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Launch) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func (e *Executor) GetTask(name string) (task Task, ok bool) {\n\te.lock.RLock()\n\tfor i := len(e.tasks) - 1; i >= 0; i-- {\n\t\tif e.tasks[i].Job.Name() == name {\n\t\t\ttask = e.tasks[i].Task()\n\t\t\tok = true\n\t\t\tbreak\n\t\t}\n\t}\n\te.lock.RUnlock()\n\treturn\n}", "func (e *Executor) Name() string {\n\treturn OperationName\n}", "func (svc *Athena) GetQueryExecution(ctx context.Context, r GetQueryExecutionRequest) (*GetQueryExecutionResult, error) {\n\tout, err := svc.RawGetQueryExecution(ctx, r.ToInput())\n\tif err != nil {\n\t\terr = svc.errWrap(errors.ErrorData{\n\t\t\tErr: err,\n\t\t\tAWSOperation: \"GetQueryExecution\",\n\t\t})\n\t\tsvc.Errorf(err.Error())\n\t\treturn nil, err\n\t}\n\treturn NewGetQueryExecutionResult(out), nil\n}", "func (e *dockerExec) Name() string {\n\treturn e.containerName()\n}", "func (r *ProjectsLocationsProcessesService) Get(name string) *ProjectsLocationsProcessesGetCall {\n\tc := &ProjectsLocationsProcessesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *Runner) Name() string {\n\treturn \"argo.workflow\"\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (s *TestBase) GetWorkflowExecutionInfo(domainID string, workflowExecution workflow.WorkflowExecution) (\n\t*p.WorkflowMutableState, error) {\n\tresponse, err := s.ExecutionManager.GetWorkflowExecution(&p.GetWorkflowExecutionRequest{\n\t\tDomainID: domainID,\n\t\tExecution: workflowExecution,\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn response.State, nil\n}", "func (r *Result) Name() string {\n\treturn r.name\n}", "func (m *executionResponse) ExecutionID() string {\n\treturn m.executionIdField\n}", "func (r *LaunchConfiguration) Name() pulumi.StringOutput {\n\treturn (pulumi.StringOutput)(r.s.State[\"name\"])\n}", "func (execution *Execution) String() string {\n\treturn fmt.Sprintf(`%q`, execution.command.GetArgs())\n}", "func (e Exec) GetExecutionTime() int64 {\n\treturn e.ExecutionTime\n}", "func (ilw *InLogicWarehouse) Get(name string) interface{} {\n\tilw.sync.Lock()\n\tdefer ilw.sync.Unlock()\n\n\tv, success := ilw.warehouses[name]\n\tif success {\n\t\treturn v\n\t}\n\tv = ilw.factory.spawn(name)\n\tif v != nil {\n\t\tilw.warehouses[name] = v\n\t}\n\n\treturn v\n}", "func (t *Task) Name() string {\n\treturn t.opts.name\n}", "func (r *TransferOperationsService) Get(name string) *TransferOperationsGetCall {\n\tc := &TransferOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *RunCommand) Name() string {\n\treturn c.cmd.name\n}", "func (t *Task) Name() string { t.mutex.RLock(); defer t.mutex.RUnlock(); return t.name }", "func getResource(name string, taskInfo *mesos.TaskInfo) *mesos.Resource {\n\tfor _, resource := range taskInfo.Resources {\n\t\tif *resource.Name == name {\n\t\t\treturn resource\n\t\t}\n\t}\n\n\treturn nil\n}", "func (r *ProjectsLocationsEvaluationsService) Get(name string) *ProjectsLocationsEvaluationsGetCall {\n\tc := &ProjectsLocationsEvaluationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsProcessesRunsLineageEventsService) Get(name string) *ProjectsLocationsProcessesRunsLineageEventsGetCall {\n\tc := &ProjectsLocationsProcessesRunsLineageEventsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (s *AppStorage) GetByName(ctx context.Context, name string) (*types.App, error) {\n\n\tlog.V(logLevel).Debugf(\"Storage: App: get by name: %s\", name)\n\n\tif len(name) == 0 {\n\t\terr := errors.New(\"name can not be empty\")\n\t\tlog.V(logLevel).Errorf(\"Storage: App: get app err: %s\", err.Error())\n\t\treturn nil, err\n\t}\n\n\tclient, destroy, err := s.Client()\n\tif err != nil {\n\t\tlog.V(logLevel).Errorf(\"Storage: App: create client err: %s\", err.Error())\n\t\treturn nil, err\n\t}\n\tdefer destroy()\n\n\tapp := new(types.App)\n\tkeyMeta := keyCreate(appStorage, name, \"meta\")\n\tif err := client.Get(ctx, keyMeta, &app.Meta); err != nil {\n\t\tlog.V(logLevel).Errorf(\"Storage: App: get app `%s` meta err: %s\", name, err.Error())\n\t\treturn nil, err\n\t}\n\n\treturn app, nil\n}", "func (o LookupTaskDefinitionResultOutput) Name() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v LookupTaskDefinitionResult) *string { return v.Name }).(pulumi.StringPtrOutput)\n}", "func (r *Runner) Name() string { return RunnerName }", "func (b *Build) GetResult(name string) (Result, error) {\n\tvar Results []Result\n\tvar returnResult Result\n\tif err := b.getResults(); err != nil {\n\t\treturn returnResult, err\n\t}\n\tfor _, task := range b.Tasks {\n\t\tfor _, result := range task.Results {\n\t\t\tif result.Name == name {\n\t\t\t\tResults = append(Results, result)\n\t\t\t}\n\t\t}\n\t}\n\tswitch len(Results) {\n\tcase 0:\n\t\treturn returnResult, errors.New(\"No result named \" + name + \" was found\")\n\tcase 1:\n\t\treturn Results[0], nil\n\tdefault:\n\t\treturn returnResult, errors.New(\"More than one result with the name \" + name + \" was found\")\n\t}\n}", "func (o LookupTaskResultOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupTaskResult) string { return v.Name }).(pulumi.StringOutput)\n}", "func (e *EnvironmentService) Get(name string) (*Environment, error) {\n\turl := fmt.Sprintf(\"environments/%s\", name)\n\treq, err := e.client.MakeRequest(\"GET\", url, nil)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tenvironment := new(Environment)\n\t_, err = e.client.Do(req, &environment)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn environment, nil\n}", "func (e *Exec) GetNameID() string { return e.nameID }", "func (cmd *TsFetchRowCommand) Name() string {\n\treturn cmd.getName(\"TsFetchRow\")\n}", "func (m *executionResponse) ExecutionIndex() int64 {\n\treturn m.executionIndexField\n}", "func (f findPlanetByNameInteractor) Execute(ctx context.Context, input FindPlanetByNameInput) (domain.Planet, error) {\n\tctx, cancel := context.WithTimeout(ctx, f.ctxTimeout*time.Second)\n\tdefer cancel()\n\n\tplanet, err := f.repository.FindByName(ctx, input.ID)\n\tif err != nil {\n\t\treturn f.presenter.Output(domain.Planet{}), err\n\t}\n\n\treturn f.presenter.Output(planet), nil\n}", "func (c *Client) Get(name string) (*Release, error) {\n\treleases, err := c.List(ListParameters{Filter: name})\n\tif err != nil {\n\t\treturn nil, trace.Wrap(err)\n\t}\n\tfor _, release := range releases {\n\t\tif release.Name == name {\n\t\t\treturn &release, nil\n\t\t}\n\t}\n\treturn nil, trace.NotFound(\"release %v not found\", name)\n}", "func (s *RunStore) GetRun(runId string) (*model.RunDetail, error) {\n\tsql, args, err := s.addMetricsAndResourceReferences(\n\t\tsq.Select(runColumns...).\n\t\t\tFrom(\"run_details\").\n\t\t\tWhere(sq.Eq{\"UUID\": runId}).\n\t\t\tLimit(1), nil).\n\t\tToSql()\n\n\tif err != nil {\n\t\treturn nil, util.NewInternalServerError(err, \"Failed to get run: %v\", err.Error())\n\t}\n\tr, err := s.db.Query(sql, args...)\n\tif err != nil {\n\t\treturn nil, util.NewInternalServerError(err, \"Failed to get run: %v\", err.Error())\n\t}\n\tdefer r.Close()\n\truns, err := s.scanRowsToRunDetails(r)\n\n\tif err != nil || len(runs) > 1 {\n\t\treturn nil, util.NewInternalServerError(err, \"Failed to get run: %v\", err.Error())\n\t}\n\tif len(runs) == 0 {\n\t\treturn nil, util.NewResourceNotFoundError(\"Run\", fmt.Sprint(runId))\n\t}\n\tif runs[0].WorkflowRuntimeManifest == \"\" && runs[0].WorkflowSpecManifest != \"\" {\n\t\t// This can only happen when workflow reporting is failed.\n\t\treturn nil, util.NewResourceNotFoundError(\"Failed to get run: %s\", runId)\n\t}\n\treturn runs[0], nil\n}", "func (e *Explorer) Execute(forWallet WalletType, address string) ([]byte, error) {\n\tif e.client == nil {\n\t\te.client = http.DefaultClient\n\t}\n\n\tresp, err := e.client.Get(fmt.Sprintf(e.getURI(forWallet), address))\n\tif err != nil {\n\t\treturn []byte{}, err\n\t}\n\tdefer resp.Body.Close()\n\n\tbuff, err := ioutil.ReadAll(resp.Body)\n\treturn buff, err\n}", "func (r *DeviceManagementScriptRunSummaryRequest) Get(ctx context.Context) (resObj *DeviceManagementScriptRunSummary, err error) {\n\tvar query string\n\tif r.query != nil {\n\t\tquery = \"?\" + r.query.Encode()\n\t}\n\terr = r.JSONRequest(ctx, \"GET\", query, nil, &resObj)\n\treturn\n}", "func (ad *AgentRunCommandReplyType) GetName() contracts.ResultType {\n\treturn contracts.RunCommandResult\n}", "func (GetInstanceInformationCommand) Name() string {\n\treturn getInstanceInformationCommand\n}", "func (m *executionResponse) ExecutionLink() string {\n\treturn m.executionLinkField\n}", "func (c *ProjectService) GetByName(name string) (*Project, *http.Response, error) {\n\tproject := new(Project)\n\tapiError := new(APIError)\n\tpath := fmt.Sprintf(\"byName/%s\", name)\n\tresp, err := c.sling.New().Get(path).Receive(project, apiError)\n\treturn project, resp, relevantError(err, *apiError)\n}", "func (ap *ActivePipelines) GetByName(n string) *gaia.Pipeline {\n\tfor _, pipeline := range ap.GetAll() {\n\t\tif pipeline.Name == n {\n\t\t\treturn &pipeline\n\t\t}\n\t}\n\n\treturn nil\n}", "func (z *zpoolctl) Get(ctx context.Context, name, options string, out []string, properties ...string) *execute {\n\targs := []string{\"get\"}\n\tif len(options) > 0 {\n\t\targs = append(args, options)\n\t}\n\tif len(options) > 0 {\n\t\targs = append(args, options)\n\t}\n\tif out != nil && len(out) > 0 {\n\t\toptions := \"-o \"\n\t\tfor _, o := range out {\n\t\t\toptions += o + \",\"\n\t\t}\n\t\toptions = strings.TrimSuffix(options, \",\")\n\t\targs = append(args, options)\n\t}\n\tif properties != nil {\n\t\tkv := \"\"\n\t\tfor _, p := range properties {\n\t\t\tkv += p + \",\"\n\t\t}\n\t\tkv = strings.TrimSuffix(kv, \",\")\n\t\targs = append(args, kv)\n\t}\n\targs = append(args, name)\n\treturn &execute{ctx: ctx, name: z.cmd, args: args}\n}", "func getName(w http.ResponseWriter, r *http.Request) {\n\tw.Header().Set(\"Content-Type\", \"application/json\")\n\tparams := mux.Vars(r)\n\tresult := get.GetTheName(params[\"id\"])\n\tjson.NewEncoder(w).Encode(result)\n}", "func (m *Manager) GetByName(ctx context.Context, name string) (*hub.ChartRepository, error) {\n\tvar r *hub.ChartRepository\n\terr := m.dbQueryUnmarshal(ctx, &r, \"select get_chart_repository_by_name($1::text)\", name)\n\treturn r, err\n}", "func (d *DI) Get(name string) interface{} {\n\td.mutex.RLock()\n\tv := d.store[name]\n\td.mutex.RUnlock()\n\treturn v\n}", "func (a *ExternalAgentProcess) Name() string {\n\treturn path.Base(a.cmd.Path)\n}", "func (c *Firewall) Get(name string) (Entry, error) {\n\tans := c.container()\n\terr := c.ns.Object(util.Get, c.pather(), name, ans)\n\treturn first(ans, err)\n}", "func (s *state) GetExecutor(id string) (*mesos.ExecutorInfo, error) {\n\tfor _, exec := range s.st.GetExecutors.Executors {\n\t\tif exec.ExecutorInfo.ExecutorID.Value == id {\n\t\t\treturn &exec.ExecutorInfo, nil\n\t\t}\n\t}\n\treturn nil, fmt.Errorf(\"unable to find executor with id %s\", id)\n}", "func (c *CheckRun) GetName() string {\n\tif c == nil || c.Name == nil {\n\t\treturn \"\"\n\t}\n\treturn *c.Name\n}", "func (p *Process) Name() (string, error) {\n\treturn p.NameWithContext(context.Background())\n}", "func (o EvaluationOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Evaluation) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func (r *ProjectsAssignmentsService) Get(name string) *ProjectsAssignmentsGetCall {\n\tc := &ProjectsAssignmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func Get(name string, data interface{}) (string, error) {\n\tif !ready {\n\t\tInit()\n\t}\n\n\tb := new(bytes.Buffer)\n\terr := tpl.ExecuteTemplate(b, name, data)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\treturn b.String(), nil\n}", "func (o *WorkflowBuildTaskMeta) GetName() string {\n\tif o == nil || o.Name == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.Name\n}", "func (c *anypointClient) GetEnvironmentByName(name string) (*Environment, error) {\n\theaders := map[string]string{\n\t\t\"Authorization\": \"Bearer \" + c.auth.GetToken(),\n\t}\n\n\tquery := map[string]string{\n\t\t\"name\": name,\n\t}\n\n\trequest := coreapi.Request{\n\t\tMethod: coreapi.GET,\n\t\tURL: c.baseURL + \"/accounts/api/organizations/\" + c.auth.GetOrgID() + \"/environments\",\n\t\tHeaders: headers,\n\t\tQueryParams: query,\n\t}\n\n\tvar envSearch EnvironmentSearch\n\terr := c.invokeJSON(request, &envSearch)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tif len(envSearch.Data) == 0 {\n\t\treturn nil, nil\n\t}\n\treturn &envSearch.Data[0], nil\n}", "func (svc *wtsService) Get(ctx context.Context, user, name string) (rec *ScriptRecord, err error) {\n\treturn svc.S.Get(ctx, user, name)\n}", "func (c *CreateKubernetesTaskRepo) GetLatestOneByName(name string) (*model.CreateKubernetesTask, error) {\n\tvar old model.CreateKubernetesTask\n\tif err := c.DB.Where(\" name=?\", name).Last(&old).Error; err != nil {\n\t\tif errors.Is(err, gorm.ErrRecordNotFound) {\n\t\t\treturn nil, errors.Wrapf(bcode.ErrLastTaskNotFound, \"get last create task: %v\", err)\n\t\t}\n\t\treturn nil, err\n\t}\n\treturn &old, nil\n}", "func (o LookupIntentResultOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupIntentResult) string { return v.Name }).(pulumi.StringOutput)\n}", "func GetByName(db gorp.SqlExecutor, name string) (*sdk.Migration, error) {\n\tvar mig sdk.Migration\n\n\tif err := db.SelectOne(&mig, \"SELECT * FROM cds_migration WHERE name = $1\", name); err != nil {\n\t\tif err == sql.ErrNoRows {\n\t\t\treturn nil, nil\n\t\t}\n\t\treturn nil, sdk.WrapError(err, \"Cannot get migration\")\n\t}\n\n\treturn &mig, nil\n}", "func (o GetExecutionsResultOutput) Id() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetExecutionsResult) string { return v.Id }).(pulumi.StringOutput)\n}", "func (c *scheduledJobs) Get(name string) (result *batch.ScheduledJob, err error) {\n\tresult = &batch.ScheduledJob{}\n\terr = c.r.Get().Namespace(c.ns).Resource(\"scheduledjobs\").Name(name).Do().Into(result)\n\treturn\n}", "func (e *Environment) Get(name string) (Object, bool) {\n\tobj, ok := e.store[name]\n\tif !ok && e.outer != nil {\n\t\tobj, ok = e.outer.Get(name)\n\t}\n\n\treturn obj, ok\n}", "func (m moduleCommands) Get(name string) Command {\n\tc, ok := m[name]\n\tif ok {\n\t\treturn c\n\t}\n\treturn &doNothingCommand{}\n}", "func (o TaskOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Task) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func (o TaskOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *Task) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func (c *Eth) Get(name string) (Entry, error) {\n c.con.LogQuery(\"(get) ethernet interface %q\", name)\n return c.details(c.con.Get, name)\n}", "func (r a) GetSpecific(engagementRef string) (*http.Response, []byte) {\n return r.client.Get(\"/tasks/v2/tasks/contracts/\" + engagementRef, nil)\n}", "func (o HostingReleaseOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *HostingRelease) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}", "func (a *HyperflexApiService) GetHyperflexHealthCheckExecutionByMoid(ctx context.Context, moid string) ApiGetHyperflexHealthCheckExecutionByMoidRequest {\n\treturn ApiGetHyperflexHealthCheckExecutionByMoidRequest{\n\t\tApiService: a,\n\t\tctx: ctx,\n\t\tmoid: moid,\n\t}\n}", "func (s *ShellTask) TaskName() string {\n\treturn s.name\n}", "func (s *ShellTask) TaskName() string {\n\treturn s.name\n}", "func (s AutomationExecution) String() string {\n\treturn awsutil.Prettify(s)\n}", "func (r *ProjectsInstancesTablesService) Get(name string) *ProjectsInstancesTablesGetCall {\n\tc := &ProjectsInstancesTablesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func GetTaskByApplicationName(applicationName string) ([]types.TaskResponse, error) {\n\tgetTaskResponse := []types.TaskResponse{}\n\terr := HTTPClient(http.MethodGet, fmt.Sprintf(GetTaskByApplicationNameURI, applicationName), nil, &getTaskResponse)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn getTaskResponse, nil\n}", "func (e *Environment) Get(name string) (Object, bool) {\n\tobj, ok := e.store[name]\n\t// attempt to load from enclosing environment\n\tif !ok && e.outer != nil {\n\t\tobj, ok = e.outer.Get(name)\n\t}\n\treturn obj, ok\n}", "func (r *DeviceHealthScriptRunSummaryRequest) Get(ctx context.Context) (resObj *DeviceHealthScriptRunSummary, err error) {\n\tvar query string\n\tif r.query != nil {\n\t\tquery = \"?\" + r.query.Encode()\n\t}\n\terr = r.JSONRequest(ctx, \"GET\", query, nil, &resObj)\n\treturn\n}", "func (o LookupRumApplicationResultOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v LookupRumApplicationResult) string { return v.Name }).(pulumi.StringOutput)\n}", "func (c *Client) InspectExec(id string) (*ExecInspect, error) {\n\tpath := fmt.Sprintf(\"/exec/%s/json\", id)\n\tresp, err := c.do(http.MethodGet, path, doOptions{})\n\tif err != nil {\n\t\tvar e *Error\n\t\tif errors.As(err, &e) && e.Status == http.StatusNotFound {\n\t\t\treturn nil, &NoSuchExec{ID: id}\n\t\t}\n\t\treturn nil, err\n\t}\n\tdefer resp.Body.Close()\n\tvar exec ExecInspect\n\tif err := json.NewDecoder(resp.Body).Decode(&exec); err != nil {\n\t\treturn nil, err\n\t}\n\treturn &exec, nil\n}", "func (client *AlertConfigClient) GetByName(name string) (*models.AlertConfig, error) {\n\tvar obj *models.AlertConfig\n\terr := client.aviSession.GetObjectByName(\"alertconfig\", name, &obj)\n\treturn obj, err\n}", "func (o ResourcePolicyExemptionOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *ResourcePolicyExemption) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)\n}" ]
[ "0.657244", "0.5418349", "0.5365223", "0.536056", "0.52809787", "0.5280452", "0.5274776", "0.524214", "0.52035123", "0.51846665", "0.51662016", "0.51456416", "0.5116422", "0.51160043", "0.50522625", "0.5036396", "0.5031127", "0.5013176", "0.4999702", "0.4979236", "0.49758342", "0.49728665", "0.49668008", "0.4959804", "0.4959804", "0.4959804", "0.4959804", "0.4959804", "0.49479675", "0.49440128", "0.49160743", "0.49152097", "0.49076757", "0.4902395", "0.4888792", "0.4886001", "0.48815084", "0.48798707", "0.48777556", "0.4877169", "0.48766476", "0.48745465", "0.48659804", "0.4859472", "0.48537382", "0.48524797", "0.4829364", "0.48284644", "0.48267153", "0.48221642", "0.48196578", "0.48181593", "0.4808605", "0.48058727", "0.4796733", "0.47904998", "0.47783646", "0.4774714", "0.47743407", "0.47549626", "0.47513053", "0.47509006", "0.4749849", "0.4741872", "0.47390893", "0.47384858", "0.47295064", "0.4726013", "0.47193238", "0.4715685", "0.470997", "0.47080418", "0.46950358", "0.4685782", "0.46826208", "0.46821758", "0.46817297", "0.46804792", "0.46764225", "0.46753633", "0.46633866", "0.46615475", "0.464896", "0.4648436", "0.4648436", "0.46483138", "0.46422464", "0.4638574", "0.4633258", "0.46279338", "0.46279338", "0.46226874", "0.4616368", "0.46156377", "0.461523", "0.46118447", "0.4606053", "0.46043667", "0.46039683", "0.46037087" ]
0.5981061
1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6459498", "0.641031", "0.6383858", "0.63299745", "0.6295616", "0.6227746", "0.6194664", "0.6184213", "0.61649114", "0.61429536", "0.6127212", "0.6126502", "0.6125338", "0.61172533", "0.6102377", "0.6069715", "0.6069715", "0.60631794", "0.6050011", "0.60477716", "0.60221386", "0.599619", "0.599205", "0.59787214", "0.59612584", "0.59612125", "0.59612125", "0.5951695", "0.5951686", "0.5950383", "0.59409153", "0.593734", "0.59359866", "0.59178615", "0.5916065", "0.5915644", "0.5912088", "0.58959603", "0.5893093", "0.58895624", "0.5888954", "0.588125", "0.58738095", "0.587063", "0.5865121", "0.5865121", "0.5865121", "0.5865121", "0.5865121", "0.586512", "0.586512", "0.5865095", "0.5864413", "0.58639526", "0.586016", "0.5850131", "0.5847391", "0.5846598", "0.58449745", "0.5833619", "0.5833099", "0.5831061", "0.5831061", "0.5821885", "0.5815921", "0.58126885", "0.58049953", "0.58001655", "0.57961345", "0.5792424", "0.5791129", "0.57867914", "0.5781504", "0.57810074", "0.57753927", "0.5775059", "0.57656956", "0.5765202", "0.5763614", "0.5760887", "0.5751979", "0.57483256", "0.574779", "0.57477784", "0.57441366", "0.57408154", "0.5735421", "0.5730855", "0.57274175", "0.5726566", "0.5726323", "0.57215667", "0.57212454", "0.57212454", "0.5718145", "0.56965476", "0.5694678", "0.5685891", "0.56845987", "0.5684456", "0.56750983" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsEvaluationsExecutionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsExecutionsGetCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.7856496", "0.7742822", "0.7717616", "0.7656489", "0.7656489", "0.7656489", "0.7656489", "0.7656489", "0.764745", "0.7599251", "0.7594244", "0.7593003", "0.7593003", "0.7582112", "0.7575775", "0.757516", "0.7568463", "0.75550735", "0.7544313", "0.7531431", "0.7494712", "0.748359", "0.74628174", "0.7462035", "0.74525476", "0.7430639", "0.74290115", "0.74250096", "0.7414321", "0.7414314", "0.7414314", "0.741028", "0.7405137", "0.7405137", "0.74025834", "0.73993003", "0.7392812", "0.7385967", "0.7379802", "0.7378386", "0.73662925", "0.73605186", "0.7358364", "0.73547435", "0.73509896", "0.73509896", "0.73509896", "0.73509896", "0.73509896", "0.73509896", "0.734928", "0.73396087", "0.7335001", "0.7315132", "0.7309396", "0.7308368", "0.73059803", "0.73059803", "0.7305136", "0.7303882", "0.7297511", "0.7293003", "0.72871786", "0.7287031", "0.7283521", "0.727733", "0.72764385", "0.7273669", "0.7272506", "0.72723484", "0.7270259", "0.7270134", "0.7267481", "0.72614896", "0.7260782", "0.7256322", "0.7255167", "0.72550255", "0.72542423", "0.7252705", "0.7251546", "0.72484636", "0.724508", "0.72396356", "0.7239402", "0.72361666", "0.72361666", "0.72340447", "0.72317785", "0.72301507", "0.72289985", "0.7225398", "0.7221377", "0.72150767", "0.72139066", "0.7212688", "0.7211011", "0.7207203", "0.7206738", "0.7206639", "0.7206639" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsGetCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.66235137", "0.64344084", "0.6383178", "0.6270063", "0.6144445", "0.6144445", "0.6143892", "0.612991", "0.6124678", "0.6120316", "0.6096121", "0.6080446", "0.60695136", "0.6067953", "0.60596967", "0.6059417", "0.60566366", "0.60449743", "0.60237515", "0.6011819", "0.6006558", "0.59965366", "0.59898025", "0.5984241", "0.5981279", "0.59773576", "0.59771824", "0.5973381", "0.59656495", "0.59656495", "0.59557056", "0.5953212", "0.5951194", "0.59508395", "0.594157", "0.5938914", "0.59337056", "0.5933108", "0.59298694", "0.59268975", "0.5915904", "0.5912403", "0.5911474", "0.5910315", "0.5905953", "0.5900835", "0.58967566", "0.58963144", "0.5896037", "0.5887992", "0.5887992", "0.5881177", "0.58786774", "0.5875623", "0.5871704", "0.5871704", "0.5869171", "0.5861542", "0.5859896", "0.585379", "0.5851625", "0.58509046", "0.5850036", "0.5841373", "0.5839679", "0.5838723", "0.58365595", "0.5836501", "0.583633", "0.58358836", "0.58353436", "0.58346283", "0.58267444", "0.5825405", "0.58225656", "0.58145076", "0.58108354", "0.58098435", "0.58071196", "0.58070546", "0.58068985", "0.5804559", "0.580315", "0.5801571", "0.5799761", "0.5799452", "0.57993793", "0.5798138", "0.57954276", "0.5794124", "0.5793289", "0.5788691", "0.5788427", "0.5787556", "0.57857794", "0.57827073", "0.5781179", "0.5781179", "0.5775117", "0.5774034", "0.5772883" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsExecutionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74045575", "0.7240345", "0.7231556", "0.72286886", "0.7225144", "0.7220892", "0.7211064", "0.7204605", "0.7200339", "0.71941656", "0.7188011", "0.7188011", "0.71877944", "0.718559", "0.71789914", "0.7176322", "0.7176322", "0.7171874", "0.71623826", "0.71602637", "0.7144154", "0.7144154", "0.7144154", "0.7143109", "0.7139234", "0.7133915", "0.71298724", "0.7129597", "0.7122606", "0.7116456", "0.71134925", "0.71098983", "0.71042293", "0.71042293", "0.7101177", "0.7099879", "0.7099349", "0.70980054", "0.7097353", "0.70958745", "0.70953804", "0.7091542", "0.70892286", "0.7088931", "0.7087422", "0.7085846", "0.7073104", "0.70707655", "0.70707655", "0.7064144", "0.7058561", "0.7056006", "0.7055869", "0.7055869", "0.70535403", "0.70535403", "0.70534354", "0.7052519", "0.70511025", "0.705056", "0.7049734", "0.7049211", "0.7047664", "0.7045296", "0.70414394", "0.703803", "0.70379484", "0.7031038", "0.70308185", "0.7030429", "0.70285296", "0.7028526", "0.7028526", "0.7028141", "0.70266974", "0.70266426", "0.702373", "0.702373", "0.7022347", "0.70220834", "0.70220834", "0.7021023", "0.7018856", "0.701855", "0.701745", "0.70173943", "0.7016581", "0.70094526", "0.7008969", "0.7008969", "0.7008199", "0.70076936", "0.70074576", "0.70039994", "0.7002133", "0.7000649", "0.6999397", "0.6999238", "0.6998797", "0.6995897", "0.6994625" ]
0.0
-1
Filter sets the optional parameter "filter": Filtering results
func (c *ProjectsLocationsEvaluationsExecutionsListCall) Filter(filter string) *ProjectsLocationsEvaluationsExecutionsListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolReservationListRequest) Filter(filter string) ApiGetIqnpoolReservationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Filter(filter string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPhysicalPortListRequest) Filter(filter string) ApiGetEtherPhysicalPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Filter(filter string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *NestedSort) Filter(filter Query) *NestedSort {\n\ts.filter = filter\n\treturn s\n}", "func (s *FieldSort) Filter(filter Query) *FieldSort {\n\ts.filter = filter\n\treturn s\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherNetworkPortListRequest) Filter(filter string) ApiGetEtherNetworkPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPortChannelListRequest) Filter(filter string) ApiGetEtherPortChannelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherHostPortListRequest) Filter(filter string) ApiGetEtherHostPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsOptimizedHostStatsGetCall) Filter(filter string) *OrganizationsOptimizedHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersGetRequest) Filter(key string, value string) ApiDatacentersGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *Searcher) Filter(filter *Filter, values *resource.MetaValues) *Searcher {\n\tnewSearcher := s.clone()\n\tif newSearcher.filters == nil {\n\t\tnewSearcher.filters = map[*Filter]*resource.MetaValues{}\n\t}\n\tnewSearcher.filters[filter] = values\n\treturn newSearcher\n}", "func (r ApiGetHyperflexHypervisorVirtualMachineListRequest) Filter(filter string) ApiGetHyperflexHypervisorVirtualMachineListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Filter(filter string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *PcloudNetworksGetallParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (q *Query) Filter(fn Filter) error {\n\terr, Answer := fn(q.Answer)\n\tif err == nil {\n\t\tq.Answer = Answer\n\t\treturn nil\n\t}\n\treturn err\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetIqnpoolLeaseListRequest) Filter(filter string) ApiGetIqnpoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolBlockListRequest) Filter(filter string) ApiGetIqnpoolBlockListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Filter(filter string) ApiGetHyperflexDriveListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmBackupInfoListRequest) Filter(filter string) ApiGetHyperflexVmBackupInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (a *AliasAddAction) Filter(filter Query) *AliasAddAction {\n\ta.filter = filter\n\treturn a\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Filter(filter string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsOptimizedStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filters ...FilterOption) Option {\n\treturn func(stackdriver *Stackdriver) {\n\t\tfor i, filterOpt := range filters {\n\t\t\tf := &filter{}\n\t\t\tfilterOpt(f)\n\n\t\t\tif i != 0 || len(stackdriver.Builder.Model.MetricQuery.Filters) != 0 {\n\t\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, \"AND\")\n\t\t\t}\n\n\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, f.leftOperand, f.operator, f.rightOperand)\n\t\t}\n\t}\n}", "func (r ApiGetHyperflexSoftwareVersionPolicyListRequest) Filter(filter string) ApiGetHyperflexSoftwareVersionPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolMemberListRequest) Filter(filter string) ApiGetIqnpoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolMemberListRequest) Filter(filter string) ApiGetResourcepoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersLansNicsGetRequest) Filter(key string, value string) ApiDatacentersLansNicsGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckPackageChecksumListRequest) Filter(filter string) ApiGetHyperflexHealthCheckPackageChecksumListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(pattern string) option {\n\treturn func(b *Benchmark) { b.filter = pattern }\n}", "func (r ApiGetHyperflexHypervisorHostListRequest) Filter(filter string) ApiGetHyperflexHypervisorHostListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (q *Query) Filter(rule string) *Query {\n\tq.headers = append(q.headers, \"Filter: \"+rule)\n\treturn q\n}", "func (o *SearchKeywordChunkedParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (res *Resource) Filter(filter *Filter) {\n\tfilter.Resource = res\n\n\tif filter.Label == \"\" {\n\t\tfilter.Label = utils.HumanizeString(filter.Name)\n\t}\n\n\tif filter.Config != nil {\n\t\tfilter.Config.ConfigureQORAdminFilter(filter)\n\t}\n\n\tif filter.Handler == nil {\n\t\t// generate default handler\n\t\tfilter.Handler = func(db *gorm.DB, filterArgument *FilterArgument) *gorm.DB {\n\t\t\tif metaValue := filterArgument.Value.Get(\"Value\"); metaValue != nil {\n\t\t\t\treturn defaultFieldFilter(res, []string{filter.Name}, utils.ToString(metaValue.Value), db, filterArgument.Context)\n\t\t\t}\n\t\t\treturn db\n\t\t}\n\t}\n\n\tif filter.Type != \"\" {\n\t\tres.filters = append(res.filters, filter)\n\t} else {\n\t\tutils.ExitWithMsg(\"Invalid filter definition %v for resource %v\", filter.Name, res.Name)\n\t}\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionEntryListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(f *protocol.Filter) DiscoverOption {\n\treturn func(o *dOpts) {\n\t\to.filter = f\n\t}\n}", "func (r ApiGetHyperflexDevicePackageDownloadStateListRequest) Filter(filter string) ApiGetHyperflexDevicePackageDownloadStateListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func _filter() {\n\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (o *StatsKeywordParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Filter(filter string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsTimeSeriesListCall) Filter(filter string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (m *MetricFilter) Filter(filter shared.Filter) *MetricFilter {\n\tm.filterList = append(m.filterList, filter)\n\treturn m\n}", "func (r ApiGetHyperflexWitnessConfigurationListRequest) Filter(filter string) ApiGetHyperflexWitnessConfigurationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r *BaseRequest) Filter(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$filter\", value)\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Filter(filter string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}" ]
[ "0.7613598", "0.7315494", "0.7232339", "0.7218272", "0.718892", "0.7164107", "0.7158694", "0.7139965", "0.7118423", "0.7100993", "0.70964247", "0.7096286", "0.7068016", "0.7065497", "0.7045366", "0.7037611", "0.6991834", "0.6979771", "0.6970935", "0.69704115", "0.69668376", "0.69624966", "0.6946899", "0.6940865", "0.6937085", "0.69334555", "0.69258064", "0.6922641", "0.69202876", "0.6918513", "0.6913101", "0.6904955", "0.6896108", "0.68921983", "0.6881488", "0.68692154", "0.6868029", "0.685499", "0.6853894", "0.68468875", "0.6842761", "0.68372935", "0.6834632", "0.68330634", "0.6812836", "0.6804254", "0.68039936", "0.68018657", "0.67969865", "0.6782054", "0.67790306", "0.67751974", "0.67732805", "0.6763486", "0.6756884", "0.67556393", "0.675486", "0.6753101", "0.6747149", "0.67406666", "0.67394966", "0.67297745", "0.6729561", "0.67259973", "0.67228514", "0.6720981", "0.67203796", "0.67077154", "0.6705449", "0.6700102", "0.6694638", "0.6689938", "0.66797054", "0.6678732", "0.6669409", "0.66664135", "0.6653516", "0.66404784", "0.6640113", "0.66293675", "0.6628905", "0.6625034", "0.6624392", "0.662122", "0.6616402", "0.65964997", "0.6592639", "0.6590885", "0.65908194", "0.65831935", "0.6576503", "0.6556811", "0.65451556", "0.6536826", "0.6530497", "0.6507959", "0.6506637", "0.65063953", "0.65031546", "0.6496995", "0.6469955" ]
0.0
-1
OrderBy sets the optional parameter "orderBy": Field to sort by. See for more details.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsEvaluationsExecutionsListCall { c.urlParams_.Set("orderBy", orderBy) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *Select) OrderBy(fieldName ...string) *Select {\n\ts.orderBy = fieldName\n\treturn s\n}", "func (p *queryPlan) orderBy() {\n\torder := p.stm.OrderByConfig()\n\tif len(order) <= 0 {\n\t\treturn\n\t}\n\ttracer.V(2).Trace(p.tracer, func() *tracer.Arguments {\n\t\treturn &tracer.Arguments{\n\t\t\tMsgs: []string{\"Ordering by \" + order.String()},\n\t\t}\n\t})\n\tp.tbl.Sort(order)\n}", "func (q *Query) OrderBy(field_name string, desc bool) *Query {\n\tq.order_by = append(q.order_by, query.Order{\n\t\tField: field_name,\n\t\tDesc: desc,\n\t})\n\treturn q\n}", "func (q *Query) OrderBy(orderBys ...string) *Query {\n\tq.orderBys = append(q.orderBys, orderBys...)\n\treturn q\n}", "func OrderBy(query string) QueryOption {\n\treturn newFuncQueryOption(func(wrapper *QueryWrapper) {\n\t\twrapper.order = query\n\t\twrapper.queryLen += 2\n\t})\n}", "func (ub *UpdateBuilder) OrderBy(col ...string) *UpdateBuilder {\n\tub.orderByCols = col\n\tub.marker = updateMarkerAfterOrderBy\n\treturn ub\n}", "func (o *QtreeCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (q *queryImpl) OrderBy(orderBys ...string) Query {\n\tq.orderBys = append(q.orderBys, orderBys...)\n\treturn q\n}", "func (o *FileInfoCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (q *Query) OrderBy(bys ...string) *Query {\n\tq.orderBys = append(q.orderBys, bys...)\n\treturn q\n}", "func (b *SelectBuilder) OrderBy(exprs ...interface{}) *SelectBuilder {\n\tb.Select.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (ub *UpdateBuilder) OrderBy(\n\torderBys ...string,\n) *UpdateBuilder {\n\tub.sql = ub.sql.OrderBy(orderBys...)\n\treturn ub\n}", "func (q *Query) OrderBy(expression string, asc bool) *Query {\n\tq.ordering = append(q.ordering, &order{expression, asc})\n\treturn q\n}", "func (sb *SQLBuilder) OrderBy(operator string, fields ...string) *SQLBuilder {\n\tvar buf strings.Builder\n\n\tbuf.WriteString(\"ORDER BY \")\n\n\tfor k, field := range fields {\n\n\t\tbuf.WriteString(field)\n\n\t\tif k != len(fields)-1 {\n\t\t\tbuf.WriteString(\",\")\n\t\t}\n\t}\n\n\tbuf.WriteString(\" \")\n\tbuf.WriteString(operator)\n\n\tsb._orderBy = buf.String()\n\n\treturn sb\n}", "func (i *Item) OrderBy() string {\n\tif i.orderBy != \"\" {\n\t\treturn i.orderBy\n\t}\n\tswitch key := i.Key.(type) {\n\tcase Order:\n\t\ti.orderBy = key.OrderBy()\n\tcase string:\n\t\ti.orderBy = key\n\tcase fmt.Stringer:\n\t\ti.orderBy = key.String()\n\tdefault:\n\t\ti.orderBy = fmt.Sprint(key)\n\t}\n\treturn i.orderBy\n}", "func (q ReleaseQuery) OrderBy(cmd string) ReleaseQuery {\n\tq.builder = q.builder.OrderBy(cmd)\n\treturn q\n}", "func (fb *Firebase) OrderBy(value string) *Firebase {\n\tc := fb.copy()\n\tif value != \"\" {\n\t\tc.params.Set(orderByParam, value)\n\t} else {\n\t\tc.params.Del(orderByParam)\n\t}\n\treturn c\n}", "func (o *ListScansParams) SetOrderBy(orderBy *string) {\n\to.OrderBy = orderBy\n}", "func (r *BaseRequest) OrderBy(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$orderby\", value)\n}", "func OrderBy(field string, asc bool) Query {\n\treturn func(db *gorm.DB) *gorm.DB {\n\t\tif asc {\n\t\t\treturn db.Order(field + \" ASC\")\n\t\t}\n\n\t\treturn db.Order(field + \" DESC\")\n\t}\n}", "func (r ApiDatacentersGetRequest) OrderBy(orderBy string) ApiDatacentersGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func (b *QueryBuilder) OrderBy(nodes ...NodeI) {\n\tb.OrderBys = append(b.OrderBys, nodes...)\n}", "func (o *GetSMSitemsParams) SetOrderBy(orderBy string) {\n\to.OrderBy = orderBy\n}", "func (c *commentsQueryBuilder) OrderBy(fields ...string) *commentsQueryBuilder {\n\tif c.err != nil {\n\t\treturn c\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tc.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Comments'\")\n\t\t\treturn c\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Comments.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tc.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Comments'\", field)\n\t\t\treturn c\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tc.builder.OrderBy(sortFields...)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) OrderBy(orderBy string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (o *GetInterceptionitemsParams) SetOrderBy(orderBy string) {\n\to.OrderBy = orderBy\n}", "func (o *EmsEventCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (q Query) OrderBy(key string, ascending bool) Query {\n\tq[orderByKey] = Ordering{key, ascending}\n\treturn q\n}", "func (o *AccountCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (m *AssignmentFilterEvaluateRequest) SetOrderBy(value []string)() {\n err := m.GetBackingStore().Set(\"orderBy\", value)\n if err != nil {\n panic(err)\n }\n}", "func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetOrderBy(_orderBy string) error {\n\tr._orderBy = _orderBy\n\tr.Set(\"order_by\", _orderBy)\n\treturn nil\n}", "func (r ApiDatacentersLansGetRequest) OrderBy(orderBy string) ApiDatacentersLansGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func OrderBy(order Order, fieldPaths ...interface{}) QueryOptions {\n\treturn func(query *Query) (*Query, error) {\n\t\tif len(fieldPaths) == 0 {\n\t\t\treturn query, nil\n\t\t}\n\t\tvar fp []interface{}\n\t\tfor _, field := range fieldPaths {\n\t\t\tif fieldString, ok := field.(string); ok {\n\t\t\t\tfp = append(fp, map[string]interface{}{fieldString: orders[order]})\n\t\t\t} else {\n\t\t\t\treturn nil, errors.New(\"field path type can be only string\")\n\t\t\t}\n\t\t}\n\t\tresMap, err := mergeQueryMaps(query.content,\n\t\t\tmap[string]interface{}{operations[ORDER_BY]: fp})\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tquery.content = resMap.(map[string]interface{})\n\t\treturn query, nil\n\t}\n}", "func (p *postsQueryBuilder) OrderBy(fields ...string) *postsQueryBuilder {\n\tif p.err != nil {\n\t\treturn p\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tp.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Posts'\")\n\t\t\treturn p\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Posts.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tp.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Posts'\", field)\n\t\t\treturn p\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tp.builder.OrderBy(sortFields...)\n\treturn p\n}", "func (b *blogsQueryBuilder) OrderBy(fields ...string) *blogsQueryBuilder {\n\tif b.err != nil {\n\t\treturn b\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tb.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Blogs'\")\n\t\t\treturn b\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Blogs.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tb.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Blogs'\", field)\n\t\t\treturn b\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tb.builder.OrderBy(sortFields...)\n\treturn b\n}", "func (b *UpdateBuilder) OrderBy(exprs ...interface{}) *UpdateBuilder {\n\tb.Update.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (s *ListConfigurationsInput) SetOrderBy(v []*OrderByElement) *ListConfigurationsInput {\n\ts.OrderBy = v\n\treturn s\n}", "func (o *BucketsCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (o *ApplicationComponentSnapshotCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (s *ListProfileTimesInput) SetOrderBy(v string) *ListProfileTimesInput {\n\ts.OrderBy = &v\n\treturn s\n}", "func (stmt *statement) OrderBy(expr ...string) Statement {\n\tstmt.addPart(posOrderBy, \"ORDER BY\", strings.Join(expr, \", \"), nil, \", \")\n\treturn stmt\n}", "func (s *TabularConditions) SetOrderBy(v []*OrderBy) *TabularConditions {\n\ts.OrderBy = v\n\treturn s\n}", "func (o *PortsetCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (self *TStatement) OrderBy(clause string) *TStatement {\r\n\tif len(self.OrderByClause) > 0 {\r\n\t\tself.OrderByClause += \", \"\r\n\t}\r\n\tself.OrderByClause += clause\r\n\treturn self\r\n}", "func (s *Session) OrderBy(orderby string) *Session {\n\ts.statement.OrderBy(orderby)\n\treturn s\n}", "func (session *Session) OrderBy(order string) *Session {\n\tsession.Statement.OrderBy(order)\n\treturn session\n}", "func (q ReleaseGroupQuery) OrderBy(cmd string) ReleaseGroupQuery {\n\tq.builder = q.builder.OrderBy(cmd)\n\treturn q\n}", "func (b *DeleteBuilder) OrderBy(exprs ...interface{}) *DeleteBuilder {\n\tb.Delete.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func OrderBy(clause string) QueryMod {\n\treturn func(q *queries.Query) {\n\t\tqueries.AppendOrderBy(q, clause)\n\t}\n}", "func (session *Session) OrderBy(order string) *Session {\n\tsession.Session = session.Session.OrderBy(order)\n\treturn session\n}", "func ExampleZSelectBuilder_OrderBy() {\n\tuser := q.T(\"user\")\n\tfmt.Println(\n\t\t\"Single order: \",\n\t\tq.Select().From(user).OrderBy(user.C(\"age\"), true),\n\t)\n\tfmt.Println(\n\t\t\"Multiple order:\",\n\t\tq.Select().From(user).OrderBy(user.C(\"age\"), true).OrderBy(\n\t\t\tq.CharLength(user.C(\"name\")), false),\n\t)\n\t// Output:\n\t// Single order: SELECT * FROM \"user\" ORDER BY \"user\".\"age\" ASC []\n\t// Multiple order: SELECT * FROM \"user\" ORDER BY \"user\".\"age\" ASC, CHAR_LENGTH(\"user\".\"name\") DESC []\n}", "func (c *OffersHistoryListCall) OrderBy(orderBy string) *OffersHistoryListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiDatacentersLansNicsGetRequest) OrderBy(orderBy string) ApiDatacentersLansNicsGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func (w *Wrapper) buildOrderBy() (query string) {\n\tif len(w.orders) == 0 {\n\t\treturn\n\t}\n\tquery += \"ORDER BY \"\n\tfor _, v := range w.orders {\n\t\tswitch len(v.args) {\n\t\t// .OrderBy(\"RAND()\")\n\t\tcase 0:\n\t\t\tquery += fmt.Sprintf(\"%s, \", v.column)\n\t\t// .OrderBy(\"ID\", \"ASC\")\n\t\tcase 1:\n\t\t\tquery += fmt.Sprintf(\"%s %s, \", v.column, v.args[0])\n\t\t// .OrderBy(\"UserGroup\", \"ASC\", \"SuperUser\", \"Admin\")\n\t\tdefault:\n\t\t\tquery += fmt.Sprintf(\"FIELD (%s, %s) %s, \", v.column, w.bindParams(v.args[1:]), v.args[0])\n\t\t}\n\t}\n\tquery = trim(query)\n\treturn\n}", "func (w *Wrapper) OrderBy(column string, args ...interface{}) *Wrapper {\n\tw.orders = append(w.orders, order{\n\t\tcolumn: column,\n\t\targs: args,\n\t})\n\treturn w\n}", "func (c *LeadsListCall) OrderBy(orderBy string) *LeadsListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (s *FieldSort) Order(ascending bool) *FieldSort {\n\ts.ascending = ascending\n\treturn s\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Orderby(orderby string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Orderby(orderby string) ApiGetHyperflexDriveListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (SqlBuilder *SqlBuilder) OrderByField(col string, n int) *SqlBuilder {\n\tvar sql string\n\tquesStr := \"?\"\n\tfor i := 1; i < n; i++ {\n\t\tquesStr += \",?\"\n\t}\n\tif !SqlBuilder.hasOrder {\n\t\tsql = SqlBuilder.sql + \" ORDER BY FIELD (\" + col + \",\" + quesStr + \")\"\n\t\tSqlBuilder.hasOrder = true\n\t}\n\tSqlBuilder.sql = sql\n\treturn SqlBuilder\n}", "func (o *SecurityCertificateCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Orderby(orderby string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Orderby(orderby string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Orderby(orderby string) ApiGetHyperflexNodeListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Orderby(orderby string) ApiGetBulkRequestListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *ProjectsTracesListCall) OrderBy(orderBy string) *ProjectsTracesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetBulkResultListRequest) Orderby(orderby string) ApiGetBulkResultListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (b UpdateBuilder) OrderBy(orderBys ...string) WhereConditions {\n\treturn builder.Extend(b, \"OrderBys\", orderBys).(UpdateBuilder)\n}", "func (r ApiGetHyperflexExtFcStoragePolicyListRequest) Orderby(orderby string) ApiGetHyperflexExtFcStoragePolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Orderby(orderby string) ApiGetHyperflexEncryptionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *ProjectsLogEntriesListCall) OrderBy(orderBy string) *ProjectsLogEntriesListCall {\n\tc.params_.Set(\"orderBy\", fmt.Sprintf(\"%v\", orderBy))\n\treturn c\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Orderby(orderby string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Orderby(orderby string) ApiGetBulkSubRequestObjListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexAutoSupportPolicyListRequest) Orderby(orderby string) ApiGetHyperflexAutoSupportPolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Orderby(orderby string) ApiGetHyperflexVolumeListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (query *Query) CleanOrderBy() *Query {\n\treturn query.clean(ORDER_BY)\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Orderby(orderby string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Orderby(orderby string) ApiGetHyperflexConfigResultListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (wfq *WithFieldsQuery) Order(o ...OrderFunc) *WithFieldsQuery {\n\twfq.order = append(wfq.order, o...)\n\treturn wfq\n}", "func (r ApiGetHyperflexExtIscsiStoragePolicyListRequest) Orderby(orderby string) ApiGetHyperflexExtIscsiStoragePolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Orderby(orderby string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexAlarmListRequest) Orderby(orderby string) ApiGetHyperflexAlarmListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (eq *EntityQuery) Order(o ...OrderFunc) *EntityQuery {\n\teq.order = append(eq.order, o...)\n\treturn eq\n}", "func (r ApiGetHyperflexServerModelListRequest) Orderby(orderby string) ApiGetHyperflexServerModelListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (s UserSet) OrderBy(exprs ...string) m.UserSet {\n\tres := s.Collection().Call(\"OrderBy\", exprs)\n\tresTyped := res.(models.RecordSet).Collection().Wrap(\"User\").(m.UserSet)\n\treturn resTyped\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Orderby(orderby string) ApiGetBulkMoDeepClonerListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Orderby(orderby string) ApiGetBulkExportedItemListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (q *PollOptionQuery) Order(cols ...kallax.ColumnOrder) *PollOptionQuery {\n\tq.BaseQuery.Order(cols...)\n\treturn q\n}", "func (r ApiGetEtherPortChannelListRequest) Orderby(orderby string) ApiGetEtherPortChannelListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) OrderBy() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey) *string { return v.OrderBy }).(pulumi.StringPtrOutput)\n}", "func (q *Query) Order(order string) *Query {\n\tq.order = strings.ToUpper(order)\n\treturn q\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Orderby(orderby string) ApiGetHyperflexAppCatalogListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (tq *TeamQuery) Order(o ...OrderFunc) *TeamQuery {\n\ttq.order = append(tq.order, o...)\n\treturn tq\n}", "func (c *CompaniesGetCall) OrderBy(orderBy string) *CompaniesGetCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Orderby(orderby string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Orderby(orderby string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Orderby(orderby string) ApiGetHyperflexLicenseListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Orderby(orderby string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Orderby(orderby string) ApiGetBulkExportListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Orderby(orderby string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexUcsmConfigPolicyListRequest) Orderby(orderby string) ApiGetHyperflexUcsmConfigPolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}" ]
[ "0.80234635", "0.73620516", "0.72596145", "0.7256512", "0.72447336", "0.7177639", "0.7175872", "0.7154904", "0.7139678", "0.7134845", "0.7126617", "0.71250015", "0.7105163", "0.7103239", "0.709237", "0.7073128", "0.70594877", "0.70565844", "0.69954395", "0.6985819", "0.69823337", "0.6964214", "0.693911", "0.69289804", "0.6919511", "0.69008386", "0.689606", "0.68908083", "0.68526435", "0.68459517", "0.6803437", "0.67916536", "0.67716736", "0.6756082", "0.6709268", "0.6704305", "0.6703358", "0.6701067", "0.6699058", "0.6698889", "0.66613466", "0.6646111", "0.6646038", "0.66278815", "0.65934956", "0.6590451", "0.6586088", "0.65827286", "0.6582406", "0.6559626", "0.65189654", "0.65139514", "0.6503191", "0.64893657", "0.648659", "0.6479968", "0.64642453", "0.6446174", "0.6414951", "0.6410102", "0.63960135", "0.63939196", "0.6388431", "0.63840765", "0.6382194", "0.63786477", "0.63722646", "0.6350898", "0.63429743", "0.6322311", "0.6321657", "0.63152903", "0.6305689", "0.6300458", "0.629974", "0.6269047", "0.62530595", "0.62525", "0.6252163", "0.6237991", "0.6237696", "0.62374234", "0.62314326", "0.62313527", "0.6223153", "0.6219866", "0.62188387", "0.6213921", "0.62074673", "0.61853606", "0.61840373", "0.6177171", "0.61757183", "0.61680233", "0.61665833", "0.6166487", "0.6165298", "0.6160206", "0.615572", "0.6142091", "0.61402404" ]
0.0
-1
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsExecutionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func GetPageSize() uint64 {\n\tpanic(\"not implemented\")\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PerPage(items int) ReqOption {\n\treturn func(v url.Values) {\n\t\tv.Set(\"per_page\", strconv.FormatInt(int64(items), 10))\n\t}\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsModulesListCall) PageSize(pageSize int64) *AppsModulesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r *Reader) PageSize(numOfRecs int) *Reader {\n\tif r.XMLName.Local == readByQueryXMLName.Local {\n\t\tr.MaxRecs = numOfRecs\n\t}\n\treturn r\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func TestGetPageSize(t *testing.T) {\n\tcases := []struct {\n\t\toffset, total, limit, expected int64\n\t\tname string\n\t}{\n\t\t{1, 0, 50, 0, \"no results\"},\n\t\t{1, 1, 50, 1, \"first partial page\"},\n\t\t{1, 50, 50, 50, \"first full page\"},\n\t\t{2, 100, 50, 50, \"second page full\"},\n\t\t{2, 51, 50, 1, \"last partial page\"},\n\t}\n\tfor _, tt := range cases {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tactual := getPageSize(tt.offset, tt.total, tt.limit)\n\t\t\tassert.Equal(t, tt.expected, actual, \"actual didn't match expected\")\n\t\t})\n\t}\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *NgGrid) GetPageSize() int64 {\n\tif g.PageSize <= 0 {\n\t\tg.PageSize = 10\n\t}\n\treturn g.PageSize\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageSize(pageSize int64) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AnalyticsListCall) PageSize(pageSize int64) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageSize(pageSize int64) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func Pagination(w http.ResponseWriter, query url.Values, m martini.Context) {\n\tpage, pageErr := strconv.Atoi(query.Get(\"page\"))\n\titemsPerPage, itemsPerPageErr := strconv.Atoi(query.Get(\"items_per_page\"))\n\n\tif pageErr != nil || itemsPerPageErr != nil || page < 1 || itemsPerPage < 1 {\n\t\tm.Map(PaginationParameters{Page: 1, ItemsPerPage: 9})\n\t\treturn\n\t}\n\n\tm.Map(PaginationParameters{Page: page, ItemsPerPage: itemsPerPage})\n}", "func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Getpagesize() int", "func (c *ProjectsLocationsSshKeysListCall) PageSize(pageSize int64) *ProjectsLocationsSshKeysListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}" ]
[ "0.72721016", "0.70180714", "0.69603753", "0.6922786", "0.6883994", "0.68659353", "0.68659353", "0.68427587", "0.68343496", "0.68343496", "0.6819477", "0.677376", "0.6766405", "0.6732039", "0.67246926", "0.6698617", "0.66818136", "0.6674513", "0.66580003", "0.665732", "0.66571665", "0.66565925", "0.66565925", "0.664771", "0.6639784", "0.6618616", "0.66155255", "0.6610327", "0.65821034", "0.6579234", "0.65735656", "0.6572041", "0.6572041", "0.6561095", "0.65465224", "0.6507006", "0.6501162", "0.6484388", "0.6480662", "0.64778906", "0.64778906", "0.64636016", "0.64613885", "0.6459905", "0.6448517", "0.64441603", "0.64340323", "0.6425275", "0.641948", "0.6416016", "0.63910747", "0.639107", "0.63834137", "0.6377443", "0.6363902", "0.63592374", "0.6356093", "0.6355031", "0.634961", "0.63481843", "0.63310075", "0.63251466", "0.62904334", "0.62861437", "0.6267771", "0.6253862", "0.6253862", "0.62151116", "0.62151116", "0.6209763", "0.6200054", "0.6189844", "0.6178808", "0.6166611", "0.61616373", "0.61577153", "0.61384225", "0.6133702", "0.61298096", "0.6110916", "0.61009175", "0.60917217", "0.60841125", "0.6079432", "0.60773426", "0.60710543", "0.6066831", "0.6061695", "0.6058045", "0.6056575", "0.60435605", "0.6041493", "0.60376203", "0.60322875", "0.6027314", "0.60238594", "0.60208446", "0.60169935", "0.6012666", "0.6011643", "0.6006055" ]
0.0
-1
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsExecutionsListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchCallSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (o *Ga4ghSearchLabtestsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchContinuousSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) HasPageToken() bool {\n\tif o != nil && o.PageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchFusionDetectionResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *InspectResultsFindingsListCall) PageToken(pageToken string) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FoldersListCall) PageToken(pageToken string) *FoldersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AnalyticsListCall) PageToken(pageToken string) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageToken(pageToken string) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageToken(pageToken string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsInstancesListCall) PageToken(pageToken string) *OrganizationsInstancesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ClaimsSearchCall) PageToken(pageToken string) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageTokenOk() (string, bool) {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.PageToken, true\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsDatacollectorsListCall) PageToken(pageToken string) *OrganizationsDatacollectorsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsLroListCall) PageToken(pageToken string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsKeyvaluemapsEntriesListCall) PageToken(pageToken string) *OrganizationsKeyvaluemapsEntriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InspectOperationsListCall) PageToken(pageToken string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAssignmentsListCall) PageToken(pageToken string) *OrganizationsAssignmentsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageToken(pageToken string) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductAndSkuCall) PageToken(pageToken string) *LicenseAssignmentsListForProductAndSkuCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsOperationsListCall) PageToken(pageToken string) *OrganizationsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}" ]
[ "0.7371751", "0.7304553", "0.725182", "0.72183996", "0.7205938", "0.7190219", "0.71537906", "0.71399033", "0.6782137", "0.62305844", "0.6078215", "0.60475075", "0.60098493", "0.597794", "0.5935233", "0.5883872", "0.5858588", "0.5856102", "0.5852922", "0.58096176", "0.57976496", "0.578947", "0.57744896", "0.57680464", "0.5760562", "0.57469916", "0.5719561", "0.5712731", "0.57014054", "0.569767", "0.5675907", "0.567187", "0.5657059", "0.5623857", "0.56177574", "0.5615902", "0.5605639", "0.559722", "0.55811614", "0.55754924", "0.55732393", "0.55608964", "0.55561215", "0.55561215", "0.55450267", "0.55430865", "0.55378026", "0.55376077", "0.5534208", "0.5534208", "0.55337584", "0.5524326", "0.5502931", "0.5502931", "0.55026054", "0.55020654", "0.550122", "0.5488351", "0.5482853", "0.54771674", "0.54771674", "0.54769903", "0.54769903", "0.5461859", "0.5457815", "0.5455945", "0.54498535", "0.54498535", "0.5440356", "0.5413786", "0.53877544", "0.5377669", "0.53752595", "0.5366374", "0.535932", "0.535932", "0.5359039", "0.5357001", "0.53520405", "0.5342624", "0.533775", "0.533775", "0.5335941", "0.53135216", "0.5312", "0.5309397", "0.53011787", "0.52999854", "0.5299831", "0.5290878", "0.5285611", "0.52823967", "0.5278604", "0.52757716", "0.52757716", "0.52737874", "0.52720886", "0.5270667", "0.5269655", "0.5267159", "0.52658117" ]
0.0
-1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6459498", "0.641031", "0.6383858", "0.63299745", "0.6295616", "0.6227746", "0.6194664", "0.6184213", "0.61649114", "0.61429536", "0.6127212", "0.6126502", "0.6125338", "0.61172533", "0.6102377", "0.6069715", "0.6069715", "0.60631794", "0.6050011", "0.60477716", "0.60221386", "0.599619", "0.599205", "0.59787214", "0.59612584", "0.59612125", "0.59612125", "0.5951695", "0.5951686", "0.5950383", "0.59409153", "0.593734", "0.59359866", "0.59178615", "0.5916065", "0.5915644", "0.5912088", "0.58959603", "0.5893093", "0.58895624", "0.5888954", "0.588125", "0.58738095", "0.587063", "0.5865121", "0.5865121", "0.5865121", "0.5865121", "0.5865121", "0.586512", "0.586512", "0.5865095", "0.5864413", "0.58639526", "0.586016", "0.5850131", "0.5847391", "0.5846598", "0.58449745", "0.5833619", "0.5833099", "0.5831061", "0.5831061", "0.5821885", "0.5815921", "0.58126885", "0.58049953", "0.58001655", "0.57961345", "0.5792424", "0.5791129", "0.57867914", "0.5781504", "0.57810074", "0.57753927", "0.5775059", "0.57656956", "0.5765202", "0.5763614", "0.5760887", "0.5751979", "0.57483256", "0.574779", "0.57477784", "0.57441366", "0.57408154", "0.5735421", "0.5730855", "0.57274175", "0.5726566", "0.5726323", "0.57215667", "0.57212454", "0.57212454", "0.5718145", "0.56965476", "0.5694678", "0.5685891", "0.56845987", "0.5684456", "0.56750983" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsExecutionsListCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.7856496", "0.7742822", "0.7717616", "0.7656489", "0.7656489", "0.7656489", "0.7656489", "0.7656489", "0.764745", "0.7599251", "0.7594244", "0.7593003", "0.7593003", "0.7582112", "0.7575775", "0.757516", "0.7568463", "0.75550735", "0.7544313", "0.7531431", "0.7494712", "0.748359", "0.74628174", "0.7462035", "0.74525476", "0.7430639", "0.74290115", "0.74250096", "0.7414321", "0.7414314", "0.7414314", "0.741028", "0.7405137", "0.7405137", "0.74025834", "0.73993003", "0.7392812", "0.7385967", "0.7379802", "0.7378386", "0.73662925", "0.73605186", "0.7358364", "0.73547435", "0.73509896", "0.73509896", "0.73509896", "0.73509896", "0.73509896", "0.73509896", "0.734928", "0.73396087", "0.7335001", "0.7315132", "0.7309396", "0.7308368", "0.73059803", "0.73059803", "0.7305136", "0.7303882", "0.7297511", "0.7293003", "0.72871786", "0.7287031", "0.7283521", "0.727733", "0.72764385", "0.7273669", "0.7272506", "0.72723484", "0.7270259", "0.7270134", "0.7267481", "0.72614896", "0.7260782", "0.7256322", "0.7255167", "0.72550255", "0.72542423", "0.7252705", "0.7251546", "0.72484636", "0.724508", "0.72396356", "0.7239402", "0.72361666", "0.72361666", "0.72340447", "0.72317785", "0.72301507", "0.72289985", "0.7225398", "0.7221377", "0.72150767", "0.72139066", "0.7212688", "0.7211011", "0.7207203", "0.7206738", "0.7206639", "0.7206639" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsListCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.66235137", "0.64344084", "0.6383178", "0.6270063", "0.6144445", "0.6144445", "0.6143892", "0.612991", "0.6124678", "0.6120316", "0.6096121", "0.6080446", "0.60695136", "0.6067953", "0.60596967", "0.6059417", "0.60566366", "0.60449743", "0.60237515", "0.6011819", "0.6006558", "0.59965366", "0.59898025", "0.5984241", "0.5981279", "0.59773576", "0.59771824", "0.5973381", "0.59656495", "0.59656495", "0.59557056", "0.5953212", "0.5951194", "0.59508395", "0.594157", "0.5938914", "0.59337056", "0.5933108", "0.59298694", "0.59268975", "0.5915904", "0.5912403", "0.5911474", "0.5910315", "0.5905953", "0.5900835", "0.58967566", "0.58963144", "0.5896037", "0.5887992", "0.5887992", "0.5881177", "0.58786774", "0.5875623", "0.5871704", "0.5871704", "0.5869171", "0.5861542", "0.5859896", "0.585379", "0.5851625", "0.58509046", "0.5850036", "0.5841373", "0.5839679", "0.5838723", "0.58365595", "0.5836501", "0.583633", "0.58358836", "0.58353436", "0.58346283", "0.58267444", "0.5825405", "0.58225656", "0.58145076", "0.58108354", "0.58098435", "0.58071196", "0.58070546", "0.58068985", "0.5804559", "0.580315", "0.5801571", "0.5799761", "0.5799452", "0.57993793", "0.5798138", "0.57954276", "0.5794124", "0.5793289", "0.5788691", "0.5788427", "0.5787556", "0.57857794", "0.57827073", "0.5781179", "0.5781179", "0.5775117", "0.5774034", "0.5772883" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74045575", "0.7240345", "0.7231556", "0.72286886", "0.7225144", "0.7220892", "0.7211064", "0.7204605", "0.7200339", "0.71941656", "0.7188011", "0.7188011", "0.71877944", "0.718559", "0.71789914", "0.7176322", "0.7176322", "0.7171874", "0.71623826", "0.71602637", "0.7144154", "0.7144154", "0.7144154", "0.7143109", "0.7139234", "0.7133915", "0.71298724", "0.7129597", "0.7122606", "0.7116456", "0.71134925", "0.71098983", "0.71042293", "0.71042293", "0.7101177", "0.7099879", "0.7099349", "0.70980054", "0.7097353", "0.70958745", "0.70953804", "0.7091542", "0.70892286", "0.7088931", "0.7087422", "0.7085846", "0.7073104", "0.70707655", "0.70707655", "0.7064144", "0.7058561", "0.7056006", "0.7055869", "0.7055869", "0.70535403", "0.70535403", "0.70534354", "0.7052519", "0.70511025", "0.705056", "0.7049734", "0.7049211", "0.7047664", "0.7045296", "0.70414394", "0.703803", "0.70379484", "0.7031038", "0.70308185", "0.7030429", "0.70285296", "0.7028526", "0.7028526", "0.7028141", "0.70266974", "0.70266426", "0.702373", "0.702373", "0.7022347", "0.70220834", "0.70220834", "0.7021023", "0.7018856", "0.701855", "0.701745", "0.70173943", "0.7016581", "0.70094526", "0.7008969", "0.7008969", "0.7008199", "0.70076936", "0.70074576", "0.70039994", "0.7002133", "0.7000649", "0.6999397", "0.6999238", "0.6998797", "0.6995897", "0.6994625" ]
0.0
-1
Pages invokes f for each page of results. A nonnil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsEvaluationsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { x, err := c.Do() if err != nil { return err } if err := f(x); err != nil { return err } if x.NextPageToken == "" { return nil } c.PageToken(x.NextPageToken) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *PermissionsQueryTestablePermissionsCall) Pages(ctx context.Context, f func(*QueryTestablePermissionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querytestablepermissionsrequest.PageToken = pt }(c.querytestablepermissionsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querytestablepermissionsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchForAlertCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FoldersSearchCall) Pages(ctx context.Context, f func(*SearchFoldersResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchfoldersrequest.PageToken = pt }(c.searchfoldersrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchfoldersrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OperationsLroListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTabularStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTabularStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytabularstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytabularstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytabularstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectResultsFindingsListCall) Pages(ctx context.Context, f func(*ListInspectFindingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsBatchSearchLinkProcessesCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = pt }(c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsSearchLinksCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1SearchLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1searchlinksrequest.PageToken = pt }(c.googleclouddatacataloglineagev1searchlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1searchlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTraceSinksListCall) Pages(ctx context.Context, f func(*ListTraceSinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PostsListCall) Pages(ctx context.Context, f func(*PostList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTimeSeriesStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTimeSeriesStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Pages(ctx context.Context, f func(*ListExecutionResultsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) Pages(ctx context.Context, f func(*ListListingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Pages(ctx context.Context, f func(*ListInventoriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Pages(ctx context.Context, f func(*ListScannedResourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ClaimsSearchCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsSecurityProfilesEnvironmentsComputeEnvironmentScoresCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ComputeEnvironmentScoresResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = pt }(c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SpacesListCall) Pages(ctx context.Context, f func(*ListSpacesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) Pages(ctx context.Context, f func(*ListSharedResourceSubscriptionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (o Oscar) IterateResults(f func(string, int, int, int, time.Duration, time.Duration, time.Duration)) {\n\tfor i, ts := range o.Suits {\n\t\tfor _, tc := range ts.GetCases() {\n\t\t\tcntErr := 0\n\t\t\tif tc.Error != nil {\n\t\t\t\tcntErr = 1\n\t\t\t}\n\t\t\tif cntErr == 0 && tc.CountAssertSuccess == 0 {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\telapsedTotal, elapsedHTTP, elapsedSleep := tc.Elapsed()\n\n\t\t\tf(\n\t\t\t\to.prefix(i)+tc.Name,\n\t\t\t\ttc.CountAssertSuccess,\n\t\t\t\tcntErr,\n\t\t\t\ttc.CountRemoteRequests,\n\t\t\t\telapsedTotal,\n\t\t\t\telapsedHTTP,\n\t\t\t\telapsedSleep,\n\t\t\t)\n\t\t}\n\t}\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsProcessesRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListRunsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = pt }(c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AnalyticsListCall) Pages(ctx context.Context, f func(*ListAnalyticsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Pages(ctx context.Context, f func(*ListTimeSeriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *JobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) Pages(ctx context.Context, f func(*LicenseAssignmentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) Pages(ctx context.Context, f func(*ListOSPolicyAssignmentRevisionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OffersHistoryListCall) Pages(ctx context.Context, f func(*ListOffersHistoryResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PagesListCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListCall) Pages(ctx context.Context, f func(*ListDataExchangesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsWorkflowsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsMonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsOccurrencesListCall) Pages(ctx context.Context, f func(*ListOccurrencesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ListProjectsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LeadsListCall) Pages(ctx context.Context, f func(*ListLeadsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesVulnerabilityReportsListCall) Pages(ctx context.Context, f func(*ListVulnerabilityReportsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MobileAppsListCall) Pages(ctx context.Context, f func(*MobileAppsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AlbumsListCall) Pages(ctx context.Context, f func(*ListAlbumsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}" ]
[ "0.63846207", "0.63846207", "0.619211", "0.60498303", "0.60369384", "0.5974331", "0.5824641", "0.5794387", "0.5789722", "0.5761636", "0.57418424", "0.5741514", "0.5711282", "0.57005674", "0.56281775", "0.5625123", "0.5625123", "0.5614059", "0.56100214", "0.5606715", "0.55955833", "0.55942744", "0.559236", "0.5592354", "0.5590753", "0.55845493", "0.55809695", "0.55801004", "0.5566981", "0.55591536", "0.55182433", "0.55036193", "0.55036193", "0.54722625", "0.54522383", "0.54515094", "0.5440658", "0.544056", "0.54386544", "0.5435843", "0.5434655", "0.5427409", "0.5408928", "0.5405455", "0.54009485", "0.5392469", "0.5389011", "0.5388164", "0.53850806", "0.53850806", "0.53792804", "0.5378642", "0.53773576", "0.53764594", "0.5375389", "0.5361565", "0.5357559", "0.5357217", "0.534801", "0.53213483", "0.531969", "0.5319433", "0.5315016", "0.531433", "0.5313219", "0.53070945", "0.5302045", "0.5296537", "0.5296537", "0.52900475", "0.52853996", "0.52808845", "0.5275174", "0.5275174", "0.52594066", "0.5256743", "0.5252608", "0.5239816", "0.5239816", "0.5239816", "0.5239816", "0.523861", "0.52339315", "0.523123", "0.523123", "0.523123", "0.523123", "0.523123", "0.523123", "0.523123", "0.523123", "0.5230141", "0.5224107", "0.522038", "0.52067757", "0.52067757", "0.520257", "0.5193132", "0.5189386", "0.5182099" ]
0.5361102
56
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsExecutionsRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsRunCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64583564", "0.64089453", "0.63825923", "0.6329182", "0.62945044", "0.6225895", "0.619365", "0.6182673", "0.61636275", "0.61414576", "0.612667", "0.61260766", "0.61254126", "0.6115779", "0.61003155", "0.6067746", "0.6067746", "0.6061624", "0.6047966", "0.6045541", "0.6019901", "0.5994803", "0.5990605", "0.59757566", "0.5961258", "0.5961258", "0.59596264", "0.5950205", "0.59479946", "0.5946376", "0.59391904", "0.59362525", "0.59334743", "0.5916428", "0.59146625", "0.5914137", "0.59100276", "0.5893598", "0.589179", "0.58878744", "0.588714", "0.58790183", "0.5871864", "0.5868891", "0.58633685", "0.58633685", "0.58628243", "0.5862554", "0.5862554", "0.5862554", "0.5862554", "0.5862554", "0.58618456", "0.5860892", "0.58579326", "0.5848325", "0.5845566", "0.58454007", "0.5842217", "0.5831592", "0.5831122", "0.5828655", "0.5828655", "0.5819126", "0.5813496", "0.58109957", "0.58029073", "0.5797994", "0.5794926", "0.5789773", "0.57896835", "0.578311", "0.5779994", "0.5778984", "0.57742655", "0.5771941", "0.5766177", "0.5762638", "0.5761581", "0.57587826", "0.5749813", "0.57466763", "0.574626", "0.57459193", "0.5741631", "0.57414067", "0.57333165", "0.5730675", "0.5725508", "0.5725087", "0.5724914", "0.57197326", "0.5718999", "0.5718999", "0.5716166", "0.5692843", "0.5692457", "0.5684587", "0.56828916", "0.5682519", "0.5673288" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsExecutionsRunCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsRunCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.66235137", "0.64344084", "0.6383178", "0.6270063", "0.6144445", "0.6144445", "0.6143892", "0.612991", "0.6124678", "0.6120316", "0.6096121", "0.6080446", "0.60695136", "0.6067953", "0.60596967", "0.6059417", "0.60566366", "0.60449743", "0.60237515", "0.6011819", "0.6006558", "0.59965366", "0.59898025", "0.5984241", "0.5981279", "0.59773576", "0.59771824", "0.5973381", "0.59656495", "0.59656495", "0.59557056", "0.5953212", "0.5951194", "0.59508395", "0.594157", "0.5938914", "0.59337056", "0.5933108", "0.59298694", "0.59268975", "0.5915904", "0.5912403", "0.5911474", "0.5910315", "0.5905953", "0.5900835", "0.58967566", "0.58963144", "0.5896037", "0.5887992", "0.5887992", "0.5881177", "0.58786774", "0.5875623", "0.5871704", "0.5871704", "0.5869171", "0.5861542", "0.5859896", "0.585379", "0.5851625", "0.58509046", "0.5850036", "0.5841373", "0.5839679", "0.5838723", "0.58365595", "0.5836501", "0.583633", "0.58358836", "0.58353436", "0.58346283", "0.58267444", "0.5825405", "0.58225656", "0.58145076", "0.58108354", "0.58098435", "0.58071196", "0.58070546", "0.58068985", "0.5804559", "0.580315", "0.5801571", "0.5799761", "0.5799452", "0.57993793", "0.5798138", "0.57954276", "0.5794124", "0.5793289", "0.5788691", "0.5788427", "0.5787556", "0.57857794", "0.57827073", "0.5781179", "0.5781179", "0.5775117", "0.5774034", "0.5772883" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsExecutionsRunCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74045575", "0.7240345", "0.7231556", "0.72286886", "0.7225144", "0.7220892", "0.7211064", "0.7204605", "0.7200339", "0.71941656", "0.7188011", "0.7188011", "0.71877944", "0.718559", "0.71789914", "0.7176322", "0.7176322", "0.7171874", "0.71623826", "0.71602637", "0.7144154", "0.7144154", "0.7144154", "0.7143109", "0.7139234", "0.7133915", "0.71298724", "0.7129597", "0.7122606", "0.7116456", "0.71134925", "0.71098983", "0.71042293", "0.71042293", "0.7101177", "0.7099879", "0.7099349", "0.70980054", "0.7097353", "0.70958745", "0.70953804", "0.7091542", "0.70892286", "0.7088931", "0.7087422", "0.7085846", "0.7073104", "0.70707655", "0.70707655", "0.7064144", "0.7058561", "0.7056006", "0.7055869", "0.7055869", "0.70535403", "0.70535403", "0.70534354", "0.7052519", "0.70511025", "0.705056", "0.7049734", "0.7049211", "0.7047664", "0.7045296", "0.70414394", "0.703803", "0.70379484", "0.7031038", "0.70308185", "0.7030429", "0.70285296", "0.7028526", "0.7028526", "0.7028141", "0.70266974", "0.70266426", "0.702373", "0.702373", "0.7022347", "0.70220834", "0.70220834", "0.7021023", "0.7018856", "0.701855", "0.701745", "0.70173943", "0.7016581", "0.70094526", "0.7008969", "0.7008969", "0.7008199", "0.70076936", "0.70074576", "0.70039994", "0.7002133", "0.7000649", "0.6999397", "0.6999238", "0.6998797", "0.6995897", "0.6994625" ]
0.0
-1
Filter sets the optional parameter "filter": Filtering results
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Filter(filter string) *ProjectsLocationsEvaluationsExecutionsResultsListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolReservationListRequest) Filter(filter string) ApiGetIqnpoolReservationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Filter(filter string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPhysicalPortListRequest) Filter(filter string) ApiGetEtherPhysicalPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Filter(filter string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *NestedSort) Filter(filter Query) *NestedSort {\n\ts.filter = filter\n\treturn s\n}", "func (s *FieldSort) Filter(filter Query) *FieldSort {\n\ts.filter = filter\n\treturn s\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherNetworkPortListRequest) Filter(filter string) ApiGetEtherNetworkPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPortChannelListRequest) Filter(filter string) ApiGetEtherPortChannelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherHostPortListRequest) Filter(filter string) ApiGetEtherHostPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsOptimizedHostStatsGetCall) Filter(filter string) *OrganizationsOptimizedHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersGetRequest) Filter(key string, value string) ApiDatacentersGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *Searcher) Filter(filter *Filter, values *resource.MetaValues) *Searcher {\n\tnewSearcher := s.clone()\n\tif newSearcher.filters == nil {\n\t\tnewSearcher.filters = map[*Filter]*resource.MetaValues{}\n\t}\n\tnewSearcher.filters[filter] = values\n\treturn newSearcher\n}", "func (r ApiGetHyperflexHypervisorVirtualMachineListRequest) Filter(filter string) ApiGetHyperflexHypervisorVirtualMachineListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Filter(filter string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *PcloudNetworksGetallParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (q *Query) Filter(fn Filter) error {\n\terr, Answer := fn(q.Answer)\n\tif err == nil {\n\t\tq.Answer = Answer\n\t\treturn nil\n\t}\n\treturn err\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetIqnpoolLeaseListRequest) Filter(filter string) ApiGetIqnpoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolBlockListRequest) Filter(filter string) ApiGetIqnpoolBlockListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Filter(filter string) ApiGetHyperflexDriveListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmBackupInfoListRequest) Filter(filter string) ApiGetHyperflexVmBackupInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (a *AliasAddAction) Filter(filter Query) *AliasAddAction {\n\ta.filter = filter\n\treturn a\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Filter(filter string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsOptimizedStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filters ...FilterOption) Option {\n\treturn func(stackdriver *Stackdriver) {\n\t\tfor i, filterOpt := range filters {\n\t\t\tf := &filter{}\n\t\t\tfilterOpt(f)\n\n\t\t\tif i != 0 || len(stackdriver.Builder.Model.MetricQuery.Filters) != 0 {\n\t\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, \"AND\")\n\t\t\t}\n\n\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, f.leftOperand, f.operator, f.rightOperand)\n\t\t}\n\t}\n}", "func (r ApiGetHyperflexSoftwareVersionPolicyListRequest) Filter(filter string) ApiGetHyperflexSoftwareVersionPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolMemberListRequest) Filter(filter string) ApiGetIqnpoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolMemberListRequest) Filter(filter string) ApiGetResourcepoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersLansNicsGetRequest) Filter(key string, value string) ApiDatacentersLansNicsGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckPackageChecksumListRequest) Filter(filter string) ApiGetHyperflexHealthCheckPackageChecksumListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(pattern string) option {\n\treturn func(b *Benchmark) { b.filter = pattern }\n}", "func (r ApiGetHyperflexHypervisorHostListRequest) Filter(filter string) ApiGetHyperflexHypervisorHostListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (q *Query) Filter(rule string) *Query {\n\tq.headers = append(q.headers, \"Filter: \"+rule)\n\treturn q\n}", "func (o *SearchKeywordChunkedParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (res *Resource) Filter(filter *Filter) {\n\tfilter.Resource = res\n\n\tif filter.Label == \"\" {\n\t\tfilter.Label = utils.HumanizeString(filter.Name)\n\t}\n\n\tif filter.Config != nil {\n\t\tfilter.Config.ConfigureQORAdminFilter(filter)\n\t}\n\n\tif filter.Handler == nil {\n\t\t// generate default handler\n\t\tfilter.Handler = func(db *gorm.DB, filterArgument *FilterArgument) *gorm.DB {\n\t\t\tif metaValue := filterArgument.Value.Get(\"Value\"); metaValue != nil {\n\t\t\t\treturn defaultFieldFilter(res, []string{filter.Name}, utils.ToString(metaValue.Value), db, filterArgument.Context)\n\t\t\t}\n\t\t\treturn db\n\t\t}\n\t}\n\n\tif filter.Type != \"\" {\n\t\tres.filters = append(res.filters, filter)\n\t} else {\n\t\tutils.ExitWithMsg(\"Invalid filter definition %v for resource %v\", filter.Name, res.Name)\n\t}\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionEntryListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(f *protocol.Filter) DiscoverOption {\n\treturn func(o *dOpts) {\n\t\to.filter = f\n\t}\n}", "func (r ApiGetHyperflexDevicePackageDownloadStateListRequest) Filter(filter string) ApiGetHyperflexDevicePackageDownloadStateListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func _filter() {\n\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (o *StatsKeywordParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Filter(filter string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsTimeSeriesListCall) Filter(filter string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (m *MetricFilter) Filter(filter shared.Filter) *MetricFilter {\n\tm.filterList = append(m.filterList, filter)\n\treturn m\n}", "func (r ApiGetHyperflexWitnessConfigurationListRequest) Filter(filter string) ApiGetHyperflexWitnessConfigurationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r *BaseRequest) Filter(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$filter\", value)\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Filter(filter string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}" ]
[ "0.7613598", "0.7315494", "0.7232339", "0.7218272", "0.718892", "0.7164107", "0.7158694", "0.7139965", "0.7118423", "0.7100993", "0.70964247", "0.7096286", "0.7068016", "0.7065497", "0.7045366", "0.7037611", "0.6991834", "0.6979771", "0.6970935", "0.69704115", "0.69668376", "0.69624966", "0.6946899", "0.6940865", "0.6937085", "0.69334555", "0.69258064", "0.6922641", "0.69202876", "0.6918513", "0.6913101", "0.6904955", "0.6896108", "0.68921983", "0.6881488", "0.68692154", "0.6868029", "0.685499", "0.6853894", "0.68468875", "0.6842761", "0.68372935", "0.6834632", "0.68330634", "0.6812836", "0.6804254", "0.68039936", "0.68018657", "0.67969865", "0.6782054", "0.67790306", "0.67751974", "0.67732805", "0.6763486", "0.6756884", "0.67556393", "0.675486", "0.6753101", "0.6747149", "0.67406666", "0.67394966", "0.67297745", "0.6729561", "0.67259973", "0.67228514", "0.6720981", "0.67203796", "0.67077154", "0.6705449", "0.6700102", "0.6694638", "0.6689938", "0.66797054", "0.6678732", "0.6669409", "0.66664135", "0.6653516", "0.66404784", "0.6640113", "0.66293675", "0.6628905", "0.6625034", "0.6624392", "0.662122", "0.6616402", "0.65964997", "0.6592639", "0.6590885", "0.65908194", "0.65831935", "0.6576503", "0.6556811", "0.65451556", "0.6536826", "0.6530497", "0.6507959", "0.6506637", "0.65063953", "0.65031546", "0.6496995", "0.6469955" ]
0.0
-1
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsExecutionsResultsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func GetPageSize() uint64 {\n\tpanic(\"not implemented\")\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PerPage(items int) ReqOption {\n\treturn func(v url.Values) {\n\t\tv.Set(\"per_page\", strconv.FormatInt(int64(items), 10))\n\t}\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsModulesListCall) PageSize(pageSize int64) *AppsModulesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r *Reader) PageSize(numOfRecs int) *Reader {\n\tif r.XMLName.Local == readByQueryXMLName.Local {\n\t\tr.MaxRecs = numOfRecs\n\t}\n\treturn r\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func TestGetPageSize(t *testing.T) {\n\tcases := []struct {\n\t\toffset, total, limit, expected int64\n\t\tname string\n\t}{\n\t\t{1, 0, 50, 0, \"no results\"},\n\t\t{1, 1, 50, 1, \"first partial page\"},\n\t\t{1, 50, 50, 50, \"first full page\"},\n\t\t{2, 100, 50, 50, \"second page full\"},\n\t\t{2, 51, 50, 1, \"last partial page\"},\n\t}\n\tfor _, tt := range cases {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tactual := getPageSize(tt.offset, tt.total, tt.limit)\n\t\t\tassert.Equal(t, tt.expected, actual, \"actual didn't match expected\")\n\t\t})\n\t}\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *NgGrid) GetPageSize() int64 {\n\tif g.PageSize <= 0 {\n\t\tg.PageSize = 10\n\t}\n\treturn g.PageSize\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageSize(pageSize int64) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AnalyticsListCall) PageSize(pageSize int64) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageSize(pageSize int64) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func Pagination(w http.ResponseWriter, query url.Values, m martini.Context) {\n\tpage, pageErr := strconv.Atoi(query.Get(\"page\"))\n\titemsPerPage, itemsPerPageErr := strconv.Atoi(query.Get(\"items_per_page\"))\n\n\tif pageErr != nil || itemsPerPageErr != nil || page < 1 || itemsPerPage < 1 {\n\t\tm.Map(PaginationParameters{Page: 1, ItemsPerPage: 9})\n\t\treturn\n\t}\n\n\tm.Map(PaginationParameters{Page: page, ItemsPerPage: itemsPerPage})\n}", "func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Getpagesize() int", "func (c *ProjectsLocationsSshKeysListCall) PageSize(pageSize int64) *ProjectsLocationsSshKeysListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}" ]
[ "0.7270658", "0.7018287", "0.69610786", "0.692201", "0.6884126", "0.6865984", "0.6865984", "0.68407184", "0.68343973", "0.68343973", "0.6818814", "0.6772452", "0.67642057", "0.6731379", "0.67238677", "0.66967624", "0.6679977", "0.6672795", "0.6656817", "0.6656817", "0.66567945", "0.6655615", "0.66554123", "0.664731", "0.66387314", "0.66177255", "0.66144216", "0.66095376", "0.6581274", "0.6578329", "0.6573606", "0.6573028", "0.6573028", "0.6561206", "0.6546642", "0.6507086", "0.64996815", "0.64845407", "0.647996", "0.64777046", "0.64777046", "0.64624023", "0.6460447", "0.64597625", "0.6449146", "0.64419335", "0.64318603", "0.6425187", "0.64163935", "0.64148396", "0.63914466", "0.639075", "0.63835514", "0.63770384", "0.6362859", "0.63587683", "0.6355714", "0.6353917", "0.634915", "0.6347004", "0.63312465", "0.6323443", "0.6290231", "0.6288037", "0.6267307", "0.6253477", "0.6253477", "0.6214234", "0.6214234", "0.62090856", "0.6199706", "0.61898893", "0.6177779", "0.6165964", "0.6159827", "0.61579716", "0.61388993", "0.6131818", "0.6129262", "0.6109891", "0.6100219", "0.6091648", "0.60838574", "0.60792536", "0.60761034", "0.60705733", "0.60667276", "0.6062043", "0.605792", "0.6056333", "0.60440874", "0.6040689", "0.6037002", "0.6030689", "0.60270756", "0.6023315", "0.6020993", "0.6015923", "0.60131407", "0.6011853", "0.6004947" ]
0.0
-1
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsExecutionsResultsListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchCallSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (o *Ga4ghSearchLabtestsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchContinuousSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) HasPageToken() bool {\n\tif o != nil && o.PageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchFusionDetectionResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *InspectResultsFindingsListCall) PageToken(pageToken string) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FoldersListCall) PageToken(pageToken string) *FoldersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AnalyticsListCall) PageToken(pageToken string) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageToken(pageToken string) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageToken(pageToken string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsInstancesListCall) PageToken(pageToken string) *OrganizationsInstancesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ClaimsSearchCall) PageToken(pageToken string) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageTokenOk() (string, bool) {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.PageToken, true\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsDatacollectorsListCall) PageToken(pageToken string) *OrganizationsDatacollectorsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsLroListCall) PageToken(pageToken string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsKeyvaluemapsEntriesListCall) PageToken(pageToken string) *OrganizationsKeyvaluemapsEntriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InspectOperationsListCall) PageToken(pageToken string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAssignmentsListCall) PageToken(pageToken string) *OrganizationsAssignmentsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageToken(pageToken string) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductAndSkuCall) PageToken(pageToken string) *LicenseAssignmentsListForProductAndSkuCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsOperationsListCall) PageToken(pageToken string) *OrganizationsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}" ]
[ "0.73713493", "0.73041654", "0.7251836", "0.72172517", "0.7204619", "0.71903074", "0.7152576", "0.7138396", "0.6781449", "0.6232432", "0.6079078", "0.6047421", "0.60117257", "0.5979309", "0.5936988", "0.5886112", "0.585805", "0.58559424", "0.5853131", "0.5810044", "0.5798439", "0.5790384", "0.5774929", "0.577005", "0.575992", "0.5747587", "0.57198924", "0.5713977", "0.5703071", "0.5697281", "0.5677125", "0.56729054", "0.56561834", "0.5624687", "0.5618929", "0.5615248", "0.56075484", "0.55991745", "0.5582266", "0.55766654", "0.55742127", "0.55609274", "0.55575216", "0.55575216", "0.5546934", "0.5543854", "0.55397445", "0.55383366", "0.55346805", "0.55345374", "0.55345374", "0.55259794", "0.55042315", "0.55042315", "0.55037236", "0.55031776", "0.5501225", "0.5488937", "0.5484032", "0.5478333", "0.5478333", "0.5477245", "0.5477245", "0.54628354", "0.54593354", "0.5456786", "0.5450951", "0.5450951", "0.54420036", "0.54150915", "0.5388842", "0.53788567", "0.53768486", "0.53653187", "0.53606784", "0.53606784", "0.53600544", "0.53588367", "0.53528553", "0.53442323", "0.53380424", "0.53380424", "0.53373873", "0.5314967", "0.531128", "0.53106177", "0.530197", "0.530118", "0.5300403", "0.5291543", "0.5286216", "0.52841765", "0.52799225", "0.5276676", "0.5276676", "0.5275017", "0.52734184", "0.5271959", "0.52710414", "0.5268551", "0.52663696" ]
0.0
-1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsResultsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6458571", "0.6409765", "0.63830054", "0.6329471", "0.6294762", "0.6226543", "0.6194011", "0.61830926", "0.61641014", "0.6141662", "0.6126752", "0.61264664", "0.61258316", "0.61162406", "0.6100833", "0.60682887", "0.60682887", "0.606218", "0.6048585", "0.60468453", "0.60205626", "0.5995158", "0.59909886", "0.5976544", "0.5961867", "0.5961867", "0.5960047", "0.5950198", "0.59487796", "0.5947144", "0.59397167", "0.59366864", "0.5934271", "0.5916826", "0.5915118", "0.59145737", "0.5910671", "0.58944666", "0.58923274", "0.5888698", "0.5887614", "0.58799297", "0.5872129", "0.58695704", "0.58639586", "0.58639586", "0.5863568", "0.586351", "0.586351", "0.586351", "0.586351", "0.586351", "0.58624136", "0.58617896", "0.5858689", "0.5848961", "0.5846251", "0.58459437", "0.58428836", "0.5832401", "0.58316153", "0.5829562", "0.5829562", "0.58199257", "0.58144325", "0.5811524", "0.58032703", "0.5798672", "0.5795267", "0.5790823", "0.57903314", "0.57835984", "0.57805043", "0.577955", "0.577466", "0.57733095", "0.5766461", "0.5763401", "0.57624775", "0.57592714", "0.57510763", "0.574698", "0.574665", "0.5746616", "0.57424283", "0.57418925", "0.5734079", "0.5730516", "0.5725956", "0.57255626", "0.57252425", "0.57204276", "0.5719563", "0.5719563", "0.57170063", "0.5694081", "0.5693313", "0.568493", "0.5683405", "0.568321", "0.5673809" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsExecutionsResultsListCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.7857457", "0.7743354", "0.77188426", "0.7657179", "0.7657179", "0.7657179", "0.7657179", "0.7657179", "0.76479805", "0.76000154", "0.75954306", "0.75941604", "0.75941604", "0.7582892", "0.7576732", "0.75760597", "0.75692207", "0.7556326", "0.7545303", "0.7532287", "0.7496034", "0.74843", "0.7464074", "0.74624825", "0.74539423", "0.7432325", "0.7429592", "0.74259514", "0.7415199", "0.7415001", "0.7415001", "0.7411576", "0.7405997", "0.7405997", "0.7403323", "0.739993", "0.739376", "0.73866236", "0.7380808", "0.7379439", "0.73675215", "0.7361131", "0.73593855", "0.73555994", "0.73520744", "0.73520744", "0.73520744", "0.73520744", "0.73520744", "0.73520744", "0.73503023", "0.7340824", "0.7335386", "0.73166794", "0.7310366", "0.73099375", "0.7307237", "0.7307237", "0.73056275", "0.7304922", "0.7298628", "0.7294144", "0.7288348", "0.72881275", "0.72842497", "0.72788304", "0.72778", "0.72751474", "0.72737813", "0.72732323", "0.727116", "0.7270925", "0.7268505", "0.7262408", "0.72618926", "0.7256791", "0.7256024", "0.7255946", "0.72552997", "0.72533786", "0.7252881", "0.72490185", "0.7246983", "0.72406965", "0.7240475", "0.72376984", "0.72376984", "0.7235915", "0.72329265", "0.72314066", "0.72304434", "0.7226173", "0.7222612", "0.72161525", "0.72147363", "0.7213921", "0.72124106", "0.7208179", "0.72076535", "0.72076535", "0.7207556" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsResultsListCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *SitemapsSubmitCall) Context(ctx context.Context) *SitemapsSubmitCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6621305", "0.6433859", "0.63825405", "0.6267439", "0.6141668", "0.6141668", "0.6141007", "0.6127824", "0.6121994", "0.61183655", "0.60936165", "0.6077952", "0.6068114", "0.60660803", "0.6057779", "0.60564685", "0.60546035", "0.6043477", "0.6020564", "0.60090107", "0.600508", "0.5994711", "0.5987672", "0.5982388", "0.5979128", "0.59755933", "0.5974571", "0.59706235", "0.59641457", "0.59641457", "0.5953709", "0.59506816", "0.5950409", "0.59486157", "0.59398407", "0.59378284", "0.5931306", "0.5930993", "0.592846", "0.5924421", "0.5913605", "0.5911278", "0.5909236", "0.5908447", "0.59054023", "0.5899479", "0.5895185", "0.5894129", "0.58939373", "0.588541", "0.588541", "0.5878475", "0.5876255", "0.5873829", "0.58693546", "0.58693546", "0.5867466", "0.58583224", "0.5856966", "0.5852097", "0.5849711", "0.5848298", "0.5847203", "0.58386993", "0.58378696", "0.5836297", "0.5835002", "0.58345085", "0.583407", "0.5833912", "0.5833403", "0.583314", "0.5823766", "0.58224314", "0.5820545", "0.581144", "0.5809311", "0.5807418", "0.58047247", "0.5804377", "0.5803749", "0.5802247", "0.58010495", "0.57990664", "0.57981485", "0.5796012", "0.5795882", "0.5795875", "0.57924724", "0.5791888", "0.5791179", "0.57867587", "0.57856166", "0.5784409", "0.5783997", "0.57796824", "0.57778233", "0.57778233", "0.5773365", "0.5771352", "0.577113" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74025184", "0.72398114", "0.72318506", "0.722866", "0.7224622", "0.7220789", "0.7210501", "0.7204161", "0.72009283", "0.7194157", "0.71889573", "0.7188424", "0.7188424", "0.7186168", "0.7179334", "0.7176267", "0.7176267", "0.71708405", "0.71614456", "0.71598905", "0.7144839", "0.7144839", "0.7144839", "0.7142355", "0.7139215", "0.71329397", "0.7129801", "0.71295977", "0.71225166", "0.71162045", "0.7113504", "0.71099806", "0.7104228", "0.7104228", "0.71002996", "0.70998704", "0.7099628", "0.70985365", "0.70969874", "0.7095069", "0.709485", "0.70913005", "0.7089236", "0.70877826", "0.7086999", "0.70856774", "0.70733845", "0.707136", "0.707136", "0.70643264", "0.7058465", "0.70572513", "0.7055746", "0.7055746", "0.705351", "0.70534915", "0.70534915", "0.7052773", "0.7051343", "0.7050703", "0.70503557", "0.7049563", "0.704718", "0.7045271", "0.7039743", "0.703703", "0.70370084", "0.7030931", "0.7030212", "0.7029568", "0.702894", "0.702894", "0.7028559", "0.7028373", "0.7026413", "0.7025957", "0.7023024", "0.7023024", "0.702246", "0.702246", "0.7021795", "0.70200557", "0.70190567", "0.7019015", "0.7017178", "0.7016805", "0.7016344", "0.7010262", "0.7009017", "0.7009017", "0.70073354", "0.70073193", "0.70071864", "0.70036465", "0.70011663", "0.6999494", "0.69992286", "0.69984037", "0.69973457", "0.6996014", "0.69939053" ]
0.0
-1
Pages invokes f for each page of results. A nonnil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Pages(ctx context.Context, f func(*ListExecutionResultsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { x, err := c.Do() if err != nil { return err } if err := f(x); err != nil { return err } if x.NextPageToken == "" { return nil } c.PageToken(x.NextPageToken) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *PermissionsQueryTestablePermissionsCall) Pages(ctx context.Context, f func(*QueryTestablePermissionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querytestablepermissionsrequest.PageToken = pt }(c.querytestablepermissionsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querytestablepermissionsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchForAlertCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FoldersSearchCall) Pages(ctx context.Context, f func(*SearchFoldersResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchfoldersrequest.PageToken = pt }(c.searchfoldersrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchfoldersrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OperationsLroListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTabularStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTabularStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytabularstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytabularstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytabularstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectResultsFindingsListCall) Pages(ctx context.Context, f func(*ListInspectFindingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsBatchSearchLinkProcessesCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = pt }(c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsSearchLinksCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1SearchLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1searchlinksrequest.PageToken = pt }(c.googleclouddatacataloglineagev1searchlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1searchlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTraceSinksListCall) Pages(ctx context.Context, f func(*ListTraceSinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PostsListCall) Pages(ctx context.Context, f func(*PostList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTimeSeriesStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTimeSeriesStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) Pages(ctx context.Context, f func(*ListListingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Pages(ctx context.Context, f func(*ListInventoriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Pages(ctx context.Context, f func(*ListScannedResourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ClaimsSearchCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsSecurityProfilesEnvironmentsComputeEnvironmentScoresCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ComputeEnvironmentScoresResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = pt }(c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SpacesListCall) Pages(ctx context.Context, f func(*ListSpacesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) Pages(ctx context.Context, f func(*ListSharedResourceSubscriptionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (o Oscar) IterateResults(f func(string, int, int, int, time.Duration, time.Duration, time.Duration)) {\n\tfor i, ts := range o.Suits {\n\t\tfor _, tc := range ts.GetCases() {\n\t\t\tcntErr := 0\n\t\t\tif tc.Error != nil {\n\t\t\t\tcntErr = 1\n\t\t\t}\n\t\t\tif cntErr == 0 && tc.CountAssertSuccess == 0 {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\telapsedTotal, elapsedHTTP, elapsedSleep := tc.Elapsed()\n\n\t\t\tf(\n\t\t\t\to.prefix(i)+tc.Name,\n\t\t\t\ttc.CountAssertSuccess,\n\t\t\t\tcntErr,\n\t\t\t\ttc.CountRemoteRequests,\n\t\t\t\telapsedTotal,\n\t\t\t\telapsedHTTP,\n\t\t\t\telapsedSleep,\n\t\t\t)\n\t\t}\n\t}\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListRunsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = pt }(c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AnalyticsListCall) Pages(ctx context.Context, f func(*ListAnalyticsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Pages(ctx context.Context, f func(*ListTimeSeriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *JobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) Pages(ctx context.Context, f func(*LicenseAssignmentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) Pages(ctx context.Context, f func(*ListOSPolicyAssignmentRevisionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OffersHistoryListCall) Pages(ctx context.Context, f func(*ListOffersHistoryResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PagesListCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListCall) Pages(ctx context.Context, f func(*ListDataExchangesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsWorkflowsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsMonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsOccurrencesListCall) Pages(ctx context.Context, f func(*ListOccurrencesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ListProjectsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LeadsListCall) Pages(ctx context.Context, f func(*ListLeadsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesVulnerabilityReportsListCall) Pages(ctx context.Context, f func(*ListVulnerabilityReportsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MobileAppsListCall) Pages(ctx context.Context, f func(*MobileAppsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AlbumsListCall) Pages(ctx context.Context, f func(*ListAlbumsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}" ]
[ "0.6385117", "0.6385117", "0.61931336", "0.6050255", "0.60377496", "0.5975343", "0.58254594", "0.5795353", "0.57905704", "0.5761761", "0.5742627", "0.5742344", "0.57122064", "0.57009333", "0.56289726", "0.56259596", "0.56259596", "0.56147516", "0.5610384", "0.5607374", "0.5596183", "0.5594848", "0.5593261", "0.5592294", "0.5590366", "0.55852586", "0.55809414", "0.5567525", "0.5559744", "0.5518865", "0.5504205", "0.5504205", "0.5472661", "0.5453397", "0.54517", "0.5441173", "0.5441097", "0.5439732", "0.54371125", "0.54345626", "0.5428048", "0.54100716", "0.5406775", "0.5400785", "0.53902346", "0.5389011", "0.538833", "0.5384844", "0.5384844", "0.5378772", "0.53786814", "0.5378518", "0.5376497", "0.5376164", "0.536123", "0.53612185", "0.5357891", "0.5357589", "0.5347534", "0.53216285", "0.5320439", "0.53201383", "0.5314906", "0.53144175", "0.53143954", "0.5308083", "0.5302698", "0.5297023", "0.5297023", "0.5290678", "0.528609", "0.5281889", "0.52758133", "0.52758133", "0.52602905", "0.5257285", "0.52530783", "0.5240184", "0.5240184", "0.5240184", "0.5240184", "0.52392113", "0.5234598", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.52303785", "0.5225146", "0.5221611", "0.5207218", "0.5207218", "0.5202638", "0.51928514", "0.5190276", "0.51826805" ]
0.557982
27
List: List all scanned resources for a single Execution. parent: parent for ListScannedResourcesRequest.
func (r *ProjectsLocationsEvaluationsExecutionsScannedResourcesService) List(parent string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c := &ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (a *resource) List() []interface{} {\n\treturn nil\n}", "func (d *DryccCmd) ResourcesList(appID string, results int) error {\n\ts, appID, err := load(d.ConfigFile, appID)\n\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif results == defaultLimit {\n\t\tresults = s.Limit\n\t}\n\tresources, count, err := resources.List(s.Client, appID, results)\n\tif d.checkAPICompatibility(s.Client, err) != nil {\n\t\treturn err\n\t}\n\n\tif count == 0 {\n\t\td.Println(\"Could not find any resources\")\n\t} else {\n\t\tprintResources(d, appID, resources)\n\t}\n\treturn nil\n}", "func (s *pipelineResourceLister) List(selector labels.Selector) (ret []*v1alpha1.PipelineResource, err error) {\n\terr = cache.ListAll(s.indexer, selector, func(m interface{}) {\n\t\tret = append(ret, m.(*v1alpha1.PipelineResource))\n\t})\n\treturn ret, err\n}", "func (c *Client) ListResources(ctx context.Context, root *view.ContainerView, kind []string, ps []string, dst interface{}) error {\n\tctx1, cancel1 := context.WithTimeout(ctx, c.Timeout)\n\tdefer cancel1()\n\treturn root.Retrieve(ctx1, kind, ps, dst)\n}", "func (p *Provider) ListResources(req *pb.ListResourcesRequest) (*pb.ListResourcesResponse, error) {\n\tlr, err := p.listerForResourcePath(req.GetResourcePath())\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tresources, err := lr.listResources(req)\n\treturn &pb.ListResourcesResponse{Resources: resources}, err\n}", "func (ro *ResourceOperations) List(parameters *ResourceListParameters) (*ResourceListResult, *AzureOperationResponse, error) {\n\tsubscriptionId := getSubscriptionId(ro.c, nil)\n\n\tpath := \"/subscriptions/\" + url.QueryEscape(subscriptionId)\n\n\tif parameters != nil {\n\t\tif parameters.ResourceGroupName != \"\" {\n\t\t\tpath += \"/resourcegroups/\" + url.QueryEscape(parameters.ResourceGroupName)\n\t\t}\n\t}\n\n\tpath += \"/resources?api-version=\" + url.QueryEscape(ro.c.apiVersion)\n\n\tif parameters != nil {\n\t\tif parameters.Top != 0 {\n\t\t\tpath += \"&$top=\" + strconv.Itoa(parameters.Top)\n\t\t}\n\n\t\tfilter := \"\"\n\n\t\tif parameters.ResourceType != \"\" {\n\t\t\tfilter += url.QueryEscape(\"resourceType eq '\" + parameters.ResourceType + \"'\")\n\t\t}\n\n\t\tif parameters.TagValue != \"\" {\n\t\t\tif filter != \"\" {\n\t\t\t\tfilter += url.QueryEscape(\" and \")\n\t\t\t}\n\t\t\tfilter += url.QueryEscape(\"tagValue eq '\" + parameters.ResourceType + \"'\")\n\t\t}\n\n\t\tif filter != \"\" {\n\t\t\tpath += \"&filter=\" + filter\n\t\t}\n\t}\n\n\tvar result ResourceListResult\n\tazureOperationResponse, err := ro.c.DoGet(path, &result)\n\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\treturn &result, azureOperationResponse, nil\n}", "func (r *Runsc) List(context context.Context) ([]*runc.Container, error) {\n\tdata, stderr, err := cmdOutput(r.command(context, \"list\", \"--format=json\"), false)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"%w: %s\", err, stderr)\n\t}\n\tvar out []*runc.Container\n\tif err := json.Unmarshal(data, &out); err != nil {\n\t\treturn nil, err\n\t}\n\treturn out, nil\n}", "func (s *ResourcesService) List(ctx context.Context, realm, clientID string) ([]*Resource, *http.Response, error) {\n\tu := fmt.Sprintf(\"admin/realms/%s/clients/%s/authz/resource-server/resource\", realm, clientID)\n\treq, err := s.keycloak.NewRequest(http.MethodGet, u, nil)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\tvar resources []*Resource\n\tres, err := s.keycloak.Do(ctx, req, &resources)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\treturn resources, res, nil\n}", "func (adm Admin) ListResources(cluster string) (string, error) {\n\t// make sure the cluster is already setup\n\tif ok, err := adm.isClusterSetup(cluster); !ok || err != nil {\n\t\treturn \"\", ErrClusterNotSetup\n\t}\n\n\tbuilder := KeyBuilder{cluster}\n\tisPath := builder.idealStates()\n\tresources, err := adm.zkClient.Children(isPath)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\tvar buffer bytes.Buffer\n\tbuffer.WriteString(\"Existing resources in cluster \" + cluster + \":\\n\")\n\n\tfor _, r := range resources {\n\t\tbuffer.WriteString(\" \" + r + \"\\n\")\n\t}\n\n\treturn buffer.String(), nil\n}", "func (adm Admin) ListResources(cluster string) (string, error) {\n\tconn := newConnection(adm.ZkSvr)\n\terr := conn.Connect()\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\tdefer conn.Disconnect()\n\n\t// make sure the cluster is already setup\n\tif ok, err := conn.IsClusterSetup(cluster); !ok || err != nil {\n\t\treturn \"\", ErrClusterNotSetup\n\t}\n\n\tkeys := KeyBuilder{cluster}\n\tisPath := keys.idealStates()\n\tresources, err := conn.Children(isPath)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\tvar buffer bytes.Buffer\n\tbuffer.WriteString(\"Existing resources in cluster \" + cluster + \":\\n\")\n\n\tfor _, r := range resources {\n\t\tbuffer.WriteString(\" \" + r + \"\\n\")\n\t}\n\n\treturn buffer.String(), nil\n}", "func (crd *CRDHandlers) ResourceList(ctx *processors.ProcessorContext, list interface{}) (resources []interface{}) {\n\tresourceList := list.([]runtime.Object)\n\tresources = make([]interface{}, 0, len(resourceList))\n\n\tfor _, resource := range resourceList {\n\t\tresources = append(resources, resource)\n\t}\n\n\treturn resources\n}", "func (s *runnablesrvc) List(ctx context.Context, p *runnable.ListPayload) (res []*runnable.Runnable, err error) {\n\ts.logger.Print(\"runnable.list\")\n\tidQuery := \"\"\n\tif p.ID != nil {\n\t\tidQuery = *p.ID\n\t}\n\tkindQuery := \"\"\n\tif p.Kind != nil {\n\t\tkindQuery = *p.Kind\n\t}\n\titems, err := s.store.Find(ctx, idQuery, kindQuery, p.Labels)\n\tres = make([]*runnable.Runnable, 0, len(items))\n\tfor _, r := range items {\n\t\tres = append(res, runnableDomainToRest(r))\n\t}\n\treturn res, err\n}", "func (d *Dao) Resources(c context.Context) (rscs []*model.Resource, err error) {\n\tvar size sql.NullString\n\trows, err := d.db.Query(c, _allResSQL)\n\tif err != nil {\n\t\tlog.Error(\"d.Resources query error (%v)\", err)\n\t\treturn\n\t}\n\tdefer rows.Close()\n\tfor rows.Next() {\n\t\trsc := &model.Resource{}\n\t\tif err = rows.Scan(&rsc.ID, &rsc.Platform, &rsc.Name, &rsc.Parent, &rsc.Counter, &rsc.Position, &rsc.Rule, &size, &rsc.Previce,\n\t\t\t&rsc.Desc, &rsc.Mark, &rsc.CTime, &rsc.MTime, &rsc.Level, &rsc.Type, &rsc.IsAd); err != nil {\n\t\t\tlog.Error(\"Resources rows.Scan err (%v)\", err)\n\t\t\treturn\n\t\t}\n\t\trsc.Size = size.String\n\t\trscs = append(rscs, rsc)\n\t}\n\terr = rows.Err()\n\treturn\n}", "func (s pipelineResourceNamespaceLister) List(selector labels.Selector) (ret []*v1alpha1.PipelineResource, err error) {\n\terr = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {\n\t\tret = append(ret, m.(*v1alpha1.PipelineResource))\n\t})\n\treturn ret, err\n}", "func (a *Client) ListResources(ctx context.Context, params *ListResourcesParams) (*ListResourcesOK, error) {\n\n\tresult, err := a.transport.Submit(&runtime.ClientOperation{\n\t\tID: \"listResources\",\n\t\tMethod: \"GET\",\n\t\tPathPattern: \"/approval_system/resource\",\n\t\tProducesMediaTypes: []string{\"application/json\"},\n\t\tConsumesMediaTypes: []string{\"application/json\"},\n\t\tSchemes: []string{\"http\"},\n\t\tParams: params,\n\t\tReader: &ListResourcesReader{formats: a.formats},\n\t\tAuthInfo: a.authInfo,\n\t\tContext: ctx,\n\t\tClient: params.HTTPClient,\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn result.(*ListResourcesOK), nil\n\n}", "func (vm *VM) ScansList(cmd *cobra.Command, args []string) {\n\tlog := vm.setupLog()\n\tlog.Infof(\"tiogo scanners list command:\")\n\n\tcli := ui.NewCLI(vm.Config)\n\n\ta := client.NewAdapter(vm.Config, vm.Metrics)\n\n\tscans, err := a.Scans(true, true)\n\tif err != nil {\n\t\tlog.Errorf(\"error: couldn't scans list: %v\", err)\n\t\treturn\n\t}\n\tscans = vm.FilterScans(a, &scans)\n\n\tif a.Config.VM.OutputJSON {\n\t\t// Convert structs to JSON.\n\t\tdata, err := json.Marshal(scans)\n\t\tif err != nil {\n\t\t\tlog.Fatalf(\"error: couldn't marshal scan data to JSON: %v\", err)\n\t\t}\n\t\tcli.Println(fmt.Sprintf(\"%s\\n\", data))\n\n\t} else if a.Config.VM.OutputCSV || !a.Config.VM.OutputJSON {\n\t\tcli.Println(cli.Render(\"ScansListCSV\", map[string]interface{}{\"Scans\": scans}))\n\t}\n\n\treturn\n}", "func ListResourcesCommand(c *cli.Context) error {\n\n\tkind := strings.ToLower(c.Args().First())\n\n\tif c.NArg() < 2 {\n\t\t// get a list of resources\n\t\tl, err := client.Resources(client.GUID, kind)\n\t\tif err != nil {\n\t\t\tprintError(c, err)\n\t\t\treturn nil\n\t\t}\n\n\t\tif len(l.Resources) == 0 {\n\t\t\tfmt.Println(\"No resources to list.\")\n\t\t} else {\n\t\t\tfmt.Println(assetListing(\"GUID\", \"NAME\", \"KIND\"))\n\t\t\tfor _, details := range l.Resources {\n\t\t\t\tfmt.Println(assetListing(details.GUID, details.Name, details.Kind))\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// get a single resource\n\t\tguid := c.Args().Get(1)\n\n\t\tvar rsrc interface{}\n\t\terr := client.GetResource(client.GUID, kind, guid, &rsrc)\n\t\tif err != nil {\n\t\t\tprintError(c, err)\n\t\t\treturn nil\n\t\t}\n\n\t\t// FIXME verify that rsrc.Kind == kind\n\n\t\tdata, err := yaml.Marshal(rsrc)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tfmt.Printf(\"\\n--- %s/%s-%s:\\n\\n%s\\n\\n\", client.GUID, kind, guid, string(data))\n\n\t}\n\n\treturn nil\n}", "func ListResourceId(nsId string, resourceType string) ([]string, error) {\n\n\terr := common.CheckString(nsId)\n\tif err != nil {\n\t\tcommon.CBLog.Error(err)\n\t\treturn nil, err\n\t}\n\n\tif resourceType == common.StrImage ||\n\t\tresourceType == common.StrSSHKey ||\n\t\tresourceType == common.StrSpec ||\n\t\tresourceType == common.StrVNet ||\n\t\t//resourceType == \"subnet\" ||\n\t\t//resourceType == \"publicIp\" ||\n\t\t//resourceType == \"vNic\" ||\n\t\tresourceType == common.StrSecurityGroup {\n\t\t// continue\n\t} else {\n\t\terr = fmt.Errorf(\"invalid resource type\")\n\t\tcommon.CBLog.Error(err)\n\t\treturn nil, err\n\t}\n\n\tfmt.Println(\"[ListResourceId] ns: \" + nsId + \", type: \" + resourceType)\n\tkey := \"/ns/\" + nsId + \"/resources/\"\n\tfmt.Println(key)\n\n\tkeyValue, _ := common.CBStore.GetList(key, true)\n\n\tvar resourceList []string\n\tfor _, v := range keyValue {\n\t\ttrimmedString := strings.TrimPrefix(v.Key, (key + resourceType + \"/\"))\n\t\t// prevent malformed key (if key for resource id includes '/', the key does not represent resource ID)\n\t\tif !strings.Contains(trimmedString, \"/\") {\n\t\t\tresourceList = append(resourceList, trimmedString)\n\t\t}\n\t}\n\t// for _, v := range resourceList {\n\t// \tfmt.Println(\"<\" + v + \"> \\n\")\n\t// }\n\t// fmt.Println(\"===============================================\")\n\treturn resourceList, nil\n\n}", "func ListResource(nsId string, resourceType string) (interface{}, error) {\n\n\terr := common.CheckString(nsId)\n\tif err != nil {\n\t\tcommon.CBLog.Error(err)\n\t\treturn nil, err\n\t}\n\n\tif resourceType == common.StrImage ||\n\t\tresourceType == common.StrSSHKey ||\n\t\tresourceType == common.StrSpec ||\n\t\tresourceType == common.StrVNet ||\n\t\t//resourceType == \"subnet\" ||\n\t\t//resourceType == \"publicIp\" ||\n\t\t//resourceType == \"vNic\" ||\n\t\tresourceType == common.StrSecurityGroup {\n\t\t// continue\n\t} else {\n\t\terrString := \"Cannot list \" + resourceType + \"s.\"\n\t\terr := fmt.Errorf(errString)\n\t\treturn nil, err\n\t}\n\n\tfmt.Println(\"[Get \" + resourceType + \" list\")\n\tkey := \"/ns/\" + nsId + \"/resources/\" + resourceType\n\tfmt.Println(key)\n\n\tkeyValue, err := common.CBStore.GetList(key, true)\n\tkeyValue = cbstore_utils.GetChildList(keyValue, key)\n\n\tif err != nil {\n\t\tcommon.CBLog.Error(err)\n\t\t/*\n\t\t\tfmt.Println(\"func ListResource; common.CBStore.GetList gave error\")\n\t\t\tvar resourceList []string\n\t\t\tfor _, v := range keyValue {\n\t\t\t\tresourceList = append(resourceList, strings.TrimPrefix(v.Key, \"/ns/\"+nsId+\"/resources/\"+resourceType+\"/\"))\n\t\t\t}\n\t\t\tfor _, v := range resourceList {\n\t\t\t\tfmt.Println(\"<\" + v + \"> \\n\")\n\t\t\t}\n\t\t\tfmt.Println(\"===============================================\")\n\t\t*/\n\t\treturn nil, err\n\t}\n\tif keyValue != nil {\n\t\tswitch resourceType {\n\t\tcase common.StrImage:\n\t\t\tres := []TbImageInfo{}\n\t\t\tfor _, v := range keyValue {\n\t\t\t\ttempObj := TbImageInfo{}\n\t\t\t\terr = json.Unmarshal([]byte(v.Value), &tempObj)\n\t\t\t\tif err != nil {\n\t\t\t\t\tcommon.CBLog.Error(err)\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\tres = append(res, tempObj)\n\t\t\t}\n\t\t\treturn res, nil\n\t\tcase common.StrSecurityGroup:\n\t\t\tres := []TbSecurityGroupInfo{}\n\t\t\tfor _, v := range keyValue {\n\t\t\t\ttempObj := TbSecurityGroupInfo{}\n\t\t\t\terr = json.Unmarshal([]byte(v.Value), &tempObj)\n\t\t\t\tif err != nil {\n\t\t\t\t\tcommon.CBLog.Error(err)\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\tres = append(res, tempObj)\n\t\t\t}\n\t\t\treturn res, nil\n\t\tcase common.StrSpec:\n\t\t\tres := []TbSpecInfo{}\n\t\t\tfor _, v := range keyValue {\n\t\t\t\ttempObj := TbSpecInfo{}\n\t\t\t\terr = json.Unmarshal([]byte(v.Value), &tempObj)\n\t\t\t\tif err != nil {\n\t\t\t\t\tcommon.CBLog.Error(err)\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\tres = append(res, tempObj)\n\t\t\t}\n\t\t\treturn res, nil\n\t\tcase common.StrSSHKey:\n\t\t\tres := []TbSshKeyInfo{}\n\t\t\tfor _, v := range keyValue {\n\t\t\t\ttempObj := TbSshKeyInfo{}\n\t\t\t\terr = json.Unmarshal([]byte(v.Value), &tempObj)\n\t\t\t\tif err != nil {\n\t\t\t\t\tcommon.CBLog.Error(err)\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\tres = append(res, tempObj)\n\t\t\t}\n\t\t\treturn res, nil\n\t\tcase common.StrVNet:\n\t\t\tres := []TbVNetInfo{}\n\t\t\tfor _, v := range keyValue {\n\t\t\t\ttempObj := TbVNetInfo{}\n\t\t\t\terr = json.Unmarshal([]byte(v.Value), &tempObj)\n\t\t\t\tif err != nil {\n\t\t\t\t\tcommon.CBLog.Error(err)\n\t\t\t\t\treturn nil, err\n\t\t\t\t}\n\t\t\t\tres = append(res, tempObj)\n\t\t\t}\n\t\t\treturn res, nil\n\t\t}\n\n\t\t//return true, nil\n\t}\n\n\treturn nil, nil // When err == nil && keyValue == nil\n}", "func (r *ProjectsInstancesService) List(parent string) *ProjectsInstancesListCall {\n\tc := &ProjectsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (act Account) List(f ListFilter) (ResourceList, error) {\n\tvar rl ResourceList\n\terr := common.SendGetRequest(fmt.Sprintf(applications.List, act.AccountSid)+f.getQueryString(), act, &rl)\n\trl.act = &act\n\treturn rl, err\n}", "func (r *ProjectsOccurrencesService) List(parent string) *ProjectsOccurrencesListCall {\n\tc := &ProjectsOccurrencesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProcessesRunsLineageEventsService) List(parent string) *ProjectsLocationsProcessesRunsLineageEventsListCall {\n\tc := &ProjectsLocationsProcessesRunsLineageEventsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProcessesRunsService) List(parent string) *ProjectsLocationsProcessesRunsListCall {\n\tc := &ProjectsLocationsProcessesRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *Controller) ListResources(w http.ResponseWriter, r *http.Request) {\n\tresources := c.Dao.GetResources()\n\tlog.Println(resources)\n\n\tdata, _ := json.Marshal(resources)\n\tw.Header().Set(\"Content-Type\", \"application/json; charset=UTF-8\")\n\tw.Header().Set(\"Access-Control-Allow-Origin\", \"*\")\n\tw.WriteHeader(http.StatusOK)\n\tw.Write(data)\n\treturn\n}", "func listResources(clt resourcesAPIGetter, r *http.Request, resourceKind string) (*types.ListResourcesResponse, error) {\n\tvalues := r.URL.Query()\n\n\tlimit, err := queryLimitAsInt32(values, \"limit\", defaults.MaxIterationLimit)\n\tif err != nil {\n\t\treturn nil, trace.Wrap(err)\n\t}\n\n\t// Sort is expected in format `<fieldName>:<asc|desc>` where\n\t// index 0 is fieldName and index 1 is direction.\n\t// If a direction is not set, or is not recognized, it defaults to ASC.\n\tvar sortBy types.SortBy\n\tsortParam := values.Get(\"sort\")\n\tif sortParam != \"\" {\n\t\tvals := strings.Split(sortParam, \":\")\n\t\tif vals[0] != \"\" {\n\t\t\tsortBy.Field = vals[0]\n\t\t\tif len(vals) > 1 && vals[1] == \"desc\" {\n\t\t\t\tsortBy.IsDesc = true\n\t\t\t}\n\t\t}\n\t}\n\n\tstartKey := values.Get(\"startKey\")\n\treq := proto.ListResourcesRequest{\n\t\tResourceType: resourceKind,\n\t\tLimit: limit,\n\t\tStartKey: startKey,\n\t\tSortBy: sortBy,\n\t\tPredicateExpression: values.Get(\"query\"),\n\t\tSearchKeywords: client.ParseSearchKeywords(values.Get(\"search\"), ' '),\n\t\tUseSearchAsRoles: values.Get(\"searchAsRoles\") == \"yes\",\n\t}\n\n\treturn clt.ListResources(r.Context(), req)\n}", "func (client *Client) ListResources(request *ListResourcesRequest) (_result *ListResourcesResponse, _err error) {\n\truntime := &util.RuntimeOptions{}\n\t_result = &ListResourcesResponse{}\n\t_body, _err := client.ListResourcesWithOptions(request, runtime)\n\tif _err != nil {\n\t\treturn _result, _err\n\t}\n\t_result = _body\n\treturn _result, _err\n}", "func (s *Slurm) Resources(_ context.Context, req *api.ResourcesRequest) (*api.ResourcesResponse, error) {\n\tslurmResources, err := s.client.Resources(req.Partition)\n\tif err != nil {\n\t\treturn nil, errors.Wrapf(err, \"could not get resources for partition %s\", req.Partition)\n\t}\n\n\tpartitionResources := s.cfg[req.Partition]\n\tresponse := &api.ResourcesResponse{\n\t\tNodes: partitionResources.Nodes,\n\t\tCpuPerNode: partitionResources.CPUPerNode,\n\t\tMemPerNode: partitionResources.MemPerNode,\n\t\tWallTime: int64(partitionResources.WallTime.Seconds()),\n\t}\n\n\tfor _, f := range slurmResources.Features {\n\t\tresponse.Features = append(response.Features, &api.Feature{\n\t\t\tName: f.Name,\n\t\t\tVersion: f.Version,\n\t\t\tQuantity: f.Quantity,\n\t\t})\n\t}\n\tfor _, f := range partitionResources.AdditionalFeatures {\n\t\tresponse.Features = append(response.Features, &api.Feature{\n\t\t\tName: f.Name,\n\t\t\tVersion: f.Version,\n\t\t\tQuantity: f.Quantity,\n\t\t})\n\t}\n\n\tif partitionResources.AutoNodes || response.Nodes == 0 {\n\t\tresponse.Nodes = slurmResources.Nodes\n\t}\n\tif partitionResources.AutoCPUPerNode || response.CpuPerNode == 0 {\n\t\tresponse.CpuPerNode = slurmResources.CPUPerNode\n\t}\n\tif partitionResources.AutoMemPerNode || response.MemPerNode == 0 {\n\t\tresponse.MemPerNode = slurmResources.MemPerNode\n\t}\n\tif partitionResources.AutoWallTime || response.WallTime == 0 {\n\t\tresponse.WallTime = int64(slurmResources.WallTime.Seconds())\n\t}\n\n\treturn response, nil\n}", "func (a *Account) Resources() ([]string, error) {\n\tt := a.SkyTable()\n\tresults, err := t.Query(\"SELECT count() GROUP BY resource\")\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tresources := make([]string, 0, len(results))\n\tif results, ok := results[\"resource\"].(map[string]interface{}); ok {\n\t\tfor resource, _ := range results {\n\t\t\tresources = append(resources, resource)\n\t\t}\n\t}\n\tsort.Sort(sort.StringSlice(resources))\n\treturn resources, nil\n}", "func (g genericPlugin) List(gvk schema.GroupVersionKind, namespace string,\n\tclient plugin.KubernetesConnector) ([]helm.KubernetesResource, error) {\n\n\tvar returnData []helm.KubernetesResource\n\treturn returnData, nil\n}", "func (l Leftovers) List(filter string, regex bool) {\n\tl.logger.NoConfirm()\n\tvar deletables []common.Deletable\n\n\tfor _, r := range l.resources {\n\t\tlist, err := r.List(filter, regex)\n\t\tif err != nil {\n\t\t\tl.logger.Println(color.YellowString(err.Error()))\n\t\t}\n\n\t\tdeletables = append(deletables, list...)\n\t}\n\n\tfor _, d := range deletables {\n\t\tl.logger.Println(fmt.Sprintf(\"[%s: %s]\", d.Type(), d.Name()))\n\t}\n}", "func (k Kubernetes) ResourcesList(namespace string, set labels.Set, list runtime.Object, ctx context.Context) error {\n\tobjectList, ok := list.(client.ObjectList)\n\tif !ok {\n\t\treturn fmt.Errorf(\"argument of type %T is not an ObjectList\", list)\n\t}\n\tlabelSelector := labels.SelectorFromSet(set)\n\tlistOps := &client.ListOptions{Namespace: namespace, LabelSelector: labelSelector}\n\terr := k.Client.List(ctx, objectList, listOps)\n\treturn err\n}", "func (c *CLI) ListResources(schemaID string, lp *ListParameters) (string, error) {\n\tif schemaID == \"\" {\n\t\treturn c.showHelp(\"\", listHelpTemplate)\n\t}\n\n\tvar response map[string]interface{}\n\tif _, err := c.ReadWithQuery(\n\t\tcontext.Background(),\n\t\tpluralPath(schemaID),\n\t\tqueryParameters(lp),\n\t\t&response,\n\t); err != nil {\n\t\treturn \"\", err\n\t}\n\n\tvar r Resources\n\tvar err error\n\tswitch {\n\tcase lp.Count:\n\t\treturn encodeToYAML(response)\n\tcase lp.Detail:\n\t\tr, err = makeOutputResourcesFromDetailedResponse(schemaID, response)\n\tdefault:\n\t\tr, err = makeOutputResources(schemaID, response)\n\t}\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\treturn encodeToYAML(r)\n}", "func (s *cognitoResourceServerLister) List(selector labels.Selector) (ret []*v1alpha1.CognitoResourceServer, err error) {\n\terr = cache.ListAll(s.indexer, selector, func(m interface{}) {\n\t\tret = append(ret, m.(*v1alpha1.CognitoResourceServer))\n\t})\n\treturn ret, err\n}", "func (l Leftovers) List(filter string, regex bool) {\n\tl.logger.NoConfirm()\n\n\tvar deletables []common.Deletable\n\n\tfor _, r := range l.resources {\n\t\tlist, err := r.List(filter, regex)\n\t\tif err != nil {\n\t\t\tl.logger.Println(color.YellowString(err.Error()))\n\t\t}\n\n\t\tdeletables = append(deletables, list...)\n\t}\n\n\tfor _, d := range deletables {\n\t\tl.logger.Println(fmt.Sprintf(\"[%s: %s]\", d.Type(), d.Name()))\n\t}\n}", "func NewListResourcesCommand() *cobra.Command {\n\t// Use Discovery's function for listing resources\n\tcmd := discovery.NewQueryDiscoveryCommand()\n\t// Change use for consistency (cl resource list vs cl resource query)\n\tcmd.Use = \"list\"\n\n\treturn cmd\n}", "func (s *adminRuns) List(ctx context.Context, options *AdminRunsListOptions) (*AdminRunsList, error) {\n\tif err := options.valid(); err != nil {\n\t\treturn nil, err\n\t}\n\n\tu := \"admin/runs\"\n\treq, err := s.client.NewRequest(\"GET\", u, options)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\trl := &AdminRunsList{}\n\terr = req.Do(ctx, rl)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn rl, nil\n}", "func (c *resourceDefinitions) List(opts api.ListOptions) (*ResourceDefinitionList, error) {\n\tresp, err := c.rc.Get().\n\t\tNamespace(c.namespace).\n\t\tResource(\"definitions\").\n\t\tLabelsSelectorParam(opts.LabelSelector).\n\t\tDoRaw()\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tresult := &ResourceDefinitionList{}\n\terr = json.NewDecoder(bytes.NewReader(resp)).Decode(result)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn result, nil\n}", "func (api *snapshotrestoreAPI) List(ctx context.Context, opts *api.ListWatchOptions) ([]*SnapshotRestore, error) {\n\tvar objlist []*SnapshotRestore\n\tobjs, err := api.ct.List(\"SnapshotRestore\", ctx, opts)\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tfor _, obj := range objs {\n\t\tswitch tp := obj.(type) {\n\t\tcase *SnapshotRestore:\n\t\t\teobj := obj.(*SnapshotRestore)\n\t\t\tobjlist = append(objlist, eobj)\n\t\tdefault:\n\t\t\tlog.Fatalf(\"Got invalid object type %v while looking for SnapshotRestore\", tp)\n\t\t}\n\t}\n\n\treturn objlist, nil\n}", "func (p *Provider) List() (vm.List, error) {\n\tvar vms vm.List\n\tfor _, prj := range p.GetProjects() {\n\t\targs := []string{\"compute\", \"instances\", \"list\", \"--project\", prj, \"--format\", \"json\"}\n\n\t\t// Run the command, extracting the JSON payload\n\t\tjsonVMS := make([]jsonVM, 0)\n\t\tif err := runJSONCommand(args, &jsonVMS); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\t// Now, convert the json payload into our common VM type\n\t\tfor _, jsonVM := range jsonVMS {\n\t\t\tvms = append(vms, *jsonVM.toVM(prj, &p.opts))\n\t\t}\n\t}\n\n\treturn vms, nil\n}", "func (api *configurationsnapshotAPI) List(ctx context.Context, opts *api.ListWatchOptions) ([]*ConfigurationSnapshot, error) {\n\tvar objlist []*ConfigurationSnapshot\n\tobjs, err := api.ct.List(\"ConfigurationSnapshot\", ctx, opts)\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tfor _, obj := range objs {\n\t\tswitch tp := obj.(type) {\n\t\tcase *ConfigurationSnapshot:\n\t\t\teobj := obj.(*ConfigurationSnapshot)\n\t\t\tobjlist = append(objlist, eobj)\n\t\tdefault:\n\t\t\tlog.Fatalf(\"Got invalid object type %v while looking for ConfigurationSnapshot\", tp)\n\t\t}\n\t}\n\n\treturn objlist, nil\n}", "func (r *ProjectsProvisioningQuotasService) List(parent string) *ProjectsProvisioningQuotasListCall {\n\tc := &ProjectsProvisioningQuotasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (s *customResourceDefinitionLister) List(selector labels.Selector) (ret []*v1.CustomResourceDefinition, err error) {\n\terr = cache.ListAll(s.indexer, selector, func(m interface{}) {\n\t\tret = append(ret, m.(*v1.CustomResourceDefinition))\n\t})\n\treturn ret, err\n}", "func (r *InstanceRead) list(q *msg.Request, mr *msg.Result) {\n\tvar (\n\t\terr error\n\t\tversion int64\n\t\tisInherited bool\n\t\trows *sql.Rows\n\t\tnullRepositoryID, nullBucketID *sql.NullString\n\t\tinstanceID, checkID, configID string\n\t\tobjectID, objectType, status, nextStatus string\n\t\trepositoryID, bucketID, instanceConfigID string\n\t)\n\n\tswitch q.Instance.ObjectType {\n\tcase msg.EntityRepository:\n\t\tnullRepositoryID.String = q.Instance.ObjectID\n\t\tnullRepositoryID.Valid = true\n\tcase msg.EntityBucket:\n\t\tnullBucketID.String = q.Instance.ObjectID\n\t\tnullBucketID.Valid = true\n\tdefault:\n\t\t// only run an unscoped query if the flag has been explicitly\n\t\t// set\n\t\tif !(q.Flag.Unscoped && q.Action == msg.ActionAll) {\n\t\t\tmr.NotImplemented(\n\t\t\t\tfmt.Errorf(\"Instance listing for entity\"+\n\t\t\t\t\t\" type %s is currently not implemented\",\n\t\t\t\t\tq.Instance.ObjectType,\n\t\t\t\t),\n\t\t\t)\n\t\t\treturn\n\t\t}\n\t}\n\n\tif rows, err = r.stmtList.Query(\n\t\tnullRepositoryID,\n\t\tnullBucketID,\n\t); err != nil {\n\t\tmr.ServerError(err, q.Section)\n\t\treturn\n\t}\n\n\tfor rows.Next() {\n\t\tif err = rows.Scan(\n\t\t\t&instanceID,\n\t\t\t&version,\n\t\t\t&checkID,\n\t\t\t&configID,\n\t\t\t&instanceConfigID,\n\t\t\t&nullRepositoryID,\n\t\t\t&nullBucketID,\n\t\t\t&objectID,\n\t\t\t&objectType,\n\t\t\t&status,\n\t\t\t&nextStatus,\n\t\t\t&isInherited,\n\t\t); err != nil {\n\t\t\trows.Close()\n\t\t\tmr.ServerError(err, q.Section)\n\t\t\treturn\n\t\t}\n\n\t\tif nullRepositoryID.Valid {\n\t\t\trepositoryID = nullRepositoryID.String\n\t\t}\n\t\tif nullBucketID.Valid {\n\t\t\tbucketID = nullBucketID.String\n\t\t}\n\n\t\tmr.Instance = append(mr.Instance, proto.Instance{\n\t\t\tID: instanceID,\n\t\t\tVersion: uint64(version),\n\t\t\tCheckID: checkID,\n\t\t\tConfigID: configID,\n\t\t\tInstanceConfigID: instanceConfigID,\n\t\t\tRepositoryID: repositoryID,\n\t\t\tBucketID: bucketID,\n\t\t\tObjectID: objectID,\n\t\t\tObjectType: objectType,\n\t\t\tCurrentStatus: status,\n\t\t\tNextStatus: nextStatus,\n\t\t\tIsInherited: isInherited,\n\t\t})\n\t}\n\tif err = rows.Err(); err != nil {\n\t\tmr.ServerError(err, q.Section)\n\t\treturn\n\t}\n\tmr.OK()\n}", "func (c *Client) ListResources(ctx context.Context, params *ListResourcesInput, optFns ...func(*Options)) (*ListResourcesOutput, error) {\n\tif params == nil {\n\t\tparams = &ListResourcesInput{}\n\t}\n\n\tresult, metadata, err := c.invokeOperation(ctx, \"ListResources\", params, optFns, c.addOperationListResourcesMiddlewares)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tout := result.(*ListResourcesOutput)\n\tout.ResultMetadata = metadata\n\treturn out, nil\n}", "func (r *ProjectsLocationsEvaluationsService) List(parent string) *ProjectsLocationsEvaluationsListCall {\n\tc := &ProjectsLocationsEvaluationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (c *auditLog) getResources() corev1.ResourceRequirements {\n\treturn c.Spec.PodSpec.Resources\n}", "func (c *Client) Resources(query string, extraParams map[string]string) ([]Resource, error) {\n\tin := []Resource{}\n\tparams := mergeParam(\"query\", query, extraParams)\n\terr := c.Get(&in, \"resources\", params)\n\treturn in, err\n}", "func (c *ProcessClient) List(ctx context.Context, opts *ProcessListOptions) ([]*resource.Process, *Pager, error) {\n\tif opts == nil {\n\t\topts = NewProcessOptions()\n\t}\n\n\tvar isos resource.ProcessList\n\terr := c.client.get(ctx, path.Format(\"/v3/processes?%s\", opts.ToQueryString()), &isos)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\tpager := NewPager(isos.Pagination)\n\treturn isos.Resources, pager, nil\n}", "func (c *SubresourceClient) List(namespace string, labels map[string]string) (result []metav1.Object, e error) {\n\tif c.Error != \"\" {\n\t\te = fmt.Errorf(c.Error)\n\t} else {\n\t\tresult = []metav1.Object{c.Subresource}\n\t}\n\treturn\n}", "func (r *InspectResultsFindingsService) List(name string) *InspectResultsFindingsListCall {\n\tc := &InspectResultsFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (u *App) List(c echo.Context, p *model.Pagination) ([]model.File, string, string, int64, int64, error) {\n\tau := u.rbac.User(c)\n\tq, err := query.List(au, model.ResourceFile)\n\tif err != nil {\n\t\treturn nil, \"\", \"\", 0, 0, err\n\t}\n\n\treturn u.udb.List(u.db, q, p)\n}", "func List(baseURL, resourceType string) (*jsh.Document, *http.Response, error) {\n\trequest, err := ListRequest(baseURL, resourceType)\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\treturn Do(request, jsh.ListMode)\n}", "func (c *clusterCache) listResources(ctx context.Context, resClient dynamic.ResourceInterface, callback func(*pager.ListPager) error) (string, error) {\n\tif err := c.listSemaphore.Acquire(ctx, 1); err != nil {\n\t\treturn \"\", err\n\t}\n\tdefer c.listSemaphore.Release(1)\n\tvar retryCount int64 = 0\n\tresourceVersion := \"\"\n\tlistPager := pager.New(func(ctx context.Context, opts metav1.ListOptions) (runtime.Object, error) {\n\t\tvar res *unstructured.UnstructuredList\n\t\tvar listRetry wait.Backoff\n\n\t\tif c.listRetryUseBackoff {\n\t\t\tlistRetry = retry.DefaultBackoff\n\t\t} else {\n\t\t\tlistRetry = retry.DefaultRetry\n\t\t}\n\n\t\tlistRetry.Steps = int(c.listRetryLimit)\n\t\terr := retry.OnError(listRetry, c.listRetryFunc, func() error {\n\t\t\tvar ierr error\n\t\t\tres, ierr = resClient.List(ctx, opts)\n\t\t\tif ierr != nil {\n\t\t\t\t// Log out a retry\n\t\t\t\tif c.listRetryLimit > 1 && c.listRetryFunc(ierr) {\n\t\t\t\t\tretryCount += 1\n\t\t\t\t\tc.log.Info(fmt.Sprintf(\"Error while listing resources: %v (try %d/%d)\", ierr, retryCount, c.listRetryLimit))\n\t\t\t\t}\n\t\t\t\treturn ierr\n\t\t\t}\n\t\t\tresourceVersion = res.GetResourceVersion()\n\t\t\treturn nil\n\t\t})\n\t\treturn res, err\n\t})\n\tlistPager.PageBufferSize = c.listPageBufferSize\n\tlistPager.PageSize = c.listPageSize\n\n\treturn resourceVersion, callback(listPager)\n}", "func getResources() []EmbeddedResource {\n\treturn RESOURCES\n}", "func (yad *yandexDisk) ListPublicResources(fields []string, limit int, offset int, previewCrop bool, previewSize string, resourceType string) (l *PublicResourcesList, e error) {\n\tvalues := url.Values{}\n\tvalues.Add(\"fields\", strings.Join(fields, \",\"))\n\tvalues.Add(\"limit\", strconv.Itoa(limit))\n\tvalues.Add(\"offset\", strconv.Itoa(offset))\n\tvalues.Add(\"preview_crop\", strconv.FormatBool(previewCrop))\n\tvalues.Add(\"preview_size\", previewSize)\n\tvalues.Add(\"type\", resourceType)\n\n\treq, e := yad.client.request(http.MethodGet, \"/disk/resources/public?\"+values.Encode(), nil)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\n\tl = new(PublicResourcesList)\n\t_, e = yad.client.getResponse(req, &l)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn\n}", "func (c *Client) List(rs interface{}) (*http.Response, error) {\n\t// assumption: rs is a pointer to an array of ListableResource\n\t// E.g. *[]Host\n\tt := reflect.TypeOf(rs)\n\tet := t.Elem().Elem()\n\tp := reflect.New(et)\n\tr := p.Interface().(ListableResource)\n\tresp, body, err := c.doRequest(\"GET\", r.Path(\"LIST\"), nil, r.CollectionMediaType())\n\tif err != nil {\n\t\treturn resp, err\n\t}\n\tdec := json.NewDecoder(strings.NewReader(body))\n\terr = dec.Decode(rs)\n\treturn resp, err\n}", "func (*BackupRunsListResponse) Descriptor() ([]byte, []int) {\n\treturn file_google_cloud_sql_v1beta4_cloud_sql_resources_proto_rawDescGZIP(), []int{5}\n}", "func (svc *SSHKeysService) List(ctx context.Context, prj string) ([]SSHKey, *http.Response, error) {\n\tret := make([]SSHKey, 0)\n\tresp, err := svc.client.resourceList(ctx, projectSSHKeysPath(prj), &ret)\n\treturn ret, resp, err\n}", "func (r *ProjectsMonitoredResourceDescriptorsService) List(name string) *ProjectsMonitoredResourceDescriptorsListCall {\n\tc := &ProjectsMonitoredResourceDescriptorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (h *httpCloud) List(filter string) ([]string, error) {\n\tvar resp []string\n\tif err := h.get(h.instancesURL+path.Join(InstancesPath, filter), &resp); err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn resp, nil\n}", "func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {\n\tc := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *ProjectsLocationsProvisioningQuotasService) List(parent string) *ProjectsLocationsProvisioningQuotasListCall {\n\tc := &ProjectsLocationsProvisioningQuotasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (client DeploymentsClient) List(ctx context.Context, resourceGroupName string, serviceName string, appName string, version []string) (result DeploymentResourceCollectionPage, err error) {\n\tif tracing.IsEnabled() {\n\t\tctx = tracing.StartSpan(ctx, fqdn+\"/DeploymentsClient.List\")\n\t\tdefer func() {\n\t\t\tsc := -1\n\t\t\tif result.drc.Response.Response != nil {\n\t\t\t\tsc = result.drc.Response.Response.StatusCode\n\t\t\t}\n\t\t\ttracing.EndSpan(ctx, sc, err)\n\t\t}()\n\t}\n\tresult.fn = client.listNextResults\n\treq, err := client.ListPreparer(ctx, resourceGroupName, serviceName, appName, version)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"appplatform.DeploymentsClient\", \"List\", nil, \"Failure preparing request\")\n\t\treturn\n\t}\n\n\tresp, err := client.ListSender(req)\n\tif err != nil {\n\t\tresult.drc.Response = autorest.Response{Response: resp}\n\t\terr = autorest.NewErrorWithError(err, \"appplatform.DeploymentsClient\", \"List\", resp, \"Failure sending request\")\n\t\treturn\n\t}\n\n\tresult.drc, err = client.ListResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"appplatform.DeploymentsClient\", \"List\", resp, \"Failure responding to request\")\n\t\treturn\n\t}\n\tif result.drc.hasNextLink() && result.drc.IsEmpty() {\n\t\terr = result.NextWithContext(ctx)\n\t\treturn\n\t}\n\n\treturn\n}", "func (res *Resource) List(storage store.List) {\n\tres.HandleFuncC(\n\t\tpat.Get(patRoot),\n\t\tfunc(ctx context.Context, w http.ResponseWriter, r *http.Request) {\n\t\t\tres.listHandler(ctx, w, r, storage)\n\t\t},\n\t)\n\n\tres.addRoute(get, patRoot)\n}", "func (c *ClusterResourceClient) List(ctx context.Context, opts metav1.ListOptions) (*metav1.PartialObjectMetadataList, error) {\n\treturn c.clientCache.ClusterOrDie(logicalcluster.Wildcard).Resource(c.resource).List(ctx, opts)\n}", "func (client *Client) ListResourcesWithOptions(request *ListResourcesRequest, runtime *util.RuntimeOptions) (_result *ListResourcesResponse, _err error) {\n\t_err = util.ValidateModel(request)\n\tif _err != nil {\n\t\treturn _result, _err\n\t}\n\tquery := map[string]interface{}{}\n\tif !tea.BoolValue(util.IsUnset(request.PageNumber)) {\n\t\tquery[\"PageNumber\"] = request.PageNumber\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.PageSize)) {\n\t\tquery[\"PageSize\"] = request.PageSize\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.Region)) {\n\t\tquery[\"Region\"] = request.Region\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.ResourceGroupId)) {\n\t\tquery[\"ResourceGroupId\"] = request.ResourceGroupId\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.ResourceId)) {\n\t\tquery[\"ResourceId\"] = request.ResourceId\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.ResourceType)) {\n\t\tquery[\"ResourceType\"] = request.ResourceType\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.ResourceTypes)) {\n\t\tquery[\"ResourceTypes\"] = request.ResourceTypes\n\t}\n\n\tif !tea.BoolValue(util.IsUnset(request.Service)) {\n\t\tquery[\"Service\"] = request.Service\n\t}\n\n\treq := &openapi.OpenApiRequest{\n\t\tQuery: openapiutil.Query(query),\n\t}\n\tparams := &openapi.Params{\n\t\tAction: tea.String(\"ListResources\"),\n\t\tVersion: tea.String(\"2020-03-31\"),\n\t\tProtocol: tea.String(\"HTTPS\"),\n\t\tPathname: tea.String(\"/\"),\n\t\tMethod: tea.String(\"POST\"),\n\t\tAuthType: tea.String(\"AK\"),\n\t\tStyle: tea.String(\"RPC\"),\n\t\tReqBodyType: tea.String(\"formData\"),\n\t\tBodyType: tea.String(\"json\"),\n\t}\n\t_result = &ListResourcesResponse{}\n\t_body, _err := client.CallApi(params, req, runtime)\n\tif _err != nil {\n\t\treturn _result, _err\n\t}\n\t_err = tea.Convert(_body, &_result)\n\treturn _result, _err\n}", "func (c *Client) List() ([]*release.Release, error) {\n\tlist := action.NewList(c.actionConfig)\n\treturn list.Run()\n}", "func (irq *InstanceRuntimeQuery) All(ctx context.Context) ([]*InstanceRuntime, error) {\n\tif err := irq.prepareQuery(ctx); err != nil {\n\t\treturn nil, err\n\t}\n\treturn irq.sqlAll(ctx)\n}", "func (c *Client) List(ctx context.Context, p *LimitPayload) (res []*Vulnerability, err error) {\n\tvar ires interface{}\n\tires, err = c.ListEndpoint(ctx, p)\n\tif err != nil {\n\t\treturn\n\t}\n\treturn ires.([]*Vulnerability), nil\n}", "func ListResources(limit int64, namespace string, kubeclient *kubernetes.Clientset) (*[]string, error) {\n\tif namespace == \"\" {\n\t\tnamespace = \"default\"\n\t}\n\n\topts := metaV1.ListOptions{\n\t\tLimit: limit,\n\t}\n\topts.APIVersion = \"apps/v1\"\n\topts.Kind = \"Deployment\"\n\n\tlist, err := kubeclient.AppsV1().Deployments(namespace).List(opts)\n\tif err != nil {\n\t\treturn nil, pkgerrors.Wrap(err, \"Get Deployment list error\")\n\t}\n\n\tresult := make([]string, 0, limit)\n\tif list != nil {\n\t\tfor _, deployment := range list.Items {\n\t\t\tresult = append(result, deployment.Name)\n\t\t}\n\t}\n\n\treturn &result, nil\n}", "func (r *Repository) ListRuns(_ context.Context, req controlplane.ListRequest) (runs []*adagio.Run, err error) {\n\tr.mu.Lock()\n\tdefer r.mu.Unlock()\n\n\tfor _, state := range r.runs {\n\t\truns = append(runs, state.run)\n\t}\n\n\tsort.Slice(runs, func(i, j int) bool {\n\t\treturn runs[i].Id > runs[j].Id\n\t})\n\n\tif req.Start != nil || req.Finish != nil {\n\t\tvar (\n\t\t\tmin int\n\t\t\tmax = len(runs)\n\t\t\tminSet, maxSet bool\n\t\t\tstart, _ = time.Parse(time.RFC3339, runs[min].CreatedAt)\n\t\t)\n\n\t\tfinish, terr := time.Parse(time.RFC3339, runs[max-1].CreatedAt)\n\t\tif terr != nil {\n\t\t\tfinish = time.Unix(0, math.MaxInt64)\n\t\t}\n\n\t\tif req.Start != nil {\n\t\t\tstart = *req.Start\n\t\t}\n\n\t\tif req.Finish != nil {\n\t\t\tfinish = *req.Finish\n\t\t}\n\n\t\tif start.Before(finish) {\n\t\t\t// start must be > finish as time descending\n\t\t\truns = nil\n\t\t\treturn\n\t\t}\n\n\t\tfor i, run := range runs {\n\t\t\tcreatedAt, err := time.Parse(time.RFC3339Nano, run.CreatedAt)\n\t\t\tif err != nil {\n\t\t\t\tcontinue\n\t\t\t}\n\n\t\t\tif !minSet && (createdAt.Before(start) || createdAt == start) {\n\t\t\t\tminSet = true\n\t\t\t\tmin = i\n\t\t\t}\n\n\t\t\tif !maxSet && (createdAt.Before(finish) || createdAt == finish) {\n\t\t\t\tmaxSet = true\n\t\t\t\tmax = i + 1\n\t\t\t}\n\t\t}\n\n\t\truns = runs[min:max]\n\t}\n\n\tif limit := req.Limit; limit != nil {\n\t\truns = runs[:int(*limit)]\n\t}\n\n\treturn\n}", "func (a *HyperflexApiService) GetHyperflexHealthCheckExecutionList(ctx context.Context) ApiGetHyperflexHealthCheckExecutionListRequest {\n\treturn ApiGetHyperflexHealthCheckExecutionListRequest{\n\t\tApiService: a,\n\t\tctx: ctx,\n\t}\n}", "func (d *Docker) List(r *kite.Request) (interface{}, error) {\n\tfilter := dockerclient.ListContainersOptions{\n\t\tAll: true,\n\t}\n\n\treturn d.client.ListContainers(filter)\n}", "func (m *mongoDB) ListSuggestedResources(profileID, lang string) ([]schema.Resource, error) {\n\tctx, cancel := context.WithTimeout(context.Background(), defaultTimeout)\n\tdefer cancel()\n\n\tc := m.client.Database(m.database).Collection(schema.ProfileCollection)\n\tcursor, err := c.Aggregate(ctx, mongo.Pipeline{\n\t\tAggregationMatch(bson.M{\"id\": profileID}),\n\t\tAggregationProject(bson.M{\n\t\t\t\"id\": 1,\n\t\t\t\"points_of_interest.resource_ratings.resources\": 1,\n\t\t}),\n\t\tAggregationUnwind(\"$points_of_interest\"),\n\t\tAggregationUnwind(\"$points_of_interest.resource_ratings.resources\"),\n\t\tAggregationAddFields(bson.M{\n\t\t\t\"resource\": bson.A{\n\t\t\t\tbson.A{\n\t\t\t\t\t\"$points_of_interest.resource_ratings.resources.resource.id\",\n\t\t\t\t\t\"$points_of_interest.resource_ratings.resources.resource\",\n\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t\tAggregationProject(bson.M{\n\t\t\t\"id\": 1,\n\t\t\t\"resource\": bson.M{\n\t\t\t\t\"$arrayToObject\": \"$resource\",\n\t\t\t},\n\t\t}),\n\t\tAggregationGroup(\"$id\", bson.D{\n\t\t\tbson.E{\n\t\t\t\tKey: \"resources\",\n\t\t\t\tValue: bson.M{\n\t\t\t\t\t\"$mergeObjects\": \"$resource\",\n\t\t\t\t},\n\t\t\t},\n\t\t}),\n\t})\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tvar result []struct {\n\t\tResources map[string]schema.Resource `json:\"resources\" bson:\"resources\"`\n\t}\n\n\tif err := cursor.All(ctx, &result); nil != err {\n\t\treturn nil, err\n\t}\n\n\timportantResources, err := getResourceList(lang, true)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tvar resources []schema.Resource\n\tif len(result) == 1 {\n\t\tselfOwnedResources := result[0].Resources\n\t\tresources = make([]schema.Resource, 0, len(result[0].Resources))\n\t\tfor id, r := range selfOwnedResources {\n\t\t\tif name, _ := ResolveResourceNameByID(id, lang); name != \"\" {\n\t\t\t\tr.Name = name\n\t\t\t}\n\t\t\tresources = append(resources, r)\n\t\t}\n\n\t\tfor _, r := range importantResources {\n\t\t\tif _, ok := selfOwnedResources[r.ID]; !ok {\n\t\t\t\tresources = append(resources, r)\n\t\t\t}\n\t\t}\n\t} else {\n\t\tresources = importantResources\n\t}\n\n\treturn resources, nil\n}", "func (router *Router) getResources(w http.ResponseWriter, r *http.Request) {\n\tclusterNames := r.URL.Query()[\"cluster\"]\n\tnamespaces := r.URL.Query()[\"namespace\"]\n\tname := r.URL.Query().Get(\"name\")\n\tresource := r.URL.Query().Get(\"resource\")\n\tpath := r.URL.Query().Get(\"path\")\n\tparamName := r.URL.Query().Get(\"paramName\")\n\tparam := r.URL.Query().Get(\"param\")\n\n\tlog.WithFields(logrus.Fields{\"clusters\": clusterNames, \"namespaces\": namespaces, \"name\": name, \"resource\": resource, \"path\": path, \"paramName\": paramName, \"param\": param}).Tracef(\"getResources\")\n\n\tvar resources []Resources\n\n\t// Loop through all the given cluster names and get for each provided name the cluster interface. After that we\n\t// check if the resource was provided via the forbidden resources list.\n\tfor _, clusterName := range clusterNames {\n\t\tcluster := router.clusters.GetCluster(clusterName)\n\t\tif cluster == nil {\n\t\t\terrresponse.Render(w, r, nil, http.StatusBadRequest, \"Invalid cluster name\")\n\t\t\treturn\n\t\t}\n\n\t\tif router.isForbidden(resource) {\n\t\t\terrresponse.Render(w, r, nil, http.StatusForbidden, fmt.Sprintf(\"Access for resource %s is forbidding\", resource))\n\t\t\treturn\n\t\t}\n\n\t\t// If the namespaces slice is nil, we retrieve the resource for all namespaces. If a list of namespaces was\n\t\t// provided we loop through all the namespaces and return the resources for these namespaces. All results are\n\t\t// added to the resources slice, which is then returned by the api.\n\t\tif namespaces == nil {\n\t\t\tlist, err := cluster.GetResources(r.Context(), \"\", name, path, resource, paramName, param)\n\t\t\tif err != nil {\n\t\t\t\terrresponse.Render(w, r, err, http.StatusBadRequest, \"Could not get resources\")\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tvar tmpResources map[string]interface{}\n\t\t\terr = json.Unmarshal(list, &tmpResources)\n\t\t\tif err != nil {\n\t\t\t\terrresponse.Render(w, r, err, http.StatusInternalServerError, \"Could not unmarshal resources\")\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tresources = append(resources, Resources{\n\t\t\t\tCluster: clusterName,\n\t\t\t\tNamespace: \"\",\n\t\t\t\tResources: tmpResources,\n\t\t\t})\n\t\t} else {\n\t\t\tfor _, namespace := range namespaces {\n\t\t\t\tlist, err := cluster.GetResources(r.Context(), namespace, name, path, resource, paramName, param)\n\t\t\t\tif err != nil {\n\t\t\t\t\terrresponse.Render(w, r, err, http.StatusBadRequest, \"Could not get resources\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\n\t\t\t\tvar tmpResources map[string]interface{}\n\t\t\t\terr = json.Unmarshal(list, &tmpResources)\n\t\t\t\tif err != nil {\n\t\t\t\t\terrresponse.Render(w, r, err, http.StatusInternalServerError, \"Could not unmarshal resources\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\n\t\t\t\tresources = append(resources, Resources{\n\t\t\t\t\tCluster: clusterName,\n\t\t\t\t\tNamespace: namespace,\n\t\t\t\t\tResources: tmpResources,\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n\n\tlog.WithFields(logrus.Fields{\"count\": len(resources)}).Tracef(\"getResources\")\n\trender.JSON(w, r, resources)\n}", "func (v ProspectsResource) List(c buffalo.Context) error {\n\t// Get the DB connection from the context\n\ttx := c.Value(\"tx\").(*pop.Connection)\n\n\tprospects := &models.Prospects{}\n\n\t// Paginate results. Params \"page\" and \"per_page\" control pagination.\n\t// Default values are \"page=1\" and \"per_page=20\".\n\tq := tx.PaginateFromParams(c.Params())\n\n\t// Retrieve all Prospects from the DB\n\tif err := q.All(prospects); err != nil {\n\t\treturn errors.WithStack(err)\n\t}\n\n\t// Make Prospects available inside the html template\n\tc.Set(\"prospects\", prospects)\n\n\t// Add the paginator to the context so it can be used in the template.\n\tc.Set(\"pagination\", q.Paginator)\n\n\treturn c.Render(200, r.HTML(\"prospects/index.html\"))\n}", "func (r *RestService) List(relativeURL string, offset int64, limit int64) ([]byte, error) {\n\tqueryParams := fmt.Sprintf(\"?offset=%v&limit=%v\", offset, limit)\n\tfullURL := *r.Bitmovin.APIBaseURL + relativeURL + queryParams\n\n\treq, err := http.NewRequest(\"GET\", fullURL, nil)\n\treq.Header.Set(\"Content-Type\", \"application/json\")\n\treq.Header.Set(\"X-Api-Key\", *r.Bitmovin.APIKey)\n\tif r.Bitmovin.OrganizationID != nil {\n\t\treq.Header.Set(\"X-Tenant-Org-Id\", *r.Bitmovin.OrganizationID)\n\t}\n\treq.Header.Set(\"X-Api-Client\", ClientName)\n\treq.Header.Set(\"X-Api-Client-Version\", Version)\n\n\tresp, err := r.Bitmovin.HTTPClient.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdefer resp.Body.Close()\n\tbody, err := ioutil.ReadAll(resp.Body)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn body, nil\n}", "func (w *DeploymentWrite) list(q *msg.Request, mr *msg.Result) {\n\tvar (\n\t\tinstanceID string\n\t\terr error\n\t\tall *sql.Rows\n\t)\n\n\tif all, err = w.stmtAll.Query(\n\t\tq.Monitoring.ID,\n\t); err != nil {\n\t\tmr.ServerError(err, q.Section)\n\t\treturn\n\t}\n\tdefer all.Close()\n\n\tfor all.Next() {\n\t\tif err = all.Scan(\n\t\t\t&instanceID,\n\t\t); err != nil {\n\t\t\tmr.ServerError(err, q.Section)\n\t\t\treturn\n\t\t}\n\n\t\tmr.Deployment = append(mr.Deployment, proto.Deployment{\n\t\t\tID: instanceID,\n\t\t})\n\n\t\t// XXX BUG requires a manual transaction\n\t\tw.stmtClearFlag.Exec(instanceID)\n\t}\n\tif err = all.Err(); err != nil {\n\t\tmr.ServerError(err, q.Section)\n\t\treturn\n\t}\n\tmr.OK()\n}", "func (c *TrialController) List(w http.ResponseWriter, r *http.Request,\n\tp httprouter.Params) {\n\n\tstudy := p.ByName(\"study\")\n\tprefix := fmt.Sprintf(\"/studies/%s/trials\", study)\n\titems, err := c.studies.PrefixItems([]byte(prefix))\n\tif err != nil {\n\t\thttp.Error(w, err.Error(), 500)\n\t\treturn\n\t}\n\n\tresources := []*Resource{}\n\n\t// Append each item to the list of resources.\n\tfor _, trial := range items {\n\t\tid := string(trial.Key)\n\t\turl := \"http://\" + c.host + id\n\t\trsc := &Resource{\n\t\t\tVersion: \"1\",\n\t\t\tType: \"trial\",\n\t\t\tID: id,\n\t\t\tURL: url,\n\t\t\tData: trial.Value,\n\t\t}\n\t\tresources = append(resources, rsc)\n\t}\n\n\tw.Header().Set(\"Content-Type\", \"application/json\")\n\tjson.NewEncoder(w).Encode(resources)\n}", "func (c *Client) ListScans(httpClient *http.Client) (ScanList, error) {\n\tc.debugln(\"ListScans(): Building list scans URL\")\n\turl := fmt.Sprintf(\"https://%s:%s/scans\", c.ip, c.port)\n\n\tstatusCode, body, err := c.get(httpClient, url)\n\tif err != nil {\n\t\treturn ScanList{}, err\n\t}\n\n\tswitch statusCode {\n\tcase 200:\n\t\tvar scanList ScanList\n\t\terr = json.Unmarshal(body, &scanList)\n\t\tif err != nil {\n\t\t\treturn ScanList{}, err\n\t\t}\n\t\tc.debugln(\"ListScans(): Successfully retrieved list of scans.\")\n\t\treturn scanList, nil\n\tdefault:\n\t\tvar err ErrorResponse\n\t\tunmarshalError := json.Unmarshal(body, &err)\n\t\tif unmarshalError != nil {\n\t\t\treturn ScanList{}, unmarshalError\n\t\t}\n\t\tc.debugln(\"ListScans(): Scans list could not be retrieved.\")\n\t\treturn ScanList{}, fmt.Errorf(\"%s\", err.Error)\n\t}\n}", "func (v AdminsResource) List(c buffalo.Context) error {\n\t// Get the DB connection from the context\n\ttx, ok := c.Value(\"tx\").(*pop.Connection)\n\tif !ok {\n\t\treturn errors.WithStack(errors.New(\"no transaction found\"))\n\t}\n\n\tadmins := &models.Admins{}\n\n\t// Paginate results. Params \"page\" and \"per_page\" control pagination.\n\t// Default values are \"page=1\" and \"per_page=20\".\n\tq := tx.PaginateFromParams(c.Params())\n\n\t// Retrieve all Admins from the DB\n\tif err := q.All(admins); err != nil {\n\t\treturn errors.WithStack(err)\n\t}\n\n\t// Add the paginator to the context so it can be used in the template.\n\tc.Set(\"pagination\", q.Paginator)\n\n\treturn c.Render(200, r.JSON(admins))\n}", "func (r *ProjectsInstancesTablesService) List(parent string) *ProjectsInstancesTablesListCall {\n\tc := &ProjectsInstancesTablesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func rcList(ctx context.Context, in Params) (out Params, err error) {\n\tout = make(Params)\n\tout[\"commands\"] = Calls.List()\n\treturn out, nil\n}", "func (r *HybridIssuersService) List(name string) *HybridIssuersListCall {\n\tc := &HybridIssuersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (s *SnapshotsServiceOp) List(ctx context.Context, opt *ListOptions) ([]Snapshot, *Response, error) {\n\treturn s.list(ctx, opt, nil)\n}", "func (r *SecretsResource) List(request *http.Request) (interface{}, error) {\n\treturn r.secrets.List(request.Context(), api.SecretListFilter{\n\t\tURL: request.FormValue(\"url\"),\n\t\tTag: request.FormValue(\"tag\"),\n\t\tType: api.SecretType(request.FormValue(\"type\")),\n\t\tName: request.FormValue(\"name\"),\n\t\tDeleted: request.FormValue(\"deleted\") == \"true\",\n\t})\n}", "func (a *Service) List(query *Usage) (*Usages, error) {\n\n\tusages, err := a.dataSvc.List(query)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn usages, nil\n}", "func execResourceCommand(c *cli.Context) {\n\ttable := uitable.New()\n\ttable.MaxColWidth = 80\n\ttable.AddRow(\"RESOURCE\", \"DESCRIPTION\")\n\n\tfor _, item := range resource.Registry {\n\t\ttable.AddRow(item.Name, item.Description)\n\t}\n\n\tfmt.Println(table)\n}", "func (r *ProjectsLocationsDataExchangesListingsService) List(parent string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc := &ProjectsLocationsDataExchangesListingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (r *DebugIdentitysourcesUnmappedidsService) List(parent string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc := &DebugIdentitysourcesUnmappedidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}", "func (m *PodRepository) List(n string) (resource.Pods, error) {\n\targs := m.Called(n)\n\treturn args.Get(0).(resource.Pods), args.Error(1)\n}", "func List(params *stripe.SubscriptionScheduleListParams) *Iter {\n\treturn getC().List(params)\n}", "func (s *Starter) List() error {\n\treturn nil\n}", "func (c *DashboardLsCmd) Exec(ctx context.Context, args []string) error {\n\tdashboards, err := c.Conf.Client().Search(ctx, grafsdk.DashTypeSearchOption())\n\tif err != nil {\n\t\treturn err\n\t}\n\n\ttable := tablewriter.NewWriter(os.Stdout)\n\ttable.SetHeader([]string{\"UID\", \"Folder\", \"Title\", \"URL\"})\n\n\tfor _, dashboard := range dashboards {\n\t\ttable.Append([]string{dashboard.UID, dashboard.FolderTitle, dashboard.Title, fmt.Sprintf(\"%s/%s\", c.Conf.APIURL, dashboard.URL)})\n\t}\n\ttable.Render()\n\n\treturn nil\n}", "func ListResource(baseURLs []string, URI string) ([]string, error) {\n\tif strings.HasPrefix(URI, \"@\") {\n\t\tURI = string(URI[1:])\n\t}\n\tfor _, baseURL := range baseURLs {\n\t\tparent, matchingExpr := path.Split(URI)\n\t\tif parent != \"\" {\n\t\t\tbaseURL = toolbox.URLPathJoin(baseURL, parent)\n\t\t} else {\n\t\t\tmatchingExpr = URI\n\t\t}\n\t\tvar exprSuffix = \"\"\n\t\tif path.Ext(matchingExpr) == \"\" {\n\t\t\texprSuffix = \".+\"\n\t\t}\n\t\tregExprText := strings.Replace(matchingExpr, \"*\", \".+\", strings.Count(matchingExpr, \"*\"))\n\t\tregExprText = regExprText + exprSuffix\n\t\tif !strings.HasPrefix(regExprText, \".+\") {\n\t\t\tregExprText = \".+\" + regExprText\n\t\t}\n\t\tregExpression := regexp.MustCompile(regExprText)\n\t\tresource := url.NewResource(baseURL)\n\t\tstorageService, err := storage.NewServiceForURL(resource.URL, \"\")\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tobjects, err := storageService.List(resource.URL)\n\t\tif err != nil {\n\t\t\tcontinue\n\t\t}\n\n\t\tvar result = make([]string, 0)\n\t\tfor _, candidate := range objects {\n\t\t\tif !candidate.IsContent() {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif regExpression.MatchString(candidate.URL()) {\n\t\t\t\tresult = append(result, candidate.URL())\n\t\t\t}\n\t\t}\n\t\tif len(result) > 0 {\n\t\t\tsort.Strings(result)\n\t\t\treturn result, nil\n\t\t}\n\t}\n\treturn nil, nil\n}", "func (c *scheduledJobs) List(opts api.ListOptions) (result *batch.ScheduledJobList, err error) {\n\tresult = &batch.ScheduledJobList{}\n\terr = c.r.Get().Namespace(c.ns).Resource(\"scheduledjobs\").VersionedParams(&opts, api.ParameterCodec).Do().Into(result)\n\treturn\n}", "func (client UsageDetailsClient) List(ctx context.Context, expand string, filter string, skiptoken string, top *int32, apply string) (result UsageDetailsListResultPage, err error) {\n\tif tracing.IsEnabled() {\n\t\tctx = tracing.StartSpan(ctx, fqdn+\"/UsageDetailsClient.List\")\n\t\tdefer func() {\n\t\t\tsc := -1\n\t\t\tif result.udlr.Response.Response != nil {\n\t\t\t\tsc = result.udlr.Response.Response.StatusCode\n\t\t\t}\n\t\t\ttracing.EndSpan(ctx, sc, err)\n\t\t}()\n\t}\n\tif err := validation.Validate([]validation.Validation{\n\t\t{TargetValue: top,\n\t\t\tConstraints: []validation.Constraint{{Target: \"top\", Name: validation.Null, Rule: false,\n\t\t\t\tChain: []validation.Constraint{{Target: \"top\", Name: validation.InclusiveMaximum, Rule: int64(1000), Chain: nil},\n\t\t\t\t\t{Target: \"top\", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil},\n\t\t\t\t}}}}}); err != nil {\n\t\treturn result, validation.NewError(\"consumption.UsageDetailsClient\", \"List\", err.Error())\n\t}\n\n\tresult.fn = client.listNextResults\n\treq, err := client.ListPreparer(ctx, expand, filter, skiptoken, top, apply)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"consumption.UsageDetailsClient\", \"List\", nil, \"Failure preparing request\")\n\t\treturn\n\t}\n\n\tresp, err := client.ListSender(req)\n\tif err != nil {\n\t\tresult.udlr.Response = autorest.Response{Response: resp}\n\t\terr = autorest.NewErrorWithError(err, \"consumption.UsageDetailsClient\", \"List\", resp, \"Failure sending request\")\n\t\treturn\n\t}\n\n\tresult.udlr, err = client.ListResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"consumption.UsageDetailsClient\", \"List\", resp, \"Failure responding to request\")\n\t}\n\n\treturn\n}", "func (a *HyperflexApiService) GetHyperflexHealthCheckExecutionListExecute(r ApiGetHyperflexHealthCheckExecutionListRequest) (*HyperflexHealthCheckExecutionResponse, *http.Response, error) {\n\tvar (\n\t\tlocalVarHTTPMethod = http.MethodGet\n\t\tlocalVarPostBody interface{}\n\t\tformFiles []formFile\n\t\tlocalVarReturnValue *HyperflexHealthCheckExecutionResponse\n\t)\n\n\tlocalBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, \"HyperflexApiService.GetHyperflexHealthCheckExecutionList\")\n\tif err != nil {\n\t\treturn localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}\n\t}\n\n\tlocalVarPath := localBasePath + \"/api/v1/hyperflex/HealthCheckExecutions\"\n\n\tlocalVarHeaderParams := make(map[string]string)\n\tlocalVarQueryParams := url.Values{}\n\tlocalVarFormParams := url.Values{}\n\n\tif r.filter != nil {\n\t\tlocalVarQueryParams.Add(\"$filter\", parameterToString(*r.filter, \"\"))\n\t}\n\tif r.orderby != nil {\n\t\tlocalVarQueryParams.Add(\"$orderby\", parameterToString(*r.orderby, \"\"))\n\t}\n\tif r.top != nil {\n\t\tlocalVarQueryParams.Add(\"$top\", parameterToString(*r.top, \"\"))\n\t}\n\tif r.skip != nil {\n\t\tlocalVarQueryParams.Add(\"$skip\", parameterToString(*r.skip, \"\"))\n\t}\n\tif r.select_ != nil {\n\t\tlocalVarQueryParams.Add(\"$select\", parameterToString(*r.select_, \"\"))\n\t}\n\tif r.expand != nil {\n\t\tlocalVarQueryParams.Add(\"$expand\", parameterToString(*r.expand, \"\"))\n\t}\n\tif r.apply != nil {\n\t\tlocalVarQueryParams.Add(\"$apply\", parameterToString(*r.apply, \"\"))\n\t}\n\tif r.count != nil {\n\t\tlocalVarQueryParams.Add(\"$count\", parameterToString(*r.count, \"\"))\n\t}\n\tif r.inlinecount != nil {\n\t\tlocalVarQueryParams.Add(\"$inlinecount\", parameterToString(*r.inlinecount, \"\"))\n\t}\n\tif r.at != nil {\n\t\tlocalVarQueryParams.Add(\"at\", parameterToString(*r.at, \"\"))\n\t}\n\tif r.tags != nil {\n\t\tlocalVarQueryParams.Add(\"tags\", parameterToString(*r.tags, \"\"))\n\t}\n\t// to determine the Content-Type header\n\tlocalVarHTTPContentTypes := []string{}\n\n\t// set Content-Type header\n\tlocalVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)\n\tif localVarHTTPContentType != \"\" {\n\t\tlocalVarHeaderParams[\"Content-Type\"] = localVarHTTPContentType\n\t}\n\n\t// to determine the Accept header\n\tlocalVarHTTPHeaderAccepts := []string{\"application/json\", \"text/csv\", \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"}\n\n\t// set Accept header\n\tlocalVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)\n\tif localVarHTTPHeaderAccept != \"\" {\n\t\tlocalVarHeaderParams[\"Accept\"] = localVarHTTPHeaderAccept\n\t}\n\treq, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)\n\tif err != nil {\n\t\treturn localVarReturnValue, nil, err\n\t}\n\n\tlocalVarHTTPResponse, err := a.client.callAPI(req)\n\tif err != nil || localVarHTTPResponse == nil {\n\t\treturn localVarReturnValue, localVarHTTPResponse, err\n\t}\n\n\tlocalVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)\n\tlocalVarHTTPResponse.Body.Close()\n\tlocalVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))\n\tif err != nil {\n\t\treturn localVarReturnValue, localVarHTTPResponse, err\n\t}\n\n\tif localVarHTTPResponse.StatusCode >= 300 {\n\t\tnewErr := &GenericOpenAPIError{\n\t\t\tbody: localVarBody,\n\t\t\terror: localVarHTTPResponse.Status,\n\t\t}\n\t\tif localVarHTTPResponse.StatusCode == 400 {\n\t\t\tvar v Error\n\t\t\terr = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get(\"Content-Type\"))\n\t\t\tif err != nil {\n\t\t\t\tnewErr.error = err.Error()\n\t\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t\t}\n\t\t\tnewErr.model = v\n\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t}\n\t\tif localVarHTTPResponse.StatusCode == 401 {\n\t\t\tvar v Error\n\t\t\terr = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get(\"Content-Type\"))\n\t\t\tif err != nil {\n\t\t\t\tnewErr.error = err.Error()\n\t\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t\t}\n\t\t\tnewErr.model = v\n\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t}\n\t\tif localVarHTTPResponse.StatusCode == 403 {\n\t\t\tvar v Error\n\t\t\terr = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get(\"Content-Type\"))\n\t\t\tif err != nil {\n\t\t\t\tnewErr.error = err.Error()\n\t\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t\t}\n\t\t\tnewErr.model = v\n\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t}\n\t\tif localVarHTTPResponse.StatusCode == 404 {\n\t\t\tvar v Error\n\t\t\terr = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get(\"Content-Type\"))\n\t\t\tif err != nil {\n\t\t\t\tnewErr.error = err.Error()\n\t\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t\t}\n\t\t\tnewErr.model = v\n\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t}\n\t\tvar v Error\n\t\terr = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get(\"Content-Type\"))\n\t\tif err != nil {\n\t\t\tnewErr.error = err.Error()\n\t\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t\t}\n\t\tnewErr.model = v\n\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t}\n\n\terr = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get(\"Content-Type\"))\n\tif err != nil {\n\t\tnewErr := &GenericOpenAPIError{\n\t\t\tbody: localVarBody,\n\t\t\terror: err.Error(),\n\t\t}\n\t\treturn localVarReturnValue, localVarHTTPResponse, newErr\n\t}\n\n\treturn localVarReturnValue, localVarHTTPResponse, nil\n}", "func (r *ProjectsPatchJobsInstanceDetailsService) List(parent string) *ProjectsPatchJobsInstanceDetailsListCall {\n\tc := &ProjectsPatchJobsInstanceDetailsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.parent = parent\n\treturn c\n}" ]
[ "0.6234769", "0.5921123", "0.5909287", "0.57476676", "0.5645275", "0.56344914", "0.5555255", "0.5516777", "0.546549", "0.5463913", "0.54458", "0.5440444", "0.5431048", "0.54308575", "0.54151726", "0.54139197", "0.54097444", "0.5388881", "0.5380903", "0.537796", "0.5346413", "0.5295934", "0.52323306", "0.52207196", "0.5197057", "0.5186607", "0.5177434", "0.51765", "0.5167347", "0.51338655", "0.51334065", "0.5129696", "0.51269525", "0.5121275", "0.511545", "0.51061606", "0.5085612", "0.50829643", "0.50566447", "0.50470084", "0.50441796", "0.50425553", "0.5037912", "0.5026237", "0.5021243", "0.5020585", "0.5018529", "0.5009389", "0.5004078", "0.500077", "0.4990552", "0.49875468", "0.49589565", "0.49525157", "0.49508607", "0.4942621", "0.49263144", "0.49195546", "0.49097472", "0.49048367", "0.49007332", "0.48939502", "0.48925215", "0.48873156", "0.48864457", "0.488311", "0.48751575", "0.48745236", "0.48569116", "0.48543087", "0.48463693", "0.48459455", "0.48454773", "0.48437756", "0.48413226", "0.48405093", "0.4828952", "0.48273596", "0.48213202", "0.4818446", "0.47990718", "0.479257", "0.478989", "0.477343", "0.47703958", "0.47601452", "0.476004", "0.4757405", "0.47573996", "0.47527552", "0.47503188", "0.47386178", "0.47367656", "0.47332045", "0.47321776", "0.47319347", "0.472183", "0.4719939", "0.47165668", "0.47146347" ]
0.6882577
0
Filter sets the optional parameter "filter": Filtering results
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Filter(filter string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolReservationListRequest) Filter(filter string) ApiGetIqnpoolReservationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Filter(filter string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPhysicalPortListRequest) Filter(filter string) ApiGetEtherPhysicalPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Filter(filter string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *NestedSort) Filter(filter Query) *NestedSort {\n\ts.filter = filter\n\treturn s\n}", "func (s *FieldSort) Filter(filter Query) *FieldSort {\n\ts.filter = filter\n\treturn s\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherNetworkPortListRequest) Filter(filter string) ApiGetEtherNetworkPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPortChannelListRequest) Filter(filter string) ApiGetEtherPortChannelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherHostPortListRequest) Filter(filter string) ApiGetEtherHostPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsOptimizedHostStatsGetCall) Filter(filter string) *OrganizationsOptimizedHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersGetRequest) Filter(key string, value string) ApiDatacentersGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *Searcher) Filter(filter *Filter, values *resource.MetaValues) *Searcher {\n\tnewSearcher := s.clone()\n\tif newSearcher.filters == nil {\n\t\tnewSearcher.filters = map[*Filter]*resource.MetaValues{}\n\t}\n\tnewSearcher.filters[filter] = values\n\treturn newSearcher\n}", "func (r ApiGetHyperflexHypervisorVirtualMachineListRequest) Filter(filter string) ApiGetHyperflexHypervisorVirtualMachineListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Filter(filter string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *PcloudNetworksGetallParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (q *Query) Filter(fn Filter) error {\n\terr, Answer := fn(q.Answer)\n\tif err == nil {\n\t\tq.Answer = Answer\n\t\treturn nil\n\t}\n\treturn err\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetIqnpoolLeaseListRequest) Filter(filter string) ApiGetIqnpoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolBlockListRequest) Filter(filter string) ApiGetIqnpoolBlockListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Filter(filter string) ApiGetHyperflexDriveListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmBackupInfoListRequest) Filter(filter string) ApiGetHyperflexVmBackupInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (a *AliasAddAction) Filter(filter Query) *AliasAddAction {\n\ta.filter = filter\n\treturn a\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Filter(filter string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Filter(filter string) *OrganizationsEnvironmentsOptimizedStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filters ...FilterOption) Option {\n\treturn func(stackdriver *Stackdriver) {\n\t\tfor i, filterOpt := range filters {\n\t\t\tf := &filter{}\n\t\t\tfilterOpt(f)\n\n\t\t\tif i != 0 || len(stackdriver.Builder.Model.MetricQuery.Filters) != 0 {\n\t\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, \"AND\")\n\t\t\t}\n\n\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, f.leftOperand, f.operator, f.rightOperand)\n\t\t}\n\t}\n}", "func (r ApiGetHyperflexSoftwareVersionPolicyListRequest) Filter(filter string) ApiGetHyperflexSoftwareVersionPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolMemberListRequest) Filter(filter string) ApiGetIqnpoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolMemberListRequest) Filter(filter string) ApiGetResourcepoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersLansNicsGetRequest) Filter(key string, value string) ApiDatacentersLansNicsGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckPackageChecksumListRequest) Filter(filter string) ApiGetHyperflexHealthCheckPackageChecksumListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHypervisorHostListRequest) Filter(filter string) ApiGetHyperflexHypervisorHostListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(pattern string) option {\n\treturn func(b *Benchmark) { b.filter = pattern }\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (q *Query) Filter(rule string) *Query {\n\tq.headers = append(q.headers, \"Filter: \"+rule)\n\treturn q\n}", "func (o *SearchKeywordChunkedParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (res *Resource) Filter(filter *Filter) {\n\tfilter.Resource = res\n\n\tif filter.Label == \"\" {\n\t\tfilter.Label = utils.HumanizeString(filter.Name)\n\t}\n\n\tif filter.Config != nil {\n\t\tfilter.Config.ConfigureQORAdminFilter(filter)\n\t}\n\n\tif filter.Handler == nil {\n\t\t// generate default handler\n\t\tfilter.Handler = func(db *gorm.DB, filterArgument *FilterArgument) *gorm.DB {\n\t\t\tif metaValue := filterArgument.Value.Get(\"Value\"); metaValue != nil {\n\t\t\t\treturn defaultFieldFilter(res, []string{filter.Name}, utils.ToString(metaValue.Value), db, filterArgument.Context)\n\t\t\t}\n\t\t\treturn db\n\t\t}\n\t}\n\n\tif filter.Type != \"\" {\n\t\tres.filters = append(res.filters, filter)\n\t} else {\n\t\tutils.ExitWithMsg(\"Invalid filter definition %v for resource %v\", filter.Name, res.Name)\n\t}\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionEntryListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(f *protocol.Filter) DiscoverOption {\n\treturn func(o *dOpts) {\n\t\to.filter = f\n\t}\n}", "func (r ApiGetHyperflexDevicePackageDownloadStateListRequest) Filter(filter string) ApiGetHyperflexDevicePackageDownloadStateListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func _filter() {\n\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (o *StatsKeywordParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Filter(filter string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsTimeSeriesListCall) Filter(filter string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (m *MetricFilter) Filter(filter shared.Filter) *MetricFilter {\n\tm.filterList = append(m.filterList, filter)\n\treturn m\n}", "func (r ApiGetHyperflexWitnessConfigurationListRequest) Filter(filter string) ApiGetHyperflexWitnessConfigurationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r *BaseRequest) Filter(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$filter\", value)\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Filter(filter string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}" ]
[ "0.7613801", "0.73149055", "0.7232038", "0.72177595", "0.7188748", "0.71641886", "0.7158804", "0.71395916", "0.7118554", "0.7100611", "0.7097384", "0.70959234", "0.7067704", "0.7065445", "0.7045104", "0.70371634", "0.6991673", "0.69791377", "0.69716066", "0.69696736", "0.69662195", "0.6962236", "0.69468486", "0.694096", "0.6936184", "0.69338006", "0.69255906", "0.6923021", "0.6919747", "0.6918894", "0.6911887", "0.69053125", "0.6895643", "0.6891629", "0.6881084", "0.686897", "0.68678534", "0.6855215", "0.68537253", "0.6846495", "0.6842642", "0.6837588", "0.6834355", "0.6832413", "0.6811862", "0.68039936", "0.68039066", "0.680128", "0.6796315", "0.6782212", "0.6779387", "0.67746395", "0.6773015", "0.6763283", "0.6755583", "0.6754923", "0.67538047", "0.67528474", "0.6747142", "0.6740469", "0.67389363", "0.67295986", "0.67294925", "0.6724824", "0.6722244", "0.6720388", "0.6719311", "0.67076564", "0.6704733", "0.6699595", "0.669441", "0.6689736", "0.66795975", "0.6678893", "0.66696155", "0.66670495", "0.66531974", "0.6640079", "0.66399586", "0.6628327", "0.6627854", "0.662464", "0.6623294", "0.6620388", "0.66159326", "0.6597185", "0.6592744", "0.65912837", "0.6589069", "0.6582502", "0.65760064", "0.655564", "0.6543559", "0.6535776", "0.65304244", "0.6509727", "0.6506073", "0.65049624", "0.6503301", "0.6496722", "0.64714897" ]
0.0
-1
OrderBy sets the optional parameter "orderBy": Field to sort by. See for more details.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) OrderBy(orderBy string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.urlParams_.Set("orderBy", orderBy) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (s *Select) OrderBy(fieldName ...string) *Select {\n\ts.orderBy = fieldName\n\treturn s\n}", "func (p *queryPlan) orderBy() {\n\torder := p.stm.OrderByConfig()\n\tif len(order) <= 0 {\n\t\treturn\n\t}\n\ttracer.V(2).Trace(p.tracer, func() *tracer.Arguments {\n\t\treturn &tracer.Arguments{\n\t\t\tMsgs: []string{\"Ordering by \" + order.String()},\n\t\t}\n\t})\n\tp.tbl.Sort(order)\n}", "func (q *Query) OrderBy(field_name string, desc bool) *Query {\n\tq.order_by = append(q.order_by, query.Order{\n\t\tField: field_name,\n\t\tDesc: desc,\n\t})\n\treturn q\n}", "func (q *Query) OrderBy(orderBys ...string) *Query {\n\tq.orderBys = append(q.orderBys, orderBys...)\n\treturn q\n}", "func OrderBy(query string) QueryOption {\n\treturn newFuncQueryOption(func(wrapper *QueryWrapper) {\n\t\twrapper.order = query\n\t\twrapper.queryLen += 2\n\t})\n}", "func (ub *UpdateBuilder) OrderBy(col ...string) *UpdateBuilder {\n\tub.orderByCols = col\n\tub.marker = updateMarkerAfterOrderBy\n\treturn ub\n}", "func (o *QtreeCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (q *queryImpl) OrderBy(orderBys ...string) Query {\n\tq.orderBys = append(q.orderBys, orderBys...)\n\treturn q\n}", "func (o *FileInfoCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (q *Query) OrderBy(bys ...string) *Query {\n\tq.orderBys = append(q.orderBys, bys...)\n\treturn q\n}", "func (b *SelectBuilder) OrderBy(exprs ...interface{}) *SelectBuilder {\n\tb.Select.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (ub *UpdateBuilder) OrderBy(\n\torderBys ...string,\n) *UpdateBuilder {\n\tub.sql = ub.sql.OrderBy(orderBys...)\n\treturn ub\n}", "func (q *Query) OrderBy(expression string, asc bool) *Query {\n\tq.ordering = append(q.ordering, &order{expression, asc})\n\treturn q\n}", "func (sb *SQLBuilder) OrderBy(operator string, fields ...string) *SQLBuilder {\n\tvar buf strings.Builder\n\n\tbuf.WriteString(\"ORDER BY \")\n\n\tfor k, field := range fields {\n\n\t\tbuf.WriteString(field)\n\n\t\tif k != len(fields)-1 {\n\t\t\tbuf.WriteString(\",\")\n\t\t}\n\t}\n\n\tbuf.WriteString(\" \")\n\tbuf.WriteString(operator)\n\n\tsb._orderBy = buf.String()\n\n\treturn sb\n}", "func (i *Item) OrderBy() string {\n\tif i.orderBy != \"\" {\n\t\treturn i.orderBy\n\t}\n\tswitch key := i.Key.(type) {\n\tcase Order:\n\t\ti.orderBy = key.OrderBy()\n\tcase string:\n\t\ti.orderBy = key\n\tcase fmt.Stringer:\n\t\ti.orderBy = key.String()\n\tdefault:\n\t\ti.orderBy = fmt.Sprint(key)\n\t}\n\treturn i.orderBy\n}", "func (q ReleaseQuery) OrderBy(cmd string) ReleaseQuery {\n\tq.builder = q.builder.OrderBy(cmd)\n\treturn q\n}", "func (fb *Firebase) OrderBy(value string) *Firebase {\n\tc := fb.copy()\n\tif value != \"\" {\n\t\tc.params.Set(orderByParam, value)\n\t} else {\n\t\tc.params.Del(orderByParam)\n\t}\n\treturn c\n}", "func (o *ListScansParams) SetOrderBy(orderBy *string) {\n\to.OrderBy = orderBy\n}", "func (r *BaseRequest) OrderBy(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$orderby\", value)\n}", "func OrderBy(field string, asc bool) Query {\n\treturn func(db *gorm.DB) *gorm.DB {\n\t\tif asc {\n\t\t\treturn db.Order(field + \" ASC\")\n\t\t}\n\n\t\treturn db.Order(field + \" DESC\")\n\t}\n}", "func (r ApiDatacentersGetRequest) OrderBy(orderBy string) ApiDatacentersGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func (b *QueryBuilder) OrderBy(nodes ...NodeI) {\n\tb.OrderBys = append(b.OrderBys, nodes...)\n}", "func (o *GetSMSitemsParams) SetOrderBy(orderBy string) {\n\to.OrderBy = orderBy\n}", "func (c *commentsQueryBuilder) OrderBy(fields ...string) *commentsQueryBuilder {\n\tif c.err != nil {\n\t\treturn c\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tc.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Comments'\")\n\t\t\treturn c\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Comments.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tc.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Comments'\", field)\n\t\t\treturn c\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tc.builder.OrderBy(sortFields...)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) OrderBy(orderBy string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (o *GetInterceptionitemsParams) SetOrderBy(orderBy string) {\n\to.OrderBy = orderBy\n}", "func (o *EmsEventCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (q Query) OrderBy(key string, ascending bool) Query {\n\tq[orderByKey] = Ordering{key, ascending}\n\treturn q\n}", "func (o *AccountCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (m *AssignmentFilterEvaluateRequest) SetOrderBy(value []string)() {\n err := m.GetBackingStore().Set(\"orderBy\", value)\n if err != nil {\n panic(err)\n }\n}", "func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetOrderBy(_orderBy string) error {\n\tr._orderBy = _orderBy\n\tr.Set(\"order_by\", _orderBy)\n\treturn nil\n}", "func (r ApiDatacentersLansGetRequest) OrderBy(orderBy string) ApiDatacentersLansGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func OrderBy(order Order, fieldPaths ...interface{}) QueryOptions {\n\treturn func(query *Query) (*Query, error) {\n\t\tif len(fieldPaths) == 0 {\n\t\t\treturn query, nil\n\t\t}\n\t\tvar fp []interface{}\n\t\tfor _, field := range fieldPaths {\n\t\t\tif fieldString, ok := field.(string); ok {\n\t\t\t\tfp = append(fp, map[string]interface{}{fieldString: orders[order]})\n\t\t\t} else {\n\t\t\t\treturn nil, errors.New(\"field path type can be only string\")\n\t\t\t}\n\t\t}\n\t\tresMap, err := mergeQueryMaps(query.content,\n\t\t\tmap[string]interface{}{operations[ORDER_BY]: fp})\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tquery.content = resMap.(map[string]interface{})\n\t\treturn query, nil\n\t}\n}", "func (p *postsQueryBuilder) OrderBy(fields ...string) *postsQueryBuilder {\n\tif p.err != nil {\n\t\treturn p\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tp.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Posts'\")\n\t\t\treturn p\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Posts.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tp.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Posts'\", field)\n\t\t\treturn p\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tp.builder.OrderBy(sortFields...)\n\treturn p\n}", "func (b *blogsQueryBuilder) OrderBy(fields ...string) *blogsQueryBuilder {\n\tif b.err != nil {\n\t\treturn b\n\t}\n\tsortFields := make([]query.Sort, len(fields))\n\tfor i, field := range fields {\n\t\tif len(field) == 0 {\n\t\t\tb.err = errors.Wrap(mapping.ErrInvalidModelField, \"cannot set sorting order for an empty field for model: '_Blogs'\")\n\t\t\treturn b\n\t\t}\n\t\tvar order query.SortOrder\n\t\tif field[0] == '-' {\n\t\t\torder = query.DescendingOrder\n\t\t\tfield = field[1:]\n\t\t}\n\t\tstructField, ok := NRN_Blogs.Model.FieldByName(field)\n\t\tif !ok {\n\t\t\tb.err = errors.Wrapf(mapping.ErrInvalidModelField, \"field: '%s' is not valid for model: '_Blogs'\", field)\n\t\t\treturn b\n\t\t}\n\t\tsortFields[i] = query.SortField{StructField: structField, SortOrder: order}\n\t}\n\tb.builder.OrderBy(sortFields...)\n\treturn b\n}", "func (b *UpdateBuilder) OrderBy(exprs ...interface{}) *UpdateBuilder {\n\tb.Update.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func (s *ListConfigurationsInput) SetOrderBy(v []*OrderByElement) *ListConfigurationsInput {\n\ts.OrderBy = v\n\treturn s\n}", "func (o *BucketsCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (s *ListProfileTimesInput) SetOrderBy(v string) *ListProfileTimesInput {\n\ts.OrderBy = &v\n\treturn s\n}", "func (o *ApplicationComponentSnapshotCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (stmt *statement) OrderBy(expr ...string) Statement {\n\tstmt.addPart(posOrderBy, \"ORDER BY\", strings.Join(expr, \", \"), nil, \", \")\n\treturn stmt\n}", "func (s *TabularConditions) SetOrderBy(v []*OrderBy) *TabularConditions {\n\ts.OrderBy = v\n\treturn s\n}", "func (o *PortsetCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (self *TStatement) OrderBy(clause string) *TStatement {\r\n\tif len(self.OrderByClause) > 0 {\r\n\t\tself.OrderByClause += \", \"\r\n\t}\r\n\tself.OrderByClause += clause\r\n\treturn self\r\n}", "func (s *Session) OrderBy(orderby string) *Session {\n\ts.statement.OrderBy(orderby)\n\treturn s\n}", "func (session *Session) OrderBy(order string) *Session {\n\tsession.Statement.OrderBy(order)\n\treturn session\n}", "func (q ReleaseGroupQuery) OrderBy(cmd string) ReleaseGroupQuery {\n\tq.builder = q.builder.OrderBy(cmd)\n\treturn q\n}", "func (b *DeleteBuilder) OrderBy(exprs ...interface{}) *DeleteBuilder {\n\tb.Delete.OrderBy = makeOrderBy(exprs...)\n\treturn b\n}", "func OrderBy(clause string) QueryMod {\n\treturn func(q *queries.Query) {\n\t\tqueries.AppendOrderBy(q, clause)\n\t}\n}", "func (session *Session) OrderBy(order string) *Session {\n\tsession.Session = session.Session.OrderBy(order)\n\treturn session\n}", "func ExampleZSelectBuilder_OrderBy() {\n\tuser := q.T(\"user\")\n\tfmt.Println(\n\t\t\"Single order: \",\n\t\tq.Select().From(user).OrderBy(user.C(\"age\"), true),\n\t)\n\tfmt.Println(\n\t\t\"Multiple order:\",\n\t\tq.Select().From(user).OrderBy(user.C(\"age\"), true).OrderBy(\n\t\t\tq.CharLength(user.C(\"name\")), false),\n\t)\n\t// Output:\n\t// Single order: SELECT * FROM \"user\" ORDER BY \"user\".\"age\" ASC []\n\t// Multiple order: SELECT * FROM \"user\" ORDER BY \"user\".\"age\" ASC, CHAR_LENGTH(\"user\".\"name\") DESC []\n}", "func (c *OffersHistoryListCall) OrderBy(orderBy string) *OffersHistoryListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiDatacentersLansNicsGetRequest) OrderBy(orderBy string) ApiDatacentersLansNicsGetRequest {\n\tr.orderBy = &orderBy\n\treturn r\n}", "func (w *Wrapper) buildOrderBy() (query string) {\n\tif len(w.orders) == 0 {\n\t\treturn\n\t}\n\tquery += \"ORDER BY \"\n\tfor _, v := range w.orders {\n\t\tswitch len(v.args) {\n\t\t// .OrderBy(\"RAND()\")\n\t\tcase 0:\n\t\t\tquery += fmt.Sprintf(\"%s, \", v.column)\n\t\t// .OrderBy(\"ID\", \"ASC\")\n\t\tcase 1:\n\t\t\tquery += fmt.Sprintf(\"%s %s, \", v.column, v.args[0])\n\t\t// .OrderBy(\"UserGroup\", \"ASC\", \"SuperUser\", \"Admin\")\n\t\tdefault:\n\t\t\tquery += fmt.Sprintf(\"FIELD (%s, %s) %s, \", v.column, w.bindParams(v.args[1:]), v.args[0])\n\t\t}\n\t}\n\tquery = trim(query)\n\treturn\n}", "func (w *Wrapper) OrderBy(column string, args ...interface{}) *Wrapper {\n\tw.orders = append(w.orders, order{\n\t\tcolumn: column,\n\t\targs: args,\n\t})\n\treturn w\n}", "func (c *LeadsListCall) OrderBy(orderBy string) *LeadsListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (s *FieldSort) Order(ascending bool) *FieldSort {\n\ts.ascending = ascending\n\treturn s\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Orderby(orderby string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Orderby(orderby string) ApiGetHyperflexDriveListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (SqlBuilder *SqlBuilder) OrderByField(col string, n int) *SqlBuilder {\n\tvar sql string\n\tquesStr := \"?\"\n\tfor i := 1; i < n; i++ {\n\t\tquesStr += \",?\"\n\t}\n\tif !SqlBuilder.hasOrder {\n\t\tsql = SqlBuilder.sql + \" ORDER BY FIELD (\" + col + \",\" + quesStr + \")\"\n\t\tSqlBuilder.hasOrder = true\n\t}\n\tSqlBuilder.sql = sql\n\treturn SqlBuilder\n}", "func (o *SecurityCertificateCollectionGetParams) SetOrderBy(orderBy []string) {\n\to.OrderBy = orderBy\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Orderby(orderby string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Orderby(orderby string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Orderby(orderby string) ApiGetHyperflexNodeListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Orderby(orderby string) ApiGetBulkRequestListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *ProjectsTracesListCall) OrderBy(orderBy string) *ProjectsTracesListCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetBulkResultListRequest) Orderby(orderby string) ApiGetBulkResultListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (b UpdateBuilder) OrderBy(orderBys ...string) WhereConditions {\n\treturn builder.Extend(b, \"OrderBys\", orderBys).(UpdateBuilder)\n}", "func (r ApiGetHyperflexExtFcStoragePolicyListRequest) Orderby(orderby string) ApiGetHyperflexExtFcStoragePolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Orderby(orderby string) ApiGetHyperflexEncryptionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (c *ProjectsLogEntriesListCall) OrderBy(orderBy string) *ProjectsLogEntriesListCall {\n\tc.params_.Set(\"orderBy\", fmt.Sprintf(\"%v\", orderBy))\n\treturn c\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Orderby(orderby string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Orderby(orderby string) ApiGetBulkSubRequestObjListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexAutoSupportPolicyListRequest) Orderby(orderby string) ApiGetHyperflexAutoSupportPolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Orderby(orderby string) ApiGetHyperflexVolumeListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (query *Query) CleanOrderBy() *Query {\n\treturn query.clean(ORDER_BY)\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Orderby(orderby string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Orderby(orderby string) ApiGetHyperflexConfigResultListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (wfq *WithFieldsQuery) Order(o ...OrderFunc) *WithFieldsQuery {\n\twfq.order = append(wfq.order, o...)\n\treturn wfq\n}", "func (r ApiGetHyperflexExtIscsiStoragePolicyListRequest) Orderby(orderby string) ApiGetHyperflexExtIscsiStoragePolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexAlarmListRequest) Orderby(orderby string) ApiGetHyperflexAlarmListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Orderby(orderby string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Orderby(orderby string) ApiGetHyperflexServerModelListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (eq *EntityQuery) Order(o ...OrderFunc) *EntityQuery {\n\teq.order = append(eq.order, o...)\n\treturn eq\n}", "func (s UserSet) OrderBy(exprs ...string) m.UserSet {\n\tres := s.Collection().Call(\"OrderBy\", exprs)\n\tresTyped := res.(models.RecordSet).Collection().Wrap(\"User\").(m.UserSet)\n\treturn resTyped\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Orderby(orderby string) ApiGetBulkMoDeepClonerListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Orderby(orderby string) ApiGetBulkExportedItemListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (q *PollOptionQuery) Order(cols ...kallax.ColumnOrder) *PollOptionQuery {\n\tq.BaseQuery.Order(cols...)\n\treturn q\n}", "func (r ApiGetEtherPortChannelListRequest) Orderby(orderby string) ApiGetEtherPortChannelListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) OrderBy() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey) *string { return v.OrderBy }).(pulumi.StringPtrOutput)\n}", "func (q *Query) Order(order string) *Query {\n\tq.order = strings.ToUpper(order)\n\treturn q\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Orderby(orderby string) ApiGetHyperflexAppCatalogListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (tq *TeamQuery) Order(o ...OrderFunc) *TeamQuery {\n\ttq.order = append(tq.order, o...)\n\treturn tq\n}", "func (c *CompaniesGetCall) OrderBy(orderBy string) *CompaniesGetCall {\n\tc.urlParams_.Set(\"orderBy\", orderBy)\n\treturn c\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Orderby(orderby string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Orderby(orderby string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Orderby(orderby string) ApiGetHyperflexLicenseListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Orderby(orderby string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Orderby(orderby string) ApiGetBulkExportListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Orderby(orderby string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.orderby = &orderby\n\treturn r\n}", "func (r ApiGetHyperflexUcsmConfigPolicyListRequest) Orderby(orderby string) ApiGetHyperflexUcsmConfigPolicyListRequest {\n\tr.orderby = &orderby\n\treturn r\n}" ]
[ "0.80244493", "0.73643374", "0.72603476", "0.7258644", "0.72454166", "0.71785676", "0.7176395", "0.7156925", "0.7139292", "0.7136753", "0.7128309", "0.71270156", "0.7107046", "0.71044976", "0.7093972", "0.7073644", "0.70612216", "0.70580834", "0.69976264", "0.69866353", "0.6983478", "0.6965843", "0.6939357", "0.69303864", "0.6919996", "0.6900991", "0.68962866", "0.6891733", "0.68529487", "0.6847532", "0.68039507", "0.6793422", "0.6771787", "0.675789", "0.6710695", "0.6705588", "0.6705319", "0.6701197", "0.67009056", "0.6699277", "0.66635025", "0.66469365", "0.6646754", "0.66293573", "0.65951276", "0.6592168", "0.6586767", "0.65827733", "0.6582758", "0.6561662", "0.6520329", "0.6514784", "0.6504191", "0.6491057", "0.6487288", "0.6480612", "0.64661485", "0.6446745", "0.64152646", "0.6410238", "0.63967174", "0.6394305", "0.63886386", "0.63853", "0.6382903", "0.6378978", "0.6372531", "0.6352678", "0.63444173", "0.63230807", "0.63212925", "0.63154703", "0.630633", "0.6302592", "0.6300385", "0.62710744", "0.62549794", "0.6254292", "0.62527186", "0.6239215", "0.62392056", "0.6238352", "0.6232112", "0.62317127", "0.62246555", "0.62206966", "0.6218781", "0.62164307", "0.6208713", "0.61861515", "0.6185847", "0.61787534", "0.61763537", "0.61697936", "0.61677414", "0.6167544", "0.6165711", "0.6161169", "0.6155895", "0.6143138", "0.6142819" ]
0.0
-1
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func GetPageSize() uint64 {\n\tpanic(\"not implemented\")\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PerPage(items int) ReqOption {\n\treturn func(v url.Values) {\n\t\tv.Set(\"per_page\", strconv.FormatInt(int64(items), 10))\n\t}\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsModulesListCall) PageSize(pageSize int64) *AppsModulesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r *Reader) PageSize(numOfRecs int) *Reader {\n\tif r.XMLName.Local == readByQueryXMLName.Local {\n\t\tr.MaxRecs = numOfRecs\n\t}\n\treturn r\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func TestGetPageSize(t *testing.T) {\n\tcases := []struct {\n\t\toffset, total, limit, expected int64\n\t\tname string\n\t}{\n\t\t{1, 0, 50, 0, \"no results\"},\n\t\t{1, 1, 50, 1, \"first partial page\"},\n\t\t{1, 50, 50, 50, \"first full page\"},\n\t\t{2, 100, 50, 50, \"second page full\"},\n\t\t{2, 51, 50, 1, \"last partial page\"},\n\t}\n\tfor _, tt := range cases {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tactual := getPageSize(tt.offset, tt.total, tt.limit)\n\t\t\tassert.Equal(t, tt.expected, actual, \"actual didn't match expected\")\n\t\t})\n\t}\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *NgGrid) GetPageSize() int64 {\n\tif g.PageSize <= 0 {\n\t\tg.PageSize = 10\n\t}\n\treturn g.PageSize\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageSize(pageSize int64) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AnalyticsListCall) PageSize(pageSize int64) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageSize(pageSize int64) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Pagination(w http.ResponseWriter, query url.Values, m martini.Context) {\n\tpage, pageErr := strconv.Atoi(query.Get(\"page\"))\n\titemsPerPage, itemsPerPageErr := strconv.Atoi(query.Get(\"items_per_page\"))\n\n\tif pageErr != nil || itemsPerPageErr != nil || page < 1 || itemsPerPage < 1 {\n\t\tm.Map(PaginationParameters{Page: 1, ItemsPerPage: 9})\n\t\treturn\n\t}\n\n\tm.Map(PaginationParameters{Page: page, ItemsPerPage: itemsPerPage})\n}", "func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Getpagesize() int", "func (c *ProjectsLocationsSshKeysListCall) PageSize(pageSize int64) *ProjectsLocationsSshKeysListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}" ]
[ "0.7274209", "0.701945", "0.69617605", "0.692516", "0.6885352", "0.6866736", "0.6866736", "0.6845252", "0.6835827", "0.6835827", "0.6817208", "0.6775267", "0.6767747", "0.673274", "0.6727912", "0.6700367", "0.6684521", "0.6675541", "0.6660196", "0.66599935", "0.6658882", "0.6657966", "0.6657966", "0.6647495", "0.6641844", "0.6618285", "0.66170025", "0.66118234", "0.65837187", "0.65785056", "0.65749335", "0.65743893", "0.65743893", "0.65626407", "0.65484864", "0.6508971", "0.65041417", "0.6485236", "0.6482728", "0.64791846", "0.64791846", "0.64651304", "0.6463661", "0.6461254", "0.64480793", "0.6446679", "0.6436346", "0.6426727", "0.642092", "0.6418986", "0.63930416", "0.6392819", "0.63827634", "0.63792425", "0.6365407", "0.63606155", "0.63579947", "0.6355858", "0.6349108", "0.6345932", "0.6333204", "0.63244057", "0.6292225", "0.6287441", "0.62693524", "0.625476", "0.625476", "0.6216655", "0.6216655", "0.62098116", "0.62009186", "0.61917627", "0.6179089", "0.6169112", "0.61621606", "0.61594194", "0.61383194", "0.6134104", "0.61314315", "0.6113393", "0.61022186", "0.609343", "0.6086481", "0.60816056", "0.60798514", "0.6072496", "0.60681385", "0.60633546", "0.60597837", "0.60566187", "0.6043685", "0.6043053", "0.6038784", "0.6032883", "0.6029209", "0.6026132", "0.601977", "0.6018692", "0.6014004", "0.60127723", "0.6007652" ]
0.0
-1
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchCallSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (o *Ga4ghSearchLabtestsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchContinuousSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) HasPageToken() bool {\n\tif o != nil && o.PageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchFusionDetectionResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *InspectResultsFindingsListCall) PageToken(pageToken string) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FoldersListCall) PageToken(pageToken string) *FoldersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AnalyticsListCall) PageToken(pageToken string) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageToken(pageToken string) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageToken(pageToken string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsInstancesListCall) PageToken(pageToken string) *OrganizationsInstancesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *ClaimsSearchCall) PageToken(pageToken string) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageTokenOk() (string, bool) {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.PageToken, true\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsDatacollectorsListCall) PageToken(pageToken string) *OrganizationsDatacollectorsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsLroListCall) PageToken(pageToken string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *OrganizationsKeyvaluemapsEntriesListCall) PageToken(pageToken string) *OrganizationsKeyvaluemapsEntriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InspectOperationsListCall) PageToken(pageToken string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAssignmentsListCall) PageToken(pageToken string) *OrganizationsAssignmentsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageToken(pageToken string) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductAndSkuCall) PageToken(pageToken string) *LicenseAssignmentsListForProductAndSkuCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsOperationsListCall) PageToken(pageToken string) *OrganizationsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}" ]
[ "0.7369471", "0.7302752", "0.7251194", "0.72151184", "0.7202782", "0.7189614", "0.71505827", "0.71363527", "0.67805034", "0.62296206", "0.60767096", "0.6045957", "0.60092926", "0.5977839", "0.59351814", "0.58830935", "0.5857471", "0.585491", "0.5851233", "0.5811328", "0.5800197", "0.5791592", "0.57762986", "0.57709295", "0.5759026", "0.5748762", "0.5721243", "0.57132715", "0.5701048", "0.56961405", "0.5678241", "0.5674472", "0.5654988", "0.56252563", "0.5620214", "0.56141156", "0.5609486", "0.5597532", "0.5584185", "0.55772513", "0.55759436", "0.55623657", "0.5558496", "0.5558496", "0.55474347", "0.5545152", "0.55406207", "0.5539797", "0.55359006", "0.55359006", "0.55352", "0.5523935", "0.5505479", "0.5505479", "0.5504875", "0.55043226", "0.55024004", "0.5490266", "0.548498", "0.54800993", "0.54800993", "0.5478743", "0.5478743", "0.54643804", "0.5459536", "0.5458328", "0.5452571", "0.5452571", "0.5442545", "0.541659", "0.5390428", "0.53801346", "0.5377993", "0.5364351", "0.5362287", "0.5362193", "0.5362193", "0.53595597", "0.5354372", "0.5342174", "0.53393406", "0.53393406", "0.5338532", "0.5316509", "0.5312542", "0.5310517", "0.5303711", "0.53028387", "0.5301836", "0.52925056", "0.52888733", "0.52854145", "0.5280628", "0.52783394", "0.52783394", "0.5276838", "0.5274739", "0.52733904", "0.5273051", "0.5269542", "0.52677435" ]
0.0
-1
Rule sets the optional parameter "rule": rule name
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Rule(rule string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.urlParams_.Set("rule", rule) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (m *AssignmentFilterEvaluateRequest) SetRule(value *string)() {\n err := m.GetBackingStore().Set(\"rule\", value)\n if err != nil {\n panic(err)\n }\n}", "func (m *DeviceAndAppManagementAssignmentFilter) SetRule(value *string)() {\n err := m.GetBackingStore().Set(\"rule\", value)\n if err != nil {\n panic(err)\n }\n}", "func (m *RuleBasedSubjectSet) SetRule(value *string)() {\n err := m.GetBackingStore().Set(\"rule\", value)\n if err != nil {\n panic(err)\n }\n}", "func (s TestingSingleton) Rule(rule string) TestingBuildParams {\n\treturn buildParamsFromRule(s.provider, rule)\n}", "func (s *GetRateBasedRuleOutput) SetRule(v *RateBasedRule) *GetRateBasedRuleOutput {\n\ts.Rule = v\n\treturn s\n}", "func (s *CreateRateBasedRuleOutput) SetRule(v *RateBasedRule) *CreateRateBasedRuleOutput {\n\ts.Rule = v\n\treturn s\n}", "func (m TestingModule) Rule(rule string) TestingBuildParams {\n\treturn buildParamsFromRule(m.module, rule)\n}", "func RegisterRule(rule Rule) {\n\tif rule.Description == \"\" || rule.DefaultSeverity == Severity(\"\") {\n\t\trule.DefaultSeverity = SeverityIgnore\n\t}\n\trulesByName[rule.Name] = &rule\n}", "func (self *PolicyAgent) AddRule(rule *OfnetPolicyRule, ret *bool) error {\n\tvar ipDa *net.IP = nil\n\tvar ipDaMask *net.IP = nil\n\tvar ipSa *net.IP = nil\n\tvar ipSaMask *net.IP = nil\n\tvar md *uint64 = nil\n\tvar mdm *uint64 = nil\n\tvar flag, flagMask uint16\n\tvar flagPtr, flagMaskPtr *uint16\n\tvar err error\n\n\t// make sure switch is connected\n\tif !self.agent.IsSwitchConnected() {\n\t\tself.agent.WaitForSwitchConnection()\n\t}\n\n\t// check if we already have the rule\n\tself.mutex.RLock()\n\tif self.Rules[rule.RuleId] != nil {\n\t\toldRule := self.Rules[rule.RuleId].Rule\n\n\t\tif ruleIsSame(oldRule, rule) {\n\t\t\tself.mutex.RUnlock()\n\t\t\treturn nil\n\t\t} else {\n\t\t\tself.mutex.RUnlock()\n\t\t\tlog.Errorf(\"Rule already exists. new rule: {%+v}, old rule: {%+v}\", rule, oldRule)\n\t\t\treturn errors.New(\"Rule already exists\")\n\t\t}\n\t}\n\tself.mutex.RUnlock()\n\n\tlog.Infof(\"Received AddRule: %+v\", rule)\n\n\t// Parse dst ip\n\tif rule.DstIpAddr != \"\" {\n\t\tipDa, ipDaMask, err = ParseIPAddrMaskString(rule.DstIpAddr)\n\t\tif err != nil {\n\t\t\tlog.Errorf(\"Error parsing dst ip %s. Err: %v\", rule.DstIpAddr, err)\n\t\t\treturn err\n\t\t}\n\t}\n\n\t// parse src ip\n\tif rule.SrcIpAddr != \"\" {\n\t\tipSa, ipSaMask, err = ParseIPAddrMaskString(rule.SrcIpAddr)\n\t\tif err != nil {\n\t\t\tlog.Errorf(\"Error parsing src ip %s. Err: %v\", rule.SrcIpAddr, err)\n\t\t\treturn err\n\t\t}\n\t}\n\n\t// parse source/dst endpoint groups\n\tif rule.SrcEndpointGroup != 0 && rule.DstEndpointGroup != 0 {\n\t\tsrcMetadata, srcMetadataMask := SrcGroupMetadata(rule.SrcEndpointGroup)\n\t\tdstMetadata, dstMetadataMask := DstGroupMetadata(rule.DstEndpointGroup)\n\t\tmetadata := srcMetadata | dstMetadata\n\t\tmetadataMask := srcMetadataMask | dstMetadataMask\n\t\tmd = &metadata\n\t\tmdm = &metadataMask\n\t} else if rule.SrcEndpointGroup != 0 {\n\t\tsrcMetadata, srcMetadataMask := SrcGroupMetadata(rule.SrcEndpointGroup)\n\t\tmd = &srcMetadata\n\t\tmdm = &srcMetadataMask\n\t} else if rule.DstEndpointGroup != 0 {\n\t\tdstMetadata, dstMetadataMask := DstGroupMetadata(rule.DstEndpointGroup)\n\t\tmd = &dstMetadata\n\t\tmdm = &dstMetadataMask\n\t}\n\n\t// Setup TCP flags\n\tif rule.IpProtocol == 6 && rule.TcpFlags != \"\" {\n\t\tswitch rule.TcpFlags {\n\t\tcase \"syn\":\n\t\t\tflag = TCP_FLAG_SYN\n\t\t\tflagMask = TCP_FLAG_SYN\n\t\tcase \"syn,ack\":\n\t\t\tflag = TCP_FLAG_ACK | TCP_FLAG_SYN\n\t\t\tflagMask = TCP_FLAG_ACK | TCP_FLAG_SYN\n\t\tcase \"ack\":\n\t\t\tflag = TCP_FLAG_ACK\n\t\t\tflagMask = TCP_FLAG_ACK\n\t\tcase \"syn,!ack\":\n\t\t\tflag = TCP_FLAG_SYN\n\t\t\tflagMask = TCP_FLAG_ACK | TCP_FLAG_SYN\n\t\tcase \"!syn,ack\":\n\t\t\tflag = TCP_FLAG_ACK\n\t\t\tflagMask = TCP_FLAG_ACK | TCP_FLAG_SYN\n\t\tdefault:\n\t\t\tlog.Errorf(\"Unknown TCP flags: %s, in rule: %+v\", rule.TcpFlags, rule)\n\t\t\treturn errors.New(\"Unknown TCP flag\")\n\t\t}\n\n\t\tflagPtr = &flag\n\t\tflagMaskPtr = &flagMask\n\t}\n\t// Install the rule in policy table\n\truleFlow, err := self.policyTable.NewFlow(ofctrl.FlowMatch{\n\t\tPriority: uint16(FLOW_POLICY_PRIORITY_OFFSET + rule.Priority),\n\t\tEthertype: 0x0800,\n\t\tIpDa: ipDa,\n\t\tIpDaMask: ipDaMask,\n\t\tIpSa: ipSa,\n\t\tIpSaMask: ipSaMask,\n\t\tIpProto: rule.IpProtocol,\n\t\tTcpSrcPort: rule.SrcPort,\n\t\tTcpDstPort: rule.DstPort,\n\t\tUdpSrcPort: rule.SrcPort,\n\t\tUdpDstPort: rule.DstPort,\n\t\tMetadata: md,\n\t\tMetadataMask: mdm,\n\t\tTcpFlags: flagPtr,\n\t\tTcpFlagsMask: flagMaskPtr,\n\t})\n\tif err != nil {\n\t\tlog.Errorf(\"Error adding flow for rule {%v}. Err: %v\", rule, err)\n\t\treturn err\n\t}\n\n\t// Point it to next table\n\tif rule.Action == \"allow\" {\n\t\terr = ruleFlow.Next(self.nextTable)\n\t\tif err != nil {\n\t\t\tlog.Errorf(\"Error installing flow {%+v}. Err: %v\", ruleFlow, err)\n\t\t\treturn err\n\t\t}\n\t} else if rule.Action == \"deny\" {\n\t\terr = ruleFlow.Next(self.ofSwitch.DropAction())\n\t\tif err != nil {\n\t\t\tlog.Errorf(\"Error installing flow {%+v}. Err: %v\", ruleFlow, err)\n\t\t\treturn err\n\t\t}\n\t} else {\n\t\tlog.Errorf(\"Unknown action in rule {%+v}\", rule)\n\t\treturn errors.New(\"Unknown action in rule\")\n\t}\n\n\t// save the rule\n\tpRule := PolicyRule{\n\t\tRule: rule,\n\t\tflow: ruleFlow,\n\t}\n\tself.mutex.Lock()\n\tself.Rules[rule.RuleId] = &pRule\n\tself.mutex.Unlock()\n\n\treturn nil\n}", "func (gtx *GuardTx) Rule(rule *schema.Rule) *schema.Rule {\n\tif rule == nil {\n\t\treturn &schema.Rule{\n\t\t\tEntity: schema.Entity{DBContract: gtx.dbTx},\n\t\t}\n\t}\n\trule.DBContract = gtx.dbTx\n\trule.SetValidator(gtx.validator.Rule)\n\treturn rule\n}", "func (*Kind) Rule(cfg *validate.RuleConfig) (validate.Rule, error) {\n\tcfg.Merge(defaultConfig)\n\treturn &Rule{BaseRule: validate.NewBaseRule(validate.Repository, *cfg)}, nil\n}", "func (probe *BridgeOfProbe) addRule(rule *Rule) {\n\tlogging.GetLogger().Infof(\"New rule %v added\", rule.UUID)\n\tg := probe.OvsOfProbe.Graph\n\tg.Lock()\n\tdefer g.Unlock()\n\tbridgeNode := probe.BridgeNode\n\tmetadata := graph.Metadata{\n\t\t\"Type\": \"ofrule\",\n\t\t\"cookie\": fmt.Sprintf(\"0x%x\", rule.Cookie),\n\t\t\"table\": rule.Table,\n\t\t\"filters\": rule.Filter,\n\t\t\"actions\": rule.Actions,\n\t\t\"priority\": rule.Priority,\n\t\t\"UUID\": rule.UUID,\n\t}\n\truleNode := g.NewNode(graph.GenID(), metadata)\n\tg.Link(bridgeNode, ruleNode, graph.Metadata{\"RelationType\": \"ownership\"})\n}", "func (s *GetRuleOutput) SetRule(v *Rule) *GetRuleOutput {\n\ts.Rule = v\n\treturn s\n}", "func NewRule() *Rule {\n\tthis := Rule{}\n\treturn &this\n}", "func (r *BatchV1JobRule) createRule(job *batchV1.Job, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(job)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(job)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(job)\n\t\t},\n\t}\n\treturn rule\n}", "func ruleHandler(w http.ResponseWriter, r *http.Request) {\n\tdefer r.Body.Close()\n\tvars := mux.Vars(r)\n\tname := vars[\"name\"]\n\n\tswitch r.Method {\n\tcase http.MethodGet:\n\t\trule, err := ruleProcessor.GetRuleJson(name)\n\t\tif err != nil {\n\t\t\thandleError(w, err, \"Describe rule error\", logger)\n\t\t\treturn\n\t\t}\n\t\tw.Header().Add(ContentType, ContentTypeJSON)\n\t\tw.Write([]byte(rule))\n\tcase http.MethodDelete:\n\t\tdeleteRule(name)\n\t\tcontent, err := ruleProcessor.ExecDrop(name)\n\t\tif err != nil {\n\t\t\thandleError(w, err, \"Delete rule error\", logger)\n\t\t\treturn\n\t\t}\n\t\tw.WriteHeader(http.StatusOK)\n\t\tw.Write([]byte(content))\n\tcase http.MethodPut:\n\t\t_, err := ruleProcessor.GetRuleById(name)\n\t\tif err != nil {\n\t\t\thandleError(w, err, \"Rule not found\", logger)\n\t\t\treturn\n\t\t}\n\n\t\tbody, err := io.ReadAll(r.Body)\n\t\tif err != nil {\n\t\t\thandleError(w, err, \"Invalid body\", logger)\n\t\t\treturn\n\t\t}\n\t\terr = updateRule(name, string(body))\n\t\tif err != nil {\n\t\t\thandleError(w, err, \"Update rule error\", logger)\n\t\t\treturn\n\t\t}\n\t\t// Update to db after validation\n\t\t_, err = ruleProcessor.ExecUpdate(name, string(body))\n\t\tif err != nil {\n\t\t\thandleError(w, err, \"Update rule error, suggest to delete it and recreate\", logger)\n\t\t\treturn\n\t\t}\n\t\tw.WriteHeader(http.StatusOK)\n\t\tfmt.Fprintf(w, \"Rule %s was updated successfully.\", name)\n\t}\n}", "func (s *tsLibrary) Rule(otherGen ...*rule.Rule) *rule.Rule {\n\tnewRule := rule.NewRule(s.Kind(), s.Name())\n\n\tnewRule.SetAttr(\"srcs\", s.Srcs())\n\n\tdeps := s.Deps()\n\tif len(deps) > 0 {\n\t\tnewRule.SetAttr(\"deps\", deps)\n\t}\n\n\targs := s.RuleConfig.GetAttr(\"args\")\n\tif len(args) > 0 {\n\t\tnewRule.SetAttr(\"args\", args)\n\t}\n\n\ttsconfig := s.RuleConfig.GetAttr(\"tsconfig\")\n\tif len(tsconfig) > 0 {\n\t\tif len(tsconfig) > 1 {\n\t\t\tlog.Printf(\"warning (%s) found multiple entries for 'tsconfig', choosing last one: %v\", s.Kind(), tsconfig)\n\t\t}\n\t\tnewRule.SetAttr(\"tsconfig\", tsconfig[len(tsconfig)-1])\n\t}\n\n\toutdir := s.RuleConfig.GetAttr(\"out_dir\")\n\tif len(outdir) > 0 {\n\t\tif len(outdir) > 1 {\n\t\t\tlog.Printf(\"warning (%s) found multiple entries for 'out_dir', choosing last one: %v\", s.Kind(), outdir)\n\t\t}\n\t\tnewRule.SetAttr(\"out_dir\", outdir[len(outdir)-1])\n\t}\n\n\tif s.flags.includeProtoLibraryData {\n\t\tnewRule.SetAttr(\"data\", []string{s.Config.Library.Name()})\n\t}\n\n\tvisibility := s.Visibility()\n\tif len(visibility) > 0 {\n\t\tnewRule.SetAttr(\"visibility\", visibility)\n\t}\n\n\treturn newRule\n}", "func (obj *ruleNode) Rule() Rule {\n\treturn obj.rule\n}", "func (d NPRuleBook) AddRule(rule *PRule) error {\n\tif _, o := d[rule.GetFrom()]; o == false {\n\t\tset := NewSet()\n\t\tset.Add(rule.GetTo())\n\t\tmap4 := map[string]Set{rule.GetPush(): set}\n\t\tmap3 := map[string]map[string]Set{rule.GetPop(): map4}\n\t\tmap2 := map[string]map[string]map[string]Set{rule.GetWith(): map3}\n\t\td[rule.GetFrom()] = map2\n\t} else if _, ok := d[rule.GetFrom()][rule.GetWith()]; ok == false {\n\t\tset := NewSet()\n\t\tset.Add(rule.GetTo())\n\t\tmap3 := map[string]Set{rule.GetPush(): set}\n\t\tmap2 := map[string]map[string]Set{rule.GetPop(): map3}\n\t\td[rule.GetFrom()][rule.GetWith()] = map2\n\t} else if _, okk := d[rule.GetFrom()][rule.GetWith()][rule.GetPop()]; okk == false {\n\t\tset := NewSet()\n\t\tset.Add(rule.GetTo())\n\t\tmap3 := map[string]Set{rule.GetPush(): set}\n\t\td[rule.GetFrom()][rule.GetWith()][rule.GetPop()] = map3\n\t} else if _, okkk := d[rule.GetFrom()][rule.GetWith()][rule.GetPop()][rule.GetPush()]; okkk == false {\n\t\tset := NewSet()\n\t\tset.Add(rule.GetTo())\n\t\td[rule.GetFrom()][rule.GetWith()][rule.GetPop()][rule.GetPush()] = set\n\t} else {\n\t\td[rule.GetFrom()][rule.GetWith()][rule.GetPop()][rule.GetPush()].Add(rule.GetPush())\n\t}\n\treturn nil\n}", "func (o RouteFilterOutput) Rule() RouteFilterRuleOutput {\n\treturn o.ApplyT(func(v *RouteFilter) RouteFilterRuleOutput { return v.Rule }).(RouteFilterRuleOutput)\n}", "func (s *DescribeRuleOutput) SetRule(v *Rule) *DescribeRuleOutput {\n\ts.Rule = v\n\treturn s\n}", "func (s *CreateRuleOutput) SetRule(v *Rule) *CreateRuleOutput {\n\ts.Rule = v\n\treturn s\n}", "func (r *V1NamespaceRule) createRule(namespace *v1.Namespace, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(namespace)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(namespace)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(namespace)\n\t\t},\n\t}\n\treturn rule\n}", "func registerRule(app *extkingpin.App) {\n\tcomp := component.Rule\n\tcmd := app.Command(comp.String(), \"Ruler evaluating Prometheus rules against given Query nodes, exposing Store API and storing old blocks in bucket.\")\n\n\tconf := &ruleConfig{}\n\tconf.registerFlag(cmd)\n\n\tlabelStrs := cmd.Flag(\"label\", \"Labels to be applied to all generated metrics (repeated). Similar to external labels for Prometheus, used to identify ruler and its blocks as unique source.\").\n\t\tPlaceHolder(\"<name>=\\\"<value>\\\"\").Strings()\n\ttsdbBlockDuration := extkingpin.ModelDuration(cmd.Flag(\"tsdb.block-duration\", \"Block duration for TSDB block.\").\n\t\tDefault(\"2h\"))\n\ttsdbRetention := extkingpin.ModelDuration(cmd.Flag(\"tsdb.retention\", \"Block retention time on local disk.\").\n\t\tDefault(\"48h\"))\n\tnoLockFile := cmd.Flag(\"tsdb.no-lockfile\", \"Do not create lockfile in TSDB data directory. In any case, the lockfiles will be deleted on next startup.\").Default(\"false\").Bool()\n\twalCompression := cmd.Flag(\"tsdb.wal-compression\", \"Compress the tsdb WAL.\").Default(\"true\").Bool()\n\n\tcmd.Flag(\"data-dir\", \"data directory\").Default(\"data/\").StringVar(&conf.dataDir)\n\tcmd.Flag(\"rule-file\", \"Rule files that should be used by rule manager. Can be in glob format (repeated). Note that rules are not automatically detected, use SIGHUP or do HTTP POST /-/reload to re-read them.\").\n\t\tDefault(\"rules/\").StringsVar(&conf.ruleFiles)\n\tcmd.Flag(\"resend-delay\", \"Minimum amount of time to wait before resending an alert to Alertmanager.\").\n\t\tDefault(\"1m\").DurationVar(&conf.resendDelay)\n\tcmd.Flag(\"eval-interval\", \"The default evaluation interval to use.\").\n\t\tDefault(\"1m\").DurationVar(&conf.evalInterval)\n\tcmd.Flag(\"for-outage-tolerance\", \"Max time to tolerate prometheus outage for restoring \\\"for\\\" state of alert.\").\n\t\tDefault(\"1h\").DurationVar(&conf.outageTolerance)\n\tcmd.Flag(\"for-grace-period\", \"Minimum duration between alert and restored \\\"for\\\" state. This is maintained only for alerts with configured \\\"for\\\" time greater than grace period.\").\n\t\tDefault(\"10m\").DurationVar(&conf.forGracePeriod)\n\tcmd.Flag(\"restore-ignored-label\", \"Label names to be ignored when restoring alerts from the remote storage. This is only used in stateless mode.\").\n\t\tStringsVar(&conf.ignoredLabelNames)\n\n\tconf.rwConfig = extflag.RegisterPathOrContent(cmd, \"remote-write.config\", \"YAML config for the remote-write configurations, that specify servers where samples should be sent to (see https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write). This automatically enables stateless mode for ruler and no series will be stored in the ruler's TSDB. If an empty config (or file) is provided, the flag is ignored and ruler is run with its own TSDB.\", extflag.WithEnvSubstitution())\n\n\treqLogDecision := cmd.Flag(\"log.request.decision\", \"Deprecation Warning - This flag would be soon deprecated, and replaced with `request.logging-config`. Request Logging for logging the start and end of requests. By default this flag is disabled. LogFinishCall: Logs the finish call of the requests. LogStartAndFinishCall: Logs the start and finish call of the requests. NoLogCall: Disable request logging.\").Default(\"\").Enum(\"NoLogCall\", \"LogFinishCall\", \"LogStartAndFinishCall\", \"\")\n\n\tconf.objStoreConfig = extkingpin.RegisterCommonObjStoreFlags(cmd, \"\", false)\n\n\treqLogConfig := extkingpin.RegisterRequestLoggingFlags(cmd)\n\n\tvar err error\n\tcmd.Setup(func(g *run.Group, logger log.Logger, reg *prometheus.Registry, tracer opentracing.Tracer, reload <-chan struct{}, _ bool) error {\n\t\tconf.lset, err = parseFlagLabels(*labelStrs)\n\t\tif err != nil {\n\t\t\treturn errors.Wrap(err, \"parse labels\")\n\t\t}\n\n\t\tconf.alertQueryURL, err = url.Parse(*conf.alertmgr.alertQueryURL)\n\t\tif err != nil {\n\t\t\treturn errors.Wrap(err, \"parse alert query url\")\n\t\t}\n\n\t\ttsdbOpts := &tsdb.Options{\n\t\t\tMinBlockDuration: int64(time.Duration(*tsdbBlockDuration) / time.Millisecond),\n\t\t\tMaxBlockDuration: int64(time.Duration(*tsdbBlockDuration) / time.Millisecond),\n\t\t\tRetentionDuration: int64(time.Duration(*tsdbRetention) / time.Millisecond),\n\t\t\tNoLockfile: *noLockFile,\n\t\t\tWALCompression: *walCompression,\n\t\t}\n\n\t\tagentOpts := &agent.Options{\n\t\t\tWALCompression: *walCompression,\n\t\t\tNoLockfile: *noLockFile,\n\t\t}\n\n\t\t// Parse and check query configuration.\n\t\tlookupQueries := map[string]struct{}{}\n\t\tfor _, q := range conf.query.addrs {\n\t\t\tif _, ok := lookupQueries[q]; ok {\n\t\t\t\treturn errors.Errorf(\"Address %s is duplicated for --query flag.\", q)\n\t\t\t}\n\n\t\t\tlookupQueries[q] = struct{}{}\n\t\t}\n\n\t\tconf.queryConfigYAML, err = conf.query.configPath.Content()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif len(conf.query.sdFiles) == 0 && len(conf.query.addrs) == 0 && len(conf.queryConfigYAML) == 0 {\n\t\t\treturn errors.New(\"no --query parameter was given\")\n\t\t}\n\t\tif (len(conf.query.sdFiles) != 0 || len(conf.query.addrs) != 0) && len(conf.queryConfigYAML) != 0 {\n\t\t\treturn errors.New(\"--query/--query.sd-files and --query.config* parameters cannot be defined at the same time\")\n\t\t}\n\n\t\t// Parse and check alerting configuration.\n\t\tconf.alertmgrsConfigYAML, err = conf.alertmgr.configPath.Content()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif len(conf.alertmgrsConfigYAML) != 0 && len(conf.alertmgr.alertmgrURLs) != 0 {\n\t\t\treturn errors.New(\"--alertmanagers.url and --alertmanagers.config* parameters cannot be defined at the same time\")\n\t\t}\n\n\t\tconf.alertRelabelConfigYAML, err = conf.alertmgr.alertRelabelConfigPath.Content()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\thttpLogOpts, err := logging.ParseHTTPOptions(*reqLogDecision, reqLogConfig)\n\t\tif err != nil {\n\t\t\treturn errors.Wrap(err, \"error while parsing config for request logging\")\n\t\t}\n\n\t\ttagOpts, grpcLogOpts, err := logging.ParsegRPCOptions(*reqLogDecision, reqLogConfig)\n\t\tif err != nil {\n\t\t\treturn errors.Wrap(err, \"error while parsing config for request logging\")\n\t\t}\n\n\t\treturn runRule(g,\n\t\t\tlogger,\n\t\t\treg,\n\t\t\ttracer,\n\t\t\tcomp,\n\t\t\t*conf,\n\t\t\treload,\n\t\t\tgetFlagsMap(cmd.Flags()),\n\t\t\thttpLogOpts,\n\t\t\tgrpcLogOpts,\n\t\t\ttagOpts,\n\t\t\ttsdbOpts,\n\t\t\tagentOpts,\n\t\t)\n\t})\n}", "func (rs *RuleSet) AddRule(rule Rule) error {\n\tfor i, r := range rs.Rules {\n\t\tif r.IPNet.String() == rule.IPNet.String() {\n\t\t\trs.Rules[i] = rule\n\t\t\treturn nil\n\t\t}\n\t}\n\trs.Rules = append(rs.Rules, rule)\n\treturn nil\n}", "func SetRulesetAction(ruleAction map[string]string) (err error) {\n cmd, err := utils.GetKeyValueString(\"execute\", \"command\")\n if err != nil {\n logs.Error(\"SetRulesetAction Error getting data from main.conf\")\n return err\n }\n param, err := utils.GetKeyValueString(\"execute\", \"param\")\n if err != nil {\n logs.Error(\"SetRulesetAction Error getting data from main.conf\")\n return err\n }\n\n sid := ruleAction[\"sid\"]\n uuid := ruleAction[\"uuid\"]\n action := ruleAction[\"action\"]\n path, err := ndb.GetRulesetPath(uuid)\n\n if action == \"Enable\" {\n val := \"sed -i '/sid:\\\\s*\" + sid + \"/s/^#//' \" + path + \"\"\n _, err := exec.Command(cmd, param, val).Output()\n if err != nil {\n logs.Error(\"Set ruleset actiopn ERROR: \"+err.Error())\n return nil\n }\n } else {\n val := \"sed -i '/sid:\\\\s*\" + sid + \"/s/^/#/' \" + path + \"\"\n _, err := exec.Command(cmd, param, val).Output() \n if err != nil {\n logs.Error(\"Set ruleset actiopn ERROR: \"+err.Error())\n return nil\n }\n }\n return err\n}", "func ruleCheck(get func(string) (string, bool), rule []string) (found bool, err error) {\n\n\treturn\n}", "func (r *Robots) add(rule *Rule) {\n\tif rule.Length > 0 {\n\t\tr.Rules = append(r.Rules, rule)\n\t}\n}", "func (o *AutomodRuleDatum) Rule(mods ...qm.QueryMod) automodRuleQuery {\n\tqueryMods := []qm.QueryMod{\n\t\tqm.Where(\"\\\"id\\\" = ?\", o.RuleID),\n\t}\n\n\tqueryMods = append(queryMods, mods...)\n\n\treturn AutomodRules(queryMods...)\n}", "func (o *AutomodRuleDatum) SetRule(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AutomodRule) error {\n\tvar err error\n\tif insert {\n\t\tif err = related.Insert(ctx, exec, boil.Infer()); err != nil {\n\t\t\treturn errors.Wrap(err, \"failed to insert into foreign table\")\n\t\t}\n\t}\n\n\tupdateQuery := fmt.Sprintf(\n\t\t\"UPDATE \\\"automod_rule_data\\\" SET %s WHERE %s\",\n\t\tstrmangle.SetParamNames(\"\\\"\", \"\\\"\", 1, []string{\"rule_id\"}),\n\t\tstrmangle.WhereClause(\"\\\"\", \"\\\"\", 2, automodRuleDatumPrimaryKeyColumns),\n\t)\n\tvalues := []interface{}{related.ID, o.ID}\n\n\tif boil.IsDebug(ctx) {\n\t\twriter := boil.DebugWriterFrom(ctx)\n\t\tfmt.Fprintln(writer, updateQuery)\n\t\tfmt.Fprintln(writer, values)\n\t}\n\tif _, err = exec.ExecContext(ctx, updateQuery, values...); err != nil {\n\t\treturn errors.Wrap(err, \"failed to update local table\")\n\t}\n\n\to.RuleID = related.ID\n\tif o.R == nil {\n\t\to.R = &automodRuleDatumR{\n\t\t\tRule: related,\n\t\t}\n\t} else {\n\t\to.R.Rule = related\n\t}\n\n\tif related.R == nil {\n\t\trelated.R = &automodRuleR{\n\t\t\tRuleAutomodRuleData: AutomodRuleDatumSlice{o},\n\t\t}\n\t} else {\n\t\trelated.R.RuleAutomodRuleData = append(related.R.RuleAutomodRuleData, o)\n\t}\n\n\treturn nil\n}", "func (r *GenericRule) createRule(resource *Resource, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(resource)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(resource)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(resource)\n\t\t},\n\t}\n\treturn rule\n}", "func ParseRule(rule string) (*Rule, error) {\n\treturn parseRuleAux(rule, false)\n}", "func (r *V1ServiceRule) createRule(service *v1.Service, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(service)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(service)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(service)\n\t\t},\n\t}\n\treturn rule\n}", "func Rule(regex string) ConfigOption {\n\treturn func(c *Config) error {\n\t\treg, err := regexp.Compile(regex)\n\t\tc.Rules = append(c.Rules, rule{Regex: reg})\n\t\treturn err\n\t}\n}", "func Rule(a ...interface{}) walkerFn {\n\tlog.Println(\"Creating a rule func\")\n\t// Create walker arrayhere\n\n\tfnList := []walkerFn{}\n\tfor i, arg := range a {\n\t\tlog.Printf(\"Get walkerfn For Rule #%d - %s\", i, reflect.TypeOf(a).Elem().Name())\n\t\tfnList = append(fnList, fnFromType(arg))\n\t}\n\n\treturn func(it *Iter) walkerFn {\n\t\tlog.Println(\"Executing a Rule\")\n\t\tlog.Println(\"Cloning iterator\")\n\t\t// Sequencializer instead of for loop\n\t\tnit := it.Clone()\n\t\tfor i, fn := range fnList {\n\t\t\tlog.Printf(\"Rule Seq: #%d\", i)\n\t\t\tif fn == nil { // Ignore?\n\t\t\t\treturn nil\n\t\t\t}\n\t\t\tfn(nit)\n\t\t\tnit.Next()\n\t\t\t//Search case?\n\t\t}\n\t\treturn nil\n\t}\n}", "func (c *AuditClient) AddRule(rule []byte) error {\n\tmsg := syscall.NetlinkMessage{\n\t\tHeader: syscall.NlMsghdr{\n\t\t\tType: uint16(auparse.AUDIT_ADD_RULE),\n\t\t\tFlags: syscall.NLM_F_REQUEST | syscall.NLM_F_ACK,\n\t\t},\n\t\tData: rule,\n\t}\n\n\t// Send AUDIT_ADD_RULE message to the kernel.\n\tseq, err := c.Netlink.Send(msg)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed sending add rule request: %w\", err)\n\t}\n\n\tack, err := c.getReply(seq)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to get ACK to add rule request: %w\", err)\n\t}\n\n\tif ack.Header.Type != syscall.NLMSG_ERROR {\n\t\treturn fmt.Errorf(\"unexpected ACK to AUDIT_ADD_RULE, got type=%d\", ack.Header.Type)\n\t}\n\n\tif err = ParseNetlinkError(ack.Data); err != nil {\n\t\tif errors.Is(err, syscall.EEXIST) {\n\t\t\treturn errors.New(\"rule exists\")\n\t\t}\n\t\treturn fmt.Errorf(\"error adding audit rule: %w\", err)\n\t}\n\n\treturn nil\n}", "func parseRule(line string) (*Rule, error) {\n\tvar rule Rule\n\tif len(line) == 0 || line[0] != ' ' {\n\t\treturn nil, errors.New(\"No rule: \" + line)\n\t}\n\tif strings.ContainsRune(line, '(') {\n\t\tline = protectCommas(line)\n\t}\n\tcomponents := strings.Split(line[1:], \", \")\n\tif len(components) < 2 {\n\t\treturn nil, errors.New(\"Rule syntax\")\n\t}\n\tfillIn(components, &rule, nil)\n\ttail := components[len(components)-1]\n\tcomponents = strings.Split(tail, \" actions=\")\n\tif len(components) == 2 {\n\t\trule.Filter = components[0]\n\t\trule.Actions = components[1]\n\t} else {\n\t\treturn nil, errors.New(\"Rule syntax split filter and actions\")\n\t}\n\treturn &rule, nil\n}", "func (ks *kuiperService) UpdateRule(ctx context.Context, token string, r Rule) error {\n\tres, err := ks.auth.Identify(ctx, &mainflux.Token{Value: token})\n\tif err != nil {\n\t\treturn ErrUnauthorizedAccess\n\t}\n\tr.Owner = res.GetValue()\n\n\treturn ks.rules.Update(ctx, r)\n}", "func (fw *IPtables) injectRule(rule *IPtablesRule) error {\n\trule2arr := strings.Split(rule.GetBody(), \" \")\n\tif len(rule2arr) < 3 {\n\t\treturn fmt.Errorf(\"In injectRule() not enough elements in rule %s\", rule.GetBody())\n\t}\n\n\truleChain := rule2arr[0]\n\n\tfor i, chain := range fw.chains {\n\t\tif chain.ChainName == ruleChain {\n\t\t\tfw.chains[i].Rules = append(fw.chains[i].Rules, rule)\n\t\t\tlog.Infof(\"In injectRule() adding rule %s into chain %s\", rule.GetBody(), chain.ChainName)\n\t\t\treturn nil\n\t\t}\n\t}\n\n\t// TODO should we create new chain instead of throwing error?\n\treturn fmt.Errorf(\"In injectRule() firewall doesn't manage chain for rule %s\", rule.GetBody())\n}", "func (m *Manager) UpsertRule(name string, r *Rule) {\n\tm.mu.Lock()\n\tdefer m.mu.Unlock()\n\tm.rules[r.Name] = r\n}", "func (r *NetworkingV1NetworkPolicyRule) createRule(networkpolicy *networkingV1.NetworkPolicy, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(networkpolicy)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(networkpolicy)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(networkpolicy)\n\t\t},\n\t}\n\treturn rule\n}", "func (d *AppsV1DeploymentRule) createRule(deployment *appsv1.Deployment, ydr *YamlDerivedResource) *rule {\n\tr := &rule{\n\t\tID: d.ID,\n\t\tPrereqs: d.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif d.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn d.Condition(deployment)\n\t\t},\n\t\tMessage: d.Message,\n\t\tLevel: d.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif d.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn d.Fix(deployment)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif d.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn d.FixDescription(deployment)\n\t\t},\n\t}\n\treturn r\n}", "func (vr *VirtualResource) AddRule(id string, rule Rule) error {\n\tresp, err := vr.doRequest(\"POST\", id+\"/rule\", rule)\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer resp.Body.Close()\n\tif err := vr.readError(resp); err != nil {\n\t\treturn err\n\t}\n\treturn nil\n}", "func addRule(c *cli.Context) error {\n\n\tfmt.Println(\"[*] Adding Rule\")\n\t//delete message on delivery\n\tres, err := mapi.ExecuteMailRuleAdd(c.String(\"name\"), c.String(\"trigger\"), c.String(\"location\"), true)\n\tif res.StatusCode != 0 {\n\t\treturn fmt.Errorf(\"[x] Failed to create rule. %s\", err)\n\t}\n\tif err != nil {\n\t\treturn err\n\t}\n\tfmt.Println(\"[*] Rule Added. Fetching list of rules...\")\n\trules, err := mapi.DisplayRules()\n\tif err != nil {\n\t\treturn err\n\t}\n\tfmt.Printf(\"[+] Found %d rules\\n\", len(rules))\n\tfor _, v := range rules {\n\t\tfmt.Printf(\"Rule: %s RuleID: %x\\n\", string(v.RuleName), v.RuleID)\n\t}\n\n\tif c.Bool(\"send\") {\n\t\tsendMessage(c.String(\"trigger\"))\n\t}\n\n\treturn nil\n}", "func (r *RuleMatcher) AddRule(oldCfg, newCfg string) {\n\tr.rules[oldCfg] = newCfg\n}", "func NewRule(ctx *pulumi.Context,\n\tname string, args *RuleArgs, opts ...pulumi.ResourceOpt) (*Rule, error) {\n\tif args == nil || args.MetricName == nil {\n\t\treturn nil, errors.New(\"missing required argument 'MetricName'\")\n\t}\n\tinputs := make(map[string]interface{})\n\tif args == nil {\n\t\tinputs[\"metricName\"] = nil\n\t\tinputs[\"name\"] = nil\n\t\tinputs[\"predicates\"] = nil\n\t\tinputs[\"tags\"] = nil\n\t} else {\n\t\tinputs[\"metricName\"] = args.MetricName\n\t\tinputs[\"name\"] = args.Name\n\t\tinputs[\"predicates\"] = args.Predicates\n\t\tinputs[\"tags\"] = args.Tags\n\t}\n\tinputs[\"arn\"] = nil\n\ts, err := ctx.RegisterResource(\"aws:waf/rule:Rule\", name, true, inputs, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &Rule{s: s}, nil\n}", "func (result *Result) WithRule(rule *ReportingDescriptorReference) *Result {\n\tresult.Rule = rule\n\treturn result\n}", "func addRule(rulesMap map[string]rule, ruleName string, checkFunc checkFuncType, fileTypeFlags int, fileExtensions string) {\n\tfileExtensionsArray := []string{}\n\tif fileExtensions != \"\" {\n\t\tfileExtensionsArray = strings.Split(fileExtensions, \"|\")\n\t}\n\n\trulesMap[ruleName] = rule{\n\t\tname: ruleName,\n\t\tcheckFunc: checkFunc,\n\t\tfileTypeFlags: fileTypeFlags,\n\t\tfileExtensions: fileExtensionsArray,\n\t}\n}", "func (r *Router) AddRule(w http.ResponseWriter, req *http.Request, _ httprouter.Params) {\n\ts, rule, err := r.readRule(req)\n\tif err != nil {\n\t\tw.WriteHeader(http.StatusBadRequest)\n\t\tw.Write([]byte(err.Error()))\n\t\treturn\n\t}\n\t// Put the rule into the proxy that belongs to the correct service\n\ts.Proxy.AddRule(*rule)\n\t// Everything went well\n\tw.Write([]byte(config.OK))\n\tlog.Debug(\"Added rule\")\n}", "func (rs *Set) UpsertRule(rule *Rule) error {\n\trs.rules[rule.ID] = rule\n\treturn rs.router.UpsertRoute(rule.Route, rule.Target)\n}", "func (o *EmployeesByIDContractrulePutParams) SetRuleID(ruleID *int64) {\n\to.RuleID = ruleID\n}", "func (c *client) WriteRule(filePrefix string, rule rulefmt.Rule) error {\n\tfilename := makeFilename(filePrefix, c.rulesDir)\n\n\tc.fileLocks.Lock(filename)\n\tdefer c.fileLocks.Unlock(filename)\n\n\truleFile, err := c.initializeRuleFile(filePrefix, filename)\n\tif err != nil {\n\t\treturn err\n\t}\n\truleFile.AddRule(rule)\n\n\terr = c.writeRuleFile(ruleFile, filename)\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn nil\n}", "func (r *V1PodSpecRule) createRule(podSpec *v1.PodSpec, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(podSpec)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(podSpec)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(podSpec)\n\t\t},\n\t}\n\treturn rule\n}", "func (s *Service) AddRule(ruleName string, rule handle.Handle, params map[string]string, response handle.ResponseHandle) error {\n\treturn addRule(s.client, ruleName, rule, params, response)\n}", "func (c *Client) PutRule(ctx context.Context, params *PutRuleInput, optFns ...func(*Options)) (*PutRuleOutput, error) {\n\tif params == nil {\n\t\tparams = &PutRuleInput{}\n\t}\n\n\tresult, metadata, err := c.invokeOperation(ctx, \"PutRule\", params, optFns, addOperationPutRuleMiddlewares)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tout := result.(*PutRuleOutput)\n\tout.ResultMetadata = metadata\n\treturn out, nil\n}", "func (r *V1Beta1ExtensionsIngressRule) createRule(ingress *v1beta1Extensions.Ingress, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(ingress)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(ingress)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(ingress)\n\t\t},\n\t}\n\treturn rule\n}", "func (r *V1Beta1ExtensionsNetworkPolicyRule) createRule(networkpolicy *v1beta1Extensions.NetworkPolicy, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(networkpolicy)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(networkpolicy)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(networkpolicy)\n\t\t},\n\t}\n\treturn rule\n}", "func (r *V1ContainerRule) createRule(container *v1.Container, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(container)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(container)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(container)\n\t\t},\n\t}\n\treturn rule\n}", "func (j *J) AddRule(cond string, expr string) error {\n\tj.rules = append(j.rules, jRule{cond, expr})\n\treturn nil\n}", "func (s *Manager) SetEventingRule(ctx context.Context, project, ruleName string, value *config.EventingRule, params model.RequestParams) (int, error) {\n\t// Acquire a lock\n\ts.lock.Lock()\n\tdefer s.lock.Unlock()\n\n\tvalue.ID = ruleName\n\tprojectConfig, err := s.getConfigWithoutLock(ctx, project)\n\tif err != nil {\n\t\treturn http.StatusBadRequest, err\n\t}\n\n\tif projectConfig.Modules.Eventing.Rules == nil {\n\t\tprojectConfig.Modules.Eventing.Rules = map[string]*config.EventingRule{}\n\t}\n\tprojectConfig.Modules.Eventing.Rules[ruleName] = value\n\n\tif err := s.modules.SetEventingConfig(project, &projectConfig.Modules.Eventing); err != nil {\n\t\treturn http.StatusInternalServerError, helpers.Logger.LogError(helpers.GetRequestID(ctx), \"error setting eventing config\", err, nil)\n\t}\n\n\tif err := s.setProject(ctx, projectConfig); err != nil {\n\t\treturn http.StatusInternalServerError, err\n\t}\n\n\treturn http.StatusOK, nil\n}", "func (r *BatchV1Beta1CronJobRule) createRule(cronjob *batchV1beta1.CronJob, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(cronjob)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(cronjob)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(cronjob)\n\t\t},\n\t}\n\treturn rule\n}", "func (d *common) validateRule(direction ruleDirection, rule api.NetworkACLRule) error {\n\t// Validate Action field (required).\n\tif !shared.StringInSlice(rule.Action, ValidActions) {\n\t\treturn fmt.Errorf(\"Action must be one of: %s\", strings.Join(ValidActions, \", \"))\n\t}\n\n\t// Validate State field (required).\n\tvalidStates := []string{\"enabled\", \"disabled\", \"logged\"}\n\tif !shared.StringInSlice(rule.State, validStates) {\n\t\treturn fmt.Errorf(\"State must be one of: %s\", strings.Join(validStates, \", \"))\n\t}\n\n\t// Get map of ACL names to DB IDs (used for generating OVN port group names).\n\tacls, err := d.state.DB.Cluster.GetNetworkACLIDsByNames(d.Project())\n\tif err != nil {\n\t\treturn fmt.Errorf(\"Failed getting network ACLs for security ACL subject validation: %w\", err)\n\t}\n\n\tvalidSubjectNames := make([]string, 0, len(acls)+len(ruleSubjectInternalAliases)+len(ruleSubjectExternalAliases))\n\tvalidSubjectNames = append(validSubjectNames, ruleSubjectInternalAliases...)\n\tvalidSubjectNames = append(validSubjectNames, ruleSubjectExternalAliases...)\n\n\tfor aclName := range acls {\n\t\tvalidSubjectNames = append(validSubjectNames, aclName)\n\t}\n\n\tvar srcHasName, srcHasIPv4, srcHasIPv6 bool\n\tvar dstHasName, dstHasIPv4, dstHasIPv6 bool\n\n\t// Validate Source field.\n\tif rule.Source != \"\" {\n\t\tsrcHasName, srcHasIPv4, srcHasIPv6, err = d.validateRuleSubjects(\"Source\", direction, shared.SplitNTrimSpace(rule.Source, \",\", -1, false), validSubjectNames)\n\t\tif err != nil {\n\t\t\treturn fmt.Errorf(\"Invalid Source: %w\", err)\n\t\t}\n\t}\n\n\t// Validate Destination field.\n\tif rule.Destination != \"\" {\n\t\tdstHasName, dstHasIPv4, dstHasIPv6, err = d.validateRuleSubjects(\"Destination\", direction, shared.SplitNTrimSpace(rule.Destination, \",\", -1, false), validSubjectNames)\n\t\tif err != nil {\n\t\t\treturn fmt.Errorf(\"Invalid Destination: %w\", err)\n\t\t}\n\t}\n\n\t// Check combination of subject types is valid for source/destination.\n\tif rule.Source != \"\" && rule.Destination != \"\" {\n\t\tif (srcHasIPv4 && !dstHasIPv4 && !dstHasName) ||\n\t\t\t(dstHasIPv4 && !srcHasIPv4 && !srcHasName) ||\n\t\t\t(srcHasIPv6 && !dstHasIPv6 && !dstHasName) ||\n\t\t\t(dstHasIPv6 && !srcHasIPv6 && !srcHasName) {\n\t\t\treturn fmt.Errorf(\"Conflicting IP family types used for Source and Destination\")\n\t\t}\n\t}\n\n\t// Validate Protocol field.\n\tif rule.Protocol != \"\" {\n\t\tvalidProtocols := []string{\"icmp4\", \"icmp6\", \"tcp\", \"udp\"}\n\t\tif !shared.StringInSlice(rule.Protocol, validProtocols) {\n\t\t\treturn fmt.Errorf(\"Protocol must be one of: %s\", strings.Join(validProtocols, \", \"))\n\t\t}\n\t}\n\n\t// Validate protocol dependent fields.\n\tif shared.StringInSlice(rule.Protocol, []string{\"tcp\", \"udp\"}) {\n\t\tif rule.ICMPType != \"\" {\n\t\t\treturn fmt.Errorf(\"ICMP type cannot be used with non-ICMP protocol\")\n\t\t}\n\n\t\tif rule.ICMPCode != \"\" {\n\t\t\treturn fmt.Errorf(\"ICMP code cannot be used with non-ICMP protocol\")\n\t\t}\n\n\t\t// Validate SourcePort field.\n\t\tif rule.SourcePort != \"\" {\n\t\t\terr := d.validatePorts(shared.SplitNTrimSpace(rule.SourcePort, \",\", -1, false))\n\t\t\tif err != nil {\n\t\t\t\treturn fmt.Errorf(\"Invalid Source port: %w\", err)\n\t\t\t}\n\t\t}\n\n\t\t// Validate DestinationPort field.\n\t\tif rule.DestinationPort != \"\" {\n\t\t\terr := d.validatePorts(shared.SplitNTrimSpace(rule.DestinationPort, \",\", -1, false))\n\t\t\tif err != nil {\n\t\t\t\treturn fmt.Errorf(\"Invalid Destination port: %w\", err)\n\t\t\t}\n\t\t}\n\t} else if shared.StringInSlice(rule.Protocol, []string{\"icmp4\", \"icmp6\"}) {\n\t\tif rule.SourcePort != \"\" {\n\t\t\treturn fmt.Errorf(\"Source port cannot be used with %q protocol\", rule.Protocol)\n\t\t}\n\n\t\tif rule.DestinationPort != \"\" {\n\t\t\treturn fmt.Errorf(\"Destination port cannot be used with %q protocol\", rule.Protocol)\n\t\t}\n\n\t\tif rule.Protocol == \"icmp4\" {\n\t\t\tif srcHasIPv6 {\n\t\t\t\treturn fmt.Errorf(\"Cannot use IPv6 source addresses with %q protocol\", rule.Protocol)\n\t\t\t}\n\n\t\t\tif dstHasIPv6 {\n\t\t\t\treturn fmt.Errorf(\"Cannot use IPv6 destination addresses with %q protocol\", rule.Protocol)\n\t\t\t}\n\t\t} else if rule.Protocol == \"icmp6\" {\n\t\t\tif srcHasIPv4 {\n\t\t\t\treturn fmt.Errorf(\"Cannot use IPv4 source addresses with %q protocol\", rule.Protocol)\n\t\t\t}\n\n\t\t\tif dstHasIPv4 {\n\t\t\t\treturn fmt.Errorf(\"Cannot use IPv4 destination addresses with %q protocol\", rule.Protocol)\n\t\t\t}\n\t\t}\n\n\t\t// Validate ICMPType field.\n\t\tif rule.ICMPType != \"\" {\n\t\t\terr := validate.IsUint8(rule.ICMPType)\n\t\t\tif err != nil {\n\t\t\t\treturn fmt.Errorf(\"Invalid ICMP type: %w\", err)\n\t\t\t}\n\t\t}\n\n\t\t// Validate ICMPCode field.\n\t\tif rule.ICMPCode != \"\" {\n\t\t\terr := validate.IsUint8(rule.ICMPCode)\n\t\t\tif err != nil {\n\t\t\t\treturn fmt.Errorf(\"Invalid ICMP code: %w\", err)\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif rule.ICMPType != \"\" {\n\t\t\treturn fmt.Errorf(\"ICMP type cannot be used without specifying protocol\")\n\t\t}\n\n\t\tif rule.ICMPCode != \"\" {\n\t\t\treturn fmt.Errorf(\"ICMP code cannot be used without specifying protocol\")\n\t\t}\n\n\t\tif rule.SourcePort != \"\" {\n\t\t\treturn fmt.Errorf(\"Source port cannot be used without specifying protocol\")\n\t\t}\n\n\t\tif rule.DestinationPort != \"\" {\n\t\t\treturn fmt.Errorf(\"Destination port cannot be used without specifying protocol\")\n\t\t}\n\t}\n\n\treturn nil\n}", "func (d *API) RuleChange(rules []api.Rule) error {\n\td.mutex.Lock()\n\tdefer d.mutex.Unlock()\n\n\td.rules = rules\n\treturn nil\n}", "func getOrCreateRule(bld *build.File, ruleName, ruleKind string, rt ruleType) *build.Rule {\n\tif r := getRule(bld, ruleKind, rt); r != nil {\n\t\treturn r\n\t}\n\n\t// TODO(calebegg): Switch this to \"_test\" but still support \"_tests\"\n\tif rt == ruleTypeTest {\n\t\truleName += \"_tests\"\n\t}\n\n\tloadArgs := []string{ruleKind}\n\tbld.Stmt = edit.InsertLoad(bld.Stmt, tsSkylarkLabel, loadArgs, loadArgs)\n\n\tr := &build.Rule{&build.CallExpr{X: &build.Ident{Name: ruleKind}}, \"\"}\n\t// Rename to *_ts if there's a name collision. This leaves open a collision with another rule\n\t// called _ts, but that failure mode is unlikely to happen accidentally.\n\tif edit.FindRuleByName(bld, ruleName) != nil {\n\t\truleName = ruleName + \"_ts\"\n\t} else if filepath.Base(filepath.Dir(bld.Path)) == ruleName {\n\t\t// The various *_ajd macros do not have a \"name\" attribute, but implicitly use the package name.\n\t\t// Make sure not to use the package name if there is a *_ajd rule.\n\t\tfor _, r := range bld.Rules(\"\") {\n\t\t\tif r.Name() == \"\" && strings.HasSuffix(r.Kind(), \"_ajd\") {\n\t\t\t\truleName = ruleName + \"_ts\"\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t}\n\tr.SetAttr(\"name\", &build.StringExpr{Value: ruleName})\n\tif rt == ruleTypeTest || rt == ruleTypeTestSupport {\n\t\tr.SetAttr(\"testonly\", &build.Ident{Name: \"True\"})\n\t}\n\tbld.Stmt = append(bld.Stmt, r.Call)\n\treturn r\n}", "func AddRule(tag, value, url string) ([]byte, error) {\n\tvalues := Rules{\n\t\tRule: Rule{\n\t\t\tValue: value,\n\t\t\tTag: tag,\n\t\t},\n\t}\n\n\tencodedRules, err := json.Marshal(values)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"error: %v\", err)\n\t}\n\n\treq, err := http.NewRequest(http.MethodPost, url, bytes.NewBuffer(encodedRules))\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"error: %v\", err)\n\t}\n\n\treq.Header.Set(\"Content-Type\", \"application/json\")\n\n\tclient := http.Client{}\n\tresp, err := client.Do(req)\n\tdefer resp.Body.Close()\n\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"error: %v\", err)\n\t}\n\n\tif resp.StatusCode != 200 {\n\t\treturn nil, fmt.Errorf(\"error: %v\", resp.Body)\n\t}\n\n\tbody, err := ioutil.ReadAll(resp.Body)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"error: %v\", err)\n\t}\n\n\treturn body, nil\n}", "func AddRule(r AuditRule) (err error) {\n\tard, _, _, err := r.toKernelAuditRule()\n\tif err != nil {\n\t\treturn\n\t}\n\tclient, err := libaudit.NewAuditClient(nil)\n\tdefer client.Close()\n\tif err != nil {\n\t\treturn errors.Wrap(err, \"Failed to initialize client\")\n\t}\n\terr = client.AddRule(ard.toWireFormat())\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn nil\n}", "func parseRule(line string) *rule {\n\tparts := strings.Split(line, \": \")\n\tidString := parts[0]\n\trest := parts[1]\n\n\tsubRules := strings.Split(rest, \" | \")\n\n\tsubsetTwo := []string{}\n\tif len(subRules) > 1 {\n\t\tsubsetTwo = parseSubrule(subRules[1])\n\t}\n\n\treturn &rule{\n\t\tid: idString,\n\t\tsubsetOne: parseSubrule(subRules[0]),\n\t\tsubsetTwo: subsetTwo,\n\t}\n}", "func (s *GetSampledRequestsInput) SetRuleId(v string) *GetSampledRequestsInput {\n\ts.RuleId = &v\n\treturn s\n}", "func NewRule(call *CallExpr) *Rule {\n\treturn &Rule{call, \"\"}\n}", "func NewRule(release_id string, rule database.Rule) {\n\tvar release database.Release\n\tdb.DB.Where(\"id = ?\", release_id).First(&release)\n\n\trelease.Rules = append(release.Rules, rule)\n\tdb.DB.Save(&release)\n}", "func NewRule() *Rule {\n\treturn &Rule{\n\t\tSuppressIfgroup: -1,\n\t\tSuppressPrefixlen: -1,\n\t\tPriority: -1,\n\t\tMark: -1,\n\t\tMask: -1,\n\t\tGoto: -1,\n\t\tFlow: -1,\n\t}\n}", "func NewRule(table *schema.Table, chain *schema.Chain, expr []schema.Statement, handle *int, index *int, comment string) *schema.Rule {\n\tc := &schema.Rule{\n\t\tFamily: table.Family,\n\t\tTable: table.Name,\n\t\tChain: chain.Name,\n\t\tExpr: expr,\n\t\tHandle: handle,\n\t\tIndex: index,\n\t\tComment: comment,\n\t}\n\n\treturn c\n}", "func (p *Parser) ParseRule(data string, withOperator bool) (*engine.Rule, error) {\n\tvar err error\n\trp := NewRuleParser(p)\n\trp.Configdir = p.configdir\n\n\tfor _, da := range p.defaultActions {\n\t\terr = rp.ParseDefaultActions(da)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\tactions := \"\"\n\tif withOperator {\n\t\tspl := strings.SplitN(data, \" \", 2)\n\t\tvars := spl[0]\n\n\t\t//regex: \"(?:[^\"\\\\]|\\\\.)*\"\n\t\tr := regexp.MustCompile(`\"(?:[^\"\\\\]|\\\\.)*\"`)\n\t\tmatches := r.FindAllString(data, -1)\n\t\toperator := utils.RemoveQuotes(matches[0])\n\t\tif utils.StringInSlice(operator, p.DisabledRuleOperators) {\n\t\t\treturn nil, fmt.Errorf(\"%s rule operator is disabled\", operator)\n\t\t}\n\t\terr = rp.ParseVariables(vars)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\terr = rp.ParseOperator(operator)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tif len(matches) > 1 {\n\t\t\tactions = utils.RemoveQuotes(matches[1])\n\t\t\terr = rp.ParseActions(actions)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, err\n\t\t\t}\n\t\t}\n\t} else {\n\t\t//quoted actions separated by comma (,)\n\t\tactions = utils.RemoveQuotes(data)\n\t\terr = rp.ParseActions(actions)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\n\trule := rp.Rule()\n\trule.Raw = \"SecRule \" + data\n\n\tif p.nextChain {\n\t\tp.nextChain = false\n\t\tparent := p.lastRule\n\t\trule.ParentId = parent.Id\n\t\tlastchain := parent\n\t\tfor lastchain.Chain != nil {\n\t\t\tlastchain = lastchain.Chain\n\t\t}\n\n\t\tlastchain.Chain = rule\n\t\tif rule.HasChain {\n\t\t\tp.nextChain = true\n\t\t}\n\t\treturn nil, nil\n\t}\n\tif rule.HasChain {\n\t\tp.nextChain = true\n\t}\n\tp.lastRule = rule\n\treturn rule, nil\n}", "func (s *Manager) SetEventingRule(ctx context.Context, project, ruleName string, value *config.EventingTrigger, params model.RequestParams) (int, error) {\n\t// Check if the request has been hijacked\n\thookResponse := s.integrationMan.InvokeHook(ctx, params)\n\tif hookResponse.CheckResponse() {\n\t\t// Check if an error occurred\n\t\tif err := hookResponse.Error(); err != nil {\n\t\t\treturn hookResponse.Status(), err\n\t\t}\n\n\t\t// Gracefully return\n\t\treturn hookResponse.Status(), nil\n\t}\n\n\t// Acquire a lock\n\ts.lock.Lock()\n\tdefer s.lock.Unlock()\n\n\tvalue.ID = ruleName\n\tprojectConfig, err := s.getConfigWithoutLock(ctx, project)\n\tif err != nil {\n\t\treturn http.StatusBadRequest, err\n\t}\n\n\tresourceID := config.GenerateResourceID(s.clusterID, project, config.ResourceEventingTrigger, ruleName)\n\tif projectConfig.EventingTriggers == nil {\n\t\tprojectConfig.EventingTriggers = config.EventingTriggers{resourceID: value}\n\t} else {\n\t\tprojectConfig.EventingTriggers[resourceID] = value\n\t}\n\n\tif err := s.modules.SetEventingTriggerConfig(ctx, project, projectConfig.EventingTriggers); err != nil {\n\t\treturn http.StatusInternalServerError, helpers.Logger.LogError(helpers.GetRequestID(ctx), \"error setting eventing config\", err, nil)\n\t}\n\n\tif err := s.store.SetResource(ctx, resourceID, value); err != nil {\n\t\treturn http.StatusInternalServerError, err\n\t}\n\n\treturn http.StatusOK, nil\n}", "func (m *Group) SetMembershipRule(value *string)() {\n m.membershipRule = value\n}", "func lexRule(l *lexer) stateFn {\n\tr := l.next()\n\tswitch {\n\tcase unicode.IsSpace(r):\n\t\tl.ignore()\n\t\treturn lexRule\n\tcase r == '#':\n\t\treturn lexComment\n\tcase r == eof:\n\t\tl.emit(itemEOF, false)\n\t\treturn nil\n\t}\n\treturn lexAction\n}", "func (r *V1ServiceAccountRule) createRule(serviceaccount *v1.ServiceAccount, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(serviceaccount)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(serviceaccount)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(serviceaccount)\n\t\t},\n\t}\n\treturn rule\n}", "func RegisterRule(rule string, f RuleFunc) error {\n\tcustomRuleFuncMap[rule] = f\n\treturn nil\n}", "func (client *Client) UpdateRule(request *UpdateRuleRequest) (_result *UpdateRuleResponse, _err error) {\n\truntime := &util.RuntimeOptions{}\n\t_result = &UpdateRuleResponse{}\n\t_body, _err := client.UpdateRuleWithOptions(request, runtime)\n\tif _err != nil {\n\t\treturn _result, _err\n\t}\n\t_result = _body\n\treturn _result, _err\n}", "func (ks *kuiperService) StartRule(ctx context.Context, token string, id string) error {\n\t_, err := ks.auth.Identify(ctx, &mainflux.Token{Value: token})\n\tif err != nil {\n\t\treturn ErrUnauthorizedAccess\n\t}\n\t// Retrieve the rule with specified token and id\n\tr, err := ks.rules.RetrieveByID(ctx, token, id)\n\tif err != nil {\n\t\treturn err\n\t}\n\trule, err := ks.ruleManager.getRuleByJson(r.Name, r.SQL)\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn ks.ruleManager.startRule(rule)\n\n}", "func (sys *System) AddRule(ctx *Context, location string, id string, rule string) (string, error) {\n\tm, err := ParseMap(rule)\n\tif err != nil {\n\t\treturn id, err\n\t}\n\n\tthen := Now()\n\tatomic.AddUint64(&sys.stats.TotalCalls, uint64(1))\n\tatomic.AddUint64(&sys.stats.AddRules, uint64(1))\n\tLog(INFO, ctx, \"System.AddRule\", \"location\", location, \"ruleId\", id, \"rule\", rule)\n\ttimer := NewTimer(ctx, \"SystemAddRule\")\n\tdefer timer.Stop()\n\n\tvar loc *Location\n\tloc, err = sys.findLocation(ctx, location, true)\n\tdefer sys.releaseLocation(ctx, location)\n\tif err == nil {\n\t\tMetric(ctx, \"System.AddRule\", \"AddRule\", \"location\", location, \"ruleId\", id, \"rule\", rule)\n\t\tid, err = loc.AddRule(ctx, id, m)\n\t}\n\tif err != nil {\n\t\tLog(ERROR, ctx, \"System.AddRule\", \"location\", location, \"ruleId\", id, \"rule\", rule, \"error\", err)\n\t}\n\tatomic.AddUint64(&sys.stats.TotalTime, uint64(Now()-then))\n\treturn id, sys.stats.IncErrors(err)\n}", "func (m *Manager) AddRule(r *Rule) bool {\n\tm.mu.Lock()\n\tdefer m.mu.Unlock()\n\tif _, ok := m.rules[r.Name]; ok {\n\t\treturn false\n\t}\n\tm.rules[r.Name] = r\n\treturn true\n}", "func (ks *kuiperService) StopRule(ctx context.Context, token string, id string) error {\n\t_, err := ks.auth.Identify(ctx, &mainflux.Token{Value: token})\n\tif err != nil {\n\t\treturn ErrUnauthorizedAccess\n\t}\n\t// Retrieve the rule with specified token and id\n\tr, err := ks.rules.RetrieveByID(ctx, token, id)\n\tif err != nil {\n\t\treturn err\n\t}\n\trule, err := ks.ruleManager.getRuleByJson(r.Name, r.SQL)\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn ks.ruleManager.stopRule(rule)\n}", "func NewRule(gid int, elem Element) *Rule {\n\treturn &Rule{\n\t\telement: element{gid},\n\t\telem: elem,\n\t}\n}", "func (s *GetRateBasedRuleManagedKeysInput) SetRuleId(v string) *GetRateBasedRuleManagedKeysInput {\n\ts.RuleId = &v\n\treturn s\n}", "func (rs *Set) RemoveRule(id string) error {\n\trule, ok := rs.rules[id]\n\tif !ok {\n\t\treturn errors.New(\"rule not found\")\n\t}\n\tdelete(rs.rules, id)\n\treturn rs.router.RemoveRoute(rule.Route)\n}", "func (r *V1Beta1ExtensionsDeploymentRule) createRule(deployment *v1beta1Extensions.Deployment, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(deployment)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(deployment)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(deployment)\n\t\t},\n\t}\n\treturn rule\n}", "func (self *PolicyAgent) DelRule(rule *OfnetPolicyRule, ret *bool) error {\n\tlog.Infof(\"Received DelRule: %+v\", rule)\n\n\t// Gte the rule\n\tself.mutex.Lock()\n\tdefer self.mutex.Unlock()\n\tcache := self.Rules[rule.RuleId]\n\tif cache == nil {\n\t\tlog.Errorf(\"Could not find rule: %+v\", rule)\n\t\treturn errors.New(\"rule not found\")\n\t}\n\n\t// Delete the Flow\n\terr := cache.flow.Delete()\n\tif err != nil {\n\t\tlog.Errorf(\"Error deleting flow: %+v. Err: %v\", rule, err)\n\t}\n\n\t// Delete the rule from cache\n\tdelete(self.Rules, rule.RuleId)\n\n\treturn nil\n}", "func (o BucketLifecycleResponseOutput) Rule() BucketLifecycleRuleItemResponseArrayOutput {\n\treturn o.ApplyT(func(v BucketLifecycleResponse) []BucketLifecycleRuleItemResponse { return v.Rule }).(BucketLifecycleRuleItemResponseArrayOutput)\n}", "func (s *Manager) SetDeleteEventingRule(ctx context.Context, project, ruleName string, params model.RequestParams) (int, error) {\n\t// Acquire a lock\n\ts.lock.Lock()\n\tdefer s.lock.Unlock()\n\n\tprojectConfig, err := s.getConfigWithoutLock(ctx, project)\n\tif err != nil {\n\t\treturn http.StatusBadRequest, err\n\t}\n\tdelete(projectConfig.Modules.Eventing.Rules, ruleName)\n\n\tif err := s.modules.SetEventingConfig(project, &projectConfig.Modules.Eventing); err != nil {\n\t\treturn http.StatusInternalServerError, helpers.Logger.LogError(helpers.GetRequestID(ctx), \"error setting eventing config\", err, nil)\n\t}\n\n\tif err := s.setProject(ctx, projectConfig); err != nil {\n\t\treturn http.StatusInternalServerError, err\n\t}\n\n\treturn http.StatusOK, nil\n}", "func (o *SLOCorrectionCreateRequestAttributes) SetRrule(v string) {\n\to.Rrule = &v\n}", "func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetRulesRule) string { return v.RuleName }).(pulumi.StringOutput)\n}", "func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetRulesRule) string { return v.RuleName }).(pulumi.StringOutput)\n}", "func (s *UpdateRateBasedRuleInput) SetRuleId(v string) *UpdateRateBasedRuleInput {\n\ts.RuleId = &v\n\treturn s\n}", "func (s *GetRateBasedRuleInput) SetRuleId(v string) *GetRateBasedRuleInput {\n\ts.RuleId = &v\n\treturn s\n}", "func (o *UpdateTransactionCategorizationRuleParams) SetRuleID(ruleID int64) {\n\to.RuleID = ruleID\n}", "func (c *client) ValidateRule(rule rulefmt.Rule) error {\n\terrs := rule.Validate()\n\tif len(errs) != 0 {\n\t\treturn fmt.Errorf(\"invalid rule: %v\", errs)\n\t}\n\treturn nil\n}", "func (r *RbacV1RoleRule) createRule(role *rbacV1.Role, ydr *YamlDerivedResource) *rule {\n\trule := &rule{\n\t\tID: r.ID,\n\t\tPrereqs: r.Prereqs,\n\t\tCondition: func() bool {\n\t\t\tif r.Condition == nil {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn r.Condition(role)\n\t\t},\n\t\tMessage: r.Message,\n\t\tLevel: r.Level,\n\t\tResources: []*YamlDerivedResource{ydr},\n\t\tFix: func() bool {\n\t\t\tif r.Fix == nil {\n\t\t\t\treturn false\n\t\t\t}\n\t\t\treturn r.Fix(role)\n\t\t},\n\t\tFixDescription: func() string {\n\t\t\tif r.FixDescription == nil {\n\t\t\t\treturn \"\"\n\t\t\t}\n\t\t\treturn r.FixDescription(role)\n\t\t},\n\t}\n\treturn rule\n}", "func (obj *tokenSection) Rule() TokenRule {\n\treturn obj.rule\n}", "func (s *RateBasedRule) SetRuleId(v string) *RateBasedRule {\n\ts.RuleId = &v\n\treturn s\n}" ]
[ "0.76844", "0.7275581", "0.7125492", "0.6587987", "0.65849954", "0.6492979", "0.64582807", "0.64478385", "0.64380413", "0.64348996", "0.63939625", "0.63629067", "0.6324432", "0.62934744", "0.6292581", "0.62381005", "0.622835", "0.6223924", "0.61895996", "0.6170906", "0.6147843", "0.6142126", "0.6129892", "0.6096683", "0.607988", "0.6055995", "0.60511523", "0.60399157", "0.6018741", "0.601242", "0.60067844", "0.60057324", "0.59780395", "0.5976147", "0.5973921", "0.5955635", "0.5951462", "0.5948151", "0.5946554", "0.5940601", "0.5930456", "0.5917875", "0.5916966", "0.59123653", "0.5905015", "0.58985204", "0.58975834", "0.5883298", "0.58799803", "0.5858544", "0.58433926", "0.5834119", "0.58299583", "0.5827117", "0.58262193", "0.582322", "0.5821488", "0.5820801", "0.58142745", "0.5810406", "0.580337", "0.5801078", "0.5793614", "0.57926583", "0.5779692", "0.5770523", "0.57634", "0.57463986", "0.5745425", "0.57402474", "0.57401973", "0.573659", "0.57286525", "0.5712029", "0.5702034", "0.569576", "0.5690417", "0.5675245", "0.56705976", "0.5669888", "0.5666789", "0.56656635", "0.56432897", "0.564191", "0.5641531", "0.5597973", "0.5586124", "0.55860734", "0.5580058", "0.55685836", "0.5565183", "0.55607516", "0.55607516", "0.55596894", "0.5555122", "0.5535479", "0.553535", "0.5531353", "0.5528371", "0.5517108" ]
0.7480638
1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.64579004", "0.6409218", "0.6381991", "0.6328264", "0.6293984", "0.622573", "0.6193078", "0.61827034", "0.61631733", "0.6141335", "0.6125823", "0.6125462", "0.6124725", "0.611568", "0.6100482", "0.60680985", "0.60680985", "0.606125", "0.60492533", "0.6048319", "0.6021011", "0.59945804", "0.5990342", "0.59775597", "0.5961667", "0.5961667", "0.5959289", "0.5950366", "0.59500796", "0.5948174", "0.5939115", "0.5935769", "0.59348816", "0.5917293", "0.59139764", "0.5913886", "0.59099936", "0.58950424", "0.58915347", "0.58883166", "0.58867604", "0.5879923", "0.58720726", "0.58706236", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.5864081", "0.58635837", "0.5863207", "0.5863207", "0.586281", "0.58625495", "0.5859657", "0.58480275", "0.58457154", "0.58454543", "0.5843712", "0.5831787", "0.5831525", "0.58293605", "0.58293605", "0.5820953", "0.581475", "0.5812048", "0.58032286", "0.579805", "0.57947665", "0.5791543", "0.57897764", "0.5786098", "0.5780869", "0.5779724", "0.577423", "0.57739097", "0.57659197", "0.57639176", "0.5762663", "0.57592666", "0.5751553", "0.5746938", "0.5746523", "0.5746084", "0.57429504", "0.57409465", "0.57337755", "0.57306266", "0.57259494", "0.5725422", "0.57247823", "0.5719918", "0.5719299", "0.5719299", "0.5717512", "0.56952816", "0.5693284", "0.56844383", "0.5682866", "0.56826854", "0.5673803" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.78571063", "0.77426845", "0.7717644", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7656263", "0.7647176", "0.7599775", "0.7594325", "0.75929254", "0.75929254", "0.7582158", "0.7575828", "0.7575695", "0.7568742", "0.7555524", "0.75441426", "0.75313455", "0.7494666", "0.748358", "0.74634016", "0.74619853", "0.7452785", "0.74312496", "0.7428858", "0.7424827", "0.7414241", "0.7414112", "0.7414112", "0.7410183", "0.7404775", "0.7404775", "0.7402416", "0.7398951", "0.7392532", "0.73855126", "0.7379812", "0.7378651", "0.73666537", "0.73601836", "0.7357984", "0.73544204", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73514366", "0.73491925", "0.7339757", "0.73346", "0.73155713", "0.73095214", "0.7308473", "0.7305993", "0.7305993", "0.73043364", "0.7303744", "0.72973424", "0.7293722", "0.7287206", "0.7286753", "0.72838", "0.7277307", "0.7276091", "0.72739077", "0.7272472", "0.727207", "0.72702944", "0.7269796", "0.7267224", "0.7261026", "0.72609854", "0.7256361", "0.72552556", "0.7254953", "0.7254242", "0.7252441", "0.7251688", "0.72484267", "0.724618", "0.72401345", "0.72391474", "0.7236357", "0.7236357", "0.7235006", "0.72316694", "0.7229783", "0.7229681", "0.7225013", "0.72218955", "0.72148854", "0.72139925", "0.72127664", "0.7210916", "0.7207084", "0.72065234", "0.7206281", "0.7206281" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
Pages invokes f for each page of results. A nonnil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Pages(ctx context.Context, f func(*ListScannedResourcesResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { x, err := c.Do() if err != nil { return err } if err := f(x); err != nil { return err } if x.NextPageToken == "" { return nil } c.PageToken(x.NextPageToken) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *PermissionsQueryTestablePermissionsCall) Pages(ctx context.Context, f func(*QueryTestablePermissionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querytestablepermissionsrequest.PageToken = pt }(c.querytestablepermissionsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querytestablepermissionsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchForAlertCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FoldersSearchCall) Pages(ctx context.Context, f func(*SearchFoldersResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchfoldersrequest.PageToken = pt }(c.searchfoldersrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchfoldersrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OperationsLroListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTabularStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTabularStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytabularstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytabularstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytabularstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectResultsFindingsListCall) Pages(ctx context.Context, f func(*ListInspectFindingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsBatchSearchLinkProcessesCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = pt }(c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsSearchLinksCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1SearchLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1searchlinksrequest.PageToken = pt }(c.googleclouddatacataloglineagev1searchlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1searchlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTraceSinksListCall) Pages(ctx context.Context, f func(*ListTraceSinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PostsListCall) Pages(ctx context.Context, f func(*PostList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTimeSeriesStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTimeSeriesStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Pages(ctx context.Context, f func(*ListExecutionResultsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) Pages(ctx context.Context, f func(*ListListingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Pages(ctx context.Context, f func(*ListInventoriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ClaimsSearchCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsSecurityProfilesEnvironmentsComputeEnvironmentScoresCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ComputeEnvironmentScoresResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = pt }(c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SpacesListCall) Pages(ctx context.Context, f func(*ListSpacesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) Pages(ctx context.Context, f func(*ListSharedResourceSubscriptionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (o Oscar) IterateResults(f func(string, int, int, int, time.Duration, time.Duration, time.Duration)) {\n\tfor i, ts := range o.Suits {\n\t\tfor _, tc := range ts.GetCases() {\n\t\t\tcntErr := 0\n\t\t\tif tc.Error != nil {\n\t\t\t\tcntErr = 1\n\t\t\t}\n\t\t\tif cntErr == 0 && tc.CountAssertSuccess == 0 {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\telapsedTotal, elapsedHTTP, elapsedSleep := tc.Elapsed()\n\n\t\t\tf(\n\t\t\t\to.prefix(i)+tc.Name,\n\t\t\t\ttc.CountAssertSuccess,\n\t\t\t\tcntErr,\n\t\t\t\ttc.CountRemoteRequests,\n\t\t\t\telapsedTotal,\n\t\t\t\telapsedHTTP,\n\t\t\t\telapsedSleep,\n\t\t\t)\n\t\t}\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsProcessesRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListRunsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = pt }(c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AnalyticsListCall) Pages(ctx context.Context, f func(*ListAnalyticsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Pages(ctx context.Context, f func(*ListTimeSeriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *JobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) Pages(ctx context.Context, f func(*LicenseAssignmentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) Pages(ctx context.Context, f func(*ListOSPolicyAssignmentRevisionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OffersHistoryListCall) Pages(ctx context.Context, f func(*ListOffersHistoryResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PagesListCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListCall) Pages(ctx context.Context, f func(*ListDataExchangesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsWorkflowsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsMonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsOccurrencesListCall) Pages(ctx context.Context, f func(*ListOccurrencesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ListProjectsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LeadsListCall) Pages(ctx context.Context, f func(*ListLeadsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesVulnerabilityReportsListCall) Pages(ctx context.Context, f func(*ListVulnerabilityReportsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MobileAppsListCall) Pages(ctx context.Context, f func(*MobileAppsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AlbumsListCall) Pages(ctx context.Context, f func(*ListAlbumsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}" ]
[ "0.638546", "0.638546", "0.619373", "0.60504717", "0.6037753", "0.59754544", "0.58251286", "0.57954067", "0.5791087", "0.5761814", "0.5742279", "0.5742164", "0.5712449", "0.5702505", "0.56302", "0.56261736", "0.56261736", "0.56147426", "0.5611694", "0.56075704", "0.55971897", "0.5594965", "0.55933994", "0.5592046", "0.5591114", "0.5585566", "0.5582276", "0.55800784", "0.5568035", "0.55598307", "0.55187947", "0.55045", "0.55045", "0.5473387", "0.54536855", "0.544178", "0.5441464", "0.5440477", "0.5437611", "0.54353213", "0.54283625", "0.54101264", "0.5407115", "0.5402562", "0.53900975", "0.53890115", "0.5388679", "0.5385398", "0.5385398", "0.53800803", "0.5379511", "0.53787094", "0.5377002", "0.537624", "0.5363129", "0.53615755", "0.5357984", "0.53578925", "0.5348969", "0.53232443", "0.5320492", "0.53203267", "0.53156924", "0.5315391", "0.5314967", "0.53091735", "0.5303459", "0.5297312", "0.5297312", "0.5290914", "0.5286059", "0.52826273", "0.52761763", "0.52761763", "0.52607447", "0.5258019", "0.525316", "0.52415764", "0.52415764", "0.52415764", "0.52415764", "0.52399343", "0.52354294", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52331144", "0.52310234", "0.52253944", "0.52223104", "0.520827", "0.520827", "0.52032226", "0.5194318", "0.51903754", "0.5182758" ]
0.545217
35
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsInsightsWriteInsightCall) Fields(s ...googleapi.Field) *ProjectsLocationsInsightsWriteInsightCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6458571", "0.6409765", "0.63830054", "0.6329471", "0.6294762", "0.6226543", "0.6194011", "0.61830926", "0.61641014", "0.6141662", "0.6126752", "0.61264664", "0.61258316", "0.61162406", "0.6100833", "0.60682887", "0.60682887", "0.606218", "0.6048585", "0.60468453", "0.60205626", "0.5995158", "0.59909886", "0.5976544", "0.5961867", "0.5961867", "0.5960047", "0.5950198", "0.59487796", "0.5947144", "0.59397167", "0.59366864", "0.5934271", "0.5916826", "0.5915118", "0.59145737", "0.5910671", "0.58944666", "0.58923274", "0.5888698", "0.5887614", "0.58799297", "0.5872129", "0.58695704", "0.58639586", "0.58639586", "0.5863568", "0.586351", "0.586351", "0.586351", "0.586351", "0.586351", "0.58624136", "0.58617896", "0.5858689", "0.5848961", "0.5846251", "0.58459437", "0.58428836", "0.5832401", "0.58316153", "0.5829562", "0.5829562", "0.58199257", "0.58144325", "0.5811524", "0.58032703", "0.5798672", "0.5795267", "0.5790823", "0.57903314", "0.57835984", "0.57805043", "0.577955", "0.577466", "0.57733095", "0.5766461", "0.5763401", "0.57624775", "0.57592714", "0.57510763", "0.574698", "0.574665", "0.5746616", "0.57424283", "0.57418925", "0.5734079", "0.5730516", "0.5725956", "0.57255626", "0.57252425", "0.57204276", "0.5719563", "0.5719563", "0.57170063", "0.5694081", "0.5693313", "0.568493", "0.5683405", "0.568321", "0.5673809" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsInsightsWriteInsightCall) Context(ctx context.Context) *ProjectsLocationsInsightsWriteInsightCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsInsightsWriteInsightCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
Cancel: Starts asynchronous cancellation on a longrunning operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. name: The name of the operation resource to be cancelled.
func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall { c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name c.canceloperationrequest = canceloperationrequest return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *OperationsService) Cancel(name string) *OperationsCancelCall {\n\tc := &OperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *OperationsCancelCall {\n\tc := &OperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.canceloperationrequest = canceloperationrequest\n\treturn c\n}", "func (r *InspectOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *InspectOperationsCancelCall {\n\tc := &InspectOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.canceloperationrequest = canceloperationrequest\n\treturn c\n}", "func (r *TransferOperationsService) Cancel(name string) *TransferOperationsCancelCall {\n\tc := &TransferOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *ProjectsLocationsOperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *ProjectsLocationsOperationsCancelCall {\n\tc := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.googlelongrunningcanceloperationrequest = googlelongrunningcanceloperationrequest\n\treturn c\n}", "func (c *cloudChannelRESTClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\tm := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true}\n\tjsonReq, err := m.Marshal(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v:cancel\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"POST\", baseUrl.String(), bytes.NewReader(jsonReq))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (r *ProjectsPatchJobsService) Cancel(name string, cancelpatchjobrequest *CancelPatchJobRequest) *ProjectsPatchJobsCancelCall {\n\tc := &ProjectsPatchJobsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.cancelpatchjobrequest = cancelpatchjobrequest\n\treturn c\n}", "func (r *ProjectsLocationsOsPolicyAssignmentsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOsPolicyAssignmentsOperationsCancelCall {\n\tc := &ProjectsLocationsOsPolicyAssignmentsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.canceloperationrequest = canceloperationrequest\n\treturn c\n}", "func (c *tensorboardRESTClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v:cancel\", req.GetName())\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"POST\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (s *executionServer) CancelOperation(_ context.Context, req *longrunning.CancelOperationRequest) (*empty.Empty, error) {\n\tlog.Debugf(\"Received CancelOperation request: %v\", req)\n\tgo func() {\n\t\tvar err error = nil\n\t\t// Record metrics based on final error condition\n\t\tdefer func() {\n\t\t\tif err == nil {\n\t\t\t\ts.stat.Counter(stats.BzCancelOpSuccessCounter).Inc(1)\n\t\t\t} else {\n\t\t\t\ts.stat.Counter(stats.BzCancelOpFailureCounter).Inc(1)\n\t\t\t}\n\t\t}()\n\t\tdefer s.stat.Latency(stats.BzCancelOpLatency_ms).Time().Stop()\n\t\terr = s.killJobAndValidate(req.GetName())\n\t}()\n\n\treturn &empty.Empty{}, nil\n}", "func (c *restClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\tm := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true}\n\tjsonReq, err := m.Marshal(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v:cancel\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"POST\", baseUrl.String(), bytes.NewReader(jsonReq))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (c *restClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\tm := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true}\n\tjsonReq, err := m.Marshal(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v:cancel\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"POST\", baseUrl.String(), bytes.NewReader(jsonReq))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (impl *Impl) Cancel(ctx context.Context, rs *state.RunState, reasons []string) (*Result, error) {\n\tswitch status := rs.Status; {\n\tcase status == run.Status_STATUS_UNSPECIFIED:\n\t\terr := errors.Reason(\"CRITICAL: can't cancel a Run with unspecified status\").Err()\n\t\tcommon.LogError(ctx, err)\n\t\tpanic(err)\n\tcase status == run.Status_SUBMITTING:\n\t\t// Can't cancel while submitting.\n\t\treturn &Result{State: rs, PreserveEvents: true}, nil\n\tcase run.IsEnded(status):\n\t\tlogging.Debugf(ctx, \"skipping cancellation because Run is %s\", status)\n\t\treturn &Result{State: rs}, nil\n\t}\n\tcg, err := prjcfg.GetConfigGroup(ctx, rs.ID.LUCIProject(), rs.ConfigGroupID)\n\tif err != nil {\n\t\treturn nil, errors.Annotate(err, \"prjcfg.GetConfigGroup\").Err()\n\t}\n\trs = rs.ShallowCopy()\n\t// make sure reasons are unique and doesn't contain empty reasons.\n\tuniqueReasons := stringset.NewFromSlice(reasons...)\n\tuniqueReasons.Del(\"\")\n\trs.CancellationReasons = uniqueReasons.ToSortedSlice()\n\tse := impl.endRun(ctx, rs, run.Status_CANCELLED, cg)\n\n\treturn &Result{\n\t\tState: rs,\n\t\tSideEffectFn: se,\n\t}, nil\n}", "func Cancel(w http.ResponseWriter, r *http.Request) {\n\terr := command.New(getFlags(r.URL.Query())).\n\t\tStopRunningCommand().\n\t\tError\n\n\tif err != nil {\n\t\thttp.Error(w, err.Error(), http.StatusInternalServerError)\n\t\treturn\n\t}\n}", "func (c *workflowsServiceV2BetaRESTClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\tm := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true}\n\tjsonReq, err := m.Marshal(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v2beta/%v:cancel\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"POST\", baseUrl.String(), bytes.NewReader(jsonReq))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (c *CloudChannelClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (s *Service) Cancel(id int64) *CancelCall {\n\tc := &CancelCall{s: s, urlParams_: make(gensupport.URLParams)}\n\tc.id = id\n\treturn c\n}", "func (_IOrakuruCore *IOrakuruCoreTransactor) CancelRequest(opts *bind.TransactOpts, _requestId [32]byte) (*types.Transaction, error) {\n\treturn _IOrakuruCore.contract.Transact(opts, \"cancelRequest\", _requestId)\n}", "func (impl *Impl) Cancel(ctx context.Context, rs *state.RunState) (*Result, error) {\n\tswitch status := rs.Run.Status; {\n\tcase status == run.Status_STATUS_UNSPECIFIED:\n\t\terr := errors.Reason(\"CRITICAL: can't cancel a Run with unspecified status\").Err()\n\t\tcommon.LogError(ctx, err)\n\t\tpanic(err)\n\tcase status == run.Status_SUBMITTING:\n\t\tlogging.Debugf(ctx, \"Run cancellation can't be fulfilled at this time as Run is currently submitting.\")\n\t\t// Don't consume the events so that the RM executing the submission will\n\t\t// be able to read the Cancel events and attempt to cancel if the Run\n\t\t// failed to submit.\n\t\treturn &Result{State: rs, PreserveEvents: true}, nil\n\tcase run.IsEnded(status):\n\t\tlogging.Debugf(ctx, \"skip cancellation because Run has already ended.\")\n\t\treturn &Result{State: rs}, nil\n\t}\n\n\trs = rs.ShallowCopy()\n\tse := endRun(ctx, rs, run.Status_CANCELLED, impl.PM)\n\tif rs.Run.StartTime.IsZero() {\n\t\t// This run has never started but already gets a cancelled event.\n\t\trs.Run.StartTime = rs.Run.EndTime\n\t}\n\treturn &Result{\n\t\tState: rs,\n\t\tSideEffectFn: se,\n\t}, nil\n}", "func (c *TensorboardClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (c *cloudChannelReportsRESTClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\tm := protojson.MarshalOptions{AllowPartial: true, UseEnumNumbers: true}\n\tjsonReq, err := m.Marshal(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v:cancel\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"POST\", baseUrl.String(), bytes.NewReader(jsonReq))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (e *CancelTransaction) Cancel(\n\tctx context.Context,\n) error {\n\tif int(e.Hop) >= len(e.Plan.Hops) {\n\t\treturn errors.Trace(errors.Newf(\n\t\t\t\"Hop (%d) is higher than the transaction plan length (%d)\",\n\t\t\te.Hop, len(e.Plan.Hops)))\n\t}\n\n\th := e.Plan.Hops[e.Hop]\n\tmint.Logf(ctx,\n\t\t\"Executing cancellation plan: transaction=%s hop=%d\", e.ID, e.Hop)\n\n\t// Cancel the OpAction (should always be defined)\n\tif h.OpAction != nil {\n\t\top, err := model.LoadCanonicalOperationByTransactionHop(ctx,\n\t\t\te.ID, e.Hop)\n\t\tif err != nil {\n\t\t\treturn errors.Trace(err)\n\t\t} else if op == nil {\n\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\"Operation not found for transaction %s and hop %d\",\n\t\t\t\te.ID, h))\n\t\t}\n\n\t\tif op.Status == mint.TxStCanceled {\n\t\t\tmint.Logf(ctx,\n\t\t\t\t\"Skipped operation: id=%s[%s] created=%q propagation=%s \"+\n\t\t\t\t\t\"asset=%s source=%s destination=%s amount=%s \"+\n\t\t\t\t\t\"status=%s transaction=%s\",\n\t\t\t\top.Owner, op.Token, op.Created, op.Propagation, op.Asset,\n\t\t\t\top.Source, op.Destination, (*big.Int)(&op.Amount).String(),\n\t\t\t\top.Status, *op.Transaction)\n\n\t\t} else {\n\t\t\ta := h.OpAction\n\n\t\t\tasset, err := model.LoadCanonicalAssetByName(ctx, *a.OperationAsset)\n\t\t\tif err != nil {\n\t\t\t\treturn errors.Trace(err)\n\t\t\t} else if asset == nil {\n\t\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\t\"Asset not found: %s\", *a.OperationAsset))\n\t\t\t}\n\n\t\t\t// Restore the source balance if applicable (that is if the op\n\t\t\t// source is not owner of the asset, in which case the asset was\n\t\t\t// issued on the fly).\n\t\t\tvar srcBalance *model.Balance\n\t\t\tif asset.Owner != op.Source {\n\t\t\t\tsrcBalance, err = model.LoadCanonicalBalanceByAssetHolder(ctx,\n\t\t\t\t\top.Asset, op.Source)\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn errors.Trace(err)\n\t\t\t\t} else if srcBalance == nil {\n\t\t\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\t\t\"Source has no balance in %s: %s\", op.Asset, op.Source))\n\t\t\t\t}\n\t\t\t\t(*big.Int)(&srcBalance.Value).Add(\n\t\t\t\t\t(*big.Int)(&srcBalance.Value), (*big.Int)(&op.Amount))\n\n\t\t\t\t// Checks if the srcBalance is positive and not overflown.\n\t\t\t\tb := (*big.Int)(&srcBalance.Value)\n\t\t\t\tif new(big.Int).Abs(b).Cmp(model.MaxAssetAmount) >= 0 ||\n\t\t\t\t\tb.Cmp(new(big.Int)) < 0 {\n\t\t\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\t\t\"Invalid resulting balance for %s: %s\",\n\t\t\t\t\t\tsrcBalance.Holder, b.String()))\n\t\t\t\t}\n\n\t\t\t\terr = srcBalance.Save(ctx)\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn errors.Trace(err)\n\t\t\t\t}\n\n\t\t\t\terr = async.Queue(ctx,\n\t\t\t\t\ttask.NewPropagateBalance(ctx, time.Now(), srcBalance.ID()))\n\t\t\t\tif err != nil {\n\t\t\t\t\treturn errors.Trace(err)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\top.Status = mint.TxStCanceled\n\t\t\terr = op.Save(ctx)\n\t\t\tif err != nil {\n\t\t\t\treturn errors.Trace(err)\n\t\t\t}\n\n\t\t\tmint.Logf(ctx,\n\t\t\t\t\"Canceled operation: id=%s[%s] created=%q propagation=%s \"+\n\t\t\t\t\t\"asset=%s source=%s destination=%s amount=%s \"+\n\t\t\t\t\t\"status=%s transaction=%s\",\n\t\t\t\top.Owner, op.Token, op.Created, op.Propagation, op.Asset,\n\t\t\t\top.Source, op.Destination, (*big.Int)(&op.Amount).String(),\n\t\t\t\top.Status, *op.Transaction)\n\t\t}\n\t}\n\n\tif h.CrAction != nil {\n\t\tcr, err := model.LoadCanonicalCrossingByTransactionHop(ctx,\n\t\t\te.ID, e.Hop)\n\t\tif err != nil {\n\t\t\treturn errors.Trace(err)\n\t\t} else if cr == nil {\n\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\"Crossing not found for transaction %s and hop %d\",\n\t\t\t\te.ID, h))\n\t\t}\n\n\t\tif cr.Status == mint.TxStSettled {\n\t\t\tmint.Logf(ctx,\n\t\t\t\t\"Skipped crossing: id=%s[%s] created=%q offer=%s amount=%s \"+\n\t\t\t\t\t\"status=%s transaction=%s\",\n\t\t\t\tcr.Owner, cr.Token, cr.Created, cr.Offer,\n\t\t\t\t(*big.Int)(&cr.Amount).String(), cr.Status, cr.Transaction)\n\t\t} else {\n\t\t\ta := h.CrAction\n\n\t\t\toffer, err := model.LoadCanonicalOfferByID(ctx, *a.CrossingOffer)\n\t\t\tif err != nil {\n\t\t\t\treturn errors.Trace(err)\n\t\t\t} else if offer == nil {\n\t\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\t\"Offer not found: %s\", *a.CrossingOffer))\n\t\t\t}\n\n\t\t\t(*big.Int)(&offer.Remainder).Add(\n\t\t\t\t(*big.Int)(&offer.Remainder), (*big.Int)(&cr.Amount))\n\n\t\t\t// Checks if the remainder is positive and not overflown.\n\t\t\tb := (*big.Int)(&offer.Remainder)\n\t\t\tif new(big.Int).Abs(b).Cmp(model.MaxAssetAmount) >= 0 ||\n\t\t\t\tb.Cmp(new(big.Int)) < 0 {\n\t\t\t\treturn errors.Trace(errors.Newf(\n\t\t\t\t\t\"Invalid resulting remainder: %s\", b.String()))\n\t\t\t}\n\t\t\t// Set the offer as active if the remainder is not 0 and the offer\n\t\t\t// is not closed.\n\t\t\tif offer.Status != mint.OfStClosed && b.Cmp(new(big.Int)) > 0 {\n\t\t\t\toffer.Status = mint.OfStActive\n\t\t\t}\n\n\t\t\terr = offer.Save(ctx)\n\t\t\tif err != nil {\n\t\t\t\treturn errors.Trace(err)\n\t\t\t}\n\n\t\t\terr = async.Queue(ctx,\n\t\t\t\ttask.NewPropagateOffer(ctx, time.Now(), offer.ID()))\n\t\t\tif err != nil {\n\t\t\t\treturn errors.Trace(err)\n\t\t\t}\n\n\t\t\tcr.Status = mint.TxStCanceled\n\t\t\terr = cr.Save(ctx)\n\t\t\tif err != nil {\n\t\t\t\treturn errors.Trace(err)\n\t\t\t}\n\n\t\t\tmint.Logf(ctx,\n\t\t\t\t\"Canceled crossing: id=%s[%s] created=%q offer=%s amount=%s \"+\n\t\t\t\t\t\"status=%s transaction=%s\",\n\t\t\t\tcr.Owner, cr.Token, cr.Created, cr.Offer,\n\t\t\t\t(*big.Int)(&cr.Amount).String(), cr.Status, cr.Transaction)\n\t\t}\n\t}\n\n\treturn nil\n}", "func (m *AsyncResult) Cancel() {\n\tatomic.StoreUint32(&m.canceled, 1)\n}", "func (_IOrakuruCore *IOrakuruCoreSession) CancelRequest(_requestId [32]byte) (*types.Transaction, error) {\n\treturn _IOrakuruCore.Contract.CancelRequest(&_IOrakuruCore.TransactOpts, _requestId)\n}", "func (c *cloudChannelRESTClient) CancelEntitlementOperation(name string) *CancelEntitlementOperation {\n\toverride := fmt.Sprintf(\"/v1/%s\", name)\n\treturn &CancelEntitlementOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func (_e *MockCompletableFuture_Expecter[T]) Cancel() *MockCompletableFuture_Cancel_Call[T] {\n\treturn &MockCompletableFuture_Cancel_Call[T]{Call: _e.mock.On(\"Cancel\")}\n}", "func (resp *ActionVpsFeatureUpdateAllResponse) CancelOperation() (*ActionActionStateCancelResponse, error) {\n\treq := resp.Action.Client.ActionState.Cancel.Prepare()\n\treq.SetPathParamInt(\"action_state_id\", resp.Response.Meta.ActionStateId)\n\treturn req.Call()\n}", "func (c *Client) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (c *Client) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (op *CancelEntitlementOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (client RoleAssignmentScheduleRequestsClient) Cancel(ctx context.Context, scope string, roleAssignmentScheduleRequestName string) (result autorest.Response, err error) {\n\tif tracing.IsEnabled() {\n\t\tctx = tracing.StartSpan(ctx, fqdn+\"/RoleAssignmentScheduleRequestsClient.Cancel\")\n\t\tdefer func() {\n\t\t\tsc := -1\n\t\t\tif result.Response != nil {\n\t\t\t\tsc = result.Response.StatusCode\n\t\t\t}\n\t\t\ttracing.EndSpan(ctx, sc, err)\n\t\t}()\n\t}\n\treq, err := client.CancelPreparer(ctx, scope, roleAssignmentScheduleRequestName)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"authorization.RoleAssignmentScheduleRequestsClient\", \"Cancel\", nil, \"Failure preparing request\")\n\t\treturn\n\t}\n\n\tresp, err := client.CancelSender(req)\n\tif err != nil {\n\t\tresult.Response = resp\n\t\terr = autorest.NewErrorWithError(err, \"authorization.RoleAssignmentScheduleRequestsClient\", \"Cancel\", resp, \"Failure sending request\")\n\t\treturn\n\t}\n\n\tresult, err = client.CancelResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"authorization.RoleAssignmentScheduleRequestsClient\", \"Cancel\", resp, \"Failure responding to request\")\n\t\treturn\n\t}\n\n\treturn\n}", "func (r *Response) Cancel() error {\n\t\n}", "func (_IOrakuruCore *IOrakuruCoreTransactorSession) CancelRequest(_requestId [32]byte) (*types.Transaction, error) {\n\treturn _IOrakuruCore.Contract.CancelRequest(&_IOrakuruCore.TransactOpts, _requestId)\n}", "func (p *googleCloudProvider) Cancel(context.Context, *empty.Empty) (*empty.Empty, error) {\n\treturn &empty.Empty{}, nil\n}", "func (p *googleCloudProvider) Cancel(context.Context, *empty.Empty) (*empty.Empty, error) {\n\treturn &empty.Empty{}, nil\n}", "func (c *WorkflowsServiceV2BetaClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (r *BigStorageRepository) Cancel(bigStorageName string, endTime gotransip.CancellationTime) error {\n\trequestBody := gotransip.CancellationRequest{EndTime: endTime}\n\trestRequest := rest.Request{Endpoint: fmt.Sprintf(\"/big-storages/%s\", bigStorageName), Body: &requestBody}\n\n\treturn r.Client.Delete(restRequest)\n}", "func (resp *ActionVpsConfigCreateResponse) CancelOperation() (*ActionActionStateCancelResponse, error) {\n\treq := resp.Action.Client.ActionState.Cancel.Prepare()\n\treq.SetPathParamInt(\"action_state_id\", resp.Response.Meta.ActionStateId)\n\treturn req.Call()\n}", "func (resp *ActionExportCreateResponse) CancelOperation() (*ActionActionStateCancelResponse, error) {\n\treq := resp.Action.Client.ActionState.Cancel.Prepare()\n\treq.SetPathParamInt(\"action_state_id\", resp.Response.Meta.ActionStateId)\n\treturn req.Call()\n}", "func (resp *ActionUserDeleteResponse) CancelOperation() (*ActionActionStateCancelResponse, error) {\n\treq := resp.Action.Client.ActionState.Cancel.Prepare()\n\treq.SetPathParamInt(\"action_state_id\", resp.Response.Meta.ActionStateId)\n\treturn req.Call()\n}", "func (k *xyzProvider) Cancel(context.Context, *pbempty.Empty) (*pbempty.Empty, error) {\n\t// TODO\n\treturn &pbempty.Empty{}, nil\n}", "func (c *cloudChannelGRPCClient) CancelEntitlementOperation(name string) *CancelEntitlementOperation {\n\treturn &CancelEntitlementOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t}\n}", "func (controller *playgroundController) Cancel(ctx context.Context, info *pb.CancelRequest) (*pb.CancelResponse, error) {\n\tpipelineId, err := uuid.Parse(info.PipelineUuid)\n\terrorMessage := \"Error during canceling the code processing\"\n\tif err != nil {\n\t\tlogger.Errorf(\"%s: Cancel(): pipelineId has incorrect value and couldn't be parsed as uuid value: %s\", info.PipelineUuid, err.Error())\n\t\treturn nil, cerrors.InvalidArgumentError(errorMessage, \"pipelineId has incorrect value and couldn't be parsed as uuid value: %s\", info.PipelineUuid)\n\t}\n\tif err := utils.SetToCache(controller.cacheService, pipelineId, cache.Canceled, true); err != nil {\n\t\treturn nil, cerrors.InternalError(errorMessage, \"Error during saving cancel flag value\")\n\t}\n\treturn &pb.CancelResponse{}, nil\n}", "func Cancel(proposer, canceler eos.AccountName, proposalName eos.Name) {\n\tapi := getAPI()\n\n\tpushEOSCActions(api,\n\t\tmsig.NewCancel(proposer, proposalName, canceler),\n\t)\n}", "func (trading *TradingProvider) Cancel(order schemas.Order) (err error) {\n\tvar b []byte\n\tvar resp OrderCancel\n\n\tpayload := httpclient.Params()\n\tnonce := time.Now().UnixNano()\n\tpayload.Set(\"orderNumber\", order.ID)\n\tpayload.Set(\"command\", commandCancel)\n\tpayload.Set(\"nonce\", strconv.FormatInt(nonce, 10))\n\n\tb, err = trading.httpClient.Post(tradingAPI, httpclient.Params(), payload, true)\n\tif err != nil {\n\t\terr = fmt.Errorf(\"[POLONIEX] Error creating order: %v\", string(b))\n\t}\n\tif err = json.Unmarshal(b, &resp); err != nil {\n\t\treturn\n\t}\n\tif len(resp.Error) > 0 {\n\t\terr = fmt.Errorf(\"[POLONIEX] Error cancelling order: %v\", resp.Error)\n\t\treturn\n\t}\n\n\treturn nil\n}", "func (c *PolicyBasedRoutingClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (p *unlimitedPool) Cancel() {\n\n\terr := &ErrCancelled{s: errCancelled}\n\tp.closeWithError(err)\n}", "func (_m *AsyncBR) Cancel() {\n\t_m.Called()\n}", "func (m *JobManager) Cancel(path, body string) error {\n\terr := m.table.Delete(path, body)\n\tif err != nil {\n\t\treturn err\n\t}\n\tm.scheduler.WakeUp(\"job cancelled\")\n\tdebug(\"job is cancelled\")\n\treturn nil\n}", "func (s *Stream) Cancel() error {\n\ts.mu.Lock()\n\tdefer s.mu.Unlock()\n\n\tif s.canceling {\n\t\treturn nil\n\t}\n\ts.canceling = true\n\tif err := s.performClose(true); err != nil {\n\t\ts.canceling = false\n\t\treturn err\n\t}\n\tif err := s.remove(); err != nil {\n\t\ts.canceling = false\n\t\treturn err\n\t}\n\treturn nil\n}", "func (client *JobExecutionsClient) cancelCreateRequest(ctx context.Context, resourceGroupName string, serverName string, jobAgentName string, jobName string, jobExecutionID string, options *JobExecutionsClientCancelOptions) (*policy.Request, error) {\n\turlPath := \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/cancel\"\n\tif resourceGroupName == \"\" {\n\t\treturn nil, errors.New(\"parameter resourceGroupName cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{resourceGroupName}\", url.PathEscape(resourceGroupName))\n\tif serverName == \"\" {\n\t\treturn nil, errors.New(\"parameter serverName cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{serverName}\", url.PathEscape(serverName))\n\tif jobAgentName == \"\" {\n\t\treturn nil, errors.New(\"parameter jobAgentName cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{jobAgentName}\", url.PathEscape(jobAgentName))\n\tif jobName == \"\" {\n\t\treturn nil, errors.New(\"parameter jobName cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{jobName}\", url.PathEscape(jobName))\n\turlPath = strings.ReplaceAll(urlPath, \"{jobExecutionId}\", url.PathEscape(jobExecutionID))\n\tif client.subscriptionID == \"\" {\n\t\treturn nil, errors.New(\"parameter client.subscriptionID cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{subscriptionId}\", url.PathEscape(client.subscriptionID))\n\treq, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.internal.Endpoint(), urlPath))\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treqQP := req.Raw().URL.Query()\n\treqQP.Set(\"api-version\", \"2020-11-01-preview\")\n\treq.Raw().URL.RawQuery = reqQP.Encode()\n\treturn req, nil\n}", "func (c *Context) CancelAsync() (err int) {\n\treturn int(C.rtlsdr_cancel_async((*C.rtlsdr_dev_t)(c.dev)))\n}", "func (controller *playgroundController) Cancel(ctx context.Context, info *pb.CancelRequest) (*pb.CancelResponse, error) {\n\tpipelineId, err := uuid.Parse(info.PipelineUuid)\n\tif err != nil {\n\t\tlogger.Errorf(\"%s: Cancel(): pipelineId has incorrect value and couldn't be parsed as uuid value: %s\", info.PipelineUuid, err.Error())\n\t\treturn nil, errors.InvalidArgumentError(\"Cancel\", \"pipelineId has incorrect value and couldn't be parsed as uuid value: \"+info.PipelineUuid)\n\t}\n\tif err := utils.SetToCache(ctx, controller.cacheService, pipelineId, cache.Canceled, true); err != nil {\n\t\treturn nil, errors.InternalError(\"Cancel\", \"error during set cancel flag to cache\")\n\t}\n\treturn &pb.CancelResponse{}, nil\n}", "func (c *CloudChannelReportsClient) CancelOperation(ctx context.Context, req *longrunningpb.CancelOperationRequest, opts ...gax.CallOption) error {\n\treturn c.internalClient.CancelOperation(ctx, req, opts...)\n}", "func (t *transportStruct) CancelRequest(req *http.Request) {\n\ttype canceler interface {\n\t\tCancelRequest(*http.Request)\n\t}\n\n\ttr, _ := t.transport.(canceler)\n\n\ttr.CancelRequest(req)\n}", "func (o *Job) Cancel(ctx context.Context, options map[string]dbus.Variant) (err error) {\n\terr = o.object.CallWithContext(ctx, InterfaceJob+\".Cancel\", 0, options).Store()\n\treturn\n}", "func (req *DronaRequest) Cancel() error {\n\tif req.cancelFunc != nil {\n\t\treq.cancelFunc()\n\t}\n\treturn nil\n}", "func (s serverImpl) Cancel(goCtx context.Context, req *ecocredit.MsgCancel) (*ecocredit.MsgCancelResponse, error) {\n\tctx := types.UnwrapSDKContext(goCtx)\n\tstore := ctx.KVStore(s.storeKey)\n\tholderAddr, err := sdk.AccAddressFromBech32(req.Holder)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tfor _, credit := range req.Credits {\n\n\t\t// Check that the batch that were trying to cancel credits from\n\t\t// exists\n\t\tdenom := batchDenomT(credit.BatchDenom)\n\t\tif !s.batchInfoTable.Has(ctx, orm.RowID(denom)) {\n\t\t\treturn nil, sdkerrors.ErrInvalidRequest.Wrapf(\"%s is not a valid credit batch denom\", denom)\n\t\t}\n\n\t\t// Remove the credits from the total_amount in the batch and add\n\t\t// them to amount_cancelled\n\t\tvar batchInfo ecocredit.BatchInfo\n\t\terr := s.batchInfoTable.GetOne(ctx, orm.RowID(denom), &batchInfo)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tclassInfo, err := s.getClassInfo(ctx, batchInfo.ClassId)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tmaxDecimalPlaces := classInfo.CreditType.Precision\n\n\t\t// Parse the amount of credits to cancel, checking it conforms\n\t\t// to the precision\n\t\ttoCancel, err := math.NewPositiveFixedDecFromString(credit.Amount, maxDecimalPlaces)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\t// Remove the credits from the balance of the holder and the\n\t\t// overall supply\n\t\terr = subtractTradableBalanceAndSupply(store, holderAddr, denom, toCancel)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\ttotalAmount, err := math.NewPositiveFixedDecFromString(batchInfo.TotalAmount, maxDecimalPlaces)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\ttotalAmount, err = math.SafeSubBalance(totalAmount, toCancel)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tbatchInfo.TotalAmount = totalAmount.String()\n\n\t\tamountCancelled, err := math.NewNonNegativeFixedDecFromString(batchInfo.AmountCancelled, maxDecimalPlaces)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tamountCancelled, err = amountCancelled.Add(toCancel)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tbatchInfo.AmountCancelled = amountCancelled.String()\n\n\t\tif err = s.batchInfoTable.Update(ctx, &batchInfo); err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\t// Emit the cancellation event\n\t\terr = ctx.EventManager().EmitTypedEvent(&ecocredit.EventCancel{\n\t\t\tCanceller: req.Holder,\n\t\t\tBatchDenom: string(denom),\n\t\t\tAmount: toCancel.String(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tctx.GasMeter().ConsumeGas(gasCostPerIteration, \"cancel ecocredits\")\n\t}\n\n\treturn &ecocredit.MsgCancelResponse{}, nil\n}", "func (drc *DummyRegistryClient) Cancel() {}", "func Cancel(session *discordgo.Session, message *discordgo.MessageCreate, env *botenv.BotEnv) {\n\t// Parse out the index rune.\n\tf := (strings.Fields(message.Content))\n\tid := f[len(f)-1]\n\ti, errConv := strconv.ParseInt(id, 16, 32)\n\tif errConv != nil {\n\t\treturn\n\t}\n\tr := rune(i)\n\t// Check the rune.\n\tif r < lodb.IDMIN || r > lodb.IDMAX*lodb.TICKPERIOD {\n\t\tsession.ChannelMessageSend(message.ChannelID, fmt.Sprintf(\"The ID %s is not within an acceptable range.\", string(r)))\n\t\treturn\n\t}\n\t// Delete.\n\terr := env.Repo.Delete(message.Author.ID, r)\n\tif err != nil {\n\t\tenv.Log.Error(\n\t\t\t\"Error deleting user's query.\",\n\t\t\tzap.Error(err))\n\t\tsession.ChannelMessageSend(message.ChannelID, \"The was a problem trying to delete that query.\")\n\t\treturn\n\t}\n\tsession.ChannelMessageSend(message.ChannelID, fmt.Sprintf(\"Query %X was canceled.\", r))\n}", "func (req *Request) Cancel() {\n\treq.cancel()\n}", "func (s *CertificatesService) Cancel(id string) error {\n\t_, err := s.client.Post(\"/v1/certificates/\"+id+\"/cancel\", nil)\n\n\treturn err\n}", "func (j *Job) Cancel(ctx context.Context) error {\n\t// Jobs.Cancel returns a job entity, but the only relevant piece of\n\t// data it may contain (the status of the job) is unreliable. From the\n\t// docs: \"This call will return immediately, and the client will need\n\t// to poll for the job status to see if the cancel completed\n\t// successfully\". So it would be misleading to return a status.\n\tcall := j.c.bqs.Jobs.Cancel(j.projectID, j.jobID).\n\t\tLocation(j.location).\n\t\tFields(). // We don't need any of the response data.\n\t\tContext(ctx)\n\tsetClientHeader(call.Header())\n\treturn runWithRetry(ctx, func() error {\n\t\tsCtx := trace.StartSpan(ctx, \"bigquery.jobs.cancel\")\n\t\t_, err := call.Do()\n\t\ttrace.EndSpan(sCtx, err)\n\t\treturn err\n\t})\n}", "func (client *VirtualMachineImageTemplatesClient) cancelCreateRequest(ctx context.Context, resourceGroupName string, imageTemplateName string, options *VirtualMachineImageTemplatesClientBeginCancelOptions) (*policy.Request, error) {\n\turlPath := \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/cancel\"\n\tif client.subscriptionID == \"\" {\n\t\treturn nil, errors.New(\"parameter client.subscriptionID cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{subscriptionId}\", url.PathEscape(client.subscriptionID))\n\tif resourceGroupName == \"\" {\n\t\treturn nil, errors.New(\"parameter resourceGroupName cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{resourceGroupName}\", url.PathEscape(resourceGroupName))\n\tif imageTemplateName == \"\" {\n\t\treturn nil, errors.New(\"parameter imageTemplateName cannot be empty\")\n\t}\n\turlPath = strings.ReplaceAll(urlPath, \"{imageTemplateName}\", url.PathEscape(imageTemplateName))\n\treq, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.host, urlPath))\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treqQP := req.Raw().URL.Query()\n\treqQP.Set(\"api-version\", \"2021-10-01\")\n\treq.Raw().URL.RawQuery = reqQP.Encode()\n\treq.Raw().Header.Set(\"Accept\", \"application/json\")\n\treturn req, nil\n}", "func (b *Builder) Cancel(ctx context.Context, id string) error {\n\tb.mu.Lock()\n\tif j, ok := b.jobs[id]; ok && j.cancel != nil {\n\t\tj.cancel()\n\t}\n\tb.mu.Unlock()\n\treturn nil\n}", "func (c *CloudChannelClient) CancelEntitlementOperation(name string) *CancelEntitlementOperation {\n\treturn c.internalClient.CancelEntitlementOperation(name)\n}", "func (p *PubsubValueStore) Cancel(name string) (bool, error) {\n\tp.mx.Lock()\n\tdefer p.mx.Unlock()\n\n\tp.watchLk.Lock()\n\tif _, wok := p.watching[name]; wok {\n\t\tp.watchLk.Unlock()\n\t\treturn false, fmt.Errorf(\"key has active subscriptions\")\n\t}\n\tp.watchLk.Unlock()\n\n\tti, ok := p.topics[name]\n\tif ok {\n\t\tp.closeTopic(name, ti)\n\t\t<-ti.finished\n\t}\n\n\treturn ok, nil\n}", "func (c *Client) CancelResourceRequest(ctx context.Context, params *CancelResourceRequestInput, optFns ...func(*Options)) (*CancelResourceRequestOutput, error) {\n\tif params == nil {\n\t\tparams = &CancelResourceRequestInput{}\n\t}\n\n\tresult, metadata, err := c.invokeOperation(ctx, \"CancelResourceRequest\", params, optFns, c.addOperationCancelResourceRequestMiddlewares)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tout := result.(*CancelResourceRequestOutput)\n\tout.ResultMetadata = metadata\n\treturn out, nil\n}", "func (t *transport) CancelRequest(req *http.Request) {\n\ttype canceler interface {\n\t\tCancelRequest(*http.Request)\n\t}\n\tif cr, ok := t.base().(canceler); ok {\n\t\tt.mu.Lock()\n\t\tmodReq := t.modReq[req]\n\t\tdelete(t.modReq, req)\n\t\tt.mu.Unlock()\n\t\tcr.CancelRequest(modReq)\n\t}\n}", "func (t *Transport) CancelRequest(req *http.Request) {\n\ttype canceler interface {\n\t\tCancelRequest(*http.Request)\n\t}\n\n\tt.reqMu.RLock()\n\tnewReq, ok := t.requests[req]\n\tt.reqMu.RUnlock()\n\tif !ok {\n\t\treturn\n\t}\n\n\ttransport := t.getTransport()\n\tif ts, ok := transport.(canceler); ok {\n\t\tts.CancelRequest(newReq)\n\t}\n}", "func (i *DeleteOrUpdateInvTask) Cancel(_ *taskrunner.TaskContext) {}", "func (r *Runtime) Cancel() { r.cancel() }", "func (pp *PushPromise) Cancel() error {\n\tif pp.isFulfilled() {\n\t\treturn pp.response.s.StopSending(uint16(ErrHttpRequestCancelled))\n\t}\n\n\tvar buf bytes.Buffer\n\t_, err := NewFrameWriter(&buf).WriteVarint(pp.pushID)\n\tif err != nil {\n\t\treturn err\n\t}\n\t_, err = pp.c.controlStream.WriteFrame(frameCancelPush, buf.Bytes())\n\treturn err\n}", "func (client *VirtualMachineScaleSetRollingUpgradesClient) cancelCreateRequest(ctx context.Context, resourceGroupName string, vmScaleSetName string, options *VirtualMachineScaleSetRollingUpgradesBeginCancelOptions) (*azcore.Request, error) {\n\turlPath := \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel\"\n\turlPath = strings.ReplaceAll(urlPath, \"{resourceGroupName}\", url.PathEscape(resourceGroupName))\n\turlPath = strings.ReplaceAll(urlPath, \"{vmScaleSetName}\", url.PathEscape(vmScaleSetName))\n\turlPath = strings.ReplaceAll(urlPath, \"{subscriptionId}\", url.PathEscape(client.subscriptionID))\n\treq, err := azcore.NewRequest(ctx, http.MethodPost, azcore.JoinPaths(client.con.Endpoint(), urlPath))\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treq.Telemetry(telemetryInfo)\n\tquery := req.URL.Query()\n\tquery.Set(\"api-version\", \"2020-06-01\")\n\treq.URL.RawQuery = query.Encode()\n\treturn req, nil\n}", "func (c *CB) Cancel() error {\n\tif c.matchState(stCanceled) {\n\t\treturn errCanceled\n\t}\n\tif c.matchState(stFired) {\n\t\treturn errFired\n\t}\n\n\tc.setState(stCanceled)\n\treturn nil\n}", "func (_EtherDelta *EtherDeltaTransactor) CancelOrder(opts *bind.TransactOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {\n\treturn _EtherDelta.contract.Transact(opts, \"cancelOrder\", tokenGet, amountGet, tokenGive, amountGive, expires, nonce, v, r, s)\n}", "func (q *query) Cancel() {\n\tif q.cancel != nil {\n\t\tq.cancel()\n\t}\n}", "func (conn *Connection) Cancel() error {\n\t// make sure we are actually connected\n\tif !conn.IsConnected() {\n\t\treturn nil\n\t}\n\n\t// perform the break\n\treturn conn.environment.CheckStatus(C.OCIBreak(unsafe.Pointer(conn.handle),\n\t\tconn.environment.errorHandle), \"Cancel\")\n}", "func (_m *MockCompletableFuture[T]) Cancel() {\n\t_m.Called()\n}", "func (m HMSketch) Cancel(o HMSketch) HMSketch {\n\tout := New(m.Resolution)\n\thMux.Lock()\n\tallkvps := make(map[int64]bool)\n\tfor x := range m.Index {\n\t\tallkvps[x] = true\n\t}\n\tfor x := range o.Index {\n\t\tallkvps[x] = true\n\t}\n\tfor x := range allkvps {\n\t\tm1, okm := m.Index[x]\n\t\to1, oko := o.Index[x]\n\t\tout.Index[x] = out.Max\n\t\tout.Max++\n\t\tif !okm {\n\t\t\tout.Registers = append(out.Registers,\n\t\t\t\thist.New(m.Resolution).Cancel(o.Registers[o1]))\n\t\t} else if !oko {\n\t\t\tout.Registers = append(out.Registers, m.Registers[m1])\n\t\t} else {\n\t\t\tout.Registers = append(out.Registers,\n\t\t\t\tm.Registers[m1].Cancel(o.Registers[o1]))\n\t\t}\n\t}\n\thMux.Unlock()\n\treturn out\n}", "func (_EtherDelta *EtherDeltaTransactorSession) CancelOrder(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {\n\treturn _EtherDelta.Contract.CancelOrder(&_EtherDelta.TransactOpts, tokenGet, amountGet, tokenGive, amountGive, expires, nonce, v, r, s)\n}", "func (i *inflight) Cancel() {\n\t// Lock after close to avoid deadlock\n\ti.Lock()\n\tdefer i.Unlock()\n\n\t// Clear the map\n\ti.operations = make(map[uint64]*logFuture)\n\n\t// Clear the list of committed\n\ti.committed = list.New()\n\n\t// Close the commmitCh\n\tclose(i.commitCh)\n\n\t// Reset indexes\n\ti.minCommit = 0\n\ti.maxCommit = 0\n}", "func (c *canceler) Cancel() {\n\tc.cancel()\n}", "func (_EtherDelta *EtherDeltaSession) CancelOrder(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {\n\treturn _EtherDelta.Contract.CancelOrder(&_EtherDelta.TransactOpts, tokenGet, amountGet, tokenGive, amountGive, expires, nonce, v, r, s)\n}", "func (t Transport) CancelRequest(req *http.Request) {\n\ttype canceler interface {\n\t\tCancelRequest(*http.Request)\n\t}\n\tif cr, ok := t.base().(canceler); ok {\n\t\tcr.CancelRequest(req)\n\t}\n}", "func (c *MockedHTTPContext) Cancel(err error) {\n\tif c.MockedCancel != nil {\n\t\tc.MockedCancel(err)\n\t}\n}", "func (r Response) Cancel() Command {\n\treturn Command{\n\t\tJID: r.IQ.From,\n\t\tSID: r.SID,\n\t\tNode: r.Node,\n\t\tAction: \"cancel\",\n\t}\n}", "func (t *Transport) CancelRequest(req *http.Request) {\n\ttype canceler interface {\n\t\tCancelRequest(*http.Request)\n\t}\n\tif cr, ok := t.Base.(canceler); ok {\n\t\tt.mu.Lock()\n\t\tmodReq := t.modReq[req]\n\t\tdelete(t.modReq, req)\n\t\tt.mu.Unlock()\n\t\tcr.CancelRequest(modReq)\n\t}\n}", "func (f *FaxService) Cancel(sid string) (*Fax, error) {\n\tdata := url.Values{}\n\tdata.Set(\"Status\", string(StatusCanceled))\n\treturn f.Update(context.Background(), sid, data)\n}", "func (r *OperationsService) Delete(name string) *OperationsDeleteCall {\n\tc := &OperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Delete(name string) *OperationsDeleteCall {\n\tc := &OperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (a *ModificationGateway) Cancel(req *Cancel) (*CancelResponse, error) {\n\tresp, err := a.execute(PaymentService, cancelType, req)\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn resp.cancel()\n}", "func (c *canceler) Cancel(ctx context.Context, id string) error {\n\tc.Lock()\n\tdefer c.Unlock()\n\tc.cancelled[id] = time.Now().Add(5 * time.Minute)\n\tif sub, ok := c.subsciber[id]; ok {\n\t\tclose(sub)\n\t}\n\tc.clear()\n\treturn nil\n}", "func (s *Service) Cancel(userId string, tans ...string) error {\n\tif len(tans) > 0 {\n\t\tfor _, tan := range tans {\n\t\t\tvar found *model.Tan\n\t\t\tif s.Verify(userId, tan, &found) {\n\t\t\t\terr := s.repository.Delete(found)\n\t\t\t\tif nil != err {\n\t\t\t\t\treturn err\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tshowNumber := int(float64(len(tan)) * .4)\n\t\t\t\tmaskedTan := tan[:showNumber] + strings.Repeat(\"*\", len(tan)-showNumber)\n\t\t\t\tlog.Printf(\"[warning] tan service refused to cancel given tan '%s' because the tan has failed verification.\", maskedTan)\n\t\t\t}\n\t\t}\n\t\treturn nil\n\t}\n\treturn s.repository.DeleteByUserId(userId)\n}", "func (c *Context) Cancel() {\n\tif c.cancel != nil {\n\t\tc.cancel()\n\t}\n}", "func (clientHandler) Cancel(ctx context.Context, conn *jsonrpc2.Conn, id jsonrpc2.ID, canceled bool) bool {\n\treturn false\n}", "func (dc *Decompressor) Cancel(err error) {\n\tdc.pwr.CloseWithError(err)\n}", "func (r *Response) Cancel(ctx context.Context) (*Response, error) {\n\tif r.CancelResponse == nil || len(r.CancelResponse.FormValues) == 0 {\n\t\treturn nil, errors.New(\"valid cancel is missing from idx response\")\n\t}\n\tm := make(map[string]interface{})\n\tfor i := range r.CancelResponse.FormValues {\n\t\tm[r.CancelResponse.FormValues[i].Name] = r.CancelResponse.FormValues[i].Value\n\t}\n\tbody, err := json.Marshal(m)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to marshal cancel request: %w\", err)\n\t}\n\treq, err := http.NewRequestWithContext(ctx, r.CancelResponse.Method, r.CancelResponse.Href, bytes.NewReader(body))\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to create cancel request: %w\", err)\n\t}\n\treq.Header.Set(\"Accepts\", r.CancelResponse.Accepts)\n\treq.Header.Set(\"Content-Type\", r.CancelResponse.Accepts)\n\toktahttp.WithOktaUserAgent(req, packageVersion)\n\tresp, err := idx.httpClient.Do(req)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"http call has failed: %w\", err)\n\t}\n\tvar idxResponse Response\n\terr = unmarshalResponse(resp, &idxResponse)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &idxResponse, nil\n}" ]
[ "0.78393596", "0.7748529", "0.76654375", "0.7566352", "0.7331335", "0.63287115", "0.6293025", "0.6288393", "0.62423974", "0.6150949", "0.615081", "0.615081", "0.60983855", "0.6065442", "0.6057337", "0.60344017", "0.59978694", "0.59316194", "0.59314567", "0.5909635", "0.58465785", "0.5846384", "0.583377", "0.582632", "0.58163303", "0.5788839", "0.57711124", "0.5762284", "0.5762284", "0.5737233", "0.5735548", "0.57295215", "0.5729178", "0.5728875", "0.5728875", "0.572256", "0.57136184", "0.5676943", "0.5658831", "0.55992496", "0.55620515", "0.55515045", "0.5503346", "0.55013716", "0.55011106", "0.5474109", "0.5472717", "0.5452117", "0.5447436", "0.5387465", "0.53549606", "0.5346741", "0.5337099", "0.5329527", "0.5324855", "0.5318668", "0.53117174", "0.5298363", "0.5286904", "0.5274787", "0.5273484", "0.52520156", "0.5236021", "0.52001977", "0.5199877", "0.51894283", "0.51717204", "0.5166562", "0.5165867", "0.51577526", "0.5155832", "0.51553625", "0.5154822", "0.5134404", "0.5130799", "0.5120344", "0.5118515", "0.5113805", "0.5103766", "0.5099748", "0.5091624", "0.50638074", "0.5060414", "0.50554913", "0.5047779", "0.50397086", "0.50393456", "0.502935", "0.5028197", "0.5026764", "0.5026764", "0.5010277", "0.5002993", "0.49849793", "0.49786565", "0.49698025", "0.49696648", "0.49651396" ]
0.7392722
6
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6458571", "0.6409765", "0.63830054", "0.6329471", "0.6294762", "0.6226543", "0.6194011", "0.61830926", "0.61641014", "0.6141662", "0.6126752", "0.61264664", "0.61258316", "0.61162406", "0.6100833", "0.60682887", "0.60682887", "0.606218", "0.6048585", "0.60468453", "0.60205626", "0.5995158", "0.59909886", "0.5976544", "0.5961867", "0.5961867", "0.5960047", "0.5950198", "0.59487796", "0.5947144", "0.59397167", "0.59366864", "0.5934271", "0.5916826", "0.5915118", "0.59145737", "0.5910671", "0.58944666", "0.58923274", "0.5888698", "0.5887614", "0.58799297", "0.5872129", "0.58695704", "0.58639586", "0.58639586", "0.5863568", "0.586351", "0.586351", "0.586351", "0.586351", "0.586351", "0.58624136", "0.58617896", "0.5858689", "0.5848961", "0.5846251", "0.58459437", "0.58428836", "0.5832401", "0.58316153", "0.5829562", "0.5829562", "0.58199257", "0.58144325", "0.5811524", "0.58032703", "0.5798672", "0.5795267", "0.5790823", "0.57903314", "0.57835984", "0.57805043", "0.577955", "0.577466", "0.57733095", "0.5766461", "0.5763401", "0.57624775", "0.57592714", "0.57510763", "0.574698", "0.574665", "0.5746616", "0.57424283", "0.57418925", "0.5734079", "0.5730516", "0.5725956", "0.57255626", "0.57252425", "0.57204276", "0.5719563", "0.5719563", "0.57170063", "0.5694081", "0.5693313", "0.568493", "0.5683405", "0.568321", "0.5673809" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
Delete: Deletes a longrunning operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. name: The name of the operation resource to be deleted.
func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall { c := &ProjectsLocationsOperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *OperationsService) Delete(name string) *OperationsDeleteCall {\n\tc := &OperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Delete(name string) *OperationsDeleteCall {\n\tc := &OperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *InspectOperationsService) Delete(name string) *InspectOperationsDeleteCall {\n\tc := &InspectOperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *TransferOperationsService) Delete(name string) *TransferOperationsDeleteCall {\n\tc := &TransferOperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (op *DeleteStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteTensorboardRunOperation) Name() string {\n\treturn op.lro.Name()\n}", "func Delete(client *gophercloud.ServiceClient, name string) os.DeleteResult {\n\treturn os.Delete(client, name)\n}", "func (op *DeleteTensorboardOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteActiveDirectoryOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteTensorboardExperimentOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteTensorboardTimeSeriesOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func Delete(name string) error {\n\tprofile := &performancev2.PerformanceProfile{}\n\tif err := testclient.Client.Get(context.TODO(), types.NamespacedName{Name: name}, profile); err != nil {\n\t\tif errors.IsNotFound(err) {\n\t\t\treturn nil\n\t\t}\n\t\treturn err\n\t}\n\n\tif err := testclient.Client.Delete(context.TODO(), profile); err != nil {\n\t\treturn err\n\t}\n\tkey := client.ObjectKey{\n\t\tName: name,\n\t}\n\treturn WaitForDeletion(key, 2*time.Minute)\n}", "func (op *DeleteReplicationOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteJobOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (r *OperationsService) Cancel(name string) *OperationsCancelCall {\n\tc := &OperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *restClient) DeleteStoragePoolOperation(name string) *DeleteStoragePoolOperation {\n\toverride := fmt.Sprintf(\"/v1/%s\", name)\n\treturn &DeleteStoragePoolOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func Delete(name string) error {\n\treturn <-delete(name)\n}", "func (r *TransferOperationsService) Cancel(name string) *TransferOperationsCancelCall {\n\tc := &TransferOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *cloudChannelRESTClient) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"DELETE\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (c *restClient) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"DELETE\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (c *restClient) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"DELETE\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (r *InspectOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *InspectOperationsCancelCall {\n\tc := &InspectOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.canceloperationrequest = canceloperationrequest\n\treturn c\n}", "func (op *DeleteKmsConfigOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *tensorboardRESTClient) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v\", req.GetName())\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"DELETE\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (op *DeletePolicyBasedRouteOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (r *ResourceGroup) Delete(t *testing.T, name string) {\n\tr.logger.Printf(\"ResourceGroup.Delete: deleting %q\", name)\n\n\tr.client.Delete(name, r.ctx.Done())\n\n\tresgroup, err := r.client.Get(name)\n\tif err != nil {\n\t\tr.logger.Printf(\"ResourceGroup.Delete finished\")\n\t\treturn\n\t}\n\tr.logger.Printf(\"ResourceGroup.Delete: still exists, checking if deprovisioning\")\n\tif resgroup.Properties == nil {\n\t\tt.Fatal(\"ResourceGroup.Delete: resgroup does not have properties\")\n\t}\n\tif resgroup.Properties.ProvisioningState == nil {\n\t\tt.Fatal(\"ResourceGroup.Delete: resgroup does not have ProvisioningState\")\n\t}\n\tprovisioningState := *resgroup.Properties.ProvisioningState\n\texpectedState := \"Deleting\"\n\tif *resgroup.Properties.ProvisioningState != expectedState {\n\t\tt.Fatalf(\"ResourceGroup.Delete: expected state[%s] got [%s]\", expectedState, provisioningState)\n\t}\n\tr.logger.Printf(\"ResourceGroup.Delete: resgroup is deprovisioning, should be ok\")\n}", "func (c *jobsRESTClient) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v2/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"DELETE\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (client *DedicatedHostsClient) deleteOperation(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, options *DedicatedHostsBeginDeleteOptions) (*http.Response, error) {\n\treq, err := client.deleteCreateRequest(ctx, resourceGroupName, hostGroupName, hostName, options)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tresp, err := client.pl.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif !runtime.HasStatusCode(resp, http.StatusOK, http.StatusAccepted, http.StatusNoContent) {\n\t\treturn nil, client.deleteHandleError(resp)\n\t}\n\treturn resp, nil\n}", "func (c *SubresourceClient) Delete(namespace, name string) (e error) {\n\tif c.Error != \"\" {\n\t\te = fmt.Errorf(c.Error)\n\t}\n\treturn\n}", "func (client Client) Delete(resourceGroupName string, name string) (result autorest.Response, err error) {\n\treq, err := client.DeletePreparer(resourceGroupName, name)\n\tif err != nil {\n\t\treturn result, autorest.NewErrorWithError(err, \"redis.Client\", \"Delete\", nil, \"Failure preparing request\")\n\t}\n\n\tresp, err := client.DeleteSender(req)\n\tif err != nil {\n\t\tresult.Response = resp\n\t\treturn result, autorest.NewErrorWithError(err, \"redis.Client\", \"Delete\", resp, \"Failure sending request\")\n\t}\n\n\tresult, err = client.DeleteResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"redis.Client\", \"Delete\", resp, \"Failure responding to request\")\n\t}\n\n\treturn\n}", "func (r *OperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *OperationsCancelCall {\n\tc := &OperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\tc.canceloperationrequest = canceloperationrequest\n\treturn c\n}", "func Delete(name string) {\n\tkt.Remove(name)\n}", "func (r *ProjectsOccurrencesService) Delete(name string) *ProjectsOccurrencesDeleteCall {\n\tc := &ProjectsOccurrencesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (e *ContainerService) Delete(name string) (err error) {\n\turl := fmt.Sprintf(\"containers/%s\", name)\n\terr = e.client.magicRequestDecoder(\"DELETE\", url, nil, nil)\n\treturn\n}", "func (c *restClient) DeleteVolumeOperation(name string) *DeleteVolumeOperation {\n\toverride := fmt.Sprintf(\"/v1/%s\", name)\n\treturn &DeleteVolumeOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func (op *CancelEntitlementOperation) Name() string {\n\treturn op.lro.Name()\n}", "func skykeydeletenamecmd(name string) {\n\terr := httpClient.SkykeyDeleteByNamePost(name)\n\tif err != nil {\n\t\tdie(err)\n\t}\n\n\tfmt.Println(\"Skykey Deleted!\")\n}", "func (c *kongs) Delete(name string, options *v1.DeleteOptions) error {\n\treturn c.client.Delete().\n\t\tNamespace(c.ns).\n\t\tResource(\"kongs\").\n\t\tName(name).\n\t\tBody(options).\n\t\tDo().\n\t\tError()\n}", "func (c *ControlPlaneClient) Delete(ctx context.Context, location, name string) error {\n\treturn c.internal.Delete(ctx, location, name)\n}", "func (e *ApiClientService) Delete(name string) (err error) {\n\terr = e.client.magicRequestDecoder(\"DELETE\", \"clients/\"+name, nil, nil)\n\treturn\n}", "func (op *StopReplicationOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DisableServiceOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *tensorboardRESTClient) DeleteTensorboardOperation(name string) *DeleteTensorboardOperation {\n\toverride := fmt.Sprintf(\"/ui/%s\", name)\n\treturn &DeleteTensorboardOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func (c *client) Delete(ctx context.Context, name string) error {\n\tlcn, err := c.Get(ctx, name)\n\tif err != nil {\n\t\treturn err\n\t}\n\tif len(*lcn) == 0 {\n\t\treturn fmt.Errorf(\"Location [%s] not found\", name)\n\t}\n\n\trequest, err := c.getLocationRequest(wssdcloudcommon.Operation_DELETE, name, &(*lcn)[0])\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t_, err = c.LocationAgentClient.Invoke(ctx, request)\n\n\treturn err\n}", "func (r *ProjectsInstancesTablesService) Delete(name string) *ProjectsInstancesTablesDeleteCall {\n\tc := &ProjectsInstancesTablesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *tensorboardRESTClient) DeleteTensorboardTimeSeriesOperation(name string) *DeleteTensorboardTimeSeriesOperation {\n\toverride := fmt.Sprintf(\"/ui/%s\", name)\n\treturn &DeleteTensorboardTimeSeriesOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func (c *gRPCClient) DeleteStoragePoolOperation(name string) *DeleteStoragePoolOperation {\n\treturn &DeleteStoragePoolOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t}\n}", "func (p *googleCloudProvider) Delete(_ context.Context, req *rpc.DeleteRequest) (*empty.Empty, error) {\n\turn := resource.URN(req.GetUrn())\n\tlabel := fmt.Sprintf(\"%s.Delete(%s)\", p.name, urn)\n\tlogging.V(9).Infof(\"%s executing\", label)\n\n\tresourceKey := string(urn.Type())\n\tres, ok := p.resourceMap.Resources[resourceKey]\n\tif !ok {\n\t\treturn nil, errors.Errorf(\"resource %q not found\", resourceKey)\n\t}\n\n\t// Deserialize RPC inputs\n\toldState, err := plugin.UnmarshalProperties(req.GetProperties(), plugin.MarshalOptions{\n\t\tLabel: fmt.Sprintf(\"%s.properties\", label), SkipNulls: true,\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\t// Extract old inputs from the `__inputs` field of the old state.\n\tinputs := parseCheckpointObject(oldState)\n\n\t// Look up operation functions by resourceKey\n\t// Example: google-native:storage/v1:Bucket\n\t// If defined, run that function instead of a single HTTP call\n\tif f, ok := ResourceDeleteOverrides[resourceKey]; ok {\n\t\terr := f(p, res, inputs.Mappable(), oldState.Mappable())\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\treturn &empty.Empty{}, nil\n\t}\n\n\tif isIAMOverlay(urn) {\n\t\tinputs, err = inputsForIAMOverlayDelete(res, urn, inputs, p.client)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\n\turi, err := res.Delete.Endpoint.URI(inputs.Mappable(), oldState.Mappable())\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tif res.Delete.Undefined() {\n\t\t// At the time of writing, the classic GCP provider has the same behavior and warning for 10 resources.\n\t\tlogging.V(1).Infof(\"%q resources\"+\n\t\t\t\" cannot be deleted from Google Cloud. The resource %s will be removed from Pulumi\"+\n\t\t\t\" state, but will still be present on Google Cloud.\", resourceKey, req.GetId())\n\t\treturn &empty.Empty{}, nil\n\t}\n\n\tbody := p.prepareAPIInputs(inputs, nil, res.Delete.SDKProperties)\n\n\tresp, err := retryRequest(p.client, res.Delete.Verb, uri, \"\", body)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"error sending request: %s\", err)\n\t}\n\n\t_, err = p.waitForResourceOpCompletion(urn, res.Delete, resp, nil)\n\tif err != nil {\n\t\treturn nil, errors.Wrapf(err, \"waiting for completion\")\n\t}\n\n\treturn &empty.Empty{}, nil\n}", "func (c *rpcServices) Delete(name string, options *metav1.DeleteOptions) error {\n\treturn c.client.Delete().\n\t\tNamespace(c.ns).\n\t\tResource(\"rpcservices\").\n\t\tName(name).\n\t\tBody(options).\n\t\tDo().\n\t\tError()\n}", "func (r *NamedLocationRequest) Delete(ctx context.Context) error {\n\treturn r.JSONRequest(ctx, \"DELETE\", \"\", nil, nil)\n}", "func (c *tensorboardRESTClient) DeleteTensorboardRunOperation(name string) *DeleteTensorboardRunOperation {\n\toverride := fmt.Sprintf(\"/ui/%s\", name)\n\treturn &DeleteTensorboardRunOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func (s *serverMetricsRecorder) DeleteNamedUtilization(name string) {\n\ts.mu.Lock()\n\tdefer s.mu.Unlock()\n\tdelete(s.state.Utilization, name)\n}", "func (*DeleteAffinityGroup) name() string {\n\treturn \"deleteAffinityGroup\"\n}", "func (f *DMAClient) Delete(name string, options *meta_v1.DeleteOptions) error {\n\treturn f.client.Delete().\n\t\tNamespace(f.namespace).Resource(f.plural).\n\t\tName(name).Body(options).Do(context.Background()).\n\t\tError()\n}", "func (a *ACLRoleDeleteCommand) Name() string { return \"acl token delete\" }", "func (client *VirtualMachineScaleSetsClient) deleteOperation(ctx context.Context, resourceGroupName string, vmScaleSetName string, options *VirtualMachineScaleSetsBeginDeleteOptions) (*http.Response, error) {\n\treq, err := client.deleteCreateRequest(ctx, resourceGroupName, vmScaleSetName, options)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tresp, err := client.pl.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif !runtime.HasStatusCode(resp, http.StatusOK, http.StatusAccepted, http.StatusNoContent) {\n\t\treturn nil, client.deleteHandleError(resp)\n\t}\n\treturn resp, nil\n}", "func (r *ProjectsMetricDescriptorsService) Delete(name string) *ProjectsMetricDescriptorsDeleteCall {\n\tc := &ProjectsMetricDescriptorsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *cloudChannelReportsRESTClient) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\treturn gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"DELETE\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\t// Returns nil if there is no error, otherwise wraps\n\t\t// the response code and body into a non-nil error\n\t\treturn googleapi.CheckResponse(httpRsp)\n\t}, opts...)\n}", "func (c *tensorboardRESTClient) DeleteTensorboardExperimentOperation(name string) *DeleteTensorboardExperimentOperation {\n\toverride := fmt.Sprintf(\"/ui/%s\", name)\n\treturn &DeleteTensorboardExperimentOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func (or *operationRequestStore) DeleteRequestDetails(ctx context.Context, name string) error {\n\tlog := logger.GetLogger(ctx)\n\tlog.Debugf(\"Deleting CnsVolumeOperationRequest instance with name %s/%s\",\n\t\tcsiNamespace, name)\n\terr := or.k8sclient.Delete(ctx, &cnsvolumeoprequestv1alpha1.CnsVolumeOperationRequest{\n\t\tObjectMeta: metav1.ObjectMeta{\n\t\t\tName: name,\n\t\t\tNamespace: csiNamespace,\n\t\t},\n\t})\n\tif err != nil {\n\t\tif !apierrors.IsNotFound(err) {\n\t\t\tlog.Errorf(\"failed to delete CnsVolumeOperationRequest instance %s/%s with error: %v\",\n\t\t\t\tcsiNamespace, name, err)\n\t\t\treturn err\n\t\t}\n\t}\n\treturn nil\n}", "func Delete(kind string, name string, namespace string, args ...string) (err error) {\n\tdeleteArgs := []string{\"delete\", kind, name, \"-n\", namespace}\n\t_, err = kubectl(append(deleteArgs, args...)...)\n\treturn\n}", "func (o *Service) DeleteByName() (*restapi.GenericMapResponse, error) {\n\tif o.ID == \"\" {\n\t\t_, err := o.GetIDByName()\n\t\tif err != nil {\n\t\t\tlogger.Errorf(err.Error())\n\t\t\treturn nil, fmt.Errorf(\"Failed to find ID of service %s. %v\", o.Name, err)\n\t\t}\n\t}\n\tresp, err := o.Delete()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn resp, nil\n}", "func (r *ProjectsLocationsDataExchangesService) Delete(name string) *ProjectsLocationsDataExchangesDeleteCall {\n\tc := &ProjectsLocationsDataExchangesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (opt *operationTracker) finish(c *cid.Cid) {\n\topt.mu.Lock()\n\tdefer opt.mu.Unlock()\n\n\topc, ok := opt.operations[c.String()]\n\tif !ok {\n\t\tlogger.Debugf(\n\t\t\t\"attempted to remove non-existent operation with cid: %s\",\n\t\t\tc.String(),\n\t\t)\n\t\treturn\n\t}\n\n\topc.cancel()\n\tdelete(opt.operations, c.String())\n\tlogger.Debugf(\n\t\t\"'%s' on cid '%s' has been removed\",\n\t\topc.op.String(),\n\t\tc.String(),\n\t)\n}", "func (op *RevertVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (cli *FakeDatabaseClient) DeleteOperation(ctx context.Context, in *lropb.DeleteOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {\n\tpanic(\"implement me\")\n}", "func (resp *ActionUserDeleteResponse) CancelOperation() (*ActionActionStateCancelResponse, error) {\n\treq := resp.Action.Client.ActionState.Cancel.Prepare()\n\treq.SetPathParamInt(\"action_state_id\", resp.Response.Meta.ActionStateId)\n\treturn req.Call()\n}", "func (client *LicenseStatusClient) DeleteByName(name string, options ...session.ApiOptionsParams) error {\n\tres, err := client.GetByName(name, options...)\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn client.Delete(*res.UUID, options...)\n}", "func (s *simpleBackgroundOperation) Name() string {\n\treturn s.name\n}", "func (c *gRPCClient) DeleteVolumeOperation(name string) *DeleteVolumeOperation {\n\treturn &DeleteVolumeOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t}\n}", "func (client *ClientImpl) DeleteRequestsRequestName(ctx context.Context, args DeleteRequestsRequestNameArgs) error {\n\tqueryParams := url.Values{}\n\tif args.RequestName == nil {\n\t\treturn &azuredevops.ArgumentNilError{ArgumentName: \"requestName\"}\n\t}\n\tqueryParams.Add(\"requestName\", *args.RequestName)\n\tif args.Synchronous != nil {\n\t\tqueryParams.Add(\"synchronous\", strconv.FormatBool(*args.Synchronous))\n\t}\n\tlocationId, _ := uuid.Parse(\"ebc09fe3-1b20-4667-abc5-f2b60fe8de52\")\n\t_, err := client.Client.Send(ctx, http.MethodDelete, locationId, \"6.0-preview.1\", nil, queryParams, nil, \"\", \"application/json\", nil)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}", "func (s *StorageClusterAPI) DeleteByName(w http.ResponseWriter, r *http.Request) {\n\tname, err := api.GetParamsFromRequest(\"name\", r, \"\", true)\n\tif err != nil {\n\t\tapi.Error(w, err)\n\t\treturn\n\t}\n\terr = s.storageClusterService.Delete(name)\n\tif err != nil {\n\t\tapi.Error(w, err)\n\t\treturn\n\t}\n\tapi.NoContent(w)\n}", "func Delete(client *gophercloud.ServiceClient, id string) DeleteResult {\n\tvar res DeleteResult\n\n\t_, res.Err = client.Request(\"DELETE\", resourceURL(client, id), gophercloud.RequestOpts{\n\t\tOkCodes: []int{202},\n\t})\n\n\treturn res\n}", "func (r *ProjectsLocationsDataExchangesListingsService) Delete(name string) *ProjectsLocationsDataExchangesListingsDeleteCall {\n\tc := &ProjectsLocationsDataExchangesListingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func Delete(c *gophercloud.ServiceClient, id string) DeleteResult {\n\tvar res DeleteResult\n\t_, res.Err = c.Delete(resourceURL(c, id), nil)\n\treturn res\n}", "func (s *ClusterScope) DeleteLongRunningOperationState(name, service, futureType string) {\n\tfutures.Delete(s.AzureCluster, name, service, futureType)\n}", "func (r *ProjectsPatchPoliciesService) Delete(name string) *ProjectsPatchPoliciesDeleteCall {\n\tc := &ProjectsPatchPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (w *ClusterDynamicClient) Delete(name string, options metav1.DeleteOptions, subresources ...string) error {\n\treturn w.dClient.Resource(w.resource).Namespace(w.namespace).Delete(w.ctx, name, options, subresources...)\n}", "func (s *BasecluListener) ExitOp_name(ctx *Op_nameContext) {}", "func (m *MachineScope) DeleteLongRunningOperationState(name, service, futureType string) {\n\tfutures.Delete(m.AzureMachine, name, service, futureType)\n}", "func (c *tensorboardGRPCClient) DeleteTensorboardOperation(name string) *DeleteTensorboardOperation {\n\treturn &DeleteTensorboardOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t}\n}", "func (c *tensorboardGRPCClient) DeleteTensorboardTimeSeriesOperation(name string) *DeleteTensorboardTimeSeriesOperation {\n\treturn &DeleteTensorboardTimeSeriesOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t}\n}", "func Delete(client *gophercloud.ServiceClient, id string) DeleteResult {\n\tvar res DeleteResult\n\t_, res.Err = client.Delete(deleteURL(client, id), nil)\n\treturn res\n}", "func (c *GalleryImageClient) Delete(ctx context.Context, location, name string) error {\n\treturn c.internal.Delete(ctx, location, name)\n}", "func (r *ProjectsLocationsNfsSharesService) Delete(name string) *ProjectsLocationsNfsSharesDeleteCall {\n\tc := &ProjectsLocationsNfsSharesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (c *HTTPClient) Delete(q *Query, timeout time.Duration) error {\n if q == nil {\n return fmt.Errorf(\"kairosdb: nil query passed\")\n }\n payload, err := json.Marshal(q)\n if err != nil {\n return fmt.Errorf(\"error unmarshalling query:%v :: %v\", q, err)\n }\n\n glog.Infof(\"deleting datapoints payload: %v\", string(payload))\n reader := ioutil.NopCloser(bytes.NewReader(payload))\n err = c.backend.Call(\"POST\", c.url+\"/api/v1/datapoints/delete\", reader,\n timeout, http.StatusNoContent, nil)\n if err != nil {\n return fmt.Errorf(\"error deleting datapoints for query: %v :: %v\",\n string(payload), err)\n }\n\n glog.Infof(\"datapoints deleted successfully for query: %+v\", q)\n return nil\n}", "func (e *EventAPI) Delete(name string) error {\n\treturn e.client.httpDELETE(e.backOffConf.create(), e.eventURL(name), \"unable to delete event type\")\n}", "func (e *Executor) Name() string {\n\treturn OperationName\n}", "func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) {\n\tresp, err := c.Delete(resourceURL(c, id), nil)\n\t_, r.Header, r.Err = gophercloud.ParseResponse(resp, err)\n\treturn\n}", "func (k *Kong) DeleteAPI(name string) error {\n\t// Setup URL\n\turl := fmt.Sprintf(\"%s/apis/%s\", k.KongAdminURL, name)\n\n\treq, err := http.NewRequest(\"DELETE\", url, nil)\n\tif err != nil {\n\t\tlogrus.Error(\"Could not create delete request: \", err)\n\t\treturn err\n\t}\n\n\tresp, err := k.client.Do(req)\n\tif err != nil {\n\t\tlogrus.Error(\"Could not delete kong api: \", err)\n\t\treturn err\n\t}\n\n\tdefer resp.Body.Close()\n\n\tif resp.StatusCode != 204 {\n\t\tbodyBytes, _ := ioutil.ReadAll(resp.Body)\n\t\tlogrus.Errorf(\"Delete api returned: %d Response: %s\", resp.StatusCode, string(bodyBytes))\n\t\treturn fmt.Errorf(\"Delete api returned: %d\", resp.StatusCode)\n\t}\n\n\tlogrus.Infof(\"Deleted api: %s\", name)\n\n\treturn nil\n}", "func (f *FakeImagesClient) Delete(ctx context.Context, deleteOpts *images.DeleteRequest, opts ...grpc.CallOption) (*googleprotobuf.Empty, error) {\n\tf.Lock()\n\tdefer f.Unlock()\n\tf.appendCalled(\"delete\", deleteOpts)\n\tif err := f.getError(\"delete\"); err != nil {\n\t\treturn nil, err\n\t}\n\t_, ok := f.ImageList[deleteOpts.Name]\n\tif !ok {\n\t\treturn nil, fmt.Errorf(\"image does not exist\")\n\t}\n\tdelete(f.ImageList, deleteOpts.Name)\n\treturn &googleprotobuf.Empty{}, nil\n}", "func (r *ProjectsLocationsConnectorsService) Delete(name string) *ProjectsLocationsConnectorsDeleteCall {\n\tc := &ProjectsLocationsConnectorsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func Delete(c *gophercloud.ServiceClient, containerName, objectName string, opts os.DeleteOptsBuilder) os.DeleteResult {\n\treturn os.Delete(c, containerName, objectName, nil)\n}", "func (c *restClient) DeleteKmsConfigOperation(name string) *DeleteKmsConfigOperation {\n\toverride := fmt.Sprintf(\"/v1/%s\", name)\n\treturn &DeleteKmsConfigOperation{\n\t\tlro: longrunning.InternalNewOperation(*c.LROClient, &longrunningpb.Operation{Name: name}),\n\t\tpollPath: override,\n\t}\n}", "func Delete(c *golangsdk.ServiceClient, id string) (r DeleteResult) {\n\treqOpt := &golangsdk.RequestOpts{\n\t\tOkCodes: []int{200, 204},\n\t\tMoreHeaders: RequestOpts.MoreHeaders,\n\t}\n\t_, r.Err = c.Delete(resourceURL(c, id), reqOpt)\n\treturn\n}", "func (client *LongTermRetentionManagedInstanceBackupsClient) deleteOperation(ctx context.Context, locationName string, managedInstanceName string, databaseName string, backupName string, options *LongTermRetentionManagedInstanceBackupsBeginDeleteOptions) (*http.Response, error) {\n\treq, err := client.deleteCreateRequest(ctx, locationName, managedInstanceName, databaseName, backupName, options)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tresp, err := client.pl.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif !runtime.HasStatusCode(resp, http.StatusOK, http.StatusAccepted) {\n\t\treturn nil, client.deleteHandleError(resp)\n\t}\n\treturn resp, nil\n}" ]
[ "0.6477543", "0.6477543", "0.63091385", "0.6140981", "0.5850766", "0.5849972", "0.5844606", "0.5837555", "0.58241385", "0.5776014", "0.574838", "0.5736943", "0.56369394", "0.5593163", "0.558706", "0.5584935", "0.55380565", "0.5511958", "0.546973", "0.5457956", "0.54512346", "0.54512346", "0.54414105", "0.5439796", "0.5426923", "0.54044074", "0.5402131", "0.5380535", "0.53318894", "0.53289324", "0.5309941", "0.5306929", "0.5293868", "0.52663475", "0.52621", "0.5250313", "0.52495867", "0.5231312", "0.52254826", "0.5225027", "0.51891017", "0.51516336", "0.5128287", "0.51188415", "0.51133186", "0.51079893", "0.51042104", "0.5079253", "0.50723416", "0.5068296", "0.5057891", "0.50544846", "0.50494754", "0.50372887", "0.50323904", "0.50301373", "0.50280976", "0.50058347", "0.50042", "0.49999797", "0.49675772", "0.49633425", "0.49548742", "0.49382538", "0.4931121", "0.4927386", "0.4926586", "0.49245772", "0.49245527", "0.49216828", "0.49178973", "0.49151", "0.49117425", "0.49075523", "0.49012765", "0.4893321", "0.48854887", "0.4883748", "0.4879988", "0.48779085", "0.48614046", "0.48580274", "0.48432767", "0.48428", "0.48340946", "0.4832415", "0.48265192", "0.48130867", "0.48123667", "0.48073065", "0.4806459", "0.4801861", "0.4795765", "0.4795437", "0.4791637", "0.47909448", "0.47884172" ]
0.55334336
20
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6458571", "0.6409765", "0.63830054", "0.6329471", "0.6294762", "0.6226543", "0.6194011", "0.61830926", "0.61641014", "0.6141662", "0.6126752", "0.61264664", "0.61258316", "0.61162406", "0.6100833", "0.60682887", "0.60682887", "0.606218", "0.6048585", "0.60468453", "0.60205626", "0.5995158", "0.59909886", "0.5976544", "0.5961867", "0.5961867", "0.5960047", "0.5950198", "0.59487796", "0.5947144", "0.59397167", "0.59366864", "0.5934271", "0.5916826", "0.5915118", "0.59145737", "0.5910671", "0.58944666", "0.58923274", "0.5888698", "0.5887614", "0.58799297", "0.5872129", "0.58695704", "0.58639586", "0.58639586", "0.5863568", "0.586351", "0.586351", "0.586351", "0.586351", "0.586351", "0.58624136", "0.58617896", "0.5858689", "0.5848961", "0.5846251", "0.58459437", "0.58428836", "0.5832401", "0.58316153", "0.5829562", "0.5829562", "0.58199257", "0.58144325", "0.5811524", "0.58032703", "0.5798672", "0.5795267", "0.5790823", "0.57903314", "0.57835984", "0.57805043", "0.577955", "0.577466", "0.57733095", "0.5766461", "0.5763401", "0.57624775", "0.57592714", "0.57510763", "0.574698", "0.574665", "0.5746616", "0.57424283", "0.57418925", "0.5734079", "0.5730516", "0.5725956", "0.57255626", "0.57252425", "0.57204276", "0.5719563", "0.5719563", "0.57170063", "0.5694081", "0.5693313", "0.568493", "0.5683405", "0.568321", "0.5673809" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsPatchCall) Context(ctx context.Context) *DatasetsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6622061", "0.64343226", "0.6383597", "0.6268972", "0.6142361", "0.6142361", "0.6142185", "0.61291575", "0.61237", "0.6119621", "0.6094716", "0.6079153", "0.6068273", "0.60674447", "0.60580647", "0.6057582", "0.60561705", "0.60441947", "0.60225475", "0.60106874", "0.60050225", "0.5994865", "0.59883994", "0.5983906", "0.597952", "0.5976737", "0.59760314", "0.59712774", "0.5965567", "0.5965567", "0.59539855", "0.595183", "0.5951698", "0.59493387", "0.59409523", "0.5938754", "0.59319764", "0.59318966", "0.5929668", "0.59258246", "0.5914769", "0.5913239", "0.5910792", "0.59097344", "0.5904825", "0.58992505", "0.5895332", "0.5894794", "0.5894424", "0.588677", "0.588677", "0.5879048", "0.5876751", "0.58743167", "0.58707166", "0.58707166", "0.5868493", "0.5859949", "0.5859832", "0.5852877", "0.5850546", "0.5849433", "0.5848818", "0.5840224", "0.58386624", "0.5837655", "0.5835868", "0.5835624", "0.5835142", "0.5834855", "0.58346975", "0.583407", "0.5825343", "0.58235717", "0.5821746", "0.5813609", "0.5809814", "0.5808871", "0.580643", "0.5806287", "0.58052284", "0.5803155", "0.58024293", "0.5799296", "0.57988626", "0.5798377", "0.57982326", "0.5797055", "0.5793906", "0.5792628", "0.57917", "0.57882154", "0.5787803", "0.5786182", "0.5783931", "0.578121", "0.5779804", "0.5779804", "0.5774976", "0.5772643", "0.5771549" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.7401039", "0.7238909", "0.7230926", "0.72279584", "0.7224479", "0.72205067", "0.72103834", "0.7204157", "0.7200461", "0.7194619", "0.7188659", "0.7188659", "0.7187591", "0.71857923", "0.7178842", "0.71760875", "0.71760875", "0.71701986", "0.71612823", "0.7159794", "0.71442527", "0.71442527", "0.71442527", "0.71417505", "0.71391934", "0.7132187", "0.71295935", "0.7129177", "0.7121908", "0.7116052", "0.71133107", "0.71094453", "0.7103757", "0.7103757", "0.7100067", "0.71000534", "0.70994544", "0.7098731", "0.7096697", "0.70958537", "0.7094095", "0.70912606", "0.7088969", "0.7087448", "0.7086177", "0.70852923", "0.70731986", "0.7070431", "0.7070431", "0.7063599", "0.7058379", "0.7056509", "0.705534", "0.705534", "0.7053177", "0.70529956", "0.70529956", "0.70523006", "0.70510346", "0.70508176", "0.70499825", "0.70491076", "0.70476526", "0.7045183", "0.70395863", "0.7036883", "0.70365477", "0.7030626", "0.70305294", "0.70288855", "0.7028882", "0.7028322", "0.7028322", "0.7028308", "0.7026698", "0.7026188", "0.70231545", "0.70231545", "0.7021884", "0.7021884", "0.7021752", "0.70197123", "0.7019261", "0.7018688", "0.70165116", "0.7016511", "0.70163256", "0.7009791", "0.70087445", "0.70087445", "0.70071316", "0.70070285", "0.7006902", "0.700394", "0.7001478", "0.6999303", "0.6998928", "0.6998687", "0.6997008", "0.6995842", "0.6993358" ]
0.0
-1
Get: Gets the latest state of a longrunning operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. name: The name of the operation resource.
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall { c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *InspectOperationsService) Get(name string) *InspectOperationsGetCall {\n\tc := &InspectOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *SdfdownloadtasksOperationsService) Get(name string) *SdfdownloadtasksOperationsGetCall {\n\tc := &SdfdownloadtasksOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func GetOperation(name string) (*lropb.Operation, error) {\n\tctx := context.Background()\n\tclient, err := automl.NewClient(ctx)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"NewClient: %v\", err)\n\t}\n\tdefer client.Close()\n\n\treq := &lropb.GetOperationRequest{\n\t\tName: name,\n\t}\n\n\treturn client.LROClient.GetOperation(ctx, req)\n}", "func (r *TransferOperationsService) Get(name string) *TransferOperationsGetCall {\n\tc := &TransferOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (m *MachineScope) GetLongRunningOperationState(name, service, futureType string) *infrav1.Future {\n\treturn futures.Get(m.AzureMachine, name, service, futureType)\n}", "func (s *ClusterScope) GetLongRunningOperationState(name, service, futureType string) *infrav1.Future {\n\treturn futures.Get(s.AzureCluster, name, service, futureType)\n}", "func (bq *InMemoryBuildQueue) GetOperation(ctx context.Context, request *buildqueuestate.GetOperationRequest) (*buildqueuestate.GetOperationResponse, error) {\n\tbq.enter(bq.clock.Now())\n\tdefer bq.leave()\n\n\to, ok := bq.operationsNameMap[request.OperationName]\n\tif !ok {\n\t\treturn nil, status.Errorf(codes.NotFound, \"Operation %#v not found\", request.OperationName)\n\t}\n\ts := o.getOperationState(bq)\n\ts.Name = \"\"\n\treturn &buildqueuestate.GetOperationResponse{\n\t\tOperation: s,\n\t}, nil\n}", "func (s *executionServer) GetOperation(\n\t_ context.Context,\n\treq *longrunning.GetOperationRequest) (*longrunning.Operation, error) {\n\tlog.Debugf(\"Received GetOperation request: %v\", req)\n\n\tif !s.IsInitialized() {\n\t\treturn nil, status.Error(codes.Internal, \"Server not initialized\")\n\t}\n\n\tvar err error = nil\n\n\t// Record metrics based on final error condition\n\tdefer func() {\n\t\tif err == nil {\n\t\t\ts.stat.Counter(stats.BzGetOpSuccessCounter).Inc(1)\n\t\t} else {\n\t\t\ts.stat.Counter(stats.BzGetOpFailureCounter).Inc(1)\n\t\t}\n\t}()\n\tdefer s.stat.Latency(stats.BzGetOpLatency_ms).Time().Stop()\n\n\trs, err := s.getRunStatusAndValidate(req.GetName())\n\tif err != nil {\n\t\treturn nil, status.Error(codes.Internal, err.Error())\n\t}\n\n\tactionResult := bazelapi.MakeActionResultDomainFromThrift(rs.GetBazelResult())\n\n\teom := &remoteexecution.ExecuteOperationMetadata{\n\t\tStage: runStatusToExecuteOperationMetadata_Stage(rs),\n\t\tActionDigest: actionResult.GetActionDigest(),\n\t}\n\n\t// Marshal ExecuteActionMetadata to protobuf.Any format\n\teomAsPBAny, err := marshalAny(eom)\n\tif err != nil {\n\t\treturn nil, status.Error(codes.Internal, err.Error())\n\t}\n\n\tisDone := runStatusToDoneBool(rs)\n\top := longrunning.Operation{\n\t\tName: req.GetName(),\n\t\tMetadata: eomAsPBAny,\n\t\tDone: runStatusToDoneBool(rs),\n\t}\n\n\t// If done, create ExecuteResponse in protobuf.Any format and include in Operation.Result.\n\t// If the run status' bazelapi.ActionResult contains a google rpc Status, return that\n\t// in the Response, otherwise convert the run status to a google rpc Status.\n\tif isDone {\n\t\tvar grpcs *google_rpc_status.Status\n\t\tif actionResult != nil && actionResult.GRPCStatus != nil {\n\t\t\tgrpcs = actionResult.GetGRPCStatus()\n\t\t} else {\n\t\t\tgrpcs = runStatusToGoogleRpcStatus(rs)\n\t\t}\n\t\tif grpcs.GetCode() == int32(google_rpc_code.Code_CANCELLED) {\n\t\t\top.Result = &longrunning.Operation_Error{\n\t\t\t\tError: &google_rpc_status.Status{\n\t\t\t\t\tCode: grpcs.GetCode(),\n\t\t\t\t\tMessage: \"CANCELLED\",\n\t\t\t\t},\n\t\t\t}\n\t\t} else {\n\t\t\tres := &remoteexecution.ExecuteResponse{\n\t\t\t\tResult: actionResult.GetResult(),\n\t\t\t\tCachedResult: actionResult.GetCached(),\n\t\t\t\tStatus: grpcs,\n\t\t\t}\n\t\t\tresAsPBAny, err := marshalAny(res)\n\t\t\tif err != nil {\n\t\t\t\treturn nil, status.Error(codes.Internal, err.Error())\n\t\t\t}\n\t\t\top.Result = &longrunning.Operation_Response{\n\t\t\t\tResponse: resAsPBAny,\n\t\t\t}\n\t\t}\n\t}\n\tlog.Debug(\"GetOperationRequest completed successfully\")\n\treturn &op, nil\n}", "func (c *TensorboardClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (op *UpdateTensorboardOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *UpdateKmsConfigOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *WorkflowsServiceV2BetaClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (op *DeleteTensorboardTimeSeriesOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *UpdateActiveDirectoryOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (r *OrganizationsOperationsService) Get(name string) *OrganizationsOperationsGetCall {\n\tc := &OrganizationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (client DatasetClient) GetOperation(ctx context.Context, operationID string) (result LongRunningOperationResult, err error) {\n if tracing.IsEnabled() {\n ctx = tracing.StartSpan(ctx, fqdn + \"/DatasetClient.GetOperation\")\n defer func() {\n sc := -1\n if result.Response.Response != nil {\n sc = result.Response.Response.StatusCode\n }\n tracing.EndSpan(ctx, sc, err)\n }()\n }\n req, err := client.GetOperationPreparer(ctx, operationID)\n if err != nil {\n err = autorest.NewErrorWithError(err, \"creator.DatasetClient\", \"GetOperation\", nil , \"Failure preparing request\")\n return\n }\n\n resp, err := client.GetOperationSender(req)\n if err != nil {\n result.Response = autorest.Response{Response: resp}\n err = autorest.NewErrorWithError(err, \"creator.DatasetClient\", \"GetOperation\", resp, \"Failure sending request\")\n return\n }\n\n result, err = client.GetOperationResponder(resp)\n if err != nil {\n err = autorest.NewErrorWithError(err, \"creator.DatasetClient\", \"GetOperation\", resp, \"Failure responding to request\")\n return\n }\n\n return\n}", "func (c *JobsClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (op *ChangeRenewalSettingsOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *RunJobOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (m *RegistryKeyState) GetOperation()(*RegistryOperation) {\n return m.operation\n}", "func (op *UpdateReplicationOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *Client) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (c *Client) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (op *UpdateJobOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (om *OperationsManager) GetOperation(ctx context.Context) (*model.Operation, error) {\n\tom.mutex.Lock()\n\tdefer om.mutex.Unlock()\n\n\ttx, err := om.transact.Begin()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdefer om.transact.RollbackUnlessCommitted(ctx, tx)\n\tctx = persistence.SaveToContext(ctx, tx)\n\n\toperations, err := om.opSvc.ListPriorityQueue(ctx, om.cfg.PriorityQueueLimit, om.opType)\n\tif err != nil {\n\t\treturn nil, errors.Wrapf(err, \"while fetching operations from priority queue with type %v \", om.opType)\n\t}\n\n\terr = tx.Commit()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tfor _, operation := range operations {\n\t\top, err := om.tryToGetOperation(ctx, operation.ID)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\n\t\tif op != nil {\n\t\t\treturn op, nil\n\t\t}\n\t}\n\treturn nil, apperrors.NewNoScheduledOperationsError()\n}", "func (c *OperationClient) Get(ctx context.Context, id uuid.UUID) (*Operation, error) {\n\treturn c.Query().Where(operation.ID(id)).Only(ctx)\n}", "func (m *LongRunningOperation) GetStatus()(*LongRunningOperationStatus) {\n val, err := m.GetBackingStore().Get(\"status\")\n if err != nil {\n panic(err)\n }\n if val != nil {\n return val.(*LongRunningOperationStatus)\n }\n return nil\n}", "func (op *UpdateStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *CloudChannelClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (op *StopReplicationOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DisableServiceOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (h *simpleOperation) Name() string {\n\treturn h.name\n}", "func (op *UpdateVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (s *simpleBackgroundOperation) Name() string {\n\treturn s.name\n}", "func (c *tensorboardRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v\", req.GetName())\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (op *CreateTensorboardOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (b *Broker) LastOperation(request *osb.LastOperationRequest, c *broker.RequestContext) (*broker.LastOperationResponse, error) {\n\tglog.V(5).Infof(\"Getting last operation of %s (%v/%v)\", request.InstanceID, request.ServiceID, request.PlanID)\n\tb.Lock()\n\tdefer b.Unlock()\n\n\tresponse, err := b.Client.LastOperationState(request.InstanceID, request.OperationKey)\n\tif err != nil {\n\t\tglog.Errorln(err)\n\t\treturn nil, err\n\t}\n\n\twrappedResponse := broker.LastOperationResponse{LastOperationResponse: *response}\n\n\tglog.V(5).Infof(\"Successfully got last operation of %s (%v/%v): %+v\", request.InstanceID, request.ServiceID, request.PlanID, response)\n\treturn &wrappedResponse, nil\n}", "func (r *FeaturetilesService) Get(name string) *FeaturetilesGetCall {\n\tc := &FeaturetilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (op *CreateKmsConfigOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *OrganizationsClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (op *RunReportJobOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *ChangeParametersOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (e *Executor) Name() string {\n\treturn OperationName\n}", "func (c *jobsRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v2/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (cli *FakeDatabaseClient) GetOperation(context.Context, *longrunning.GetOperationRequest, ...grpc.CallOption) (*longrunning.Operation, error) {\n\tatomic.AddInt32(&cli.getOperationCalledCnt, 1)\n\n\tswitch cli.NextGetOperationStatus() {\n\tcase StatusDone:\n\t\treturn &longrunning.Operation{Done: true}, nil\n\n\tcase StatusDoneWithError:\n\t\treturn &longrunning.Operation{\n\t\t\tDone: true,\n\t\t\tResult: &longrunning.Operation_Error{\n\t\t\t\tError: &status.Status{Code: int32(codes.Unknown), Message: \"Test Error\"},\n\t\t\t},\n\t\t}, nil\n\n\tcase StatusRunning:\n\t\treturn &longrunning.Operation{}, nil\n\n\tcase StatusNotFound:\n\t\treturn nil, grpcstatus.Errorf(codes.NotFound, \"\")\n\n\tcase StatusUndefined:\n\t\tpanic(\"Misconfigured test, set up expected operation status\")\n\n\tdefault:\n\t\tpanic(fmt.Sprintf(\"unknown status: %v\", cli.NextGetOperationStatus()))\n\t}\n}", "func (s *Store) Get(suffix string) (*operation.AnchoredOperation, error) {\n\topBytes, err := s.store.Get(suffix)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tvar op operation.AnchoredOperation\n\n\terr = json.Unmarshal(opBytes, &op)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to unmarshal unpublished operation for suffix[%s]: %w\", suffix, err)\n\t}\n\n\tlogger.Debugf(\"retrieved unpublished '%s' operation for suffix[%s]: %s\", op.Type, suffix, string(opBytes))\n\n\treturn &op, nil\n}", "func (w *WorkerOperation) GetName() string {\n\treturn w.Name\n}", "func (op *DeleteTensorboardRunOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *ChangeOfferOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteKmsConfigOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteTensorboardOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *ResumeReplicationOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (w *WorkerOperation) GetOperation() *wrpc.Operation {\n\treturn &w.Operation\n}", "func (op *RunPipelineOperation) Name() string {\n\treturn op.lro.Name()\n}", "func Get(client *gophercloud.ServiceClient, name string) os.GetResult {\n\treturn os.Get(client, name)\n}", "func (op *ReverseReplicationDirectionOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (r *ProjectsOccurrencesService) Get(name string) *ProjectsOccurrencesGetCall {\n\tc := &ProjectsOccurrencesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (op *RevertVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (g *Grafeas) GetOperation(pID, oID string) (*swagger.Operation, *errors.AppError) {\n\treturn g.S.GetOperation(pID, oID)\n}", "func (op *CreateStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *CreateReplicationOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *workflowsServiceV2BetaRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v2beta/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (op *CreateJobOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *CreateActiveDirectoryOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *restClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (c *restClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (op *DeleteTensorboardExperimentOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *TransferEntitlementsOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *ProvisionCloudIdentityOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {\n\treturn r.store.Get(ctx, name, options)\n}", "func (so *Operations) Get(key string) (api.Operation, error) {\n\tso.safe()\n\tif op, found := so.oMap[key]; found {\n\t\treturn op, nil\n\t} else {\n\t\treturn op, error(OperationNotFound{Key: key})\n\t}\n}", "func (c *Prometheus) getState(name string) state.State {\n\tc.Lock()\n\tdefer c.Unlock()\n\n\tst, ok := c.states[name]\n\tif !ok {\n\t\tst = c.stFactory.Create()\n\t\tc.states[name] = st\n\t}\n\n\treturn st\n}", "func (hc *Actions) Get(name string) (*release.Release, error) {\n\tactGet := action.NewGet(hc.Config)\n\treturn actGet.Run(name)\n}", "func (o *Job) GetOperation(ctx context.Context) (operation string, err error) {\n\terr = o.object.CallWithContext(ctx, \"org.freedesktop.DBus.Properties.Get\", 0, InterfaceJob, \"Operation\").Store(&operation)\n\treturn\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) Operation(operation string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.urlParams_.Set(\"operation\", operation)\n\treturn c\n}", "func (op *CancelEntitlementOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *EnableServiceOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *organizationsRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v3/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (c *CloudChannelReportsClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\treturn c.internalClient.GetOperation(ctx, req, opts...)\n}", "func (c *cloudChannelRESTClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error) {\n\tbaseUrl, err := url.Parse(c.endpoint)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\tparams := url.Values{}\n\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\n\tbaseUrl.RawQuery = params.Encode()\n\n\t// Build HTTP headers from client and context metadata.\n\thds := []string{\"x-goog-request-params\", fmt.Sprintf(\"%s=%v\", \"name\", url.QueryEscape(req.GetName()))}\n\n\thds = append(c.xGoogHeaders, hds...)\n\thds = append(hds, \"Content-Type\", \"application/json\")\n\theaders := gax.BuildHeaders(ctx, hds...)\n\topts = append((*c.CallOptions).GetOperation[0:len((*c.CallOptions).GetOperation):len((*c.CallOptions).GetOperation)], opts...)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tresp := &longrunningpb.Operation{}\n\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\tif settings.Path != \"\" {\n\t\t\tbaseUrl.Path = settings.Path\n\t\t}\n\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\thttpReq = httpReq.WithContext(ctx)\n\t\thttpReq.Header = headers\n\n\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tdefer httpRsp.Body.Close()\n\n\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\treturn nil\n\t}, opts...)\n\tif e != nil {\n\t\treturn nil, e\n\t}\n\treturn resp, nil\n}", "func (ops *SimpleOperations) Get(id string) (Operation, bool) {\n\tops.safe()\n\n\toperation, ok := ops.opMap[id]\n\treturn operation, ok\n}", "func (op *StartPaidServiceOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *DeleteJobOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (s *Session) GetName() (resp string, err error) {\n\ts.lastNames.l.Lock()\n\tdefer s.lastNames.l.Unlock()\n\t//FROM CACHE FIRST\n\tresp, err = s.lastNames.getNameFromCache()\n\tif err == nil {\n\t\treturn\n\t}\n\t//TRIES TO USE THE API\n\tbody, err := request(EndpointLastNames())\n\tif err != nil {\n\t\treturn\n\t}\n\n\tresponse := parseRequest(body)\n\ts.lastNames.addNamesToCache(response)\n\n\tresp, err = s.lastNames.getNameFromCache()\n\tif err == nil {\n\t\treturn\n\t}\n\n\treturn\n}", "func (op *BatchEnableServicesOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (r *AppsOperationsService) Get(appsId string, operationsId string) *AppsOperationsGetCall {\n\tc := &AppsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.appsId = appsId\n\tc.operationsId = operationsId\n\treturn c\n}", "func (task *TaskRaw) GetStateNamed(name string) (state string, err error) {\n\tlock, err := task.RLockNamed(\"GetState/\" + name)\n\tif err != nil {\n\t\treturn\n\t}\n\tdefer task.RUnlockNamed(lock)\n\tstate = task.State\n\treturn\n}", "func GetLastOperation(siteKey SiteKey, operator Operator) (op *SiteOperation, progress *ProgressEntry, err error) {\n\toperations, err := operator.GetSiteOperations(siteKey, OperationsFilter{\n\t\tLast: true,\n\t})\n\tif err != nil {\n\t\treturn nil, nil, trace.Wrap(err)\n\t}\n\n\tif len(operations) == 0 {\n\t\treturn nil, nil, trace.NotFound(\"no operation found for %v\", siteKey)\n\t}\n\n\t// backend is guaranteed to return operations in the last-to-first order\n\top = (*SiteOperation)(&operations[0])\n\tprogress, err = operator.GetSiteOperationProgress(op.Key())\n\tif err != nil {\n\t\treturn nil, nil, trace.Wrap(err)\n\t}\n\n\treturn op, progress, nil\n}", "func (op *UpdateSnapshotOperation) Name() string {\n\treturn op.lro.Name()\n}" ]
[ "0.68148476", "0.68148476", "0.68148476", "0.68148476", "0.68148476", "0.65715295", "0.63784236", "0.62984735", "0.6076373", "0.5912722", "0.5873746", "0.580017", "0.57430923", "0.5721988", "0.56130594", "0.5561302", "0.55223614", "0.55215096", "0.55076844", "0.5485484", "0.54812574", "0.54611045", "0.54200584", "0.54059774", "0.5396005", "0.5392824", "0.5379748", "0.5379748", "0.5375718", "0.53713036", "0.53705513", "0.5336456", "0.5318266", "0.53173155", "0.5312864", "0.5302559", "0.53017396", "0.5274342", "0.5273719", "0.52611935", "0.5259796", "0.5220114", "0.5214592", "0.52141136", "0.5202788", "0.5198993", "0.5190353", "0.51846534", "0.5184302", "0.51836056", "0.5135664", "0.51215553", "0.51157856", "0.5107987", "0.5098453", "0.5087224", "0.50808793", "0.50763166", "0.5066297", "0.50416774", "0.5031473", "0.5014369", "0.5007268", "0.5006938", "0.5005686", "0.49950817", "0.49909002", "0.49902973", "0.4983242", "0.49758628", "0.49758628", "0.49717012", "0.4971457", "0.49714035", "0.49663767", "0.49389654", "0.49372187", "0.49356556", "0.4931129", "0.49256232", "0.49150488", "0.4908294", "0.49033514", "0.49020833", "0.4901014", "0.4897849", "0.48951322", "0.48950082", "0.4893793", "0.48888376", "0.48839647", "0.4883647", "0.48827702", "0.48783755", "0.4873997" ]
0.5839319
16
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6458571", "0.6409765", "0.63830054", "0.6329471", "0.6294762", "0.6226543", "0.6194011", "0.61830926", "0.61641014", "0.6141662", "0.6126752", "0.61264664", "0.61258316", "0.61162406", "0.6100833", "0.60682887", "0.60682887", "0.606218", "0.6048585", "0.60468453", "0.60205626", "0.5995158", "0.59909886", "0.5976544", "0.5961867", "0.5961867", "0.5960047", "0.5950198", "0.59487796", "0.5947144", "0.59397167", "0.59366864", "0.5934271", "0.5916826", "0.5915118", "0.59145737", "0.5910671", "0.58944666", "0.58923274", "0.5888698", "0.5887614", "0.58799297", "0.5872129", "0.58695704", "0.58639586", "0.58639586", "0.5863568", "0.586351", "0.586351", "0.586351", "0.586351", "0.586351", "0.58624136", "0.58617896", "0.5858689", "0.5848961", "0.5846251", "0.58459437", "0.58428836", "0.5832401", "0.58316153", "0.5829562", "0.5829562", "0.58199257", "0.58144325", "0.5811524", "0.58032703", "0.5798672", "0.5795267", "0.5790823", "0.57903314", "0.57835984", "0.57805043", "0.577955", "0.577466", "0.57733095", "0.5766461", "0.5763401", "0.57624775", "0.57592714", "0.57510763", "0.574698", "0.574665", "0.5746616", "0.57424283", "0.57418925", "0.5734079", "0.5730516", "0.5725956", "0.57255626", "0.57252425", "0.57204276", "0.5719563", "0.5719563", "0.57170063", "0.5694081", "0.5693313", "0.568493", "0.5683405", "0.568321", "0.5673809" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.7857457", "0.7743354", "0.77188426", "0.7657179", "0.7657179", "0.7657179", "0.7657179", "0.7657179", "0.76479805", "0.76000154", "0.75954306", "0.75941604", "0.75941604", "0.7582892", "0.7576732", "0.75760597", "0.75692207", "0.7556326", "0.7545303", "0.7532287", "0.7496034", "0.74843", "0.7464074", "0.74624825", "0.74539423", "0.7432325", "0.7429592", "0.74259514", "0.7415199", "0.7415001", "0.7415001", "0.7411576", "0.7405997", "0.7405997", "0.7403323", "0.739993", "0.739376", "0.73866236", "0.7380808", "0.7379439", "0.73675215", "0.7361131", "0.73593855", "0.73555994", "0.73503023", "0.7340824", "0.7335386", "0.73166794", "0.7310366", "0.73099375", "0.7307237", "0.7307237", "0.73056275", "0.7304922", "0.7298628", "0.7294144", "0.7288348", "0.72881275", "0.72842497", "0.72788304", "0.72778", "0.72751474", "0.72737813", "0.72732323", "0.727116", "0.7270925", "0.7268505", "0.7262408", "0.72618926", "0.7256791", "0.7256024", "0.7255946", "0.72552997", "0.72533786", "0.7252881", "0.72490185", "0.7246983", "0.72406965", "0.7240475", "0.72376984", "0.72376984", "0.7235915", "0.72329265", "0.72314066", "0.72304434", "0.7226173", "0.7222612", "0.72161525", "0.72147363", "0.7213921", "0.72124106", "0.7208179", "0.72076535", "0.72076535", "0.7207556" ]
0.73520744
48
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *SitemapsSubmitCall) Context(ctx context.Context) *SitemapsSubmitCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6621305", "0.6433859", "0.63825405", "0.6267439", "0.6141668", "0.6141668", "0.6141007", "0.6127824", "0.6121994", "0.61183655", "0.60936165", "0.6077952", "0.6068114", "0.60660803", "0.6057779", "0.60564685", "0.60546035", "0.6043477", "0.6020564", "0.60090107", "0.600508", "0.5994711", "0.5987672", "0.5982388", "0.5979128", "0.59755933", "0.5974571", "0.59706235", "0.59641457", "0.59641457", "0.5953709", "0.59506816", "0.5950409", "0.59486157", "0.59398407", "0.59378284", "0.5931306", "0.5930993", "0.592846", "0.5924421", "0.5913605", "0.5911278", "0.5909236", "0.5908447", "0.59054023", "0.5899479", "0.5895185", "0.5894129", "0.58939373", "0.588541", "0.588541", "0.5878475", "0.5876255", "0.5873829", "0.58693546", "0.58693546", "0.5867466", "0.58583224", "0.5856966", "0.5852097", "0.5849711", "0.5848298", "0.5847203", "0.58386993", "0.58378696", "0.5836297", "0.5835002", "0.58345085", "0.583407", "0.5833912", "0.5833403", "0.583314", "0.5823766", "0.58224314", "0.5820545", "0.581144", "0.5809311", "0.5807418", "0.58047247", "0.5804377", "0.5803749", "0.5802247", "0.58010495", "0.57990664", "0.57981485", "0.5796012", "0.5795882", "0.5795875", "0.57924724", "0.5791888", "0.5791179", "0.57867587", "0.57856166", "0.5784409", "0.5783997", "0.57796824", "0.57778233", "0.57778233", "0.5773365", "0.5771352", "0.577113" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74025184", "0.72398114", "0.72318506", "0.722866", "0.7224622", "0.7220789", "0.7210501", "0.7204161", "0.72009283", "0.7194157", "0.71889573", "0.7188424", "0.7188424", "0.7186168", "0.7179334", "0.7176267", "0.7176267", "0.71708405", "0.71614456", "0.71598905", "0.7144839", "0.7144839", "0.7144839", "0.7142355", "0.7139215", "0.71329397", "0.7129801", "0.71295977", "0.71225166", "0.71162045", "0.7113504", "0.71099806", "0.7104228", "0.7104228", "0.71002996", "0.70998704", "0.7099628", "0.70985365", "0.70969874", "0.7095069", "0.709485", "0.70913005", "0.7089236", "0.70877826", "0.7086999", "0.70856774", "0.70733845", "0.707136", "0.707136", "0.70643264", "0.7058465", "0.70572513", "0.7055746", "0.7055746", "0.705351", "0.70534915", "0.70534915", "0.7052773", "0.7051343", "0.7050703", "0.70503557", "0.7049563", "0.704718", "0.7045271", "0.7039743", "0.703703", "0.70370084", "0.7030931", "0.7030212", "0.7029568", "0.702894", "0.702894", "0.7028559", "0.7028373", "0.7026413", "0.7025957", "0.7023024", "0.7023024", "0.702246", "0.702246", "0.7021795", "0.70200557", "0.70190567", "0.7019015", "0.7017178", "0.7016805", "0.7016344", "0.7010262", "0.7009017", "0.7009017", "0.70073354", "0.70073193", "0.70071864", "0.70036465", "0.70011663", "0.6999494", "0.69992286", "0.69984037", "0.69973457", "0.6996014", "0.69939053" ]
0.0
-1
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. name: The name of the operation's parent resource.
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r *OperationsService) List(name string) *OperationsListCall {\n\tc := &OperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) List(name string) *OperationsListCall {\n\tc := &OperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *InspectOperationsService) List(name string) *InspectOperationsListCall {\n\tc := &InspectOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OrganizationsOperationsService) List(name string) *OrganizationsOperationsListCall {\n\tc := &OrganizationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (*ListCmd) Name() string { return \"list\" }", "func (r *InspectOperationsService) Get(name string) *InspectOperationsGetCall {\n\tc := &InspectOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsLroService) List(name string) *OperationsLroListCall {\n\tc := &OperationsLroListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (ro *ResourceOperations) List(parameters *ResourceListParameters) (*ResourceListResult, *AzureOperationResponse, error) {\n\tsubscriptionId := getSubscriptionId(ro.c, nil)\n\n\tpath := \"/subscriptions/\" + url.QueryEscape(subscriptionId)\n\n\tif parameters != nil {\n\t\tif parameters.ResourceGroupName != \"\" {\n\t\t\tpath += \"/resourcegroups/\" + url.QueryEscape(parameters.ResourceGroupName)\n\t\t}\n\t}\n\n\tpath += \"/resources?api-version=\" + url.QueryEscape(ro.c.apiVersion)\n\n\tif parameters != nil {\n\t\tif parameters.Top != 0 {\n\t\t\tpath += \"&$top=\" + strconv.Itoa(parameters.Top)\n\t\t}\n\n\t\tfilter := \"\"\n\n\t\tif parameters.ResourceType != \"\" {\n\t\t\tfilter += url.QueryEscape(\"resourceType eq '\" + parameters.ResourceType + \"'\")\n\t\t}\n\n\t\tif parameters.TagValue != \"\" {\n\t\t\tif filter != \"\" {\n\t\t\t\tfilter += url.QueryEscape(\" and \")\n\t\t\t}\n\t\t\tfilter += url.QueryEscape(\"tagValue eq '\" + parameters.ResourceType + \"'\")\n\t\t}\n\n\t\tif filter != \"\" {\n\t\t\tpath += \"&filter=\" + filter\n\t\t}\n\t}\n\n\tvar result ResourceListResult\n\tazureOperationResponse, err := ro.c.DoGet(path, &result)\n\n\tif err != nil {\n\t\treturn nil, nil, err\n\t}\n\n\treturn &result, azureOperationResponse, nil\n}", "func (c orderController) list(ctx *routing.Context) error {\n\tcond := &selection_condition.SelectionCondition{\n\t\tSortOrder: []map[string]string{{\n\t\t\t\"name\": \"asc\",\n\t\t}},\n\t}\n\n\titems, err := c.Service.Query(ctx.Request.Context(), cond)\n\tif err != nil {\n\t\tif err == apperror.ErrNotFound {\n\t\t\tc.Logger.With(ctx.Request.Context()).Info(err)\n\t\t\treturn errorshandler.NotFound(\"\")\n\t\t}\n\t\tc.Logger.With(ctx.Request.Context()).Error(err)\n\t\treturn errorshandler.InternalServerError(\"\")\n\t}\n\treturn ctx.Write(items)\n}", "func (bq *InMemoryBuildQueue) ListOperations(ctx context.Context, request *buildqueuestate.ListOperationsRequest) (*buildqueuestate.ListOperationsResponse, error) {\n\tbq.enter(bq.clock.Now())\n\tdefer bq.leave()\n\n\t// Obtain operation names in sorted order.\n\tnameList := make([]string, 0, len(bq.operationsNameMap))\n\tfor name := range bq.operationsNameMap {\n\t\tnameList = append(nameList, name)\n\t}\n\tsort.Strings(nameList)\n\tpaginationInfo, endIndex := getPaginationInfo(len(nameList), request.PageSize, func(i int) bool {\n\t\treturn request.StartAfter == nil || nameList[i] > request.StartAfter.OperationName\n\t})\n\n\t// Extract status.\n\tnameListRegion := nameList[paginationInfo.StartIndex:endIndex]\n\toperations := make([]*buildqueuestate.OperationState, 0, len(nameListRegion))\n\tfor _, name := range nameListRegion {\n\t\to := bq.operationsNameMap[name]\n\t\toperations = append(operations, o.getOperationState(bq))\n\t}\n\treturn &buildqueuestate.ListOperationsResponse{\n\t\tOperations: operations,\n\t\tPaginationInfo: paginationInfo,\n\t}, nil\n}", "func (z *zfsctl) List(ctx context.Context, name, options, max string, oProperties []string, sProperty, SProperty, t string) *execute {\n\targs := []string{\"list\"}\n\tif len(options) > 0 {\n\t\targs = append(args, options)\n\t}\n\tif len(max) > 0 {\n\t\targs = append(args, max)\n\t}\n\tif oProperties != nil {\n\t\to := \"-o \"\n\t\tfor _, p := range oProperties {\n\t\t\to += p + \",\"\n\t\t}\n\t\targs = append(args, strings.TrimSuffix(o, \",\"))\n\t}\n\tif len(sProperty) > 0 {\n\t\targs = append(args, sProperty)\n\t}\n\tif len(SProperty) > 0 {\n\t\targs = append(args, SProperty)\n\t}\n\tif len(t) > 0 {\n\t\targs = append(args, \"-t \"+t)\n\t}\n\tif len(name) > 0 {\n\t\targs = append(args, name)\n\t}\n\treturn &execute{ctx: ctx, name: z.cmd, args: args}\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (r *OperationsService) Get(name string) *OperationsGetCall {\n\tc := &OperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func Operations() (string, error) {\n\treturn makeRequest(\"operations\")\n}", "func (r *InspectResultsFindingsService) List(name string) *InspectResultsFindingsListCall {\n\tc := &InspectResultsFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.name = name\n\treturn c\n}", "func (client *ApplicationClient) listOperationsCreateRequest(ctx context.Context, options *ApplicationClientListOperationsOptions) (*policy.Request, error) {\n\turlPath := \"/providers/Microsoft.Solutions/operations\"\n\treq, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.ep, urlPath))\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treqQP := req.Raw().URL.Query()\n\treqQP.Set(\"api-version\", \"2018-06-01\")\n\treq.Raw().URL.RawQuery = reqQP.Encode()\n\treq.Raw().Header.Set(\"Accept\", \"application/json\")\n\treturn req, nil\n}", "func (z *zpoolctl) List(ctx context.Context, name, options string, properties []string, t string) *execute {\n\targs := []string{\"list\"}\n\tif len(options) > 0 {\n\t\targs = append(args, options)\n\t}\n\tif properties != nil {\n\t\tkv := \"-o \"\n\t\tfor _, v := range properties {\n\t\t\tkv += v + \",\"\n\t\t}\n\t\tkv = strings.TrimSuffix(kv, \",\")\n\t\targs = append(args, kv)\n\t}\n\tif len(t) > 0 {\n\t\targs = append(args, \"-T \"+t)\n\t}\n\targs = append(args, name)\n\treturn &execute{ctx: ctx, name: z.cmd, args: args}\n}", "func (r *ManagedAppRegistrationOperationsCollectionRequest) Get(ctx context.Context) ([]ManagedAppOperation, error) {\n\tvar query string\n\tif r.query != nil {\n\t\tquery = \"?\" + r.query.Encode()\n\t}\n\treturn r.Paging(ctx, \"GET\", query, nil)\n}", "func (c *restClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {\n\tit := &OperationIterator{}\n\treq = proto.Clone(req).(*longrunningpb.ListOperationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*longrunningpb.Operation, string, error) {\n\t\tresp := &longrunningpb.ListOperationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v/operations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetOperations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *restClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {\n\tit := &OperationIterator{}\n\treq = proto.Clone(req).(*longrunningpb.ListOperationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*longrunningpb.Operation, string, error) {\n\t\tresp := &longrunningpb.ListOperationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v/operations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetOperations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (s *ActionService) List(packageName string, options *ActionListOptions) ([]Action, *http.Response, error) {\n\tvar route string\n\tvar actions []Action\n\n\tif len(packageName) > 0 {\n\t\t// Encode resource name as a path (with no query params) before inserting it into the URI\n\t\t// This way any '?' chars in the name won't be treated as the beginning of the query params\n\t\tpackageName = (&url.URL{Path: packageName}).String()\n\t\troute = fmt.Sprintf(\"actions/%s/\", packageName)\n\t} else {\n\t\troute = fmt.Sprintf(\"actions\")\n\t}\n\n\trouteUrl, err := addRouteOptions(route, options)\n\tif err != nil {\n\t\tDebug(DbgError, \"addRouteOptions(%s, %#v) error: '%s'\\n\", route, options, err)\n\t\terrMsg := wski18n.T(\"Unable to add route options '{{.options}}'\",\n\t\t\tmap[string]interface{}{\"options\": options})\n\t\twhiskErr := MakeWskErrorFromWskError(errors.New(errMsg), err, EXIT_CODE_ERR_GENERAL, DISPLAY_MSG,\n\t\t\tNO_DISPLAY_USAGE)\n\t\treturn nil, nil, whiskErr\n\t}\n\tDebug(DbgError, \"Action list route with options: %s\\n\", route)\n\n\treq, err := s.client.NewRequestUrl(\"GET\", routeUrl, nil, IncludeNamespaceInUrl, AppendOpenWhiskPathPrefix, EncodeBodyAsJson, AuthRequired)\n\tif err != nil {\n\t\tDebug(DbgError, \"http.NewRequestUrl(GET, %s, nil, IncludeNamespaceInUrl, AppendOpenWhiskPathPrefix, EncodeBodyAsJson, AuthRequired) error: '%s'\\n\", routeUrl, err)\n\t\terrMsg := wski18n.T(\"Unable to create HTTP request for GET '{{.route}}': {{.err}}\",\n\t\t\tmap[string]interface{}{\"route\": routeUrl, \"err\": err})\n\t\twhiskErr := MakeWskErrorFromWskError(errors.New(errMsg), err, EXIT_CODE_ERR_NETWORK, DISPLAY_MSG,\n\t\t\tNO_DISPLAY_USAGE)\n\t\treturn nil, nil, whiskErr\n\t}\n\n\tresp, err := s.client.Do(req, &actions, ExitWithSuccessOnTimeout)\n\tif err != nil {\n\t\tDebug(DbgError, \"s.client.Do() error - HTTP req %s; error '%s'\\n\", req.URL.String(), err)\n\t\treturn nil, resp, err\n\t}\n\n\treturn actions, resp, err\n}", "func (op *EncryptVolumesOperation) Name() string {\n\treturn op.lro.Name()\n}", "func ListOperations() ([]*op.Operation, error) {\n\tmessage := protocol.NewRequestListMessage()\n\terr := channel.Broadcast(message)\n\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tc1 := make(chan *protocol.ResponseList)\n\n\tonResponse := func(response *protocol.ResponseList) {\n\t\tc1 <- response\n\t}\n\n\tbus.SubscribeOnce(string(message.RequestList.ID), onResponse)\n\n\tselect {\n\tcase res := <-c1:\n\t\tif res.Result == protocol.ResponseOk {\n\t\t\treturn res.Operations, nil\n\t\t}\n\n\t\treturn nil, errors.New(string(res.Message))\n\tcase <-time.After(10 * time.Second):\n\t\tbus.Unsubscribe(string(message.RequestList.ID), onResponse)\n\t\treturn nil, errors.New(\"timeout\")\n\t}\n}", "func serviceListOperation(request *http.Request, response *http.Response, operationContext *restrictedOperationContext) error {\n\tvar err error\n\t// ServiceList response is a JSON array\n\t// https://docs.docker.com/engine/api/v1.28/#operation/ServiceList\n\tresponseArray, err := getResponseAsJSONArray(response)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif operationContext.isAdmin {\n\t\tresponseArray, err = decorateServiceList(responseArray, operationContext.resourceControls)\n\t} else {\n\t\tresponseArray, err = filterServiceList(responseArray, operationContext.resourceControls, operationContext.userID, operationContext.userTeamIDs)\n\t}\n\tif err != nil {\n\t\treturn err\n\t}\n\n\treturn rewriteResponse(response, responseArray, http.StatusOK)\n}", "func (c *ApisListCall) Name(name string) *ApisListCall {\n\tc.urlParams_.Set(\"name\", name)\n\treturn c\n}", "func List(c *gophercloud.ServiceClient, opts os.ListOptsBuilder) pagination.Pager {\n\treturn os.List(c, opts)\n}", "func (h *httpCloud) List(filter string) ([]string, error) {\n\tvar resp []string\n\tif err := h.get(h.instancesURL+path.Join(InstancesPath, filter), &resp); err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn resp, nil\n}", "func (p *FilteredPaginationSubProtocolV1) Name() string {\n\treturn \"/pagination-with-filter/version/1\"\n}", "func (l Leftovers) List(filter string, regex bool) {\n\tl.logger.NoConfirm()\n\n\tvar deletables []common.Deletable\n\n\tfor _, r := range l.resources {\n\t\tlist, err := r.List(filter, regex)\n\t\tif err != nil {\n\t\t\tl.logger.Println(color.YellowString(err.Error()))\n\t\t}\n\n\t\tdeletables = append(deletables, list...)\n\t}\n\n\tfor _, d := range deletables {\n\t\tl.logger.Println(fmt.Sprintf(\"[%s: %s]\", d.Type(), d.Name()))\n\t}\n}", "func (l Leftovers) List(filter string, regex bool) {\n\tl.logger.NoConfirm()\n\tvar deletables []common.Deletable\n\n\tfor _, r := range l.resources {\n\t\tlist, err := r.List(filter, regex)\n\t\tif err != nil {\n\t\t\tl.logger.Println(color.YellowString(err.Error()))\n\t\t}\n\n\t\tdeletables = append(deletables, list...)\n\t}\n\n\tfor _, d := range deletables {\n\t\tl.logger.Println(fmt.Sprintf(\"[%s: %s]\", d.Type(), d.Name()))\n\t}\n}", "func (c *WorkloadEndpointClient) listUsingName(ctx context.Context, listOptions model.ResourceListOptions, revision string) (*model.KVPairList, error) {\n\twepID, err := c.converter.ParseWorkloadEndpointName(listOptions.Name)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tif wepID.Pod == \"\" {\n\t\treturn nil, cerrors.ErrorResourceDoesNotExist{\n\t\t\tIdentifier: listOptions,\n\t\t\tErr: errors.New(\"malformed WorkloadEndpoint name - unable to determine Pod name\"),\n\t\t}\n\t}\n\n\tpod, err := c.clientSet.CoreV1().Pods(listOptions.Namespace).Get(ctx, wepID.Pod, metav1.GetOptions{ResourceVersion: revision})\n\tif err != nil {\n\t\tif kerrors.IsNotFound(err) {\n\t\t\treturn &model.KVPairList{\n\t\t\t\tKVPairs: []*model.KVPair{},\n\t\t\t\tRevision: revision,\n\t\t\t}, nil\n\t\t} else {\n\t\t\treturn nil, err\n\t\t}\n\t}\n\n\tkvps, err := c.converter.PodToWorkloadEndpoints(pod)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\t// If Endpoint is available get the single WorkloadEndpoint\n\tif wepID.Endpoint != \"\" {\n\t\t// Set to an empty list in case a match isn't found\n\t\tvar tmpKVPs []*model.KVPair\n\n\t\twepName, err := wepID.CalculateWorkloadEndpointName(false)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\t// Find the WorkloadEndpoint that has a name matching the name in the given key\n\t\tfor _, kvp := range kvps {\n\t\t\twep := kvp.Value.(*libapiv3.WorkloadEndpoint)\n\t\t\tif wep.Name == wepName {\n\t\t\t\ttmpKVPs = []*model.KVPair{kvp}\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\tkvps = tmpKVPs\n\t}\n\n\treturn &model.KVPairList{\n\t\tKVPairs: kvps,\n\t\tRevision: revision,\n\t}, nil\n}", "func (op *CancelEntitlementOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *BatchEnableServicesOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (client *KustoOperationsClient) listCreateRequest(ctx context.Context, options *KustoOperationsClientListOptions) (*policy.Request, error) {\n\turlPath := \"/providers/Microsoft.Synapse/kustooperations\"\n\treq, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.host, urlPath))\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treqQP := req.Raw().URL.Query()\n\treqQP.Set(\"api-version\", \"2021-06-01-preview\")\n\treq.Raw().URL.RawQuery = reqQP.Encode()\n\treq.Raw().Header.Set(\"Accept\", \"application/json\")\n\treturn req, nil\n}", "func (c *tensorboardRESTClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {\n\tit := &OperationIterator{}\n\treq = proto.Clone(req).(*longrunningpb.ListOperationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*longrunningpb.Operation, string, error) {\n\t\tresp := &longrunningpb.ListOperationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/ui/%v/operations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetOperations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (p *FilteredPaginationSubProtocolV0) Name() string {\n\treturn \"/pagination-with-filter/version/0\"\n}", "func ListAction(req *http.Request) (interface{}, error) {\n\treturn listActionProcess(req)\n}", "func (s RPCService) List(ctx context.Context, filter *Filter) (*QuestionList, error) {\n\tlist, err := s.storage.Filter(filter)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"Coudln't get questions from the storage: %v\", err)\n\t}\n\n\treturn &QuestionList{\n\t\tQuestions: list,\n\t}, nil\n}", "func (s *Service) List(ctx context.Context, req *api.ListRequest) (*api.ListResults, error) {\n\tvar resp = api.ListResults{Type: req.Type, Request: req}\n\tvar searchRequest *bleve.SearchRequest\n\n\tif _, ok := Index[req.Type]; !ok {\n\t\tresp.Err = api.ErrorInvalidContentType.Error()\n\t\treturn &resp, nil\n\t}\n\n\tquery := bleve.NewMatchAllQuery()\n\tsearchRequest = bleve.NewSearchRequest(query)\n\n\tif req.SortBy == \"\" {\n\t\treq.SortBy = \"id\"\n\t}\n\tsearchRequest.SortBy([]string{req.SortBy})\n\tsearchRequest.Fields = []string{\"*\"}\n\tsearchRequest.Size = req.Size\n\tif searchRequest.Size <= 0 {\n\t\tsearchRequest.Size = 10\n\t}\n\tsearchRequest.From = req.Skip\n\n\tindex, err := getIndex(req.Type, req.Language)\n\tif err != nil {\n\t\tresp.Err = api.ErrorNotFound.Error()\n\t\treturn &resp, nil\n\t}\n\tsearchResult, err := index.Search(searchRequest)\n\tif err != nil {\n\t\tresp.Err = api.ErrorNotFound.Error()\n\t\treturn &resp, nil\n\t}\n\n\tresp.Total = searchResult.Total\n\n\tfor _, hit := range searchResult.Hits {\n\t\tresp.List = append(resp.List, hit.Fields)\n\t}\n\n\treturn &resp, nil\n}", "func List(g *types.Cmd) {\n\tg.AddOptions(\"list\")\n}", "func (c *cloudChannelRESTClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {\n\tit := &OperationIterator{}\n\treq = proto.Clone(req).(*longrunningpb.ListOperationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*longrunningpb.Operation, string, error) {\n\t\tresp := &longrunningpb.ListOperationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetOperations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (c *Client) ListOperations(ctx context.Context, params *ListOperationsInput, optFns ...func(*Options)) (*ListOperationsOutput, error) {\n\tif params == nil {\n\t\tparams = &ListOperationsInput{}\n\t}\n\n\tresult, metadata, err := c.invokeOperation(ctx, \"ListOperations\", params, optFns, addOperationListOperationsMiddlewares)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tout := result.(*ListOperationsOutput)\n\tout.ResultMetadata = metadata\n\treturn out, nil\n}", "func (e *Executor) Name() string {\n\treturn OperationName\n}", "func (s GRPCServer) List(ctx context.Context, op *proto.Operation) (*proto.ListResult, error) {\n\tif len(op.Bucket) == 0 {\n\t\treturn nil, errors.New(\"bucket is required\")\n\t}\n\n\tkeys := [][]byte{}\n\tif err := s.DB.View(func(tx *bolt.Tx) error {\n\t\tb := tx.Bucket(op.Bucket)\n\t\tif b == nil {\n\t\t\treturn nil\n\t\t}\n\n\t\tb.ForEach(func(k, v []byte) error {\n\t\t\tkeys = append(keys, k)\n\t\t\treturn nil\n\t\t})\n\t\treturn nil\n\t}); err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn &proto.ListResult{Keys: keys}, nil\n}", "func (client BaseClient) ListOperations(ctx context.Context) (result Operations, err error) {\n\tif tracing.IsEnabled() {\n\t\tctx = tracing.StartSpan(ctx, fqdn+\"/BaseClient.ListOperations\")\n\t\tdefer func() {\n\t\t\tsc := -1\n\t\t\tif result.Response.Response != nil {\n\t\t\t\tsc = result.Response.Response.StatusCode\n\t\t\t}\n\t\t\ttracing.EndSpan(ctx, sc, err)\n\t\t}()\n\t}\n\treq, err := client.ListOperationsPreparer(ctx)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"serialconsole.BaseClient\", \"ListOperations\", nil, \"Failure preparing request\")\n\t\treturn\n\t}\n\n\tresp, err := client.ListOperationsSender(req)\n\tif err != nil {\n\t\tresult.Response = autorest.Response{Response: resp}\n\t\terr = autorest.NewErrorWithError(err, \"serialconsole.BaseClient\", \"ListOperations\", resp, \"Failure sending request\")\n\t\treturn\n\t}\n\n\tresult, err = client.ListOperationsResponder(resp)\n\tif err != nil {\n\t\terr = autorest.NewErrorWithError(err, \"serialconsole.BaseClient\", \"ListOperations\", resp, \"Failure responding to request\")\n\t\treturn\n\t}\n\n\treturn\n}", "func (op *DeleteStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *UpdateVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *ChangeParametersOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *WorkloadEndpointClient) list(ctx context.Context, list model.ResourceListOptions, revision string) (*model.KVPairList, error) {\n\tlogContext := log.WithField(\"Resource\", \"WorkloadEndpoint\")\n\tlogContext.Debug(\"Received List request\")\n\tconvertFunc := func(r Resource) ([]*model.KVPair, error) {\n\t\tpod := r.(*v1.Pod)\n\n\t\t// Decide if this pod should be included.\n\t\tif !c.converter.IsValidCalicoWorkloadEndpoint(pod) {\n\t\t\treturn nil, nil\n\t\t}\n\t\treturn c.converter.PodToWorkloadEndpoints(pod)\n\t}\n\n\t// Perform a paginated list of pods, executing the conversion function on each.\n\tlistFunc := func(ctx context.Context, opts metav1.ListOptions) (runtime.Object, error) {\n\t\treturn c.clientSet.CoreV1().Pods(list.Namespace).List(ctx, opts)\n\t}\n\treturn pagedList(ctx, logContext, revision, list, convertFunc, listFunc)\n}", "func (d *VolumeDriver) List(r volume.Request) volume.Response {\n\tlog.Errorf(\"VolumeDriver List to be implemented\")\n\treturn volume.Response{Err: \"\"}\n}", "func (h *simpleOperation) Name() string {\n\treturn h.name\n}", "func OperationName(name string) Option {\n\treturn operationNameOption{name}\n}", "func (op *TransferEntitlementsOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (s *Service) List() *ListOp {\n\treturn &ListOp{\n\t\tCredential: s.credential,\n\t\tMethod: \"GET\",\n\t\tPath: \"users\",\n\t\tAccept: \"application/json\",\n\t\tQueryOpts: make(url.Values),\n\t\tVersion: esign.APIv21,\n\t}\n}", "func runList(cmd *cobra.Command, args []string) error {\n\tverb := \"GET\"\n\turl := \"/v1/query\"\n\n\tresp, err := web.Request(cmd, verb, url, nil)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tcmd.Printf(\"\\n%s\\n\\n\", resp)\n\treturn nil\n}", "func (op *CreateStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (m *List) GetOperations()([]RichLongRunningOperationable) {\n return m.operations\n}", "func (*ListTemplates) name() string {\n\treturn \"listTemplates\"\n}", "func (c *Client) List(ctx context.Context, p *ListPayload) (res *ListResult, err error) {\n\tvar ires interface{}\n\tires, err = c.ListEndpoint(ctx, p)\n\tif err != nil {\n\t\treturn\n\t}\n\treturn ires.(*ListResult), nil\n}", "func (c *SubresourceClient) List(namespace string, labels map[string]string) (result []metav1.Object, e error) {\n\tif c.Error != \"\" {\n\t\te = fmt.Errorf(c.Error)\n\t} else {\n\t\tresult = []metav1.Object{c.Subresource}\n\t}\n\treturn\n}", "func (c *CommerceController) List(ctx *app.ListCommerceContext) error {\n\taggOptions, err := aggregateOptionsFromCommerceOptions(ctx.Payload.Conditions)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\to := model.ListOptions{\n\t\tAggregateOptions: aggOptions,\n\t\tSelectFields: ctx.Payload.SelectFields,\n\t}\n\n\tcrc, err := c.CommerceStorage.List(o)\n\tif err != nil {\n\t\treturn err\n\t}\n\tmt, err := CommerceRowCollection(crc).ToMediaType()\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn ctx.OK(mt)\n}", "func opsForRequest(req *http.Request) ([]bakery.Op, error) {\n\tif !strings.HasPrefix(req.URL.Path, \"/\") {\n\t\treturn nil, errgo.Newf(\"bad path\")\n\t}\n\telems := strings.Split(req.URL.Path, \"/\")\n\tif len(elems) < 2 {\n\t\treturn nil, errgo.Newf(\"bad path\")\n\t}\n\treturn []bakery.Op{{\n\t\tEntity: elems[1],\n\t\tAction: req.Method,\n\t}}, nil\n}", "func (op *DeletePolicyBasedRouteOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (op *UpdateStoragePoolOperation) Name() string {\n\treturn op.lro.Name()\n}", "func List(client *gophercloud.ServiceClient) pagination.Pager {\n\treturn os.List(client)\n}", "func (op *DeleteVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (c *OperationsListCall) Filter(filter string) *OperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (c *OperationsListCall) Filter(filter string) *OperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r *AppsOperationsService) List(appsId string) *AppsOperationsListCall {\n\tc := &AppsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}\n\tc.appsId = appsId\n\treturn c\n}", "func (d *MinioDriver) List(r volume.Request) volume.Response {\n\td.m.Lock()\n\tdefer d.m.Unlock()\n\n\tvar vols []*volume.Volume\n\tfor name, v := range d.volumes {\n\t\tvols = append(vols,\n\t\t\t&volume.Volume{\n\t\t\t\tName: name,\n\t\t\t\tMountpoint: v.mountpoint,\n\t\t\t})\n\t}\n\treturn volumeResp(\"\", \"\", vols, capability, \"\")\n}", "func (op *ChangeOfferOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (a *resource) List() []interface{} {\n\treturn nil\n}", "func (o NamedRuleWithOperationsOutput) Operations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v NamedRuleWithOperations) []string { return v.Operations }).(pulumi.StringArrayOutput)\n}", "func (c *Client) List() goa.Endpoint {\n\treturn func(ctx context.Context, v interface{}) (interface{}, error) {\n\t\tinv := goagrpc.NewInvoker(\n\t\t\tBuildListFunc(c.grpccli, c.opts...),\n\t\t\tEncodeListRequest,\n\t\t\tDecodeListResponse)\n\t\tres, err := inv.Invoke(ctx, v)\n\t\tif err != nil {\n\t\t\treturn nil, goa.Fault(err.Error())\n\t\t}\n\t\treturn res, nil\n\t}\n}", "func (vol *Volume) ListRequest() (ListCommand, error) {\n\treq := &ListVolumes{\n\t\tAccount: vol.Account,\n\t\tDomainID: vol.DomainID,\n\t\tName: vol.Name,\n\t\tType: vol.Type,\n\t\tVirtualMachineID: vol.VirtualMachineID,\n\t\tZoneID: vol.ZoneID,\n\t}\n\n\treturn req, nil\n}", "func (a *Service) List(query *Usage) (*Usages, error) {\n\n\tusages, err := a.dataSvc.List(query)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treturn usages, nil\n}", "func (o NamedRuleWithOperationsPatchOutput) Operations() pulumi.StringArrayOutput {\n\treturn o.ApplyT(func(v NamedRuleWithOperationsPatch) []string { return v.Operations }).(pulumi.StringArrayOutput)\n}", "func (e *Enforcer) GetAllNamedActions(ctx context.Context, ptype string) ([]string, error) {\n\tres, err := e.client.remoteClient.GetAllNamedActions(ctx, &pb.SimpleGetRequest{\n\t\tEnforcerHandler: e.handler,\n\t\tPType: ptype,\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn res.Array, nil\n}", "func (op *CreateVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}", "func (o *OptionsFilter) Filter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain) {\n\tif \"OPTIONS\" != req.Request.Method {\n\t\tchain.ProcessFilter(req, resp)\n\t\treturn\n\t}\n\n\tarchs := req.Request.Header.Get(restful.HEADER_AccessControlRequestHeaders)\n\t//methods := strings.Join(o.getContainer().ComputeAllowedMethods(req), \",\")\n\torigin := req.Request.Header.Get(restful.HEADER_Origin)\n\tif len(origin) == 0 {\n\t\torigin = \"*\"\n\t}\n\tlog.Printf(\"request >> origin:%s\\n\", origin)\n\tresp.AddHeader(restful.HEADER_Allow, \"*\")\n\tresp.AddHeader(restful.HEADER_AccessControlAllowOrigin, origin)\n\tresp.AddHeader(restful.HEADER_AccessControlAllowHeaders, archs)\n\tresp.AddHeader(restful.HEADER_AccessControlAllowMethods, \"*\")\n\tresp.AddHeader(restful.HEADER_AccessControlAllowCredentials, \"true\")\n}", "func (c *InspectOperationsListCall) Filter(filter string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (a *Api) List(w http.ResponseWriter, r *http.Request) error {\n\treturn nil\n}", "func GetAll() (result []Operation) {\n\tview(func(k, v []byte) {\n\t\top := &Operation{}\n\t\tboltdb.DecodeValue(v, op, cfg.DataEncoding)\n\t\tresult = append(result, *op)\n\t})\n\treturn\n}", "func (o GetClustersFilterOutput) Name() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GetClustersFilter) string { return v.Name }).(pulumi.StringOutput)\n}", "func (c *ReconcileCall) Name(name string) *ReconcileCall {\n\tc.urlParams_.Set(\"name\", name)\n\treturn c\n}", "func (c *jobsRESTClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {\n\tit := &OperationIterator{}\n\treq = proto.Clone(req).(*longrunningpb.ListOperationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*longrunningpb.Operation, string, error) {\n\t\tresp := &longrunningpb.ListOperationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v2/%v/operations\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetOperations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func List(client *occlient.Client, applicationName string) (ServiceList, error) {\n\tlabels := map[string]string{\n\t\tapplabels.ApplicationLabel: applicationName,\n\t}\n\n\t//since, service is associated with application, it consist of application label as well\n\t// which we can give as a selector\n\tapplicationSelector := util.ConvertLabelsToSelector(labels)\n\n\t// get service instance list based on given selector\n\tserviceInstanceList, err := client.GetServiceInstanceList(applicationSelector)\n\tif err != nil {\n\t\treturn ServiceList{}, errors.Wrapf(err, \"unable to list services\")\n\t}\n\n\tvar services []Service\n\t// Iterate through serviceInstanceList and add to service\n\tfor _, elem := range serviceInstanceList {\n\t\tconditions := elem.Status.Conditions\n\t\tvar status string\n\t\tif len(conditions) == 0 {\n\t\t\tklog.Warningf(\"no condition in status for %+v, marking it as Unknown\", elem)\n\t\t\tstatus = \"Unknown\"\n\t\t} else {\n\t\t\tstatus = conditions[0].Reason\n\t\t}\n\n\t\t// Check and make sure that \"name\" exists..\n\t\tif elem.Labels[componentlabels.ComponentLabel] == \"\" {\n\t\t\treturn ServiceList{}, errors.New(fmt.Sprintf(\"element %v returned blank name\", elem))\n\t\t}\n\n\t\tservices = append(services,\n\t\t\tService{\n\t\t\t\tTypeMeta: metav1.TypeMeta{\n\t\t\t\t\tKind: \"Service\",\n\t\t\t\t\tAPIVersion: apiVersion,\n\t\t\t\t},\n\t\t\t\tObjectMeta: metav1.ObjectMeta{\n\t\t\t\t\tName: elem.Labels[componentlabels.ComponentLabel],\n\t\t\t\t},\n\t\t\t\tSpec: ServiceSpec{Type: elem.Labels[componentlabels.ComponentTypeLabel], Plan: elem.Spec.ClusterServicePlanExternalName},\n\t\t\t\tStatus: ServiceStatus{Status: status},\n\t\t\t})\n\t}\n\n\treturn ServiceList{\n\t\tTypeMeta: metav1.TypeMeta{\n\t\t\tKind: \"List\",\n\t\t\tAPIVersion: apiVersion,\n\t\t},\n\t\tItems: services,\n\t}, nil\n}", "func (cli *FakeDatabaseClient) ListOperations(ctx context.Context, in *lropb.ListOperationsRequest, opts ...grpc.CallOption) (*lropb.ListOperationsResponse, error) {\n\tatomic.AddInt32(&cli.listOperationsCalledCnt, 1)\n\treturn nil, nil\n}", "func (c *cloudChannelReportsRESTClient) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {\n\tit := &OperationIterator{}\n\treq = proto.Clone(req).(*longrunningpb.ListOperationsRequest)\n\tunm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}\n\tit.InternalFetch = func(pageSize int, pageToken string) ([]*longrunningpb.Operation, string, error) {\n\t\tresp := &longrunningpb.ListOperationsResponse{}\n\t\tif pageToken != \"\" {\n\t\t\treq.PageToken = pageToken\n\t\t}\n\t\tif pageSize > math.MaxInt32 {\n\t\t\treq.PageSize = math.MaxInt32\n\t\t} else if pageSize != 0 {\n\t\t\treq.PageSize = int32(pageSize)\n\t\t}\n\t\tbaseUrl, err := url.Parse(c.endpoint)\n\t\tif err != nil {\n\t\t\treturn nil, \"\", err\n\t\t}\n\t\tbaseUrl.Path += fmt.Sprintf(\"/v1/%v\", req.GetName())\n\n\t\tparams := url.Values{}\n\t\tparams.Add(\"$alt\", \"json;enum-encoding=int\")\n\t\tif req.GetFilter() != \"\" {\n\t\t\tparams.Add(\"filter\", fmt.Sprintf(\"%v\", req.GetFilter()))\n\t\t}\n\t\tif req.GetPageSize() != 0 {\n\t\t\tparams.Add(\"pageSize\", fmt.Sprintf(\"%v\", req.GetPageSize()))\n\t\t}\n\t\tif req.GetPageToken() != \"\" {\n\t\t\tparams.Add(\"pageToken\", fmt.Sprintf(\"%v\", req.GetPageToken()))\n\t\t}\n\n\t\tbaseUrl.RawQuery = params.Encode()\n\n\t\t// Build HTTP headers from client and context metadata.\n\t\thds := append(c.xGoogHeaders, \"Content-Type\", \"application/json\")\n\t\theaders := gax.BuildHeaders(ctx, hds...)\n\t\te := gax.Invoke(ctx, func(ctx context.Context, settings gax.CallSettings) error {\n\t\t\tif settings.Path != \"\" {\n\t\t\t\tbaseUrl.Path = settings.Path\n\t\t\t}\n\t\t\thttpReq, err := http.NewRequest(\"GET\", baseUrl.String(), nil)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\thttpReq.Header = headers\n\n\t\t\thttpRsp, err := c.httpClient.Do(httpReq)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t\tdefer httpRsp.Body.Close()\n\n\t\t\tif err = googleapi.CheckResponse(httpRsp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tbuf, err := io.ReadAll(httpRsp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tif err := unm.Unmarshal(buf, resp); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\treturn nil\n\t\t}, opts...)\n\t\tif e != nil {\n\t\t\treturn nil, \"\", e\n\t\t}\n\t\tit.Response = resp\n\t\treturn resp.GetOperations(), resp.GetNextPageToken(), nil\n\t}\n\n\tfetch := func(pageSize int, pageToken string) (string, error) {\n\t\titems, nextPageToken, err := it.InternalFetch(pageSize, pageToken)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\t\tit.items = append(it.items, items...)\n\t\treturn nextPageToken, nil\n\t}\n\n\tit.pageInfo, it.nextFunc = iterator.NewPageInfo(fetch, it.bufLen, it.takeBuf)\n\tit.pageInfo.MaxSize = int(req.GetPageSize())\n\tit.pageInfo.Token = req.GetPageToken()\n\n\treturn it\n}", "func (*FilterConfig) Name() string {\n\treturn \"filter\"\n}", "func (client *ApplicationClient) ListOperations(options *ApplicationClientListOperationsOptions) *ApplicationClientListOperationsPager {\n\treturn &ApplicationClientListOperationsPager{\n\t\tclient: client,\n\t\trequester: func(ctx context.Context) (*policy.Request, error) {\n\t\t\treturn client.listOperationsCreateRequest(ctx, options)\n\t\t},\n\t\tadvancer: func(ctx context.Context, resp ApplicationClientListOperationsResponse) (*policy.Request, error) {\n\t\t\treturn runtime.NewRequest(ctx, http.MethodGet, *resp.OperationListResult.NextLink)\n\t\t},\n\t}\n}", "func Operation(name string, op interface{}) OperationComponent {\n\treturn OperationComponent{Name: name, OP: op}\n}", "func (op *RevertVolumeOperation) Name() string {\n\treturn op.lro.Name()\n}" ]
[ "0.7032994", "0.7032994", "0.6982842", "0.6218787", "0.59203345", "0.5718362", "0.5716092", "0.5617708", "0.5605749", "0.5476279", "0.5456066", "0.54533863", "0.54533863", "0.54533863", "0.54533863", "0.54533863", "0.5382573", "0.53300995", "0.521148", "0.5202039", "0.51606435", "0.51295674", "0.51295674", "0.5117877", "0.51097625", "0.5104079", "0.50960183", "0.5071768", "0.50697577", "0.50626886", "0.5052907", "0.5045746", "0.50431603", "0.50237024", "0.5021902", "0.5009884", "0.5006476", "0.49932447", "0.49860403", "0.49828237", "0.4961923", "0.49570534", "0.4951903", "0.4943731", "0.49356818", "0.49262357", "0.49239695", "0.49226567", "0.4913314", "0.49130434", "0.49079618", "0.48979855", "0.48919755", "0.4880361", "0.48752892", "0.48611432", "0.485913", "0.48532513", "0.4850545", "0.48490453", "0.48460495", "0.48451555", "0.4841955", "0.48405394", "0.48373613", "0.48328686", "0.48299688", "0.48292056", "0.4823333", "0.48181775", "0.48181775", "0.48117018", "0.4807817", "0.47917938", "0.47871968", "0.4784869", "0.47799864", "0.47770885", "0.4763979", "0.47635168", "0.47620085", "0.4758033", "0.47540507", "0.47518352", "0.47488132", "0.47472814", "0.47435185", "0.47408122", "0.47354257", "0.47347426", "0.4729593", "0.4724229", "0.4723195", "0.4716539", "0.47157437", "0.47113866" ]
0.55005634
13
Filter sets the optional parameter "filter": The standard list filter.
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolMemberListRequest) Filter(filter string) ApiGetResourcepoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherNetworkPortListRequest) Filter(filter string) ApiGetEtherNetworkPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolBlockListRequest) Filter(filter string) ApiGetIqnpoolBlockListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPhysicalPortListRequest) Filter(filter string) ApiGetEtherPhysicalPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServiceAuthTokenListRequest) Filter(filter string) ApiGetHyperflexServiceAuthTokenListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetEtherPortChannelListRequest) Filter(filter string) ApiGetEtherPortChannelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolReservationListRequest) Filter(filter string) ApiGetIqnpoolReservationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetEtherHostPortListRequest) Filter(filter string) ApiGetEtherHostPortListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDriveListRequest) Filter(filter string) ApiGetHyperflexDriveListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareVersionPolicyListRequest) Filter(filter string) ApiGetHyperflexSoftwareVersionPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHxdpVersionListRequest) Filter(filter string) ApiGetHyperflexHxdpVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexUcsmConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexUcsmConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSysConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexSysConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAutoSupportPolicyListRequest) Filter(filter string) ApiGetHyperflexAutoSupportPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolLeaseListRequest) Filter(filter string) ApiGetIqnpoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolMemberListRequest) Filter(filter string) ApiGetIqnpoolPoolMemberListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetHyperflexProxySettingPolicyListRequest) Filter(filter string) ApiGetHyperflexProxySettingPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionEntryListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexExtFcStoragePolicyListRequest) Filter(filter string) ApiGetHyperflexExtFcStoragePolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHypervisorVirtualMachineListRequest) Filter(filter string) ApiGetHyperflexHypervisorVirtualMachineListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexNodeConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDataProtectionPeerListRequest) Filter(filter string) ApiGetHyperflexDataProtectionPeerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerFirmwareVersionListRequest) Filter(filter string) ApiGetHyperflexServerFirmwareVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLocalCredentialPolicyListRequest) Filter(filter string) ApiGetHyperflexLocalCredentialPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexWitnessConfigurationListRequest) Filter(filter string) ApiGetHyperflexWitnessConfigurationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVcenterConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexVcenterConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *PcloudNetworksGetallParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexClusterStoragePolicyListRequest) Filter(filter string) ApiGetHyperflexClusterStoragePolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckPackageChecksumListRequest) Filter(filter string) ApiGetHyperflexHealthCheckPackageChecksumListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (w *ListWidget) SetFilter(filterString string) {\n\tfilteredItems := []*expanders.TreeNode{}\n\tfor _, item := range w.items {\n\t\tif strings.Contains(strings.ToLower(item.Display), filterString) {\n\t\t\tfilteredItems = append(filteredItems, item)\n\t\t}\n\t}\n\n\tw.selected = 0\n\tw.filterString = filterString\n\tw.filteredItems = filteredItems\n\n\tw.g.Update(func(gui *gocui.Gui) error {\n\t\treturn nil\n\t})\n}", "func (r ApiGetHyperflexHypervisorHostListRequest) Filter(filter string) ApiGetHyperflexHypervisorHostListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (umm *UpdateManyModel) SetFilter(filter interface{}) *UpdateManyModel {\n\tumm.Filter = filter\n\treturn umm\n}", "func (r ApiGetHyperflexVmBackupInfoListRequest) Filter(filter string) ApiGetHyperflexVmBackupInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterBackupPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterBackupPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexExtIscsiStoragePolicyListRequest) Filter(filter string) ApiGetHyperflexExtIscsiStoragePolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexDevicePackageDownloadStateListRequest) Filter(filter string) ApiGetHyperflexDevicePackageDownloadStateListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterReplicationNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterReplicationNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (c *PropertiesListCall) Filter(filter string) *PropertiesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (dmm *DeleteManyModel) SetFilter(filter interface{}) *DeleteManyModel {\n\tdmm.Filter = filter\n\treturn dmm\n}", "func (client *BaseClient) SetFilter(filter ...Filter) Client {\n\tclient.filterManager.SetFilter(filter...)\n\treturn client\n}", "func (r ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest) Filter(filter string) ApiGetHyperflexClusterHealthCheckExecutionSnapshotListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *NestedSort) Filter(filter Query) *NestedSort {\n\ts.filter = filter\n\treturn s\n}", "func Filter(filters ...FilterFunc) ServerOption {\n\treturn func(o *Server) {\n\t\to.filters = filters\n\t}\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (c *OperationsListCall) Filter(filter string) *OperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (c *OperationsListCall) Filter(filter string) *OperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (s *FieldSort) Filter(filter Query) *FieldSort {\n\ts.filter = filter\n\treturn s\n}", "func (o *ListIssueGroupOfProjectVersionParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (r ApiGetHyperflexKeyEncryptionKeyListRequest) Filter(filter string) ApiGetHyperflexKeyEncryptionKeyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterBackupPolicyInventoryListRequest) Filter(filter string) ApiGetHyperflexClusterBackupPolicyInventoryListRequest {\n\tr.filter = &filter\n\treturn r\n}" ]
[ "0.76104856", "0.750274", "0.7500161", "0.7482758", "0.74747473", "0.7470266", "0.7463035", "0.74555236", "0.7454948", "0.74330574", "0.74127316", "0.735005", "0.7334096", "0.7330663", "0.7325191", "0.73169285", "0.7303017", "0.72910815", "0.72863007", "0.727831", "0.72750944", "0.7274513", "0.7252561", "0.72440124", "0.72440076", "0.7235685", "0.72351384", "0.7231985", "0.722115", "0.7217896", "0.7216616", "0.7212957", "0.7212439", "0.7200045", "0.719717", "0.71961", "0.7194759", "0.71896", "0.71877915", "0.7184632", "0.71767503", "0.717426", "0.7173932", "0.7172447", "0.71719563", "0.7171559", "0.7168359", "0.7161685", "0.7158528", "0.7155327", "0.7154196", "0.7152709", "0.7150026", "0.7147818", "0.7135679", "0.7134095", "0.7134082", "0.71268386", "0.7120705", "0.71091527", "0.7107011", "0.70981854", "0.70923644", "0.70774794", "0.70653844", "0.7060471", "0.7057978", "0.7056556", "0.7045214", "0.7035968", "0.70330024", "0.7022195", "0.7010354", "0.69985527", "0.6962967", "0.6961409", "0.69492656", "0.6947822", "0.69391316", "0.69173115", "0.69161814", "0.6907609", "0.69026166", "0.69008297", "0.68953913", "0.6828329", "0.6826436", "0.68130755", "0.6803712", "0.68017656", "0.6799109", "0.67919534", "0.6788559", "0.67790085", "0.6777724", "0.67626226", "0.67626226", "0.6760103", "0.67594546", "0.6757188", "0.675371" ]
0.0
-1
PageSize sets the optional parameter "pageSize": The standard list page size.
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsModulesListCall) PageSize(pageSize int64) *AppsModulesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesMembersListCall) PageSize(pageSize int64) *SpacesMembersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *LeadsListCall) PageSize(pageSize int64) *LeadsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ViewMetaPage) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *OffersHistoryListCall) PageSize(pageSize int64) *OffersHistoryListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsProcessesRunsLineageEventsListCall) PageSize(pageSize int64) *ProjectsLocationsProcessesRunsLineageEventsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsOsConfigsListCall) PageSize(pageSize int64) *ProjectsOsConfigsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsMembersListCall) PageSize(pageSize int64) *ProjectsGroupsMembersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PagesListCall) PageSize(pageSize int64) *PagesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageSize(pageSize int64) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PerPage(items int) ReqOption {\n\treturn func(v url.Values) {\n\t\tv.Set(\"per_page\", strconv.FormatInt(int64(items), 10))\n\t}\n}", "func (c *ProjectsLogEntriesListCall) PageSize(pageSize int64) *ProjectsLogEntriesListCall {\n\tc.params_.Set(\"pageSize\", fmt.Sprintf(\"%v\", pageSize))\n\treturn c\n}", "func Page(n int) ListOption {\n\tif n < 0 {\n\t\tn = 1\n\t}\n\treturn pageNumOpt(n)\n}", "func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}" ]
[ "0.7570231", "0.74567944", "0.73862386", "0.7367634", "0.7357863", "0.7273193", "0.71341497", "0.712886", "0.708955", "0.7067", "0.70628303", "0.70551515", "0.70453185", "0.7035883", "0.7018355", "0.6978817", "0.6978817", "0.69604105", "0.6936155", "0.69260097", "0.69232917", "0.6923186", "0.6900882", "0.68513215", "0.6842219", "0.68164426", "0.68164426", "0.68123454", "0.681208", "0.67713827", "0.6746494", "0.672696", "0.67188513", "0.6707809", "0.66706234", "0.6647572", "0.6628357", "0.6614231", "0.65979654", "0.65911514", "0.6584368", "0.65549517", "0.65549517", "0.65465075", "0.6536613", "0.65278304", "0.6515085", "0.64743954", "0.64743954", "0.6426859", "0.64262104", "0.6424138", "0.6407496", "0.6407496", "0.639999", "0.6388415", "0.6357362", "0.6343035", "0.63249266", "0.6299757", "0.62979335", "0.6292228", "0.6281256", "0.6276563", "0.6265925", "0.6263098", "0.62630117", "0.62630117", "0.62579715", "0.6254299", "0.62511283", "0.62511283", "0.6249444", "0.62243783", "0.61958593", "0.61954767", "0.61875737", "0.6179392", "0.6176014", "0.61729425", "0.6165362", "0.61493605", "0.61351526", "0.6128895", "0.6123975", "0.61023444", "0.61001307", "0.6091161", "0.6090512", "0.6088091", "0.6086112", "0.607705", "0.60711193", "0.60663855", "0.60526806", "0.6052563", "0.6050295", "0.6050295", "0.6050295", "0.6050295", "0.6050295" ]
0.0
-1
PageToken sets the optional parameter "pageToken": The standard list page token.
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func NewPagedList(items []*discordgo.MessageEmbedField, maxResults int) (*PagedList, error) {\n\tif len(items) == 0 {\n\t\treturn nil, fmt.Errorf(\"No page items found.\")\n\t}\n\n\treturn &PagedList{\n\t\tItems: items,\n\t\tMaxResults: maxResults,\n\t\tPageNumber: 1,\n\t\tTotalPages: int(math.Ceil(float64(len(items)) / float64(maxResults))),\n\t\tFirstPage: true,\n\t\tLastPage: false,\n\t\tExt: new(map[string]interface{}),\n\t}, nil\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageToken(pageToken string) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FoldersListCall) PageToken(pageToken string) *FoldersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsLroListCall) PageToken(pageToken string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func tokenListHelper(lr tokenListRetriever, opts *ListOptions) error {\n\tfor {\n\t\tnextpagetoken, err := lr(opts)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\n\t\tif nextpagetoken != \"\" {\n\t\t\topts.PageToken = nextpagetoken\n\t\t} else {\n\t\t\tbreak\n\t\t}\n\t}\n\n\treturn nil\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductAndSkuCall) PageToken(pageToken string) *LicenseAssignmentsListForProductAndSkuCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) PageToken(pageToken string) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageToken(pageToken string) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *TargetableRemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageToken(pageToken string) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesFirebaseLinksListCall) PageToken(pageToken string) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageToken(pageToken string) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *TransferOperationsListCall) PageToken(pageToken string) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrdersListCall) PageToken(pageToken string) *OrdersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (c *AnalyticsListCall) PageToken(pageToken string) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (c *InspectOperationsListCall) PageToken(pageToken string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageToken(pageToken string) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SitesListCall) PageToken(pageToken string) *SitesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LeadsListCall) PageToken(pageToken string) *LeadsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *JobsListCall) PageToken(pageToken string) *JobsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (c *CreativesListCall) PageToken(pageToken string) *CreativesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *TransferJobsListCall) PageToken(pageToken string) *TransferJobsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PagesListCall) PageToken(pageToken string) *PagesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageToken(pageToken string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}" ]
[ "0.6996775", "0.6904197", "0.6895101", "0.68630767", "0.68459076", "0.67740935", "0.67459834", "0.6741152", "0.6655973", "0.6145958", "0.60065854", "0.5951971", "0.5918542", "0.58808535", "0.58581257", "0.58010364", "0.5724222", "0.5715498", "0.57116675", "0.5705501", "0.57040274", "0.56940657", "0.56940657", "0.5686485", "0.5681075", "0.5677744", "0.56716377", "0.5666454", "0.5664873", "0.5662905", "0.56555516", "0.56555516", "0.5650296", "0.5645839", "0.5639233", "0.5639233", "0.56348985", "0.56237876", "0.5620732", "0.5617424", "0.5609827", "0.5608447", "0.5599901", "0.559396", "0.559396", "0.557851", "0.557851", "0.5578007", "0.5576332", "0.5576332", "0.55716056", "0.5560619", "0.55543154", "0.55540687", "0.5552107", "0.5552107", "0.5538855", "0.55350816", "0.5517146", "0.55163723", "0.55159557", "0.55049986", "0.5473705", "0.5467246", "0.5467052", "0.5455555", "0.54458237", "0.5441112", "0.54327357", "0.54327357", "0.54218733", "0.54172176", "0.5396016", "0.5392463", "0.5388486", "0.53839993", "0.5381137", "0.5380709", "0.53786635", "0.53751624", "0.5372544", "0.5365674", "0.53646076", "0.53639644", "0.5362495", "0.53596216", "0.53553534", "0.5351549", "0.5345036", "0.53297275", "0.53286743", "0.5314666", "0.5299192", "0.529248", "0.5286342", "0.5282353", "0.5282353", "0.5282353", "0.5282353", "0.5282353", "0.5282353" ]
0.0
-1
Fields allows partial responses to be retrieved. See for more information.
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (e BodyResponseValidationError) Field() string { return e.field }", "func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput {\n\treturn o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput)\n}", "func (e GetResponseValidationError) Field() string { return e.field }", "func (e HTTPResponseValidationError) Field() string { return e.field }", "func (e SimpleResponseValidationError) Field() string { return e.field }", "func (e RetrieveResponseValidationError) Field() string { return e.field }", "func (e ResponseValidationError) Field() string { return e.field }", "func (e ResponseMapperValidationError) Field() string { return e.field }", "func (e CommonResponseValidationError) Field() string { return e.field }", "func (e Response_DataValidationError) Field() string { return e.field }", "func (r *Response) Field(key string, value interface{}) JResponseWriter {\n\tr.fields[key] = value\n\treturn r\n}", "func (e ImmediateResponseValidationError) Field() string { return e.field }", "func (e HeadersResponseValidationError) Field() string { return e.field }", "func (e HelloResponseValidationError) Field() string { return e.field }", "func (e GetUsersResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e ListResponseValidationError) Field() string { return e.field }", "func (e GetInstanceResponseValidationError) Field() string { return e.field }", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (r *Search) Fields(fields ...types.FieldAndFormat) *Search {\n\tr.req.Fields = fields\n\n\treturn r\n}", "func (c *SitemapsGetCall) Fields(s ...googleapi.Field) *SitemapsGetCall {\n\tc.opt_[\"fields\"] = googleapi.CombineFields(s)\n\treturn c\n}", "func (e StreamResponseValidationError) Field() string { return e.field }", "func (e GetMessageResponseValidationError) Field() string { return e.field }", "func (c *FeaturetilesGetCall) Fields(s ...googleapi.Field) *FeaturetilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (o TypeResponseOutput) Fields() FieldResponseArrayOutput {\n\treturn o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput)\n}", "func (e GetStreamResponseValidationError) Field() string { return e.field }", "func extractFields(raw []byte) any {\n\tvar resp map[string]any\n\n\terr := json.Unmarshal(raw, &resp)\n\tif err != nil {\n\t\tvar arrResp []map[string]any\n\n\t\terr := json.Unmarshal(raw, &arrResp)\n\t\tif err != nil {\n\t\t\treturn string(raw)\n\t\t}\n\n\t\treturn arrResp\n\t}\n\n\treturn resp\n}", "func (u User) Fields() map[string]interface{} {\n\tfields := map[string]interface{}{\n\t\t\"hash\": u.Hash,\n\t\t\"email\": u.Email,\n\t\t\"private_id\": u.PrivateID,\n\t\t\"public_id\": u.PublicID,\n\t}\n\n\tif u.Profile != nil {\n\t\tfields[\"profile\"] = u.Profile.Fields()\n\t}\n\n\treturn fields\n}", "func (i PullAll) Fields() []interface{} {\n\treturn nil\n}", "func (e GetUserResponseValidationError) Field() string { return e.field }", "func (e DescribeDocV1ResponseValidationError) Field() string { return e.field }", "func (c *GetCall) Fields(s ...googleapi.Field) *GetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *V1alpha1GetIamPolicyCall) Fields(s ...googleapi.Field) *V1alpha1GetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ResolveResponseValidationError) Field() string { return e.field }", "func (e PublishResponseValidationError) Field() string { return e.field }", "func (e GetTodosResponseValidationError) Field() string { return e.field }", "func (c *AdsGetCall) Fields(s ...googleapi.Field) *AdsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ReverseResponseValidationError) Field() string { return e.field }", "func (e GetMovableObjectResponseValidationError) Field() string { return e.field }", "func (e ProcessingResponseValidationError) Field() string { return e.field }", "func (c *AdvertiserLandingPagesGetCall) Fields(s ...googleapi.Field) *AdvertiserLandingPagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e HttpBodyValidationError) Field() string { return e.field }", "func (c *HeartbeatCall) Fields(s ...googleapi.Field) *HeartbeatCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e VersionResponseValidationError) Field() string { return e.field }", "func (e GetObjectSchemasResponseValidationError) Field() string { return e.field }", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (m *RawMapper) Fields() []string { return append(m.selectFields, m.selectTags...) }", "func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (fs *FollowService) Fields() ([]string, error) {\n\tf, err := fs.client.getFields(fs.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Follow fields\")\n\t}\n\n\treturn f, nil\n}", "func (e TrailersResponseValidationError) Field() string { return e.field }", "func (e RetrieveMyCardsResponseValidationError) Field() string { return e.field }", "func (e AutocompleteResponseValidationError) Field() string { return e.field }", "func (c *PeekCall) Fields(s ...googleapi.Field) *PeekCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e ListDocsV1ResponseValidationError) Field() string { return e.field }", "func (e UpdateResponseValidationError) Field() string { return e.field }", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *PagesGetCall) Fields(s ...googleapi.Field) *PagesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *TerraintilesGetCall) Fields(s ...googleapi.Field) *TerraintilesGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *InspectOperationsGetCall) Fields(s ...googleapi.Field) *InspectOperationsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (HTTPDetectorResult) Fields() []ent.Field {\n\treturn []ent.Field{\n\t\tfield.String(\"url\").\n\t\t\tComment(\"检测URL\"),\n\t\tfield.JSON(\"results\", HTTPDetectorSubResults{}).\n\t\t\tComment(\"检测结果列表\"),\n\t}\n}", "func (e BatchGetResponseValidationError) Field() string { return e.field }", "func (e RetrieveBookingResponseValidationError) Field() string { return e.field }", "func (e StatusResponseValidationError) Field() string { return e.field }", "func (as *ArtworkService) Fields() ([]string, error) {\n\tf, err := as.client.getFields(as.end)\n\tif err != nil {\n\t\treturn nil, errors.Wrap(err, \"cannot get Artwork fields\")\n\t}\n\n\treturn f, nil\n}", "func (e AssessEvidencesResponseValidationError) Field() string { return e.field }", "func (Medicalfile) Fields() []ent.Field {\n return []ent.Field{\n\t\tfield.String(\"detail\").NotEmpty(),\n\t\tfield.Time(\"added_time\"),\n }\n}", "func (e GetEventByIDResponseValidationError) Field() string { return e.field }", "func (c *MobileAppsGetCall) Fields(s ...googleapi.Field) *MobileAppsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e RegisterResponseValidationError) Field() string { return e.field }", "func (f Fields) Fields() map[string]interface{} {\n\treturn f\n}", "func (a *api) theResponseShouldContainFields(theDocString *gherkin.DocString) error {\n\t//fmt.Println(\"the string \", string(theDocString.Content))\n\tdefer a.resp.Body.Close()\n\thtmlData, err := ioutil.ReadAll(a.resp.Body)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n\tdata := string(htmlData)\n\tw := Structworkitem{}\n\tjson.Unmarshal([]byte(data), &w)\n\n\tbyt := []byte(string(string(theDocString.Content)))\n\tvar keys map[string]interface{}\n\tjson.Unmarshal(byt, &keys)\n\tfor key, value := range keys {\n\t\t//\t\tfmt.Printf(\"the key = %v\", key)\n\t\t//\t\tfmt.Printf(\"the value = %v\", value)\n\t\tif key == \"assignee\" {\n\t\t\tif value != w.Fields.Assignee {\n\t\t\t\treturn fmt.Errorf(\"Expected %s but was %s\", value, w.Fields.Assignee)\n\t\t\t}\n\t\t}\n\t}\n\treturn nil\n}", "func (c *CallsetsGetCall) Fields(s ...googleapi.Field) *CallsetsGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e Response_LastValidationError) Field() string { return e.field }", "func (ScholarshipRequest) Fields() []ent.Field {\n\treturn nil\n}", "func (e LoginResponseValidationError) Field() string { return e.field }", "func (e CreateResponseValidationError) Field() string { return e.field }", "func (c *SucceedCall) Fields(s ...googleapi.Field) *SucceedCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (c *ContentInspectCall) Fields(s ...googleapi.Field) *ContentInspectCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func replyWithField(w http.ResponseWriter, db _struct.TrackDB, id string, field string) {\n\thttp.Header.Set(w.Header(), \"content-type\", \"application/json\")\n\tt, _ := db.Get(strings.ToUpper(id))\n\n\tapi := _struct.Track{t.HeaderDate, t.Pilot, t.Glider, t.GliderId, t.TrackLength}\n\n\tswitch strings.ToUpper(field) {\n\tcase \"PILOT\":\n\t\tjson.NewEncoder(w).Encode(api.Pilot)\n\tcase \"GLIDER\":\n\t\tjson.NewEncoder(w).Encode(api.Glider)\n\tcase \"GLIDER_ID\":\n\t\tjson.NewEncoder(w).Encode(api.GliderId)\n\tcase \"TRACK_LENGTH\":\n\t\tjson.NewEncoder(w).Encode(api.TrackLength)\n\tcase \"H_DATE\":\n\t\tjson.NewEncoder(w).Encode(api.HeaderDate)\n\tdefault:\n\t\thttp.Error(w, \"Not a valid option\", http.StatusNotFound)\n\t\treturn\n\t}\n}", "func (e SearchResponseValidationError) Field() string { return e.field }", "func (HTTPOperation) GetVerboseResponseFieldNames() []string {\n\treturn []string{\"id\", \"date\", \"number available\", \"number total\", \"vaccine\", \"input type\", \"tags\", \"location\", \"created at\"}\n}", "func (e GetExperimentsResponseValidationError) Field() string { return e.field }", "func (e CreateDocV1ResponseValidationError) Field() string { return e.field }", "func (c *DatasetsGetIamPolicyCall) Fields(s ...googleapi.Field) *DatasetsGetIamPolicyCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (e GetDisscusRespValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (e GetRequestValidationError) Field() string { return e.field }", "func (c *ApisGetRestCall) Fields(s ...googleapi.Field) *ApisGetRestCall {\n\tc.urlParams_.Set(\"fields\", googleapi.CombineFields(s))\n\treturn c\n}", "func (entry *Entry) Fields() Fields {\n\treturn entry.fields\n}", "func (o *NotificationAllOf) GetFieldsOk() (*map[string]interface{}, bool) {\n\tif o == nil || o.Fields == nil {\n\t\treturn nil, false\n\t}\n\treturn o.Fields, true\n}", "func (e CreatMessageResponseValidationError) Field() string { return e.field }", "func (e StateMachineResponseValidationError) Field() string { return e.field }", "func (e RetrieveReservationResponseValidationError) Field() string { return e.field }", "func (e ListMessagesResponseValidationError) Field() string { return e.field }" ]
[ "0.6458571", "0.6409765", "0.63830054", "0.6329471", "0.6294762", "0.6226543", "0.6194011", "0.61830926", "0.61641014", "0.6141662", "0.6126752", "0.61264664", "0.61258316", "0.61162406", "0.6100833", "0.60682887", "0.60682887", "0.606218", "0.6048585", "0.60468453", "0.60205626", "0.5995158", "0.59909886", "0.5976544", "0.5961867", "0.5961867", "0.5960047", "0.5950198", "0.59487796", "0.5947144", "0.59397167", "0.59366864", "0.5934271", "0.5916826", "0.5915118", "0.59145737", "0.5910671", "0.58944666", "0.58923274", "0.5888698", "0.5887614", "0.58799297", "0.5872129", "0.58695704", "0.58639586", "0.58639586", "0.5863568", "0.586351", "0.586351", "0.586351", "0.586351", "0.586351", "0.58624136", "0.58617896", "0.5858689", "0.5848961", "0.5846251", "0.58459437", "0.58428836", "0.5832401", "0.58316153", "0.5829562", "0.5829562", "0.58199257", "0.58144325", "0.5811524", "0.58032703", "0.5798672", "0.5795267", "0.5790823", "0.57903314", "0.57835984", "0.57805043", "0.577955", "0.577466", "0.57733095", "0.5766461", "0.5763401", "0.57624775", "0.57592714", "0.57510763", "0.574698", "0.574665", "0.5746616", "0.57424283", "0.57418925", "0.5734079", "0.5730516", "0.5725956", "0.57255626", "0.57252425", "0.57204276", "0.5719563", "0.5719563", "0.57170063", "0.5694081", "0.5693313", "0.568493", "0.5683405", "0.568321", "0.5673809" ]
0.0
-1
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of InNoneMatch.
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall { c.ifNoneMatch_ = entityTag return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *LocationsLodgingGetGoogleUpdatedCall) IfNoneMatch(entityTag string) *LocationsLodgingGetGoogleUpdatedCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsApisRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsApisRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReconcileCall) IfNoneMatch(entityTag string) *ReconcileCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsGetCall) IfNoneMatch(entityTag string) *InspectOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) IfNoneMatch(entityTag string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesBasesListCall) IfNoneMatch(entityTag string) *ReferencesBasesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SearchCall) IfNoneMatch(entityTag string) *SearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsGetCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSharedflowsRevisionsGetCall) IfNoneMatch(entityTag string) *OrganizationsSharedflowsRevisionsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) IfNoneMatch(entityTag string) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesGetCall) IfNoneMatch(entityTag string) *SpacesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetCall) IfNoneMatch(entityTag string) *GetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsGetCall) IfNoneMatch(entityTag string) *VariantsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ApisGetRestCall) IfNoneMatch(entityTag string) *ApisGetRestCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesGetCall) IfNoneMatch(entityTag string) *ReferencesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsGetCall) IfNoneMatch(entityTag string) *OperatingSystemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) IfNoneMatch(entityTag string) *InspectResultsFindingsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *LocationsGetLodgingCall) IfNoneMatch(entityTag string) *LocationsGetLodgingCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetUserCall) IfNoneMatch(entityTag string) *StatsGetUserCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetSessionCall) IfNoneMatch(entityTag string) *StatsGetSessionCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemVersionsListCall) IfNoneMatch(entityTag string) *OperatingSystemVersionsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesListCall) IfNoneMatch(entityTag string) *CreativeFieldValuesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InspectOperationsListCall) IfNoneMatch(entityTag string) *InspectOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *VariantsetsGetCall) IfNoneMatch(entityTag string) *VariantsetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GetBucketCall) IfNoneMatch(entityTag string) *GetBucketCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsGetCall) IfNoneMatch(entityTag string) *EventTagsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AdsGetCall) IfNoneMatch(entityTag string) *AdsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PeekCall) IfNoneMatch(entityTag string) *PeekCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ClaimsSearchCall) IfNoneMatch(entityTag string) *ClaimsSearchCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldValuesGetCall) IfNoneMatch(entityTag string) *CreativeFieldValuesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperatingSystemsListCall) IfNoneMatch(entityTag string) *OperatingSystemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CreativeFieldsGetCall) IfNoneMatch(entityTag string) *CreativeFieldsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OperationsLroListCall) IfNoneMatch(entityTag string) *OperationsLroListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetIndexCall) IfNoneMatch(entityTag string) *StatsGetIndexCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsBrokersV2ServiceInstancesGetLastOperationCall) IfNoneMatch(entityTag string) *ProjectsBrokersV2ServiceInstancesGetLastOperationCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsGetCall) IfNoneMatch(entityTag string) *BlogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetNotesCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetNotesCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BlogsListCall) IfNoneMatch(entityTag string) *BlogsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *V2CompleteCall) IfNoneMatch(entityTag string) *V2CompleteCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PropertiesConversionEventsGetCall) IfNoneMatch(entityTag string) *PropertiesConversionEventsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsListCall) IfNoneMatch(entityTag string) *InventoryItemsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesListCall) IfNoneMatch(entityTag string) *SpacesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MetrosListCall) IfNoneMatch(entityTag string) *MetrosListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsInstancesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ChangeLogsGetCall) IfNoneMatch(entityTag string) *ChangeLogsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *EventTagsListCall) IfNoneMatch(entityTag string) *EventTagsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *InventoryItemsGetCall) IfNoneMatch(entityTag string) *InventoryItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *StatsGetQueryCall) IfNoneMatch(entityTag string) *StatsGetQueryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMembersGetCall) IfNoneMatch(entityTag string) *SpacesMembersGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *PostsGetCall) IfNoneMatch(entityTag string) *PostsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) IfNoneMatch(entityTag string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *JobsGetCall) IfNoneMatch(entityTag string) *JobsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *BillingAccountsGetCall) IfNoneMatch(entityTag string) *BillingAccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SharedAlbumsGetCall) IfNoneMatch(entityTag string) *SharedAlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ReferencesetsGetCall) IfNoneMatch(entityTag string) *ReferencesetsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsGetCall) IfNoneMatch(entityTag string) *SubaccountsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AlbumsGetCall) IfNoneMatch(entityTag string) *AlbumsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SitemapsGetCall) IfNoneMatch(entityTag string) *SitemapsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SubaccountsListCall) IfNoneMatch(entityTag string) *SubaccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsResourcefilesListCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsResourcefilesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *TerraintilesGetCall) IfNoneMatch(entityTag string) *TerraintilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *OrganizationsEnvironmentsQueriesGetResultCall) IfNoneMatch(entityTag string) *OrganizationsEnvironmentsQueriesGetResultCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *SpacesMessagesGetCall) IfNoneMatch(entityTag string) *SpacesMessagesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *FeaturetilesGetCall) IfNoneMatch(entityTag string) *FeaturetilesGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *MediaItemsGetCall) IfNoneMatch(entityTag string) *MediaItemsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) IfNoneMatch(entityTag string) *DynamicTargetingKeysListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}", "func (c *ProjectsLocationsVolumesSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesSnapshotsGetCall {\n\tc.ifNoneMatch_ = entityTag\n\treturn c\n}" ]
[ "0.7857457", "0.7743354", "0.77188426", "0.7657179", "0.7657179", "0.7657179", "0.7657179", "0.7657179", "0.76479805", "0.76000154", "0.75954306", "0.75941604", "0.75941604", "0.7582892", "0.7576732", "0.75760597", "0.75692207", "0.7556326", "0.7545303", "0.7532287", "0.7496034", "0.74843", "0.7464074", "0.74624825", "0.74539423", "0.7432325", "0.7429592", "0.74259514", "0.7415199", "0.7415001", "0.7415001", "0.7411576", "0.7405997", "0.7405997", "0.7403323", "0.739993", "0.739376", "0.73866236", "0.7380808", "0.7379439", "0.73675215", "0.7361131", "0.73593855", "0.73555994", "0.73520744", "0.73520744", "0.73520744", "0.73520744", "0.73520744", "0.73520744", "0.73503023", "0.7340824", "0.7335386", "0.73166794", "0.7310366", "0.73099375", "0.7307237", "0.7307237", "0.73056275", "0.7304922", "0.7298628", "0.7294144", "0.7288348", "0.72881275", "0.72842497", "0.72788304", "0.72778", "0.72751474", "0.72737813", "0.72732323", "0.727116", "0.7270925", "0.7268505", "0.7262408", "0.72618926", "0.7256791", "0.7256024", "0.7255946", "0.72552997", "0.72533786", "0.7252881", "0.72490185", "0.7246983", "0.72406965", "0.7240475", "0.72376984", "0.72376984", "0.7235915", "0.72329265", "0.72314066", "0.72304434", "0.7226173", "0.7222612", "0.72161525", "0.72147363", "0.7213921", "0.72124106", "0.7208179", "0.72076535", "0.72076535", "0.7207556" ]
0.0
-1
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall { c.ctx_ = ctx return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (req *DeleteRequest) Context(ctx context.Context) *DeleteRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (r *Request) WithContext(ctx context.Context) *Request", "func (r *Request) Context() context.Context", "func (c *PostsListCall) Context(ctx context.Context) *PostsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsDeleteCall) Context(ctx context.Context) *TransferOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutCall) Context(ctx context.Context) *PutCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersListCall) Context(ctx context.Context) *OrdersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PutBatchCall) Context(ctx context.Context) *PutBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsBatchDeleteCall) Context(ctx context.Context) *JobsBatchDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsListCall) Context(ctx context.Context) *PlacementsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertisersInsertCall) Context(ctx context.Context) *AdvertisersInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatBatchCall) Context(ctx context.Context) *HeartbeatBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesDeleteCall) Context(ctx context.Context) *PagesDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsDeleteCall) Context(ctx context.Context) *VariantsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SelectRequest) Context(ctx context.Context) *SelectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *ConversionsBatchinsertCall) Context(ctx context.Context) *ConversionsBatchinsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsListCall) Context(ctx context.Context) *DatasetsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostalCodesListCall) Context(ctx context.Context) *PostalCodesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsInsertCall) Context(ctx context.Context) *AdsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsDeleteCall) Context(ctx context.Context) *SitemapsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CancelBatchCall) Context(ctx context.Context) *CancelBatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *GetRequest) Context(ctx context.Context) *GetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *EventTagsDeleteCall) Context(ctx context.Context) *EventTagsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertObjectRequest) Context(ctx context.Context) *UpsertObjectRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *JobsDeleteCall) Context(ctx context.Context) *JobsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *InspectOperationsDeleteCall) Context(ctx context.Context) *InspectOperationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsListCall) Context(ctx context.Context) *AdsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (b *BaseResponse) Context() context.Context {\n\treturn b.ctx\n}", "func (c *CallsetsDeleteCall) Context(ctx context.Context) *CallsetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ConversionsBatchupdateCall) Context(ctx context.Context) *ConversionsBatchupdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *GetBucketCall) Context(ctx context.Context) *GetBucketCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsUpdateCall) Context(ctx context.Context) *PlacementsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsDeleteCall) Context(ctx context.Context) *DatasetsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *UpsertRequest) Context(ctx context.Context) *UpsertRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *OrderDocumentsListCall) Context(ctx context.Context) *OrderDocumentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func Context(h http.Handler) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\t// user service\n\t\tu := user.New(cognitoID, cognitoSecret)\n\t\tcontext.Set(r, \"userService\", u)\n\n\t\t// session helper\n\t\ts := session.New()\n\t\tcontext.Set(r, \"session\", s)\n\n\t\tvar netTransport = &http.Transport{\n\t\t\tDial: (&net.Dialer{\n\t\t\t\tTimeout: 5 * time.Second,\n\t\t\t}).Dial,\n\t\t\tTLSHandshakeTimeout: 5 * time.Second,\n\t\t}\n\n\t\t// support timeout and net transport.\n\t\tc := &http.Client{\n\t\t\tTimeout: time.Second * 10,\n\t\t\tTransport: netTransport,\n\t\t}\n\n\t\t// http client\n\t\tcontext.Set(r, \"client\", c)\n\n\t\tp := post.New(dynamoTablePosts, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"postService\", p)\n\n\t\tl := like.New(dynamoTableLikes, dynamoEndpoint, nil)\n\t\tcontext.Set(r, \"likeService\", l)\n\n\t\th.ServeHTTP(w, r)\n\t})\n}", "func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsStreamCall) Context(ctx context.Context) *VariantsStreamCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (ri *RestInvoker) ContextDo(ctx context.Context, req *rest.Request, options ...InvocationOption) (*rest.Response, error) {\n\topts := getOpts(string(req.GetRequest().Host()), options...)\n\topts.Protocol = common.ProtocolRest\n\tif len(opts.Filters) == 0 {\n\t\topts.Filters = ri.opts.Filters\n\t}\n\tif string(req.GetRequest().URI().Scheme()) != \"cse\" {\n\t\treturn nil, fmt.Errorf(\"Scheme invalid: %s, only support cse://\", req.GetRequest().URI().Scheme())\n\t}\n\tif req.GetHeader(\"Content-Type\") == \"\" {\n\t\treq.SetHeader(\"Content-Type\", \"application/json\")\n\t}\n\tnewReq := req.Copy()\n\tdefer newReq.Close()\n\tresp := rest.NewResponse()\n\tnewReq.SetHeader(common.HeaderSourceName, config.SelfServiceName)\n\tinv := invocation.CreateInvocation()\n\twrapInvocationWithOpts(inv, opts)\n\tinv.AppID = config.GlobalDefinition.AppID\n\tinv.MicroServiceName = string(req.GetRequest().Host())\n\tinv.Args = newReq\n\tinv.Reply = resp\n\tinv.Ctx = ctx\n\tinv.URLPathFormat = req.Req.URI().String()\n\tinv.MethodType = req.GetMethod()\n\tc, err := handler.GetChain(common.Consumer, ri.opts.ChainName)\n\tif err != nil {\n\t\tlager.Logger.Errorf(err, \"Handler chain init err.\")\n\t\treturn nil, err\n\t}\n\tc.Next(inv, func(ir *invocation.InvocationResponse) error {\n\t\terr = ir.Err\n\t\treturn err\n\t})\n\treturn resp, err\n}", "func (c *ReportsInsertCall) Context(ctx context.Context) *ReportsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsInsertCall) Context(ctx context.Context) *PlacementsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DatasetsUndeleteCall) Context(ctx context.Context) *DatasetsUndeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysDeleteCall) Context(ctx context.Context) *DynamicTargetingKeysDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *LeaseCall) Context(ctx context.Context) *LeaseCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdsUpdateCall) Context(ctx context.Context) *AdsUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PagesListCall) Context(ctx context.Context) *PagesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrdersGetCall) Context(ctx context.Context) *OrdersGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *SyncStatusUsingGETParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *AdvertisersUpdateCall) Context(ctx context.Context) *AdvertisersUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) Context(ctx context.Context) *AdvertiserGroupsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsListCall) Context(ctx context.Context) *EventTagsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SpacesListCall) Context(ctx context.Context) *SpacesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *BillingAccountsListCall) Context(ctx context.Context) *BillingAccountsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (req *SetRequest) Context(ctx context.Context) *SetRequest {\n\treq.impl = req.impl.Context(ctx)\n\n\treturn req\n}", "func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *EventTagsInsertCall) Context(ctx context.Context) *EventTagsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *HeartbeatCall) Context(ctx context.Context) *HeartbeatCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PostsGetCall) Context(ctx context.Context) *PostsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SubaccountsInsertCall) Context(ctx context.Context) *SubaccountsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SizesInsertCall) Context(ctx context.Context) *SizesInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseListCall) Context(ctx context.Context) *CseListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *JobsDeleteByFilterCall) Context(ctx context.Context) *JobsDeleteByFilterCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RetryCall) Context(ctx context.Context) *RetryCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *FilesListCall) Context(ctx context.Context) *FilesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsGetCall) Context(ctx context.Context) *PlacementsGetCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsEndpointAttachmentsListCall) Context(ctx context.Context) *OrganizationsEndpointAttachmentsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (o *PostAsyncParams) SetContext(ctx context.Context) {\n\to.Context = ctx\n}", "func (c *MetrosListCall) Context(ctx context.Context) *MetrosListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *PlacementsPatchCall) Context(ctx context.Context) *PlacementsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *StatsGetSessionCall) Context(ctx context.Context) *StatsGetSessionCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CampaignsInsertCall) Context(ctx context.Context) *CampaignsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *AnalyticsListCall) Context(ctx context.Context) *AnalyticsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *CreativesUpdateCall) Context(ctx context.Context) *CreativesUpdateCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *RemarketingListsInsertCall) Context(ctx context.Context) *RemarketingListsInsertCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *SitemapsListCall) Context(ctx context.Context) *SitemapsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VideoFormatsListCall) Context(ctx context.Context) *VideoFormatsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OffersHistoryListCall) Context(ctx context.Context) *OffersHistoryListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *ReportsDeleteCall) Context(ctx context.Context) *ReportsDeleteCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *DynamicTargetingKeysListCall) Context(ctx context.Context) *DynamicTargetingKeysListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (cdp *Client) Context(ctx context.Context) *Client {\n\tctx, cancel := context.WithCancel(ctx)\n\tcdp.ctx = ctx\n\tcdp.ctxCancel = cancel\n\treturn cdp\n}", "func (c *SitemapsSubmitCall) Context(ctx context.Context) *SitemapsSubmitCall {\n\tc.ctx_ = ctx\n\treturn c\n}", "func (c *VariantsPatchCall) Context(ctx context.Context) *VariantsPatchCall {\n\tc.ctx_ = ctx\n\treturn c\n}" ]
[ "0.6621305", "0.6433859", "0.63825405", "0.6267439", "0.6141668", "0.6141668", "0.6141007", "0.6127824", "0.6121994", "0.61183655", "0.60936165", "0.6077952", "0.6068114", "0.60660803", "0.6057779", "0.60564685", "0.60546035", "0.6043477", "0.6020564", "0.60090107", "0.600508", "0.5994711", "0.5987672", "0.5982388", "0.5979128", "0.59755933", "0.5974571", "0.59706235", "0.59641457", "0.59641457", "0.5953709", "0.59506816", "0.5950409", "0.59486157", "0.59398407", "0.59378284", "0.5931306", "0.5930993", "0.592846", "0.5924421", "0.5913605", "0.5911278", "0.5909236", "0.5908447", "0.59054023", "0.5899479", "0.5895185", "0.5894129", "0.58939373", "0.588541", "0.588541", "0.5878475", "0.5876255", "0.5873829", "0.58693546", "0.58693546", "0.5867466", "0.58583224", "0.5856966", "0.5852097", "0.5849711", "0.5848298", "0.5847203", "0.58386993", "0.58378696", "0.5836297", "0.5835002", "0.58345085", "0.583407", "0.5833912", "0.5833403", "0.583314", "0.5823766", "0.58224314", "0.5820545", "0.581144", "0.5809311", "0.5807418", "0.58047247", "0.5804377", "0.5803749", "0.5802247", "0.58010495", "0.57990664", "0.57981485", "0.5796012", "0.5795882", "0.5795875", "0.57924724", "0.5791888", "0.5791179", "0.57867587", "0.57856166", "0.5784409", "0.5783997", "0.57796824", "0.57778233", "0.57778233", "0.5773365", "0.5771352", "0.577113" ]
0.0
-1
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (c *ProjectsLocationsOperationsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func Header(k, v string) RequestOpt { return func(r *http.Request) { r.Header.Add(k, v) } }", "func (c *PagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (r *BaseRequest) Header() http.Header {\n\tif r.header == nil {\n\t\tr.header = http.Header{}\n\t}\n\treturn r.header\n}", "func (c *PropertiesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperatingSystemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *Call) Header() http.Header {\n\treturn c.req.Header\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetUserCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesAddCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserEventsLogCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ContentRedactCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsTestIamPermissionsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ScriptsRunCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsEnvironmentsModifyEnvironmentCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DynamicTargetingKeysInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *JobsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ClaimsSearchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PagesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *EventTagsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SubaccountsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *PropertiesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaUploadCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSearchapplicationCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *DefaultCall) Header() http.Header {\n\tif c.header == nil {\n\t\tc.header = make(http.Header)\n\t}\n\treturn c.header\n}", "func (c *OperatingSystemVersionsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UsersUpdateProfileCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MediaItemsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferOperationsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeGroupsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsPatchTracesCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *DirectorySitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ReportsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TransferJobsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *TargetingTemplatesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CreativeFieldsInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FeaturetilesGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CseListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FoldersMoveCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetIndexCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsOccurrencesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AlbumsCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MobileAppsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *MetrosListCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ProjectsLocationsNfsSharesRenameCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *StatsGetSessionCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *OrganizationsSetIamPolicyCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AccountsUserLinksAuditCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesWebhooksCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SpacesMessagesCreateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *CampaignsUpdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *UserRolesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SitesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *AdsPatchCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ConversionsBatchupdateCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *FloodlightActivitiesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *ChangeLogsGetCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}", "func (c *SizesInsertCall) Header() http.Header {\n\tif c.header_ == nil {\n\t\tc.header_ = make(http.Header)\n\t}\n\treturn c.header_\n}" ]
[ "0.74025184", "0.72398114", "0.72318506", "0.722866", "0.7224622", "0.7220789", "0.7210501", "0.7204161", "0.72009283", "0.7194157", "0.71889573", "0.7188424", "0.7188424", "0.7186168", "0.7179334", "0.7176267", "0.7176267", "0.71708405", "0.71614456", "0.71598905", "0.7144839", "0.7144839", "0.7144839", "0.7142355", "0.7139215", "0.71329397", "0.7129801", "0.71295977", "0.71225166", "0.71162045", "0.7113504", "0.71099806", "0.7104228", "0.7104228", "0.71002996", "0.70998704", "0.7099628", "0.70985365", "0.70969874", "0.7095069", "0.709485", "0.70913005", "0.7089236", "0.70877826", "0.7086999", "0.70856774", "0.70733845", "0.707136", "0.707136", "0.70643264", "0.7058465", "0.70572513", "0.7055746", "0.7055746", "0.705351", "0.70534915", "0.70534915", "0.7052773", "0.7051343", "0.7050703", "0.70503557", "0.7049563", "0.704718", "0.7045271", "0.7039743", "0.703703", "0.70370084", "0.7030931", "0.7030212", "0.7029568", "0.702894", "0.702894", "0.7028559", "0.7028373", "0.7026413", "0.7025957", "0.7023024", "0.7023024", "0.702246", "0.702246", "0.7021795", "0.70200557", "0.70190567", "0.7019015", "0.7017178", "0.7016805", "0.7016344", "0.7010262", "0.7009017", "0.7009017", "0.70073354", "0.70073193", "0.70071864", "0.70036465", "0.70011663", "0.6999494", "0.69992286", "0.69984037", "0.69973457", "0.6996014", "0.69939053" ]
0.0
-1
Pages invokes f for each page of results. A nonnil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { x, err := c.Do() if err != nil { return err } if err := f(x); err != nil { return err } if x.NextPageToken == "" { return nil } c.PageToken(x.NextPageToken) } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugDatasourcesItemsSearchByViewUrlCall) Pages(ctx context.Context, f func(*SearchItemsByViewUrlResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchitemsbyviewurlrequest.PageToken = pt }(c.searchitemsbyviewurlrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchitemsbyviewurlrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *PermissionsQueryTestablePermissionsCall) Pages(ctx context.Context, f func(*QueryTestablePermissionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querytestablepermissionsrequest.PageToken = pt }(c.querytestablepermissionsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querytestablepermissionsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *JobsSearchForAlertCall) Pages(ctx context.Context, f func(*SearchJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchjobsrequest.PageToken = pt }(c.searchjobsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchjobsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MediaItemsSearchCall) Pages(ctx context.Context, f func(*SearchMediaItemsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchmediaitemsrequest.PageToken = pt }(c.searchmediaitemsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchmediaitemsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *FoldersSearchCall) Pages(ctx context.Context, f func(*SearchFoldersResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.searchfoldersrequest.PageToken = pt }(c.searchfoldersrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.searchfoldersrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OperationsLroListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTabularStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTabularStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytabularstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytabularstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytabularstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *OrdersListCall) Pages(ctx context.Context, f func(*OrdersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectResultsFindingsListCall) Pages(ctx context.Context, f func(*ListInspectFindingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CampaignsListCall) Pages(ctx context.Context, f func(*CampaignsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsBatchSearchLinkProcessesCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = pt }(c.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1batchsearchlinkprocessesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsSearchLinksCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1SearchLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleclouddatacataloglineagev1searchlinksrequest.PageToken = pt }(c.googleclouddatacataloglineagev1searchlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleclouddatacataloglineagev1searchlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Pages(ctx context.Context, f func(*ListItemNamesForUnmappedIdentityResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RemarketingListsListCall) Pages(ctx context.Context, f func(*RemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementsListCall) Pages(ctx context.Context, f func(*PlacementsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTraceSinksListCall) Pages(ctx context.Context, f func(*ListTraceSinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PostsListCall) Pages(ctx context.Context, f func(*PostList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrderDocumentsListCall) Pages(ctx context.Context, f func(*OrderDocumentsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *InspectOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsEnvironmentsSecurityStatsQueryTimeSeriesStatsCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1QueryTimeSeriesStatsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = pt }(c.googlecloudapigeev1querytimeseriesstatsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1querytimeseriesstatsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *DimensionValuesQueryCall) Pages(ctx context.Context, f func(*DimensionValueList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*ListEvaluationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsResultsListCall) Pages(ctx context.Context, f func(*ListExecutionResultsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsFilesListCall) Pages(ctx context.Context, f func(*FileList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) Pages(ctx context.Context, f func(*ListListingsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TargetableRemarketingListsListCall) Pages(ctx context.Context, f func(*TargetableRemarketingListsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *QuerySourcesListCall) Pages(ctx context.Context, f func(*ListQuerySourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) Pages(ctx context.Context, f func(*ListInventoriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsScannedResourcesListCall) Pages(ctx context.Context, f func(*ListScannedResourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*AdvertisersListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AdsListCall) Pages(ctx context.Context, f func(*AdsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = pt }(c.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphaaudituserlinksrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *ClaimsSearchCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OrganizationsSecurityProfilesEnvironmentsComputeEnvironmentScoresCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ComputeEnvironmentScoresResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = pt }(c.googlecloudapigeev1computeenvironmentscoresrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googlecloudapigeev1computeenvironmentscoresrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SpacesListCall) Pages(ctx context.Context, f func(*ListSpacesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) Pages(ctx context.Context, f func(*ListSharedResourceSubscriptionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PlacementStrategiesListCall) Pages(ctx context.Context, f func(*PlacementStrategiesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (o Oscar) IterateResults(f func(string, int, int, int, time.Duration, time.Duration, time.Duration)) {\n\tfor i, ts := range o.Suits {\n\t\tfor _, tc := range ts.GetCases() {\n\t\t\tcntErr := 0\n\t\t\tif tc.Error != nil {\n\t\t\t\tcntErr = 1\n\t\t\t}\n\t\t\tif cntErr == 0 && tc.CountAssertSuccess == 0 {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\telapsedTotal, elapsedHTTP, elapsedSleep := tc.Elapsed()\n\n\t\t\tf(\n\t\t\t\to.prefix(i)+tc.Name,\n\t\t\t\ttc.CountAssertSuccess,\n\t\t\t\tcntErr,\n\t\t\t\ttc.CountRemoteRequests,\n\t\t\t\telapsedTotal,\n\t\t\t\telapsedHTTP,\n\t\t\t\telapsedSleep,\n\t\t\t)\n\t\t}\n\t}\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsProvisioningQuotasListCall) Pages(ctx context.Context, f func(*ListProvisioningQuotasResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *RolesQueryGrantableRolesCall) Pages(ctx context.Context, f func(*QueryGrantableRolesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.querygrantablerolesrequest.PageToken = pt }(c.querygrantablerolesrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.querygrantablerolesrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *SitesListCall) Pages(ctx context.Context, f func(*SitesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesRunsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListRunsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsSearchChangeHistoryEventsCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer func(pt string) { c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = pt }(c.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.googleanalyticsadminv1alphasearchchangehistoryeventsrequest.PageToken = x.NextPageToken\n\t}\n}", "func (c *AnalyticsListCall) Pages(ctx context.Context, f func(*ListAnalyticsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsProcessesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogLineageV1ListProcessesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsEvaluationsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Pages(ctx context.Context, f func(*ListTimeSeriesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *JobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LicenseAssignmentsListForProductCall) Pages(ctx context.Context, f func(*LicenseAssignmentList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) Pages(ctx context.Context, f func(*ListOSPolicyAssignmentRevisionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *OffersHistoryListCall) Pages(ctx context.Context, f func(*ListOffersHistoryResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AccountsListCall) Pages(ctx context.Context, f func(*AccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ReportsListCall) Pages(ctx context.Context, f func(*ReportList) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *PagesListCall) Pages(ctx context.Context, f func(*GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ProjectsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsDataExchangesListCall) Pages(ctx context.Context, f func(*ListDataExchangesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsWorkflowsExecutionsListCall) Pages(ctx context.Context, f func(*ListExecutionsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativeFieldValuesListCall) Pages(ctx context.Context, f func(*CreativeFieldValuesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) Pages(ctx context.Context, f func(*ListUnmappedIdentitiesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsMonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsOccurrencesListCall) Pages(ctx context.Context, f func(*ListOccurrencesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsListCall) Pages(ctx context.Context, f func(*ListProjectsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsDataSourcesListCall) Pages(ctx context.Context, f func(*ListDataSourcesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *LeadsListCall) Pages(ctx context.Context, f func(*ListLeadsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *SubaccountsListCall) Pages(ctx context.Context, f func(*SubaccountsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *ProjectsLocationsInstancesVulnerabilityReportsListCall) Pages(ctx context.Context, f func(*ListVulnerabilityReportsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *MobileAppsListCall) Pages(ctx context.Context, f func(*MobileAppsListResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}", "func (c *AlbumsListCall) Pages(ctx context.Context, f func(*ListAlbumsResponse) error) error {\n\tc.ctx_ = ctx\n\tdefer c.PageToken(c.urlParams_.Get(\"pageToken\")) // reset paging to original point\n\tfor {\n\t\tx, err := c.Do()\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := f(x); err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif x.NextPageToken == \"\" {\n\t\t\treturn nil\n\t\t}\n\t\tc.PageToken(x.NextPageToken)\n\t}\n}" ]
[ "0.6385117", "0.6385117", "0.61931336", "0.6050255", "0.60377496", "0.5975343", "0.58254594", "0.5795353", "0.57905704", "0.5761761", "0.5742627", "0.5742344", "0.57122064", "0.57009333", "0.56289726", "0.56259596", "0.56259596", "0.56147516", "0.5610384", "0.5607374", "0.5596183", "0.5594848", "0.5593261", "0.5592294", "0.5590366", "0.55852586", "0.55809414", "0.557982", "0.5567525", "0.5559744", "0.5518865", "0.5504205", "0.5504205", "0.5472661", "0.5453397", "0.54517", "0.5441173", "0.5441097", "0.5439732", "0.54371125", "0.54345626", "0.5428048", "0.54100716", "0.5406775", "0.5400785", "0.53902346", "0.5389011", "0.538833", "0.5384844", "0.5384844", "0.5378772", "0.53786814", "0.5378518", "0.5376497", "0.5376164", "0.536123", "0.53612185", "0.5357891", "0.5357589", "0.5347534", "0.53216285", "0.5320439", "0.53201383", "0.5314906", "0.53144175", "0.53143954", "0.5308083", "0.5302698", "0.5297023", "0.5297023", "0.5290678", "0.528609", "0.5281889", "0.52758133", "0.52758133", "0.52602905", "0.5257285", "0.52530783", "0.52392113", "0.5234598", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.5231623", "0.52303785", "0.5225146", "0.5221611", "0.5207218", "0.5207218", "0.5202638", "0.51928514", "0.5190276", "0.51826805" ]
0.5240184
80
CustomRulesBucket sets the optional parameter "customRulesBucket": The Cloud Storage bucket name for custom rules.
func (c *ProjectsLocationsRulesListCall) CustomRulesBucket(customRulesBucket string) *ProjectsLocationsRulesListCall { c.urlParams_.Set("customRulesBucket", customRulesBucket) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o BucketReplicationConfigRuleDestinationOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v BucketReplicationConfigRuleDestination) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (o MrScalarConfigurationsFileOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v MrScalarConfigurationsFile) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (evnot *EventNotifier) RemoveRulesMap(bucketName string, rulesMap event.RulesMap) {\n\tevnot.Lock()\n\tdefer evnot.Unlock()\n\n\tevnot.bucketRulesMap[bucketName].Remove(rulesMap)\n\tif len(evnot.bucketRulesMap[bucketName]) == 0 {\n\t\tdelete(evnot.bucketRulesMap, bucketName)\n\t}\n}", "func (o BucketReplicationConfigurationRuleDestinationOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v BucketReplicationConfigurationRuleDestination) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (o BucketV2ReplicationConfigurationRuleDestinationOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v BucketV2ReplicationConfigurationRuleDestination) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (o *DeleteDataSourceParams) SetObjectsBucket(objectsBucket *string) {\n\to.ObjectsBucket = objectsBucket\n}", "func (evnot *EventNotifier) AddRulesMap(bucketName string, rulesMap event.RulesMap) {\n\tevnot.Lock()\n\tdefer evnot.Unlock()\n\n\trulesMap = rulesMap.Clone()\n\n\t// Do not add for an empty rulesMap.\n\tif len(rulesMap) == 0 {\n\t\tdelete(evnot.bucketRulesMap, bucketName)\n\t} else {\n\t\tevnot.bucketRulesMap[bucketName] = rulesMap\n\t}\n}", "func (o MrScalarStepsFileOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v MrScalarStepsFile) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (o TopicRuleS3Output) BucketName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v TopicRuleS3) string { return v.BucketName }).(pulumi.StringOutput)\n}", "func (o MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesOutput) BucketName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationProperties) string {\n\t\treturn v.BucketName\n\t}).(pulumi.StringOutput)\n}", "func (o TopicRuleS3PtrOutput) BucketName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *TopicRuleS3) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.BucketName\n\t}).(pulumi.StringPtrOutput)\n}", "func (o MrScalarBootstrapActionsFileOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v MrScalarBootstrapActionsFile) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (j *JetStreamRecord) SetBucket(b string) *JetStreamRecord {\n\tj.bucket = b\n\treturn j\n}", "func (o MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesPtrOutput) BucketName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationProperties) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.BucketName\n\t}).(pulumi.StringPtrOutput)\n}", "func (o ObjectAccessControlTypeOutput) Bucket() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v ObjectAccessControlType) *string { return v.Bucket }).(pulumi.StringPtrOutput)\n}", "func (s *AutoExportRevisionDestinationEntry) SetBucket(v string) *AutoExportRevisionDestinationEntry {\n\ts.Bucket = &v\n\treturn s\n}", "func (s *PipelineOutputConfig) SetBucket(v string) *PipelineOutputConfig {\n\ts.Bucket = &v\n\treturn s\n}", "func (s *RevisionDestinationEntry) SetBucket(v string) *RevisionDestinationEntry {\n\ts.Bucket = &v\n\treturn s\n}", "func (b *fakeBosClient) PutBucket(bucket string) (string, error) {\n\treturn \"\", fmt.Errorf(\"test\")\n}", "func (cache *SiaCacheLayer) SetBucketPolicies(bucket string, policyInfo policy.BucketAccessPolicy) *SiaServiceError {\n\tcache.debugmsg(\"SiaCacheLayer.SetBucketPolicies\")\n\tres, _ := json.Marshal(&policyInfo)\n\treturn cache.dbUpdateBucketPolicies(bucket, string(res))\n}", "func ConfigureBucket(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error {\n\tbcm, cmok := cm.(*storagev1alpha1.Bucket)\n\tif !cmok {\n\t\treturn errors.Errorf(\"expected resource claim %s to be %s\", cm.GetName(), storagev1alpha1.BucketGroupVersionKind)\n\t}\n\n\trs, csok := cs.(*v1alpha3.BucketClass)\n\tif !csok {\n\t\treturn errors.Errorf(\"expected resource class %s to be %s\", cs.GetName(), v1alpha3.BucketClassGroupVersionKind)\n\t}\n\n\tbmg, mgok := mg.(*v1alpha3.Bucket)\n\tif !mgok {\n\t\treturn errors.Errorf(\"expected managed resource %s to be %s\", mg.GetName(), v1alpha3.BucketGroupVersionKind)\n\t}\n\n\tspec := &v1alpha3.BucketSpec{\n\t\tResourceSpec: runtimev1alpha1.ResourceSpec{\n\t\t\tReclaimPolicy: runtimev1alpha1.ReclaimRetain,\n\t\t},\n\t\tBucketParameters: rs.SpecTemplate.BucketParameters,\n\t}\n\n\t// Set PredefinedACL from bucketClaim claim only iff: claim has this value and\n\t// it is not defined in the resource class (i.e. not already in the spec)\n\tif bcm.Spec.PredefinedACL != nil && spec.PredefinedACL == \"\" {\n\t\tspec.PredefinedACL = string(*bcm.Spec.PredefinedACL)\n\t}\n\n\tspec.WriteConnectionSecretToReference = &runtimev1alpha1.SecretReference{\n\t\tNamespace: rs.SpecTemplate.WriteConnectionSecretsToNamespace,\n\t\tName: string(cm.GetUID()),\n\t}\n\tspec.ProviderReference = rs.SpecTemplate.ProviderReference\n\tspec.ReclaimPolicy = rs.SpecTemplate.ReclaimPolicy\n\n\tbmg.Spec = *spec\n\n\treturn nil\n}", "func (s *ReportDefinition) SetS3Bucket(v string) *ReportDefinition {\n\ts.S3Bucket = &v\n\treturn s\n}", "func (o TopicRuleErrorActionS3Output) BucketName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v TopicRuleErrorActionS3) string { return v.BucketName }).(pulumi.StringOutput)\n}", "func (this *HttpClient) WatchBucket(name string, cache *lru.Cache, dynamicBucket *DynamicBucket){\n\tbackOff := &backoff.Backoff{\n\t\tMin: 1 * time.Second,\n\t\tMax: 300 * time.Second,\n\t\tJitter: true,\n\t}\n\tfor {\n\t\tlog.Println(\"Setting watch on bucket: \", name)\n\t\twatchAsync := WatchAsync{\n\t\t\tbucketName: name,\n\t\t\tdynamicBucket: dynamicBucket,\n\t\t\tasyncResp: make(chan *BucketResponse),\n\t\t\thttpClient: this,\n\t\t}\n\n\t\tselect {\n\t\tcase bucketResp := <- watchAsync.watch():\n\n\t\t\tif bucketResp.err != nil && bucketResp.statusCode == 404 {\n\t\t\t\tlog.Println(\"Stopping watch on bucket: \", name)\n\t\t\t\tdynamicBucket.DeleteBucket()\n\t\t\t\tcache.Remove(name)\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif bucketResp.err != nil {\n\t\t\t\tlog.Println(\"Error fetching bucket: \", bucketResp.err)\n\t\t\t\tdynamicBucket.Disconnected(bucketResp.err)\n\t\t\t\ttime.Sleep(backOff.Duration())\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t backOff.Reset()\n\t\t\tdynamicBucket.updateBucket(bucketResp.bucket)\n\n\t\tcase <- dynamicBucket.isShutdown():\n\t\t\tlog.Println(\"Stopping watch on bucket: \", name)\n\t\t\treturn\n\n\t\t}\n\t}\n}", "func NewMockBucket(ctrl *gomock.Controller) *MockBucket {\n\tmock := &MockBucket{ctrl: ctrl}\n\tmock.recorder = &MockBucketMockRecorder{mock}\n\treturn mock\n}", "func (km *KeyValueMap) SetBucket(bucket string) {\n\t(*km)[kmBucket] = bucket\n}", "func (o BucketOutput) CorsRules() BucketCorsRuleArrayOutput {\n\treturn o.ApplyT(func(v *Bucket) BucketCorsRuleArrayOutput { return v.CorsRules }).(BucketCorsRuleArrayOutput)\n}", "func (c *SiteReplicationSys) BucketMetaHook(ctx context.Context, item madmin.SRBucketMeta) error {\n\t// The change has already been applied to the local cluster at this\n\t// point, and only needs to be updated on all remote peer clusters.\n\n\tc.RLock()\n\tdefer c.RUnlock()\n\tif !c.enabled {\n\t\treturn nil\n\t}\n\n\tcErr := c.concDo(nil, func(d string, p madmin.PeerInfo) error {\n\t\tadmClient, err := c.getAdminClient(ctx, d)\n\t\tif err != nil {\n\t\t\treturn wrapSRErr(err)\n\t\t}\n\n\t\terr = admClient.SRInternalReplicateBucketMeta(ctx, item)\n\t\tlogger.LogIf(ctx, c.annotatePeerErr(p.Name, \"SRInternalReplicateBucketMeta\", err))\n\t\treturn err\n\t})\n\treturn cErr.summaryErr\n}", "func (s *PipelineDefinitionS3Location) SetBucket(v string) *PipelineDefinitionS3Location {\n\ts.Bucket = &v\n\treturn s\n}", "func (s *peerRESTServer) PutBucketNotificationHandler(w http.ResponseWriter, r *http.Request) {\n\tif !s.IsValid(w, r) {\n\t\ts.writeErrorResponse(w, errors.New(\"Invalid request\"))\n\t\treturn\n\t}\n\n\tvars := mux.Vars(r)\n\tbucketName := vars[peerRESTBucket]\n\tif bucketName == \"\" {\n\t\ts.writeErrorResponse(w, errors.New(\"Bucket name is missing\"))\n\t\treturn\n\t}\n\n\tvar rulesMap event.RulesMap\n\tif r.ContentLength < 0 {\n\t\ts.writeErrorResponse(w, errInvalidArgument)\n\t\treturn\n\t}\n\n\terr := gob.NewDecoder(r.Body).Decode(&rulesMap)\n\tif err != nil {\n\t\ts.writeErrorResponse(w, err)\n\t\treturn\n\t}\n\n\tglobalNotificationSys.AddRulesMap(bucketName, rulesMap)\n\tw.(http.Flusher).Flush()\n}", "func (op *Options) AddBucket(bucket []byte) {\n\top.Bucket = bucket\n}", "func NewBucket(boptions BucketOptions) (b *Bucket) {\n\tb = new(Bucket)\n\tb.boptions = boptions\n\tb.chs = make(map[string]*Channel, boptions.ChannelSize)\n\treturn\n}", "func (s *AssetSourceEntry) SetBucket(v string) *AssetSourceEntry {\n\ts.Bucket = &v\n\treturn s\n}", "func (ct *ctrlerCtx) WatchBucket(handler BucketHandler) error {\n\tkind := \"Bucket\"\n\n\t// see if we already have a watcher\n\tct.Lock()\n\t_, ok := ct.watchCancel[kind]\n\tct.Unlock()\n\tif ok {\n\t\treturn fmt.Errorf(\"Bucket watcher already exists\")\n\t}\n\n\t// save handler\n\tct.Lock()\n\tct.handlers[kind] = handler\n\tct.Unlock()\n\n\t// run Bucket watcher in a go routine\n\tct.runBucketWatcher()\n\n\treturn nil\n}", "func (o TopicRuleErrorActionS3PtrOutput) BucketName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *TopicRuleErrorActionS3) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.BucketName\n\t}).(pulumi.StringPtrOutput)\n}", "func (s *S3DataAccessAssetSourceEntry) SetBucket(v string) *S3DataAccessAssetSourceEntry {\n\ts.Bucket = &v\n\treturn s\n}", "func (o BucketAccessControlTypeOutput) Bucket() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v BucketAccessControlType) *string { return v.Bucket }).(pulumi.StringPtrOutput)\n}", "func TriggerLambdaArnsForBucket(bucket string, arns []*string) error {\n\treturn TriggerLambdaArnsForBucketWithPrefix(bucket, \"\", arns)\n}", "func (s *AssetDestinationEntry) SetBucket(v string) *AssetDestinationEntry {\n\ts.Bucket = &v\n\treturn s\n}", "func PutBucket(ctx context.Context, project, bucket string, cfg *pb.Bucket) {\n\tif cfg == nil {\n\t\tcfg = &pb.Bucket{}\n\t}\n\tif cfg.Name == \"\" {\n\t\tcfg.Name = bucket\n\t}\n\tconvey.So(datastore.Put(ctx, &model.Bucket{\n\t\tParent: model.ProjectKey(ctx, project),\n\t\tID: bucket,\n\t\tProto: cfg,\n\t}), convey.ShouldBeNil)\n}", "func (s *ExportTask) SetS3Bucket(v string) *ExportTask {\n\ts.S3Bucket = &v\n\treturn s\n}", "func (s *StartExportInput) SetS3Bucket(v string) *StartExportInput {\n\ts.S3Bucket = &v\n\treturn s\n}", "func (s *S3ObjectSource) SetBucket(v string) *S3ObjectSource {\n\ts.Bucket = &v\n\treturn s\n}", "func (s *ContinuousExportDescription) SetS3Bucket(v string) *ContinuousExportDescription {\n\ts.S3Bucket = &v\n\treturn s\n}", "func (o BucketReplicationConfigOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v *BucketReplicationConfig) pulumi.StringOutput { return v.Bucket }).(pulumi.StringOutput)\n}", "func NewBucket(ctx *pulumi.Context,\n\tname string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error) {\n\tif args == nil {\n\t\treturn nil, errors.New(\"missing one or more required arguments\")\n\t}\n\n\tif args.Bucket == nil {\n\t\treturn nil, errors.New(\"invalid value for required argument 'Bucket'\")\n\t}\n\tif args.OutpostId == nil {\n\t\treturn nil, errors.New(\"invalid value for required argument 'OutpostId'\")\n\t}\n\tvar resource Bucket\n\terr := ctx.RegisterResource(\"aws:s3control/bucket:Bucket\", name, args, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func validCustomRules(purlType, name, ns, version string, qualifiers Qualifiers) error {\n\tq := qualifiers.Map()\n\tswitch purlType {\n\tcase TypeConan:\n\t\tif ns != \"\" {\n\t\t\tif val, ok := q[\"channel\"]; ok {\n\t\t\t\tif val == \"\" {\n\t\t\t\t\treturn errors.New(\"the qualifier channel must be not empty if namespace is present\")\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn errors.New(\"channel qualifier does not exist\")\n\t\t\t}\n\t\t} else {\n\t\t\tif val, ok := q[\"channel\"]; ok {\n\t\t\t\tif val != \"\" {\n\t\t\t\t\treturn errors.New(\"namespace is required if channel is non empty\")\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\tcase TypeSwift:\n\t\tif ns == \"\" {\n\t\t\treturn errors.New(\"namespace is required\")\n\t\t}\n\t\tif version == \"\" {\n\t\t\treturn errors.New(\"version is required\")\n\t\t}\n\tcase TypeCran:\n\t\tif version == \"\" {\n\t\t\treturn errors.New(\"version is required\")\n\t\t}\n\t}\n\treturn nil\n}", "func (o ObjectAccessControlResponseOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v ObjectAccessControlResponse) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (o FunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v FunctionBuildConfigSourceStorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput)\n}", "func ConfigureS3Bucket(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error {\n\tbucketClaim, cmok := cm.(*storagev1alpha1.Bucket)\n\tif !cmok {\n\t\treturn errors.Errorf(\"expected resource claim %s to be %s\", cm.GetName(), storagev1alpha1.BucketGroupVersionKind)\n\t}\n\n\ts3BucketClass, csok := cs.(*cloudscaleStoragev1alpha1.S3BucketClass)\n\tif !csok {\n\t\treturn errors.Errorf(\"expected resource class %s to be %s\", cs.GetName(), cloudscaleStoragev1alpha1.S3BucketClassGroupVersionKind)\n\t}\n\n\ts3Bucket, mgok := mg.(*cloudscaleStoragev1alpha1.S3Bucket)\n\tif !mgok {\n\t\treturn errors.Errorf(\"expected managed resource %s to be %s\", mg.GetName(), cloudscaleStoragev1alpha1.S3BucketGroupVersionKind)\n\t}\n\n\tspec := &cloudscaleStoragev1alpha1.S3BucketSpec{\n\t\tResourceSpec: runtimev1alpha1.ResourceSpec{\n\t\t\tReclaimPolicy: runtimev1alpha1.ReclaimRetain,\n\t\t},\n\t\tForProvider: s3BucketClass.SpecTemplate.ForProvider,\n\t}\n\n\tif s3BucketClass.SpecTemplate.ReclaimPolicy != \"\" {\n\t\tspec.ResourceSpec.ReclaimPolicy = s3BucketClass.SpecTemplate.ReclaimPolicy\n\t}\n\n\tif bucketClaim.Spec.PredefinedACL != nil {\n\t\tspec.ForProvider.CannedACL = translateACL(bucketClaim.Spec.PredefinedACL)\n\t}\n\n\tspec.WriteConnectionSecretToReference = &runtimev1alpha1.SecretReference{\n\t\tNamespace: s3BucketClass.SpecTemplate.WriteConnectionSecretsToNamespace,\n\t\tName: string(cm.GetUID()),\n\t}\n\tspec.ProviderReference = s3BucketClass.SpecTemplate.ProviderReference\n\n\ts3Bucket.Spec = *spec\n\n\treturn nil\n}", "func (s *StartContinuousExportOutput) SetS3Bucket(v string) *StartContinuousExportOutput {\n\ts.S3Bucket = &v\n\treturn s\n}", "func NewBucket(tokens uint64) *Bucket {\n\treturn &Bucket{Added: float64(tokens)}\n}", "func (c *PeekCall) Bucket(bucket ...string) *PeekCall {\n\tc.urlParams_.SetMulti(\"bucket\", append([]string{}, bucket...))\n\treturn c\n}", "func (cache *SiaCacheLayer) DeleteBucketPolicies(bucket string) *SiaServiceError {\n\tcache.debugmsg(\"SiaCacheLayer.DeleteBucketPolicies\")\n\n\treturn cache.dbUpdateBucketPolicies(bucket, \"\")\n}", "func (b *Bucket) ChkBucket() (bool, error) {\n\t// set session\n\tsess, err := b.setSession()\n\tif err != nil {\n\t\treturn false, err\n\t}\n\n\t// list buckets\n\tsvc := b.newS3func(sess)\n\tresult, err := svc.ListBuckets(nil)\n\tif err != nil {\n\t\treturn false, err\n\t}\n\tklog.Info(\"Buckets:\")\n\tfound := false\n\tfor _, bu := range result.Buckets {\n\t\tklog.Infof(\"-- %s created on %s\\n\", aws.StringValue(bu.Name), aws.TimeValue(bu.CreationDate))\n\t\tif aws.StringValue(bu.Name) == b.BucketName {\n\t\t\tfound = true\n\t\t}\n\t}\n\n\treturn found, nil\n}", "func (bm *BucketManager) InsertBucket(settings *BucketSettings) error {\n\tposts := url.Values{}\n\tposts.Add(\"name\", settings.Name)\n\tif settings.Type == Couchbase {\n\t\tposts.Add(\"bucketType\", \"couchbase\")\n\t} else if settings.Type == Memcached {\n\t\tposts.Add(\"bucketType\", \"memcached\")\n\t} else if settings.Type == Ephemeral {\n\t\tposts.Add(\"bucketType\", \"ephemeral\")\n\t} else {\n\t\tpanic(\"Unrecognized bucket type.\")\n\t}\n\tif settings.FlushEnabled {\n\t\tposts.Add(\"flushEnabled\", \"1\")\n\t} else {\n\t\tposts.Add(\"flushEnabled\", \"0\")\n\t}\n\tposts.Add(\"replicaNumber\", fmt.Sprintf(\"%d\", settings.Replicas))\n\tposts.Add(\"authType\", \"sasl\")\n\tposts.Add(\"saslPassword\", settings.Password)\n\tposts.Add(\"ramQuotaMB\", fmt.Sprintf(\"%d\", settings.Quota))\n\n\tdata := []byte(posts.Encode())\n\n\treq := &gocbcore.HttpRequest{\n\t\tService: gocbcore.ServiceType(MgmtService),\n\t\tPath: \"/pools/default/buckets\",\n\t\tMethod: \"POST\",\n\t\tBody: data,\n\t\tContentType: \"application/x-www-form-urlencoded\",\n\t}\n\n\tresp, err := bm.httpClient.DoHttpRequest(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif resp.StatusCode != 202 {\n\t\tdata, err := ioutil.ReadAll(resp.Body)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\terr = resp.Body.Close()\n\t\tif err != nil {\n\t\t\tlogDebugf(\"Failed to close socket (%s)\", err)\n\t\t}\n\t\treturn networkError{statusCode: resp.StatusCode, message: string(data)}\n\t}\n\n\treturn nil\n}", "func (ct *ctrlerCtx) handleBucketEvent(evt *kvstore.WatchEvent) error {\n\n\tif ct.objResolver == nil {\n\t\treturn ct.handleBucketEventNoResolver(evt)\n\t}\n\n\tswitch tp := evt.Object.(type) {\n\tcase *objstore.Bucket:\n\t\teobj := evt.Object.(*objstore.Bucket)\n\t\tkind := \"Bucket\"\n\n\t\tlog.Infof(\"Watcher: Got %s watch event(%s): {%+v}\", kind, evt.Type, eobj)\n\n\t\tctx := &bucketCtx{event: evt.Type,\n\t\t\tobj: &Bucket{Bucket: *eobj, ctrler: ct}}\n\n\t\tvar err error\n\t\tswitch evt.Type {\n\t\tcase kvstore.Created:\n\t\t\terr = ct.processAdd(ctx)\n\t\tcase kvstore.Updated:\n\t\t\terr = ct.processUpdate(ctx)\n\t\tcase kvstore.Deleted:\n\t\t\terr = ct.processDelete(ctx)\n\t\t}\n\t\treturn err\n\tdefault:\n\t\tct.logger.Fatalf(\"API watcher Found object of invalid type: %v on Bucket watch channel\", tp)\n\t}\n\n\treturn nil\n}", "func NewCustomRule(id eval.RuleID, description string) *rules.Rule {\n\treturn &rules.Rule{\n\t\tRule: &eval.Rule{ID: id},\n\t\tDefinition: &rules.RuleDefinition{ID: id, Description: description},\n\t}\n}", "func (km KeyValueMap) Bucket() string {\n\treturn km[kmBucket]\n}", "func ConfigureS3Bucket(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error {\n\tb, cmok := cm.(*storagev1alpha1.Bucket)\n\tif !cmok {\n\t\treturn errors.Errorf(\"expected resource claim %s to be %s\", cm.GetName(), storagev1alpha1.BucketGroupVersionKind)\n\t}\n\n\trs, csok := cs.(*v1alpha3.S3BucketClass)\n\tif !csok {\n\t\treturn errors.Errorf(\"expected resource class %s to be %s\", cs.GetName(), v1alpha3.S3BucketClassGroupVersionKind)\n\t}\n\n\ts3b, mgok := mg.(*v1alpha3.S3Bucket)\n\tif !mgok {\n\t\treturn errors.Errorf(\"expected managed resource %s to be %s\", mg.GetName(), v1alpha3.S3BucketGroupVersionKind)\n\t}\n\n\tspec := &v1alpha3.S3BucketSpec{\n\t\tResourceSpec: runtimev1alpha1.ResourceSpec{\n\t\t\tReclaimPolicy: runtimev1alpha1.ReclaimRetain,\n\t\t},\n\t\tS3BucketParameters: rs.SpecTemplate.S3BucketParameters,\n\t}\n\n\tif b.Spec.PredefinedACL != nil {\n\t\tspec.CannedACL = translateACL(b.Spec.PredefinedACL)\n\t}\n\n\tif b.Spec.LocalPermission != nil {\n\t\tspec.LocalPermission = b.Spec.LocalPermission\n\t}\n\n\tspec.WriteConnectionSecretToReference = &runtimev1alpha1.SecretReference{\n\t\tNamespace: rs.SpecTemplate.WriteConnectionSecretsToNamespace,\n\t\tName: string(cm.GetUID()),\n\t}\n\tspec.ProviderReference = rs.SpecTemplate.ProviderReference.DeepCopy()\n\tspec.ReclaimPolicy = rs.SpecTemplate.ReclaimPolicy\n\n\ts3b.Spec = *spec\n\n\treturn nil\n}", "func RealBucketARN(arn apis.ARN) string {\n\tarn.Region = \"\"\n\tarn.AccountID = \"\"\n\n\treturn arn.String()\n}", "func (in *Bucket) DeepCopy() *Bucket {\n\tif in == nil {\n\t\treturn nil\n\t}\n\tout := new(Bucket)\n\tin.DeepCopyInto(out)\n\treturn out\n}", "func (s *AudioLogDestination) SetS3Bucket(v *S3BucketLogDestination) *AudioLogDestination {\n\ts.S3Bucket = v\n\treturn s\n}", "func (l *pydioObjects) DeleteBucket(ctx context.Context, bucket string) error {\n\treturn minio.NotImplemented{}\n}", "func (a *FileStorageApiService) UpdateBucket(Ctx _context.Context, bucketId string) ApiUpdateBucketRequest {\n\treturn ApiUpdateBucketRequest{\n\t\tApiService: a,\n\t\tCtx: Ctx,\n\t\tP_bucketId: bucketId,\n\t}\n}", "func (o RepositoryAssociationRepositoryS3BucketOutput) BucketName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v RepositoryAssociationRepositoryS3Bucket) string { return v.BucketName }).(pulumi.StringOutput)\n}", "func (o *ShortenBitlinkBodyAllOf) SetCustomBitlinks(v []string) {\n\to.CustomBitlinks = &v\n}", "func (s *S3DataAccessAsset) SetBucket(v string) *S3DataAccessAsset {\n\ts.Bucket = &v\n\treturn s\n}", "func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *FunctionBuildConfigSourceStorageSource) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn v.Bucket\n\t}).(pulumi.StringPtrOutput)\n}", "func (c *SearchCall) Bucket(bucket ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"bucket\", append([]string{}, bucket...))\n\treturn c\n}", "func (o RepositoryAssociationS3RepositoryDetailOutput) BucketName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v RepositoryAssociationS3RepositoryDetail) *string { return v.BucketName }).(pulumi.StringPtrOutput)\n}", "func (r *Bucket) CorsRules() pulumi.ArrayOutput {\n\treturn (pulumi.ArrayOutput)(r.s.State[\"corsRules\"])\n}", "func (b *Bucket) Bucket(name string) *Bucket { panic(\"n/i\") }", "func (driver donutDriver) CreateBucket(bucket string) error {\n\treturn notImplemented()\n}", "func BucketPolicy(bucketName string, roleName string) (json.RawMessage, error) {\n\tswitch roleName {\n\tcase \"admin\":\n\t\treturn []byte(fmt.Sprintf(`{\n\t\t\t\"Version\": \"2012-10-17\",\n\t\t\t\"Statement\": [{\n\t\t\t\t\"Effect\": \"Allow\",\n\t\t\t\t\"Action\": [\n\t\t\t\t\t\"s3:*\"\n\t\t\t\t],\n\t\t\t\t\"Resource\": [\n\t\t\t\t\t\"arn:aws:s3:::%s/*\"\n\t\t\t\t]\n\t\t\t}]\n\t\t}`, bucketName)), nil\n\tcase \"read-only\":\n\t\treturn []byte(fmt.Sprintf(`{\n\t\t\t\"Version\": \"2012-10-17\",\n\t\t\t\"Statement\": [{\n\t\t\t\t\"Effect\": \"Allow\",\n\t\t\t\t\"Action\": [\n\t\t\t\t\t\"s3:ListBucket\",\n\t\t\t\t\t\"s3:GetBucketLocation\",\n\t\t\t\t\t\"s3:GetObject\",\n\t\t\t\t\t\"s3:GetObjectVersion\"\n\t\t\t\t],\n\t\t\t\t\"Resource\": [\n\t\t\t\t\t\"arn:aws:s3:::%s/*\"\n\t\t\t\t]\n\t\t\t}]\n\t\t}`, bucketName)), nil\n\t}\n\n\treturn nil, fmt.Errorf(\"Invalid key role\")\n}", "func (o TransferJobTransferSpecGcsDataSinkOutput) BucketName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v TransferJobTransferSpecGcsDataSink) string { return v.BucketName }).(pulumi.StringOutput)\n}", "func (ct *ctrlerCtx) StopWatchBucket(handler BucketHandler) error {\n\tkind := \"Bucket\"\n\n\t// see if we already have a watcher\n\tct.Lock()\n\t_, ok := ct.watchCancel[kind]\n\tct.Unlock()\n\tif !ok {\n\t\treturn fmt.Errorf(\"Bucket watcher does not exist\")\n\t}\n\n\tct.Lock()\n\tcancelEntry, _ := ct.watchCancel[kind]\n\tcancelEntry.cancelFn()\n\tif _, ok := ct.watchers[kind]; ok {\n\t\tdelete(ct.watchers, kind)\n\t}\n\tdelete(ct.watchCancel, kind)\n\tct.Unlock()\n\n\tcancelEntry.wg.Wait() // Watcher thread may try to read the workPool entry\n\n\tct.Lock()\n\tworkerPool := ct.workPools[kind]\n\tdelete(ct.workPools, kind)\n\tct.Unlock()\n\n\tworkerPool.Stop()\n\n\ttime.Sleep(100 * time.Millisecond)\n\n\treturn nil\n}", "func (b *fakeBosClient) DeleteBucket(bucket string) error {\n\n\treturn fmt.Errorf(\"test\")\n}", "func (s *GrammarSlotTypeSource) SetS3BucketName(v string) *GrammarSlotTypeSource {\n\ts.S3BucketName = &v\n\treturn s\n}", "func (jm *JobManager) NewBucket() *Bucket {\n\tbucket := NewBucket()\n\tbucket.index = len(jm.buckets)\n\tjm.buckets = append(jm.buckets, bucket)\n\treturn bucket\n}", "func (iob *IndexOptionsBuilder) BucketSize(bucketSize int32) *IndexOptionsBuilder {\n\tiob.document = append(iob.document, bson.E{\"bucketSize\", bucketSize})\n\treturn iob\n}", "func (o *VersionedFlowCoordinates) SetBucketId(v string) {\n\to.BucketId = &v\n}", "func ValidateCOSIBucketClaim(objectName string, namespace string, spec nbv1.BucketClassSpec, isCLI bool) error {\n\treturn validateAdditionalParameters(objectName, namespace, spec, isCLI)\n}", "func NewBucket(ctx *pulumi.Context,\n\tname string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error) {\n\tif args == nil {\n\t\treturn nil, errors.New(\"missing one or more required arguments\")\n\t}\n\n\tif args.OutpostId == nil {\n\t\treturn nil, errors.New(\"invalid value for required argument 'OutpostId'\")\n\t}\n\topts = internal.PkgResourceDefaultOpts(opts)\n\tvar resource Bucket\n\terr := ctx.RegisterResource(\"aws-native:s3outposts:Bucket\", name, args, &resource, opts...)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &resource, nil\n}", "func (s *Destination) SetS3Bucket(v *S3Bucket) *Destination {\n\ts.S3Bucket = v\n\treturn s\n}", "func Bucketize(scope *Scope, input tf.Output, boundaries []float32) (output tf.Output) {\n\tif scope.Err() != nil {\n\t\treturn\n\t}\n\tattrs := map[string]interface{}{\"boundaries\": boundaries}\n\topspec := tf.OpSpec{\n\t\tType: \"Bucketize\",\n\t\tInput: []tf.Input{\n\t\t\tinput,\n\t\t},\n\t\tAttrs: attrs,\n\t}\n\top := scope.AddOperation(opspec)\n\treturn op.Output(0)\n}", "func (o BucketAccessControlResponseOutput) Bucket() pulumi.StringOutput {\n\treturn o.ApplyT(func(v BucketAccessControlResponse) string { return v.Bucket }).(pulumi.StringOutput)\n}", "func (s *S3Location) SetBucket(v string) *S3Location {\n\ts.Bucket = &v\n\treturn s\n}", "func AddBucket(name string) {\n\tbucketsToAdd = append(bucketsToAdd, name)\n}", "func validateBucket(bucket *userdb.Bucket) error {\n\tmaskedAccessKey := maskAccessKey(bucket.AWSSecretAccessKey)\n\tlog.Printf(\"Validating Bucket: %s/%s, AccessKeyID: %s, SecretAccessKey: %s\", bucket.Bucketname, bucket.ReportPath, bucket.AWSAccessKeyID, maskedAccessKey)\n\tregion, err := billingbucket.GetBucketRegion(bucket.Bucketname)\n\tif err != nil {\n\t\treturn err\n\t}\n\tbucket.Region = region\n\tbillbuck, err := billingbucket.NewAWSBillingBucket(bucket.AWSAccessKeyID, bucket.AWSSecretAccessKey, bucket.Bucketname, bucket.Region, bucket.ReportPath)\n\tif err != nil {\n\t\tlog.Printf(\"Could not create billing bucket: %s\", err)\n\t\treturn err\n\t}\n\tdirContents, err := billbuck.ListDir(bucket.ReportPath)\n\tif err != nil {\n\t\tlog.Printf(\"Failed to list billing bucket: %s\", err)\n\t\treturn err\n\t}\n\tif len(dirContents) == 0 {\n\t\treturn errors.Errorf(errors.CodeBadRequest, \"Bucket report path %s/%s empty or does not exist\", bucket.Bucketname, bucket.ReportPath)\n\t}\n\treturn nil\n}", "func (c *Claims) ValidateCustom() error {\n\tif len(c.Scope) == 0 {\n\t\treturn ErrInvalidScope\n\t}\n\n\tfor _, s := range c.Scope {\n\t\tif !isScopeValid(s) {\n\t\t\treturn ErrInvalidScope\n\t\t}\n\t}\n\n\treturn nil\n}", "func (o RepositoryAssociationRepositoryS3BucketPtrOutput) BucketName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *RepositoryAssociationRepositoryS3Bucket) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.BucketName\n\t}).(pulumi.StringPtrOutput)\n}", "func (o AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestinationOutput) BucketArn() pulumi.StringOutput {\n\treturn o.ApplyT(func(v AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination) string {\n\t\treturn v.BucketArn\n\t}).(pulumi.StringOutput)\n}", "func (o *CreateOverrideRules) SetRules(v string) {\n\to.Rules = v\n}", "func (o BucketReplicationConfigOutput) Rules() BucketReplicationConfigRuleArrayOutput {\n\treturn o.ApplyT(func(v *BucketReplicationConfig) BucketReplicationConfigRuleArrayOutput { return v.Rules }).(BucketReplicationConfigRuleArrayOutput)\n}", "func (bm *BucketManager) UpdateBucket(settings *BucketSettings) error {\n\t// Cluster-side, updates are the same as creates.\n\treturn bm.InsertBucket(settings)\n}", "func (o TransferJobTransferSpecAwsS3DataSourceOutput) BucketName() pulumi.StringOutput {\n\treturn o.ApplyT(func(v TransferJobTransferSpecAwsS3DataSource) string { return v.BucketName }).(pulumi.StringOutput)\n}", "func (o ClusterS3ImportPtrOutput) BucketName() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *ClusterS3Import) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.BucketName\n\t}).(pulumi.StringPtrOutput)\n}", "func (cache *SiaCacheLayer) GetBucketPolicies(bucket string) (bal policy.BucketAccessPolicy, e *SiaServiceError) {\n\tcache.debugmsg(\"SiaCacheLayer.GetBucketPolicies\")\n\n\treturn cache.dbGetBucketPolicies(bucket)\n}", "func (o AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestinationPtrOutput) BucketArn() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v *AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination) *string {\n\t\tif v == nil {\n\t\t\treturn nil\n\t\t}\n\t\treturn &v.BucketArn\n\t}).(pulumi.StringPtrOutput)\n}" ]
[ "0.5008123", "0.49126345", "0.48993087", "0.4896109", "0.4851601", "0.48287225", "0.4780209", "0.47372", "0.47139585", "0.47008413", "0.46658662", "0.46464923", "0.4643934", "0.46156728", "0.46099746", "0.45919496", "0.45633075", "0.4559579", "0.45535263", "0.4550863", "0.45311838", "0.45035607", "0.45033702", "0.45003745", "0.44857153", "0.44830924", "0.4474559", "0.4447257", "0.44452342", "0.44378346", "0.44239467", "0.44227675", "0.44193113", "0.44035652", "0.4403193", "0.43758833", "0.43673524", "0.4359881", "0.4348543", "0.43468374", "0.43330425", "0.4332063", "0.4321327", "0.43163693", "0.43156475", "0.43057004", "0.4296973", "0.42751944", "0.4260943", "0.4250801", "0.4246896", "0.42290193", "0.42136675", "0.4180963", "0.41782328", "0.4176581", "0.41743934", "0.41488978", "0.4144616", "0.41406962", "0.41358018", "0.4134643", "0.41343987", "0.4123669", "0.4117549", "0.41132003", "0.4109379", "0.40912178", "0.40890038", "0.40834147", "0.40759048", "0.40743703", "0.4070081", "0.40611875", "0.40544575", "0.40519202", "0.40513855", "0.40449578", "0.4030484", "0.40304825", "0.40250534", "0.4022387", "0.40178034", "0.4012342", "0.40088838", "0.400002", "0.39934707", "0.39866585", "0.39860007", "0.398391", "0.39834043", "0.39823055", "0.3980555", "0.39802438", "0.39794487", "0.3977907", "0.3972794", "0.39723808", "0.39716437", "0.3962155" ]
0.76424783
0
Filter sets the optional parameter "filter": Filter based on primary_category, secondary_category
func (c *ProjectsLocationsRulesListCall) Filter(filter string) *ProjectsLocationsRulesListCall { c.urlParams_.Set("filter", filter) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (r ApiGetHyperflexAppCatalogListRequest) Filter(filter string) ApiGetHyperflexAppCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterProfileListRequest) Filter(filter string) ApiGetHyperflexClusterProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterListRequest) Filter(filter string) ApiGetHyperflexClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *Category)Filter()map[string]interface{}{\n\tfilter := make(map[string]interface{})\n\tfilter[\"name\"] = c.Name\n\treturn filter\n}", "func (r ApiGetHyperflexProtectedClusterListRequest) Filter(filter string) ApiGetHyperflexProtectedClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersGetRequest) Filter(key string, value string) ApiDatacentersGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiGetHyperflexHwCatalogListRequest) Filter(filter string) ApiGetHyperflexHwCatalogListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiDatacentersLansNicsGetRequest) Filter(key string, value string) ApiDatacentersLansNicsGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func (r ApiDatacentersLansGetRequest) Filter(key string, value string) ApiDatacentersLansGetRequest {\n\tfilterKey := fmt.Sprintf(FilterQueryParam, key)\n\tr.filters[filterKey] = []string{value}\n\treturn r\n}", "func filterCategory(flags []cli.Flag, category string) (ret []cli.Flag) {\n\tfor _, f := range flags {\n\t\tif flagCategories[f.GetName()] == category {\n\t\t\tret = append(ret, f)\n\t\t}\n\t}\n\treturn\n}", "func filterByCategory(w http.ResponseWriter, r *http.Request) {\n\tfmt.Println(\"Filter_By_Category ---------------------------\")\n\tenableCors(&w)\n\tcategory := r.URL.Query().Get(\":category\")\n\tfmt.Println(\"Category filter : \" + category)\n\tstmt, err := mainDB.Prepare(\n\t\t`SELECT * FROM testTable where category = ?`)\n\tcheckErr(err)\n\trows, errQuery := stmt.Query(category)\n\tcheckErr(errQuery)\n\tvar logs Logs\n\n\tfor rows.Next() {\n\t\tvar log Log\n\t\terr = rows.Scan(&log.ID, &log.Time, &log.Level, &log.Msg, &log.Category, &log.DebugId, &log.Ip, &log.RequestId, &log.Type, &log.Uri, &log.UserId)\n\n\t\tcheckErr(err)\n\t\tlogs = append(logs, log)\n\t}\n\n\tjsonB, errMarshal := json.Marshal(logs)\n\tcheckErr(errMarshal)\n\tfmt.Fprintf(w, \"%s\", string(jsonB))\n}", "func (r ApiGetHyperflexBackupClusterListRequest) Filter(filter string) ApiGetHyperflexBackupClusterListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Filter(filter string) *ProjectsOccurrencesGetVulnerabilitySummaryCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexNodeListRequest) Filter(filter string) ApiGetHyperflexNodeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkSubRequestObjListRequest) Filter(filter string) ApiGetBulkSubRequestObjListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filterBy []Card) Rule {\n\treturn func(deck []Card) []Card {\n\t\treturn filterDeck(deck, filterBy)\n\t}\n}", "func (res *Resource) Filter(filter *Filter) {\n\tfilter.Resource = res\n\n\tif filter.Label == \"\" {\n\t\tfilter.Label = utils.HumanizeString(filter.Name)\n\t}\n\n\tif filter.Config != nil {\n\t\tfilter.Config.ConfigureQORAdminFilter(filter)\n\t}\n\n\tif filter.Handler == nil {\n\t\t// generate default handler\n\t\tfilter.Handler = func(db *gorm.DB, filterArgument *FilterArgument) *gorm.DB {\n\t\t\tif metaValue := filterArgument.Value.Get(\"Value\"); metaValue != nil {\n\t\t\t\treturn defaultFieldFilter(res, []string{filter.Name}, utils.ToString(metaValue.Value), db, filterArgument.Context)\n\t\t\t}\n\t\t\treturn db\n\t\t}\n\t}\n\n\tif filter.Type != \"\" {\n\t\tres.filters = append(res.filters, filter)\n\t} else {\n\t\tutils.ExitWithMsg(\"Invalid filter definition %v for resource %v\", filter.Name, res.Name)\n\t}\n}", "func (c *SearchCall) Filter(filter ...string) *SearchCall {\n\tc.urlParams_.SetMulti(\"filter\", append([]string{}, filter...))\n\treturn c\n}", "func (r ApiGetBulkResultListRequest) Filter(filter string) ApiGetBulkResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *NestedSort) Filter(filter Query) *NestedSort {\n\ts.filter = filter\n\treturn s\n}", "func (s *Searcher) Filter(filter *Filter, values *resource.MetaValues) *Searcher {\n\tnewSearcher := s.clone()\n\tif newSearcher.filters == nil {\n\t\tnewSearcher.filters = map[*Filter]*resource.MetaValues{}\n\t}\n\tnewSearcher.filters[filter] = values\n\treturn newSearcher\n}", "func (a *AliasAddAction) Filter(filter Query) *AliasAddAction {\n\ta.filter = filter\n\treturn a\n}", "func (r ApiGetHyperflexAlarmListRequest) Filter(filter string) ApiGetHyperflexAlarmListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthListRequest) Filter(filter string) ApiGetHyperflexHealthListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultEntryListRequest) Filter(filter string) ApiGetHyperflexConfigResultEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolUniverseListRequest) Filter(filter string) ApiGetResourcepoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexNodeProfileListRequest) Filter(filter string) ApiGetHyperflexNodeProfileListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexConfigResultListRequest) Filter(filter string) ApiGetHyperflexConfigResultListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexHealthCheckDefinitionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckDefinitionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexIscsiNetworkListRequest) Filter(filter string) ApiGetHyperflexIscsiNetworkListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVolumeListRequest) Filter(filter string) ApiGetHyperflexVolumeListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (s *ServicesWidget) Filter(filter string) {\n\ts.Lock()\n\tdefer s.Unlock()\n\ts.filterPattern = filter\n}", "func (r ApiGetHyperflexSoftwareDistributionEntryListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionEntryListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filtered(t stackvm.Tracer, p action.Predicate) stackvm.Tracer {\n\tswitch p {\n\tcase nil:\n\t\treturn nil\n\tcase action.Never:\n\t\treturn nil\n\tcase action.Always:\n\t\treturn t\n\tdefault:\n\t\treturn filter{t, p}\n\t}\n}", "func (r ApiGetHyperflexSoftwareDistributionComponentListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionComponentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *OperationsLroListCall) Filter(filter string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexDatastoreStatisticListRequest) Filter(filter string) ApiGetHyperflexDatastoreStatisticListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexInitiatorGroupListRequest) Filter(filter string) ApiGetHyperflexInitiatorGroupListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolUniverseListRequest) Filter(filter string) ApiGetIqnpoolUniverseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexTargetListRequest) Filter(filter string) ApiGetHyperflexTargetListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(b *Block) {\n\n\ttype filterRule struct {\n\t\tOperator string\n\t\tPath string\n\t\tComparator interface{}\n\t\tInvert bool\n\t}\n\n\toperators = make(map[string]opFunc)\n\n\toperators[\"eq\"] = equals\n\toperators[\"gt\"] = greaterthan\n\toperators[\"lt\"] = lessthan\n\toperators[\"subset\"] = subsetof\n\toperators[\"keyin\"] = keyin\n\n\tvar rule *filterRule\n\n\tfor {\n\t\tselect {\n\t\tcase msg := <-b.InChan:\n\t\t\tif rule == nil {\n\t\t\t\tbreak\n\t\t\t}\n\n\t\t\tvalues := getKeyValues(msg, rule.Path)\n\t\t\tfor _, value := range values {\n\t\t\t\tif operators[rule.Operator](value, rule.Comparator) == !rule.Invert {\n\t\t\t\t\tbroadcast(b.OutChans, msg)\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif len(values) == 0 && rule.Invert {\n\t\t\t\tbroadcast(b.OutChans, msg)\n\t\t\t}\n\n\t\tcase msg := <-b.Routes[\"set_rule\"]:\n\t\t\tif rule == nil {\n\t\t\t\trule = &filterRule{}\n\t\t\t}\n\n\t\t\tunmarshal(msg, rule)\n\t\tcase msg := <-b.Routes[\"get_rule\"]:\n\t\t\tif rule == nil {\n\t\t\t\tmarshal(msg, &filterRule{})\n\t\t\t} else {\n\t\t\t\tmarshal(msg, rule)\n\t\t\t}\n\t\tcase msg := <-b.AddChan:\n\t\t\tupdateOutChans(msg, b)\n\t\tcase <-b.QuitChan:\n\t\t\tquit(b)\n\t\t\treturn\n\t\t}\n\t}\n\n}", "func (r ApiGetBulkMoDeepClonerListRequest) Filter(filter string) ApiGetBulkMoDeepClonerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func updateFilterFromRequest(r *http.Request, filter *repository.BookFilter) error {\n\turlParams := r.URL.Query()\n\n\tpageStr := urlParams.Get(\"page\")\n\tif page, err := strconv.Atoi(pageStr); err == nil {\n\t\tfilter.Page = uint64(page)\n\t} else if len(pageStr) > 0 {\n\t\treturn err\n\t}\n\n\tperPageStr := urlParams.Get(\"page_size\")\n\tif page, err := strconv.Atoi(perPageStr); err == nil {\n\t\tfilter.PageSize = uint64(page)\n\t} else if len(perPageStr) > 0 {\n\t\treturn err\n\t}\n\n\tfor _, catStr := range(strings.Split(urlParams.Get(\"categories\"), \",\")) {\n\t\tif category_uuid, err := uuid.Parse(catStr); err == nil {\n\t\t\tfilter.Categories = append(filter.Categories, category_uuid)\n\t\t} else if len(catStr) > 0 {\n\t\t\treturn err\n\t\t}\n\t}\n\n\tfor _, authorStr := range(strings.Split(urlParams.Get(\"authors\"), \",\")) {\n\t\tif author_uuid, err := uuid.Parse(authorStr); err == nil {\n\t\t\tfilter.Authors = append(filter.Authors, author_uuid)\n\t\t} else if len(authorStr) > 0 {\n\t\t\treturn err\n\t\t}\n\t}\n\n\tfilter.AuthorName = urlParams.Get(\"author_name\")\n\tfilter.CategoryName = urlParams.Get(\"category_name\")\n\n\treturn nil\n}", "func (r ApiGetHyperflexCapabilityInfoListRequest) Filter(filter string) ApiGetHyperflexCapabilityInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexServerModelListRequest) Filter(filter string) ApiGetHyperflexServerModelListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *TokenFilterConditional) Filter(filter ...string) *TokenFilterConditional {\n\tc.filter = append(c.filter, filter...)\n\treturn c\n}", "func (r ApiGetBulkRequestListRequest) Filter(filter string) ApiGetBulkRequestListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseResourceListRequest) Filter(filter string) ApiGetResourcepoolLeaseResourceListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *CseListCall) Filter(filter string) *CseListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (pd PublisherDetails) Filter(u permission.Interface) PublisherDetails {\n\taction := []string{}\n\tres := PublisherDetails{}\n\n\tres.Domain = pd.Domain\n\n\tres.Impression = pd.Impression\n\n\tres.Click = pd.Click\n\n\tres.ECPC = pd.ECPC\n\n\tres.ECTR = pd.ECTR\n\n\tres.ECPM = pd.ECPM\n\n\tres.Spend = pd.Spend\n\n\tres.Conversion = pd.Conversion\n\n\tres.ConversionRate = pd.ConversionRate\n\n\tres.CPA = pd.CPA\n\n\tres.Actions = pd.Actions\n\n\tres.Actions = strings.Join(action, \",\")\n\treturn res\n}", "func (r ApiGetHyperflexLicenseListRequest) Filter(filter string) ApiGetHyperflexLicenseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *CseSiterestrictListCall) Filter(filter string) *CseSiterestrictListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexClusterStoragePolicyListRequest) Filter(filter string) ApiGetHyperflexClusterStoragePolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func Filter(filter map[string]interface{}) TriggerOption {\n\treturn func(o *unstructured.Unstructured) {\n\t\tif len(filter) != 0 {\n\t\t\t_ = unstructured.SetNestedMap(o.Object, filter, \"spec\", \"filter\", \"attributes\")\n\t\t}\n\t}\n}", "func (r ApiGetBulkExportedItemListRequest) Filter(filter string) ApiGetBulkExportedItemListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterReplicationNetworkPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterReplicationNetworkPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolPoolListRequest) Filter(filter string) ApiGetResourcepoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitInternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitInternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexUcsmConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexUcsmConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexFeatureLimitExternalListRequest) Filter(filter string) ApiGetHyperflexFeatureLimitExternalListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (w *Walker) Filter(f Predicate) *Walker {\n\t//func (w *Walker) Filter(f func(*Node) (*Node, error)) *Walker {\n\tif w == nil {\n\t\treturn nil\n\t}\n\tif f == nil {\n\t\tw.pipe.errors <- ErrInvalidFilter\n\t} else {\n\t\terr := w.appendFilterForTask(clientFilter, f, 0) // hook in this filter\n\t\tif err != nil {\n\t\t\tT().Errorf(err.Error())\n\t\t\tpanic(err)\n\t\t}\n\t}\n\treturn w\n}", "func (r ApiGetHyperflexStorageContainerListRequest) Filter(filter string) ApiGetHyperflexStorageContainerListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVcenterConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexVcenterConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (d *ConsulDiscovery) SetFilter(filter client.ServiceDiscoveryFilter) {\r\n\td.filter = filter\r\n}", "func (r ApiGetHyperflexSysConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexSysConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmRestoreOperationListRequest) Filter(filter string) ApiGetHyperflexVmRestoreOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetBulkExportListRequest) Filter(filter string) ApiGetBulkExportListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (m *MetricFilter) Filter(filter shared.Filter) *MetricFilter {\n\tm.filterList = append(m.filterList, filter)\n\treturn m\n}", "func (q ConstantScoreQuery) Filter(filter Filter) ConstantScoreQuery {\n\tq.query = nil\n\tq.filter = filter\n\treturn q\n}", "func (r ApiGetHyperflexLocalCredentialPolicyListRequest) Filter(filter string) ApiGetHyperflexLocalCredentialPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *AppsOperationsListCall) Filter(filter string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) Filter() pulumi.StringPtrOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaRuleFilterAction) *string { return v.Filter }).(pulumi.StringPtrOutput)\n}", "func BarFilter(filterFunc func(bar *Bar) bool) func(query *BarQuery) *BarQuery {\n\treturn func(query *BarQuery) *BarQuery {\n\t\tif query != nil {\n\t\t\tquery.filter = filterFunc\n\t\t}\n\t\treturn query\n\t}\n}", "func (r ApiGetHyperflexVmImportOperationListRequest) Filter(filter string) ApiGetHyperflexVmImportOperationListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func _filter() {\n\n}", "func (a *Asset) Filter(filter StateFilter) bool {\n\tif len(filter.Select) == 0 {\n\t\treturn true\n\t}\n\tswitch filter.Match {\n\tcase \"n/a\", \"\":\n\t\treturn true\n\tcase \"all\":\n\t\treturn a.matchAll(filter)\n\tcase \"any\":\n\t\treturn a.matchAny(filter)\n\tcase \"none\":\n\t\treturn a.matchNone(filter)\n\tdefault:\n\t\tlog.Noticef(\"filterObject has unknown matchType in filter: %+v\", filter)\n\t\treturn true\n\t}\n}", "func (c *ProjectsTimeSeriesListCall) Filter(filter string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (o GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) Filter() pulumi.StringOutput {\n\treturn o.ApplyT(func(v GoogleCloudRetailV2alphaRuleFilterActionResponse) string { return v.Filter }).(pulumi.StringOutput)\n}", "func (r ApiGetHyperflexClusterBackupPolicyListRequest) Filter(filter string) ApiGetHyperflexClusterBackupPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexLunListRequest) Filter(filter string) ApiGetHyperflexLunListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (f *CityFilter) Filter(values url.Values, query *elastic.BoolQuery) error {\n\tdecoder := form.NewDecoder()\n\terr := decoder.Decode(f, values)\n\n\tif values.Get(\"city\") != \"\" {\n\t\tquery.Filter(elastic.NewTermQuery(\"properties.city\", f.City))\n\t}\n\n\treturn err\n}", "func (r ApiGetHyperflexHealthCheckExecutionListRequest) Filter(filter string) ApiGetHyperflexHealthCheckExecutionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (o *SearchAbsoluteParams) SetFilter(filter *string) {\n\to.Filter = filter\n}", "func (c *OrganizationsAppgroupsListCall) Filter(filter string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexNodeConfigPolicyListRequest) Filter(filter string) ApiGetHyperflexNodeConfigPolicyListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexClusterReplicationNetworkPolicyDeploymentListRequest) Filter(filter string) ApiGetHyperflexClusterReplicationNetworkPolicyDeploymentListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (self *GameObjectCreator) Filter(filter string, args interface{}) *Filter{\n return &Filter{self.Object.Call(\"filter\", filter, args)}\n}", "func (q *Query) Filter(fn Filter) error {\n\terr, Answer := fn(q.Answer)\n\tif err == nil {\n\t\tq.Answer = Answer\n\t\treturn nil\n\t}\n\treturn err\n}", "func Filter(filters ...FilterOption) Option {\n\treturn func(stackdriver *Stackdriver) {\n\t\tfor i, filterOpt := range filters {\n\t\t\tf := &filter{}\n\t\t\tfilterOpt(f)\n\n\t\t\tif i != 0 || len(stackdriver.Builder.Model.MetricQuery.Filters) != 0 {\n\t\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, \"AND\")\n\t\t\t}\n\n\t\t\tstackdriver.Builder.Model.MetricQuery.Filters = append(stackdriver.Builder.Model.MetricQuery.Filters, f.leftOperand, f.operator, f.rightOperand)\n\t\t}\n\t}\n}", "func (r *BaseRequest) Filter(value string) {\n\tif r.query == nil {\n\t\tr.query = url.Values{}\n\t}\n\tr.query.Add(\"$filter\", value)\n}", "func (q *Query) Filter(spec string, val interface{}) *Query {\n\tparts := strings.Split(spec, \" \")\n\tattr, pred := parts[0], parts[1]\n\tif attr == \"FeedID\" || attr == \"ID\" {\n\t\tattr = \"db/\" + attr\n\t} else {\n\t\tattr = q.kind + \"/\" + attr\n\t}\n\tq.filters = append(q.filters, filter{Attribute: attr, Predicate: pred, Value: val})\n\treturn q\n}", "func MultiFilter(filters ...Filter) Filter {\n\treturn &multiFilter{filters}\n}", "func (pr *PodAffinityProcessor) Filter(ctx context.Context, state *preFilterState, pod *v1.Pod, nodeInfo *NodeInfo) error {\n\tif nodeInfo.Node() == nil {\n\t\treturn fmt.Errorf(\"node not found\")\n\t}\n\n\tif !satisfyPodAffinity(state, nodeInfo) {\n\t\treturn fmt.Errorf(ErrReasonAffinityRulesNotMatch)\n\t}\n\n\tif !satisfyPodAntiAffinity(state, nodeInfo) {\n\t\treturn fmt.Errorf(ErrReasonAntiAffinityRulesNotMatch)\n\t}\n\n\tif !satisfyExistingPodsAntiAffinity(state, nodeInfo) {\n\t\treturn fmt.Errorf(ErrReasonExistingAntiAffinityRulesNotMatch)\n\t}\n\n\tif !pr.satisfyNodeAffinities(pod, nodeInfo.node) {\n\t\treturn fmt.Errorf(ErrReasonNodeSelectorOrVolumeSelectorNotMatch)\n\t}\n\n\treturn nil\n}", "func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHostStatsGetCall {\n\tc.urlParams_.Set(\"filter\", filter)\n\treturn c\n}", "func (r ApiGetHyperflexSoftwareDistributionVersionListRequest) Filter(filter string) ApiGetHyperflexSoftwareDistributionVersionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexVmSnapshotInfoListRequest) Filter(filter string) ApiGetHyperflexVmSnapshotInfoListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetResourcepoolLeaseListRequest) Filter(filter string) ApiGetResourcepoolLeaseListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetIqnpoolPoolListRequest) Filter(filter string) ApiGetIqnpoolPoolListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (r ApiGetHyperflexEncryptionListRequest) Filter(filter string) ApiGetHyperflexEncryptionListRequest {\n\tr.filter = &filter\n\treturn r\n}", "func (c *cur) SetFilter(fltF model.FilterF) {\n\tc.logger.Debug(\"SetFilter (fltF == nil?): \", fltF == nil)\n\tfor _, ji := range c.its {\n\t\tji.FltF = fltF\n\t}\n}" ]
[ "0.614319", "0.6142029", "0.6139757", "0.6117201", "0.60351825", "0.58984226", "0.5872753", "0.5827274", "0.57822585", "0.5770216", "0.57320917", "0.57297206", "0.5724153", "0.5723748", "0.5704627", "0.570089", "0.5697048", "0.56932086", "0.56845623", "0.5639256", "0.56101614", "0.55932504", "0.5570518", "0.5567959", "0.55503684", "0.55496967", "0.55334014", "0.5529072", "0.55116826", "0.54827166", "0.5469068", "0.5450941", "0.54494435", "0.5441241", "0.5432522", "0.54324496", "0.5426628", "0.54218256", "0.54197717", "0.54120964", "0.5386357", "0.5383512", "0.5374731", "0.5373063", "0.53723717", "0.5361584", "0.5338897", "0.533303", "0.53308535", "0.5329778", "0.53284913", "0.5323748", "0.53161097", "0.5307063", "0.53059685", "0.52844024", "0.5281674", "0.5272441", "0.5266877", "0.52624625", "0.5251912", "0.5251328", "0.5239536", "0.52332675", "0.5233071", "0.52288693", "0.52255875", "0.52106446", "0.52072054", "0.5200736", "0.519949", "0.5196321", "0.51884633", "0.5187372", "0.51856756", "0.51850367", "0.5184348", "0.51778495", "0.51734245", "0.5170492", "0.5168569", "0.51642275", "0.516119", "0.5160984", "0.5160703", "0.51571226", "0.5156146", "0.5149763", "0.514902", "0.51485336", "0.5142758", "0.51407737", "0.5127709", "0.5126488", "0.5123096", "0.51209176", "0.511944", "0.51177084", "0.51164293", "0.51151365", "0.5114804" ]
0.0
-1
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (c *ProjectsLocationsRulesListCall) PageSize(pageSize int64) *ProjectsLocationsRulesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *ExportProductsUsingGETParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *SharedAlbumsListCall) PageSize(pageSize int64) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AlbumsListCall) PageSize(pageSize int64) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r *AliexpressDsRecommendFeedGetAPIRequest) SetPageSize(_pageSize int64) error {\n\tr._pageSize = _pageSize\n\tr.Set(\"page_size\", _pageSize)\n\treturn nil\n}", "func (c *ClaimsSearchCall) PageSize(pageSize int64) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageSize(pageSize int64) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNodesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageSize(pageSize int64) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PageSize(n int) ListOption {\n\tif n < 0 {\n\t\tn = 0\n\t}\n\treturn pageSizeOpt(n)\n}", "func (o *GetRepositoriesParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (o *GetSubscriptionsParams) SetPageSize(pageSize *int32) {\n\to.PageSize = pageSize\n}", "func (c *V2CompleteCall) PageSize(pageSize int64) *V2CompleteCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *GetLogsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (ls *ListVolumes) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetRelationTuplesParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (g *getRatesFilter) SetPageSize(size int) *getRatesFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageSize(pageSize *uint32) {\n\to.PageSize = pageSize\n}", "func (o *ExtensionMonitoringConfigurationsList) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (g *getProductsFilter) SetPageSize(size int) *getProductsFilter {\n\t(*g)[\"page[size]\"] = strconv.Itoa(size)\n\treturn g\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageSize(pageSize int64) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowGetRequest) PageSize(pageSize int32) ApiWorkflowGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (it *TopicIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (it *StringIterator) SetPageSize(pageSize int) {\n\tif pageSize > math.MaxInt32 {\n\t\tpageSize = math.MaxInt32\n\t}\n\tit.pageSize = int32(pageSize)\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageSize(pageSize int64) ApiListOAuth2ClientsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *OperationsLroListCall) PageSize(pageSize int64) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageSize(pageSize int64) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DatasetsListCall) PageSize(pageSize int64) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsDataSourcesListCall) PageSize(pageSize int64) *ProjectsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListNSGroupsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ReferencesBasesListCall) PageSize(pageSize int64) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *InspectResultsFindingsListCall) PageSize(pageSize int64) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDExecutionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDExecutionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (o *PaginationDataResponse) SetPageSize(v float32) {\n\to.PageSize = v\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func GetPageSize() uint64 {\n\tpanic(\"not implemented\")\n}", "func (ls *ListTemplates) SetPageSize(pageSize int) {\n\tls.PageSize = pageSize\n}", "func (o *GetPaymentsParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (c *ProjectsLocationsProvisioningQuotasListCall) PageSize(pageSize int64) *ProjectsLocationsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ListLoadBalancerVirtualServersParams) SetPageSize(pageSize *int64) {\n\to.PageSize = pageSize\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageSize(v int32) {\n\to.PageSize = &v\n}", "func (c *ProjectsLocationsDataSourcesListCall) PageSize(pageSize int64) *ProjectsLocationsDataSourcesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *FoldersListCall) PageSize(pageSize int64) *FoldersListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func PerPage(items int) ReqOption {\n\treturn func(v url.Values) {\n\t\tv.Set(\"per_page\", strconv.FormatInt(int64(items), 10))\n\t}\n}", "func (c *InspectOperationsListCall) PageSize(pageSize int64) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AppsModulesListCall) PageSize(pageSize int64) *AppsModulesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTraceSinksListCall) PageSize(pageSize int64) *ProjectsTraceSinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesLunsListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesLunsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDWebhooksGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDWebhooksGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (r *Reader) PageSize(numOfRecs int) *Reader {\n\tif r.XMLName.Local == readByQueryXMLName.Local {\n\t\tr.MaxRecs = numOfRecs\n\t}\n\treturn r\n}", "func (c *MediaItemsListCall) PageSize(pageSize int64) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiWorkflowWorkflowIDVersionsGetRequest) PageSize(pageSize int32) ApiWorkflowWorkflowIDVersionsGetRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func TestGetPageSize(t *testing.T) {\n\tcases := []struct {\n\t\toffset, total, limit, expected int64\n\t\tname string\n\t}{\n\t\t{1, 0, 50, 0, \"no results\"},\n\t\t{1, 1, 50, 1, \"first partial page\"},\n\t\t{1, 50, 50, 50, \"first full page\"},\n\t\t{2, 100, 50, 50, \"second page full\"},\n\t\t{2, 51, 50, 1, \"last partial page\"},\n\t}\n\tfor _, tt := range cases {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tactual := getPageSize(tt.offset, tt.total, tt.limit)\n\t\t\tassert.Equal(t, tt.expected, actual, \"actual didn't match expected\")\n\t\t})\n\t}\n}", "func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageSize(pageSize int64) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SettingsSearchapplicationsListCall) PageSize(pageSize int64) *SettingsSearchapplicationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageSize(pageSize int64) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageSize = &pageSize\n\treturn r\n}", "func (c *JobsListCall) PageSize(pageSize int64) *JobsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsListCall) PageSize(pageSize int64) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListSubscriptionsCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (g *NgGrid) GetPageSize() int64 {\n\tif g.PageSize <= 0 {\n\t\tg.PageSize = 10\n\t}\n\treturn g.PageSize\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsInstancesInventoriesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesInventoriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListCall) PageSize(pageSize int64) *ProjectsLocationsDataExchangesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppgroupsListCall) PageSize(pageSize int64) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageSize(pageSize int64) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectorsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AnalyticsListCall) PageSize(pageSize int64) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageSize(pageSize int64) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *ExtensionMonitoringConfigurationsList) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func Pagination(w http.ResponseWriter, query url.Values, m martini.Context) {\n\tpage, pageErr := strconv.Atoi(query.Get(\"page\"))\n\titemsPerPage, itemsPerPageErr := strconv.Atoi(query.Get(\"items_per_page\"))\n\n\tif pageErr != nil || itemsPerPageErr != nil || page < 1 || itemsPerPage < 1 {\n\t\tm.Map(PaginationParameters{Page: 1, ItemsPerPage: 9})\n\t\treturn\n\t}\n\n\tm.Map(PaginationParameters{Page: page, ItemsPerPage: itemsPerPage})\n}", "func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *OrganizationsSecurityProfilesListRevisionsCall) PageSize(pageSize int64) *OrganizationsSecurityProfilesListRevisionsCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func Getpagesize() int", "func (c *ProjectsLocationsSshKeysListCall) PageSize(pageSize int64) *ProjectsLocationsSshKeysListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageSize() int32 {\n\tif o == nil || o.PageSize == nil {\n\t\tvar ret int32\n\t\treturn ret\n\t}\n\treturn *o.PageSize\n}", "func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageSize\", fmt.Sprint(pageSize))\n\treturn c\n}" ]
[ "0.72721016", "0.70180714", "0.69603753", "0.6922786", "0.6883994", "0.68659353", "0.68659353", "0.68427587", "0.68343496", "0.68343496", "0.6819477", "0.677376", "0.6766405", "0.6732039", "0.67246926", "0.6698617", "0.66818136", "0.6674513", "0.66580003", "0.665732", "0.66571665", "0.66565925", "0.66565925", "0.664771", "0.6639784", "0.6618616", "0.66155255", "0.6610327", "0.65821034", "0.6579234", "0.65735656", "0.6572041", "0.6572041", "0.6561095", "0.65465224", "0.6507006", "0.6501162", "0.6484388", "0.6480662", "0.64778906", "0.64778906", "0.64636016", "0.64613885", "0.6459905", "0.6448517", "0.64441603", "0.64340323", "0.6425275", "0.641948", "0.6416016", "0.63910747", "0.639107", "0.63834137", "0.6377443", "0.6363902", "0.63592374", "0.6356093", "0.6355031", "0.634961", "0.63481843", "0.63310075", "0.63251466", "0.62904334", "0.62861437", "0.6267771", "0.6253862", "0.6253862", "0.62151116", "0.62151116", "0.6209763", "0.6200054", "0.6189844", "0.6178808", "0.6166611", "0.61616373", "0.61577153", "0.61384225", "0.6133702", "0.61298096", "0.6110916", "0.61009175", "0.60917217", "0.60841125", "0.6079432", "0.60773426", "0.60710543", "0.6066831", "0.6061695", "0.6058045", "0.6056575", "0.60435605", "0.6041493", "0.60376203", "0.60322875", "0.6027314", "0.60238594", "0.60208446", "0.60169935", "0.6012666", "0.6011643", "0.6006055" ]
0.0
-1
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (c *ProjectsLocationsRulesListCall) PageToken(pageToken string) *ProjectsLocationsRulesListCall { c.urlParams_.Set("pageToken", pageToken) return c }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "func (o *Ga4ghSearchRnaQuantificationsRequest) SetPageToken(v string) {\n\to.PageToken = &v\n}", "func (it *StringIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (o *GetRelationTuplesParams) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (it *TopicIterator) SetPageToken(token string) {\n\tit.nextPageToken = token\n}", "func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {\n\ts.PageToken = &v\n\treturn s\n}", "func (o *GetLTENetworkIDSubscribersV2Params) SetPageToken(pageToken *string) {\n\to.PageToken = pageToken\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageToken() string {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.PageToken\n}", "func (it *StringIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchCallSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchCallSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (it *TopicIterator) NextPageToken() string {\n\treturn it.nextPageToken\n}", "func (o *Ga4ghSearchLabtestsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchContinuousSetsResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *WorkflowListResponse) SetNextPageToken(v string) {\n\to.NextPageToken = v\n}", "func (o *Ga4ghSearchLabtestsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (o *Ga4ghSearchContinuousSetsResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *DimensionValuesQueryCall) PageToken(pageToken string) *DimensionValuesQueryCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SharedAlbumsListCall) PageToken(pageToken string) *SharedAlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdsListCall) PageToken(pageToken string) *AdsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ClientsRequest) PageToken(pageToken string) ApiListOAuth2ClientsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (c *UsersListCall) NextPageToken(nextPageToken string) *UsersListCall {\n\tc.opt_[\"nextPageToken\"] = nextPageToken\n\treturn c\n}", "func (c *AlbumsListCall) PageToken(pageToken string) *AlbumsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignsListCall) PageToken(pageToken string) *CampaignsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) HasPageToken() bool {\n\tif o != nil && o.PageToken != nil {\n\t\treturn true\n\t}\n\n\treturn false\n}", "func (o *Ga4ghSearchFusionDetectionResponse) GetNextPageToken() string {\n\tif o == nil || o.NextPageToken == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\treturn *o.NextPageToken\n}", "func (o *Ga4ghSearchFusionDetectionResponse) SetNextPageToken(v string) {\n\to.NextPageToken = &v\n}", "func (c *OrganizationsListCall) PageToken(pageToken string) *OrganizationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DatasetsListCall) PageToken(pageToken string) *DatasetsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *OrganizationsAppgroupsListCall) PageToken(pageToken string) *OrganizationsAppgroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (r ApiListOAuth2ConsentSessionsRequest) PageToken(pageToken string) ApiListOAuth2ConsentSessionsRequest {\n\tr.pageToken = &pageToken\n\treturn r\n}", "func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *InspectResultsFindingsListCall) PageToken(pageToken string) *InspectResultsFindingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *WorkflowListResponse) GetNextPageToken() string {\n\tif o == nil {\n\t\tvar ret string\n\t\treturn ret\n\t}\n\n\treturn o.NextPageToken\n}", "func (c *ProjectsLocationsDataExchangesListingsListCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppsListCall) PageToken(pageToken string) *OrganizationsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FoldersListCall) PageToken(pageToken string) *FoldersListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InventoryItemsListCall) PageToken(pageToken string) *InventoryItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *MediaItemsListCall) PageToken(pageToken string) *MediaItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugDatasourcesItemsUnmappedidsListCall) PageToken(pageToken string) *DebugDatasourcesItemsUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AdvertiserGroupsListCall) PageToken(pageToken string) *AdvertiserGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func ParsePageToken(tokenStr string) (*PageToken, error) {\n\ttoken := &PageToken{}\n\tif tokenStr == \"\" {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t\treturn token, nil\n\t}\n\tparts := strings.SplitN(tokenStr, \":\", 2)\n\tif len(parts) != 2 {\n\t\treturn nil, fmt.Errorf(\"error parsing pageToken %q: expected two colon separated parts, got %d\", tokenStr, len(parts))\n\t}\n\tif parts[0] != \"\" {\n\t\ttoken.CursorID = &parts[0]\n\t}\n\tif parts[1] != \"\" && parts[1] != \"0\" {\n\t\ttoken.Size, _ = strconv.Atoi(parts[1])\n\t}\n\tif token.Size == 0 {\n\t\ttoken.Size = DEFAULT_PAGE_SIZE\n\t}\n\treturn token, nil\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeGroupsListCall) PageToken(pageToken string) *CreativeGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAppgroupsAppsListCall) PageToken(pageToken string) *OrganizationsAppgroupsAppsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AnalyticsListCall) PageToken(pageToken string) *AnalyticsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *IndexingDatasourcesItemsListCall) PageToken(pageToken string) *IndexingDatasourcesItemsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) PageToken(pageToken string) *DebugIdentitysourcesItemsListForunmappedidentityCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductCall) PageToken(pageToken string) *LicenseAssignmentsListForProductCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsGroupsListCall) PageToken(pageToken string) *ProjectsGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsTimeSeriesListCall) PageToken(pageToken string) *ProjectsTimeSeriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsInstancesListCall) PageToken(pageToken string) *OrganizationsInstancesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsMeasurementProtocolSecretsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsProvisioningQuotasListCall) PageToken(pageToken string) *ProjectsProvisioningQuotasListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *DebugIdentitysourcesUnmappedidsListCall) PageToken(pageToken string) *DebugIdentitysourcesUnmappedidsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ClaimsSearchCall) PageToken(pageToken string) *ClaimsSearchCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsVolumesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingListsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (o *Ga4ghSearchRnaQuantificationsRequest) GetPageTokenOk() (string, bool) {\n\tif o == nil || o.PageToken == nil {\n\t\tvar ret string\n\t\treturn ret, false\n\t}\n\treturn *o.PageToken, true\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SettingsDatasourcesListCall) PageToken(pageToken string) *SettingsDatasourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsDatacollectorsListCall) PageToken(pageToken string) *OrganizationsDatacollectorsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OperationsLroListCall) PageToken(pageToken string) *OperationsLroListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {\n\ts.NextPageToken = &v\n\treturn s\n}", "func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsKeyvaluemapsEntriesListCall) PageToken(pageToken string) *OrganizationsKeyvaluemapsEntriesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *CampaignCreativeAssociationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsDataExchangesListingsListSubscriptionsCall) PageToken(pageToken string) *ProjectsLocationsDataExchangesListingsListSubscriptionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *InspectOperationsListCall) PageToken(pageToken string) *InspectOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsAssignmentsListCall) PageToken(pageToken string) *OrganizationsAssignmentsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *QuerySourcesListCall) PageToken(pageToken string) *QuerySourcesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ReferencesBasesListCall) PageToken(pageToken string) *ReferencesBasesListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *LicenseAssignmentsListForProductAndSkuCall) PageToken(pageToken string) *LicenseAssignmentsListForProductAndSkuCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall) PageToken(pageToken string) *ProjectsLocationsOsPolicyAssignmentsListRevisionsCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *SubaccountsListCall) PageToken(pageToken string) *SubaccountsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *OrganizationsOperationsListCall) PageToken(pageToken string) *OrganizationsOperationsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}", "func (c *CreativeFieldsListCall) PageToken(pageToken string) *CreativeFieldsListCall {\n\tc.urlParams_.Set(\"pageToken\", pageToken)\n\treturn c\n}" ]
[ "0.7371751", "0.7304553", "0.725182", "0.72183996", "0.7205938", "0.7190219", "0.71537906", "0.71399033", "0.6782137", "0.62305844", "0.6078215", "0.60475075", "0.60098493", "0.597794", "0.5935233", "0.5883872", "0.5858588", "0.5856102", "0.5852922", "0.58096176", "0.57976496", "0.578947", "0.57744896", "0.57680464", "0.5760562", "0.57469916", "0.5719561", "0.5712731", "0.57014054", "0.569767", "0.5675907", "0.567187", "0.5657059", "0.5623857", "0.56177574", "0.5615902", "0.5605639", "0.559722", "0.55811614", "0.55754924", "0.55732393", "0.55608964", "0.55561215", "0.55561215", "0.55450267", "0.55430865", "0.55378026", "0.55376077", "0.5534208", "0.5534208", "0.55337584", "0.5524326", "0.5502931", "0.5502931", "0.55026054", "0.55020654", "0.550122", "0.5488351", "0.5482853", "0.54771674", "0.54771674", "0.54769903", "0.54769903", "0.5461859", "0.5457815", "0.5455945", "0.54498535", "0.54498535", "0.5440356", "0.5413786", "0.53877544", "0.5377669", "0.53752595", "0.5366374", "0.535932", "0.535932", "0.5359039", "0.5357001", "0.53520405", "0.5342624", "0.533775", "0.533775", "0.5335941", "0.53135216", "0.5312", "0.5309397", "0.53011787", "0.52999854", "0.5299831", "0.5290878", "0.5285611", "0.52823967", "0.5278604", "0.52757716", "0.52757716", "0.52737874", "0.52720886", "0.5270667", "0.5269655", "0.5267159", "0.52658117" ]
0.0
-1