...

Source file src/google.golang.org/api/integrations/v1/integrations-gen.go

Documentation: google.golang.org/api/integrations/v1

     1  // Copyright 2023 Google LLC.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Code generated file. DO NOT EDIT.
     6  
     7  // Package integrations provides access to the Application Integration API.
     8  //
     9  // For product documentation, see: https://cloud.google.com/application-integration
    10  //
    11  // # Creating a client
    12  //
    13  // Usage example:
    14  //
    15  //	import "google.golang.org/api/integrations/v1"
    16  //	...
    17  //	ctx := context.Background()
    18  //	integrationsService, err := integrations.NewService(ctx)
    19  //
    20  // In this example, Google Application Default Credentials are used for authentication.
    21  //
    22  // For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
    23  //
    24  // # Other authentication options
    25  //
    26  // To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
    27  //
    28  //	integrationsService, err := integrations.NewService(ctx, option.WithAPIKey("AIza..."))
    29  //
    30  // To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
    31  //
    32  //	config := &oauth2.Config{...}
    33  //	// ...
    34  //	token, err := config.Exchange(ctx, ...)
    35  //	integrationsService, err := integrations.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
    36  //
    37  // See https://godoc.org/google.golang.org/api/option/ for details on options.
    38  package integrations // import "google.golang.org/api/integrations/v1"
    39  
    40  import (
    41  	"bytes"
    42  	"context"
    43  	"encoding/json"
    44  	"errors"
    45  	"fmt"
    46  	"io"
    47  	"net/http"
    48  	"net/url"
    49  	"strconv"
    50  	"strings"
    51  
    52  	googleapi "google.golang.org/api/googleapi"
    53  	internal "google.golang.org/api/internal"
    54  	gensupport "google.golang.org/api/internal/gensupport"
    55  	option "google.golang.org/api/option"
    56  	internaloption "google.golang.org/api/option/internaloption"
    57  	htransport "google.golang.org/api/transport/http"
    58  )
    59  
    60  // Always reference these packages, just in case the auto-generated code
    61  // below doesn't.
    62  var _ = bytes.NewBuffer
    63  var _ = strconv.Itoa
    64  var _ = fmt.Sprintf
    65  var _ = json.NewDecoder
    66  var _ = io.Copy
    67  var _ = url.Parse
    68  var _ = gensupport.MarshalJSON
    69  var _ = googleapi.Version
    70  var _ = errors.New
    71  var _ = strings.Replace
    72  var _ = context.Canceled
    73  var _ = internaloption.WithDefaultEndpoint
    74  
    75  const apiId = "integrations:v1"
    76  const apiName = "integrations"
    77  const apiVersion = "v1"
    78  const basePath = "https://integrations.googleapis.com/"
    79  const mtlsBasePath = "https://integrations.mtls.googleapis.com/"
    80  
    81  // OAuth2 scopes used by this API.
    82  const (
    83  	// See, edit, configure, and delete your Google Cloud data and see the
    84  	// email address for your Google Account.
    85  	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
    86  )
    87  
    88  // NewService creates a new Service.
    89  func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
    90  	scopesOption := internaloption.WithDefaultScopes(
    91  		"https://www.googleapis.com/auth/cloud-platform",
    92  	)
    93  	// NOTE: prepend, so we don't override user-specified scopes.
    94  	opts = append([]option.ClientOption{scopesOption}, opts...)
    95  	opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
    96  	opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))
    97  	client, endpoint, err := htransport.NewClient(ctx, opts...)
    98  	if err != nil {
    99  		return nil, err
   100  	}
   101  	s, err := New(client)
   102  	if err != nil {
   103  		return nil, err
   104  	}
   105  	if endpoint != "" {
   106  		s.BasePath = endpoint
   107  	}
   108  	return s, nil
   109  }
   110  
   111  // New creates a new Service. It uses the provided http.Client for requests.
   112  //
   113  // Deprecated: please use NewService instead.
   114  // To provide a custom HTTP client, use option.WithHTTPClient.
   115  // If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
   116  func New(client *http.Client) (*Service, error) {
   117  	if client == nil {
   118  		return nil, errors.New("client is nil")
   119  	}
   120  	s := &Service{client: client, BasePath: basePath}
   121  	s.Callback = NewCallbackService(s)
   122  	s.ConnectorPlatformRegions = NewConnectorPlatformRegionsService(s)
   123  	s.Projects = NewProjectsService(s)
   124  	return s, nil
   125  }
   126  
   127  type Service struct {
   128  	client    *http.Client
   129  	BasePath  string // API endpoint base URL
   130  	UserAgent string // optional additional User-Agent fragment
   131  
   132  	Callback *CallbackService
   133  
   134  	ConnectorPlatformRegions *ConnectorPlatformRegionsService
   135  
   136  	Projects *ProjectsService
   137  }
   138  
   139  func (s *Service) userAgent() string {
   140  	if s.UserAgent == "" {
   141  		return googleapi.UserAgent
   142  	}
   143  	return googleapi.UserAgent + " " + s.UserAgent
   144  }
   145  
   146  func NewCallbackService(s *Service) *CallbackService {
   147  	rs := &CallbackService{s: s}
   148  	return rs
   149  }
   150  
   151  type CallbackService struct {
   152  	s *Service
   153  }
   154  
   155  func NewConnectorPlatformRegionsService(s *Service) *ConnectorPlatformRegionsService {
   156  	rs := &ConnectorPlatformRegionsService{s: s}
   157  	return rs
   158  }
   159  
   160  type ConnectorPlatformRegionsService struct {
   161  	s *Service
   162  }
   163  
   164  func NewProjectsService(s *Service) *ProjectsService {
   165  	rs := &ProjectsService{s: s}
   166  	rs.Locations = NewProjectsLocationsService(s)
   167  	return rs
   168  }
   169  
   170  type ProjectsService struct {
   171  	s *Service
   172  
   173  	Locations *ProjectsLocationsService
   174  }
   175  
   176  func NewProjectsLocationsService(s *Service) *ProjectsLocationsService {
   177  	rs := &ProjectsLocationsService{s: s}
   178  	rs.AppsScriptProjects = NewProjectsLocationsAppsScriptProjectsService(s)
   179  	rs.AuthConfigs = NewProjectsLocationsAuthConfigsService(s)
   180  	rs.Certificates = NewProjectsLocationsCertificatesService(s)
   181  	rs.Clients = NewProjectsLocationsClientsService(s)
   182  	rs.CloudFunctions = NewProjectsLocationsCloudFunctionsService(s)
   183  	rs.Connections = NewProjectsLocationsConnectionsService(s)
   184  	rs.Integrations = NewProjectsLocationsIntegrationsService(s)
   185  	rs.Products = NewProjectsLocationsProductsService(s)
   186  	rs.SfdcInstances = NewProjectsLocationsSfdcInstancesService(s)
   187  	return rs
   188  }
   189  
   190  type ProjectsLocationsService struct {
   191  	s *Service
   192  
   193  	AppsScriptProjects *ProjectsLocationsAppsScriptProjectsService
   194  
   195  	AuthConfigs *ProjectsLocationsAuthConfigsService
   196  
   197  	Certificates *ProjectsLocationsCertificatesService
   198  
   199  	Clients *ProjectsLocationsClientsService
   200  
   201  	CloudFunctions *ProjectsLocationsCloudFunctionsService
   202  
   203  	Connections *ProjectsLocationsConnectionsService
   204  
   205  	Integrations *ProjectsLocationsIntegrationsService
   206  
   207  	Products *ProjectsLocationsProductsService
   208  
   209  	SfdcInstances *ProjectsLocationsSfdcInstancesService
   210  }
   211  
   212  func NewProjectsLocationsAppsScriptProjectsService(s *Service) *ProjectsLocationsAppsScriptProjectsService {
   213  	rs := &ProjectsLocationsAppsScriptProjectsService{s: s}
   214  	return rs
   215  }
   216  
   217  type ProjectsLocationsAppsScriptProjectsService struct {
   218  	s *Service
   219  }
   220  
   221  func NewProjectsLocationsAuthConfigsService(s *Service) *ProjectsLocationsAuthConfigsService {
   222  	rs := &ProjectsLocationsAuthConfigsService{s: s}
   223  	return rs
   224  }
   225  
   226  type ProjectsLocationsAuthConfigsService struct {
   227  	s *Service
   228  }
   229  
   230  func NewProjectsLocationsCertificatesService(s *Service) *ProjectsLocationsCertificatesService {
   231  	rs := &ProjectsLocationsCertificatesService{s: s}
   232  	return rs
   233  }
   234  
   235  type ProjectsLocationsCertificatesService struct {
   236  	s *Service
   237  }
   238  
   239  func NewProjectsLocationsClientsService(s *Service) *ProjectsLocationsClientsService {
   240  	rs := &ProjectsLocationsClientsService{s: s}
   241  	return rs
   242  }
   243  
   244  type ProjectsLocationsClientsService struct {
   245  	s *Service
   246  }
   247  
   248  func NewProjectsLocationsCloudFunctionsService(s *Service) *ProjectsLocationsCloudFunctionsService {
   249  	rs := &ProjectsLocationsCloudFunctionsService{s: s}
   250  	return rs
   251  }
   252  
   253  type ProjectsLocationsCloudFunctionsService struct {
   254  	s *Service
   255  }
   256  
   257  func NewProjectsLocationsConnectionsService(s *Service) *ProjectsLocationsConnectionsService {
   258  	rs := &ProjectsLocationsConnectionsService{s: s}
   259  	rs.RuntimeActionSchemas = NewProjectsLocationsConnectionsRuntimeActionSchemasService(s)
   260  	rs.RuntimeEntitySchemas = NewProjectsLocationsConnectionsRuntimeEntitySchemasService(s)
   261  	return rs
   262  }
   263  
   264  type ProjectsLocationsConnectionsService struct {
   265  	s *Service
   266  
   267  	RuntimeActionSchemas *ProjectsLocationsConnectionsRuntimeActionSchemasService
   268  
   269  	RuntimeEntitySchemas *ProjectsLocationsConnectionsRuntimeEntitySchemasService
   270  }
   271  
   272  func NewProjectsLocationsConnectionsRuntimeActionSchemasService(s *Service) *ProjectsLocationsConnectionsRuntimeActionSchemasService {
   273  	rs := &ProjectsLocationsConnectionsRuntimeActionSchemasService{s: s}
   274  	return rs
   275  }
   276  
   277  type ProjectsLocationsConnectionsRuntimeActionSchemasService struct {
   278  	s *Service
   279  }
   280  
   281  func NewProjectsLocationsConnectionsRuntimeEntitySchemasService(s *Service) *ProjectsLocationsConnectionsRuntimeEntitySchemasService {
   282  	rs := &ProjectsLocationsConnectionsRuntimeEntitySchemasService{s: s}
   283  	return rs
   284  }
   285  
   286  type ProjectsLocationsConnectionsRuntimeEntitySchemasService struct {
   287  	s *Service
   288  }
   289  
   290  func NewProjectsLocationsIntegrationsService(s *Service) *ProjectsLocationsIntegrationsService {
   291  	rs := &ProjectsLocationsIntegrationsService{s: s}
   292  	rs.Executions = NewProjectsLocationsIntegrationsExecutionsService(s)
   293  	rs.Executionsnapshots = NewProjectsLocationsIntegrationsExecutionsnapshotsService(s)
   294  	rs.Versions = NewProjectsLocationsIntegrationsVersionsService(s)
   295  	return rs
   296  }
   297  
   298  type ProjectsLocationsIntegrationsService struct {
   299  	s *Service
   300  
   301  	Executions *ProjectsLocationsIntegrationsExecutionsService
   302  
   303  	Executionsnapshots *ProjectsLocationsIntegrationsExecutionsnapshotsService
   304  
   305  	Versions *ProjectsLocationsIntegrationsVersionsService
   306  }
   307  
   308  func NewProjectsLocationsIntegrationsExecutionsService(s *Service) *ProjectsLocationsIntegrationsExecutionsService {
   309  	rs := &ProjectsLocationsIntegrationsExecutionsService{s: s}
   310  	rs.Suspensions = NewProjectsLocationsIntegrationsExecutionsSuspensionsService(s)
   311  	return rs
   312  }
   313  
   314  type ProjectsLocationsIntegrationsExecutionsService struct {
   315  	s *Service
   316  
   317  	Suspensions *ProjectsLocationsIntegrationsExecutionsSuspensionsService
   318  }
   319  
   320  func NewProjectsLocationsIntegrationsExecutionsSuspensionsService(s *Service) *ProjectsLocationsIntegrationsExecutionsSuspensionsService {
   321  	rs := &ProjectsLocationsIntegrationsExecutionsSuspensionsService{s: s}
   322  	return rs
   323  }
   324  
   325  type ProjectsLocationsIntegrationsExecutionsSuspensionsService struct {
   326  	s *Service
   327  }
   328  
   329  func NewProjectsLocationsIntegrationsExecutionsnapshotsService(s *Service) *ProjectsLocationsIntegrationsExecutionsnapshotsService {
   330  	rs := &ProjectsLocationsIntegrationsExecutionsnapshotsService{s: s}
   331  	return rs
   332  }
   333  
   334  type ProjectsLocationsIntegrationsExecutionsnapshotsService struct {
   335  	s *Service
   336  }
   337  
   338  func NewProjectsLocationsIntegrationsVersionsService(s *Service) *ProjectsLocationsIntegrationsVersionsService {
   339  	rs := &ProjectsLocationsIntegrationsVersionsService{s: s}
   340  	return rs
   341  }
   342  
   343  type ProjectsLocationsIntegrationsVersionsService struct {
   344  	s *Service
   345  }
   346  
   347  func NewProjectsLocationsProductsService(s *Service) *ProjectsLocationsProductsService {
   348  	rs := &ProjectsLocationsProductsService{s: s}
   349  	rs.AuthConfigs = NewProjectsLocationsProductsAuthConfigsService(s)
   350  	rs.Certificates = NewProjectsLocationsProductsCertificatesService(s)
   351  	rs.CloudFunctions = NewProjectsLocationsProductsCloudFunctionsService(s)
   352  	rs.Integrations = NewProjectsLocationsProductsIntegrationsService(s)
   353  	rs.SfdcInstances = NewProjectsLocationsProductsSfdcInstancesService(s)
   354  	return rs
   355  }
   356  
   357  type ProjectsLocationsProductsService struct {
   358  	s *Service
   359  
   360  	AuthConfigs *ProjectsLocationsProductsAuthConfigsService
   361  
   362  	Certificates *ProjectsLocationsProductsCertificatesService
   363  
   364  	CloudFunctions *ProjectsLocationsProductsCloudFunctionsService
   365  
   366  	Integrations *ProjectsLocationsProductsIntegrationsService
   367  
   368  	SfdcInstances *ProjectsLocationsProductsSfdcInstancesService
   369  }
   370  
   371  func NewProjectsLocationsProductsAuthConfigsService(s *Service) *ProjectsLocationsProductsAuthConfigsService {
   372  	rs := &ProjectsLocationsProductsAuthConfigsService{s: s}
   373  	return rs
   374  }
   375  
   376  type ProjectsLocationsProductsAuthConfigsService struct {
   377  	s *Service
   378  }
   379  
   380  func NewProjectsLocationsProductsCertificatesService(s *Service) *ProjectsLocationsProductsCertificatesService {
   381  	rs := &ProjectsLocationsProductsCertificatesService{s: s}
   382  	return rs
   383  }
   384  
   385  type ProjectsLocationsProductsCertificatesService struct {
   386  	s *Service
   387  }
   388  
   389  func NewProjectsLocationsProductsCloudFunctionsService(s *Service) *ProjectsLocationsProductsCloudFunctionsService {
   390  	rs := &ProjectsLocationsProductsCloudFunctionsService{s: s}
   391  	return rs
   392  }
   393  
   394  type ProjectsLocationsProductsCloudFunctionsService struct {
   395  	s *Service
   396  }
   397  
   398  func NewProjectsLocationsProductsIntegrationsService(s *Service) *ProjectsLocationsProductsIntegrationsService {
   399  	rs := &ProjectsLocationsProductsIntegrationsService{s: s}
   400  	rs.Executions = NewProjectsLocationsProductsIntegrationsExecutionsService(s)
   401  	rs.Executionsnapshots = NewProjectsLocationsProductsIntegrationsExecutionsnapshotsService(s)
   402  	rs.Versions = NewProjectsLocationsProductsIntegrationsVersionsService(s)
   403  	return rs
   404  }
   405  
   406  type ProjectsLocationsProductsIntegrationsService struct {
   407  	s *Service
   408  
   409  	Executions *ProjectsLocationsProductsIntegrationsExecutionsService
   410  
   411  	Executionsnapshots *ProjectsLocationsProductsIntegrationsExecutionsnapshotsService
   412  
   413  	Versions *ProjectsLocationsProductsIntegrationsVersionsService
   414  }
   415  
   416  func NewProjectsLocationsProductsIntegrationsExecutionsService(s *Service) *ProjectsLocationsProductsIntegrationsExecutionsService {
   417  	rs := &ProjectsLocationsProductsIntegrationsExecutionsService{s: s}
   418  	rs.Suspensions = NewProjectsLocationsProductsIntegrationsExecutionsSuspensionsService(s)
   419  	return rs
   420  }
   421  
   422  type ProjectsLocationsProductsIntegrationsExecutionsService struct {
   423  	s *Service
   424  
   425  	Suspensions *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService
   426  }
   427  
   428  func NewProjectsLocationsProductsIntegrationsExecutionsSuspensionsService(s *Service) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService {
   429  	rs := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService{s: s}
   430  	return rs
   431  }
   432  
   433  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService struct {
   434  	s *Service
   435  }
   436  
   437  func NewProjectsLocationsProductsIntegrationsExecutionsnapshotsService(s *Service) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsService {
   438  	rs := &ProjectsLocationsProductsIntegrationsExecutionsnapshotsService{s: s}
   439  	return rs
   440  }
   441  
   442  type ProjectsLocationsProductsIntegrationsExecutionsnapshotsService struct {
   443  	s *Service
   444  }
   445  
   446  func NewProjectsLocationsProductsIntegrationsVersionsService(s *Service) *ProjectsLocationsProductsIntegrationsVersionsService {
   447  	rs := &ProjectsLocationsProductsIntegrationsVersionsService{s: s}
   448  	return rs
   449  }
   450  
   451  type ProjectsLocationsProductsIntegrationsVersionsService struct {
   452  	s *Service
   453  }
   454  
   455  func NewProjectsLocationsProductsSfdcInstancesService(s *Service) *ProjectsLocationsProductsSfdcInstancesService {
   456  	rs := &ProjectsLocationsProductsSfdcInstancesService{s: s}
   457  	rs.SfdcChannels = NewProjectsLocationsProductsSfdcInstancesSfdcChannelsService(s)
   458  	return rs
   459  }
   460  
   461  type ProjectsLocationsProductsSfdcInstancesService struct {
   462  	s *Service
   463  
   464  	SfdcChannels *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService
   465  }
   466  
   467  func NewProjectsLocationsProductsSfdcInstancesSfdcChannelsService(s *Service) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService {
   468  	rs := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsService{s: s}
   469  	return rs
   470  }
   471  
   472  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsService struct {
   473  	s *Service
   474  }
   475  
   476  func NewProjectsLocationsSfdcInstancesService(s *Service) *ProjectsLocationsSfdcInstancesService {
   477  	rs := &ProjectsLocationsSfdcInstancesService{s: s}
   478  	rs.SfdcChannels = NewProjectsLocationsSfdcInstancesSfdcChannelsService(s)
   479  	return rs
   480  }
   481  
   482  type ProjectsLocationsSfdcInstancesService struct {
   483  	s *Service
   484  
   485  	SfdcChannels *ProjectsLocationsSfdcInstancesSfdcChannelsService
   486  }
   487  
   488  func NewProjectsLocationsSfdcInstancesSfdcChannelsService(s *Service) *ProjectsLocationsSfdcInstancesSfdcChannelsService {
   489  	rs := &ProjectsLocationsSfdcInstancesSfdcChannelsService{s: s}
   490  	return rs
   491  }
   492  
   493  type ProjectsLocationsSfdcInstancesSfdcChannelsService struct {
   494  	s *Service
   495  }
   496  
   497  // CrmlogErrorCode: Registered ids for errors, as "oneof" enums. Each
   498  // task or logical grouping of tasks may share the same enum.
   499  type CrmlogErrorCode struct {
   500  	// Possible values:
   501  	//   "COMMON_ERROR_CODE_UNSPECIFIED"
   502  	//   "INVALID_CREDENTIALS"
   503  	//   "REQUIRED_FIELDS_MISSING"
   504  	//   "INVALID_FIELDS"
   505  	//   "BACKEND"
   506  	//   "GENERAL"
   507  	//   "INTERNAL"
   508  	//   "IO_ERROR"
   509  	//   "NOT_FOUND"
   510  	//   "EVENT_BUS"
   511  	//   "ALREADY_EXISTS"
   512  	//   "CONCORD"
   513  	//   "CONVERSION"
   514  	//   "FLUME"
   515  	//   "PERMISSION"
   516  	//   "SALES_FORCE"
   517  	//   "SPANNER"
   518  	//   "UNIMPLEMENTED"
   519  	//   "RELTIO"
   520  	//   "WORKFLOW_NOT_FOUND"
   521  	//   "QUOTA_THROTTLED"
   522  	//   "QUOTA_ENQUEUED"
   523  	//   "INVALID_QUOTA_CONFIGURATION"
   524  	//   "TASK_NOT_FOUND"
   525  	//   "EXECUTION_TIMEOUT"
   526  	//   "INVALID_EVENT_EXECUTION_STATE"
   527  	//   "INVALID_ATTRIBUTE"
   528  	//   "MISSING_ATTRIBUTE"
   529  	//   "CLIENT_UNAUTHORIZED_FOR_WORKFLOW"
   530  	//   "INVALID_PARAMETER"
   531  	//   "MISSING_PARAMETER"
   532  	//   "UNAUTHROIZED_WORKFLOW_EDITOR_ACTION"
   533  	//   "FAILED_PRECONDITION"
   534  	//   "INVALID_CLIENT"
   535  	//   "MISSING_CLIENT"
   536  	//   "INVALID_WORKFLOW"
   537  	//   "MISSING_QUOTA_CONFIGURATION"
   538  	//   "UNHANDLED_TASK_ERROR"
   539  	//   "SCRIPT_TASK_RUNTIME_ERROR"
   540  	//   "RPC"
   541  	//   "INVALID_PROTO"
   542  	//   "UNHANDLED_EVENTBUS_ERROR"
   543  	//   "INVALID_TASK_STATE"
   544  	//   "TYPED_TASK_INVALID_INPUT_OPERATION"
   545  	//   "TYPED_TASK_INVALID_OUTPUT_OPERATION"
   546  	//   "VALIDATION_ERROR"
   547  	//   "RESUME_ERROR"
   548  	//   "APPS_SCRIPT_EXECUTION_ERROR"
   549  	//   "INVALID_VECTOR_USER"
   550  	//   "INFORMATICA"
   551  	//   "RETRYABLE_TASK_ERROR"
   552  	//   "INVALID_TENANT"
   553  	//   "WRONG_TENANT"
   554  	//   "INFORMATICA_BACKEND_UNAVAILABLE"
   555  	//   "RPC_PERMISSION_DENIED"
   556  	//   "SYNC_EVENTBUS_EXECUTION_TIMEOUT" - SYNC_EVENTBUS_EXECUTION_TIMEOUT
   557  	// is for eventbus internal use only.
   558  	//   "ASYNC_EVENTBUS_EXECUTION_TIMEOUT" -
   559  	// ASYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only.
   560  	// This error will be counted as server availability error.
   561  	//   "NOT_SUPPORTED_DATA_TYPE"
   562  	//   "UNSANITIZED_USER_INPUT"
   563  	//   "TRANSFORM_EXPRESSION_EVALUATION_ERROR"
   564  	//   "HTTP_EXCEPTION"
   565  	//   "EXECUTION_CANCELLED"
   566  	CommonErrorCode string `json:"commonErrorCode,omitempty"`
   567  
   568  	// ForceSendFields is a list of field names (e.g. "CommonErrorCode") to
   569  	// unconditionally include in API requests. By default, fields with
   570  	// empty or default values are omitted from API requests. However, any
   571  	// non-pointer, non-interface field appearing in ForceSendFields will be
   572  	// sent to the server regardless of whether the field is empty or not.
   573  	// This may be used to include empty fields in Patch requests.
   574  	ForceSendFields []string `json:"-"`
   575  
   576  	// NullFields is a list of field names (e.g. "CommonErrorCode") to
   577  	// include in API requests with the JSON null value. By default, fields
   578  	// with empty values are omitted from API requests. However, any field
   579  	// with an empty value appearing in NullFields will be sent to the
   580  	// server as null. It is an error if a field in this list has a
   581  	// non-empty value. This may be used to include null fields in Patch
   582  	// requests.
   583  	NullFields []string `json:"-"`
   584  }
   585  
   586  func (s *CrmlogErrorCode) MarshalJSON() ([]byte, error) {
   587  	type NoMethod CrmlogErrorCode
   588  	raw := NoMethod(*s)
   589  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   590  }
   591  
   592  type EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam struct {
   593  	// AllowedCredentialTypes: Defines the credential types to be supported
   594  	// as Task may restrict specific types to use, e.g. Cloud SQL Task will
   595  	// use username/password type only.
   596  	//
   597  	// Possible values:
   598  	//   "CREDENTIAL_TYPE_UNSPECIFIED"
   599  	//   "USERNAME_AND_PASSWORD" - Regular username/password pair.
   600  	//   "API_KEY" - API key.
   601  	//   "OAUTH2_AUTHORIZATION_CODE" - OAuth 2.0 Authorization Code Grant
   602  	// Type.
   603  	//   "OAUTH2_IMPLICIT" - OAuth 2.0 Implicit Grant Type.
   604  	//   "OAUTH2_CLIENT_CREDENTIALS" - OAuth 2.0 Client Credentials Grant
   605  	// Type.
   606  	//   "OAUTH2_RESOURCE_OWNER_CREDENTIALS" - OAuth 2.0 Resource Owner
   607  	// Credentials Grant Type.
   608  	//   "JWT" - JWT Token.
   609  	//   "AUTH_TOKEN" - Auth Token, e.g. bearer token.
   610  	//   "SERVICE_ACCOUNT" - Service Account which can be used to generate
   611  	// token for authentication.
   612  	//   "CLIENT_CERTIFICATE_ONLY" - Client Certificate only.
   613  	//   "OIDC_TOKEN" - Google OIDC ID Token
   614  	AllowedCredentialTypes []string `json:"allowedCredentialTypes,omitempty"`
   615  
   616  	AllowedServiceAccountInContext bool `json:"allowedServiceAccountInContext,omitempty"`
   617  
   618  	// AuthConfigId: UUID of the AuthConfig.
   619  	AuthConfigId string `json:"authConfigId,omitempty"`
   620  
   621  	// Scope: A space-delimited list of requested scope permissions.
   622  	Scope string `json:"scope,omitempty"`
   623  
   624  	UseServiceAccountInContext bool `json:"useServiceAccountInContext,omitempty"`
   625  
   626  	// ForceSendFields is a list of field names (e.g.
   627  	// "AllowedCredentialTypes") to unconditionally include in API requests.
   628  	// By default, fields with empty or default values are omitted from API
   629  	// requests. However, any non-pointer, non-interface field appearing in
   630  	// ForceSendFields will be sent to the server regardless of whether the
   631  	// field is empty or not. This may be used to include empty fields in
   632  	// Patch requests.
   633  	ForceSendFields []string `json:"-"`
   634  
   635  	// NullFields is a list of field names (e.g. "AllowedCredentialTypes")
   636  	// to include in API requests with the JSON null value. By default,
   637  	// fields with empty values are omitted from API requests. However, any
   638  	// field with an empty value appearing in NullFields will be sent to the
   639  	// server as null. It is an error if a field in this list has a
   640  	// non-empty value. This may be used to include null fields in Patch
   641  	// requests.
   642  	NullFields []string `json:"-"`
   643  }
   644  
   645  func (s *EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam) MarshalJSON() ([]byte, error) {
   646  	type NoMethod EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam
   647  	raw := NoMethod(*s)
   648  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   649  }
   650  
   651  // EnterpriseCrmEventbusProtoAddress: Email address along with optional
   652  // name and tokens. These tokens will be substituted for the variables
   653  // in the form of [{var_name}], where var_name could be any string of no
   654  // more than 32 bytes.
   655  type EnterpriseCrmEventbusProtoAddress struct {
   656  	// Email: Required.
   657  	Email string `json:"email,omitempty"`
   658  
   659  	Name string `json:"name,omitempty"`
   660  
   661  	Tokens []*EnterpriseCrmEventbusProtoToken `json:"tokens,omitempty"`
   662  
   663  	// ForceSendFields is a list of field names (e.g. "Email") to
   664  	// unconditionally include in API requests. By default, fields with
   665  	// empty or default values are omitted from API requests. However, any
   666  	// non-pointer, non-interface field appearing in ForceSendFields will be
   667  	// sent to the server regardless of whether the field is empty or not.
   668  	// This may be used to include empty fields in Patch requests.
   669  	ForceSendFields []string `json:"-"`
   670  
   671  	// NullFields is a list of field names (e.g. "Email") to include in API
   672  	// requests with the JSON null value. By default, fields with empty
   673  	// values are omitted from API requests. However, any field with an
   674  	// empty value appearing in NullFields will be sent to the server as
   675  	// null. It is an error if a field in this list has a non-empty value.
   676  	// This may be used to include null fields in Patch requests.
   677  	NullFields []string `json:"-"`
   678  }
   679  
   680  func (s *EnterpriseCrmEventbusProtoAddress) MarshalJSON() ([]byte, error) {
   681  	type NoMethod EnterpriseCrmEventbusProtoAddress
   682  	raw := NoMethod(*s)
   683  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   684  }
   685  
   686  // EnterpriseCrmEventbusProtoAttributes: Attributes are additional
   687  // options that can be associated with each event property. For more
   688  // information, see
   689  // go/integration-platform/event_bus/attributes_registry.md. Next
   690  // available: 8
   691  type EnterpriseCrmEventbusProtoAttributes struct {
   692  	// DataType: Things like URL, Email, Currency, Timestamp (rather than
   693  	// string, int64...)
   694  	//
   695  	// Possible values:
   696  	//   "DATA_TYPE_UNSPECIFIED"
   697  	//   "EMAIL"
   698  	//   "URL"
   699  	//   "CURRENCY"
   700  	//   "TIMESTAMP"
   701  	//   "DOMAIN_NAME" - Domain is a web url string with one top-level
   702  	// private domain and a suffix (for example: google.com, walmart.com)
   703  	DataType string `json:"dataType,omitempty"`
   704  
   705  	// DefaultValue: Used to define defaults.
   706  	DefaultValue *EnterpriseCrmEventbusProtoValueType `json:"defaultValue,omitempty"`
   707  
   708  	// IsRequired: Required for event execution. The validation will be done
   709  	// by the event bus when the event is triggered.
   710  	IsRequired bool `json:"isRequired,omitempty"`
   711  
   712  	// IsSearchable: Used to indicate if a ParameterEntry should be
   713  	// converted to ParamIndexes for ST-Spanner full-text search.
   714  	// DEPRECATED: use searchable.
   715  	IsSearchable bool `json:"isSearchable,omitempty"`
   716  
   717  	// LogSettings: See go/integration-platform/analytics/logging_task.md
   718  	// for details.
   719  	LogSettings *EnterpriseCrmEventbusProtoLogSettings `json:"logSettings,omitempty"`
   720  
   721  	// Possible values:
   722  	//   "UNSPECIFIED"
   723  	//   "YES" - If yes, the parameter key and value will be full-text
   724  	// indexed. In a proto, this value will propagate to all children whose
   725  	// searchable is unspecified.
   726  	//   "NO" - If no, the parameter key and value will not be full-text
   727  	// indexed. In a proto, this value will propagate to all children whose
   728  	// searchable is unspecified.
   729  	Searchable string `json:"searchable,omitempty"`
   730  
   731  	// TaskVisibility: List of tasks that can view this property, if empty
   732  	// then all.
   733  	TaskVisibility []string `json:"taskVisibility,omitempty"`
   734  
   735  	// ForceSendFields is a list of field names (e.g. "DataType") to
   736  	// unconditionally include in API requests. By default, fields with
   737  	// empty or default values are omitted from API requests. However, any
   738  	// non-pointer, non-interface field appearing in ForceSendFields will be
   739  	// sent to the server regardless of whether the field is empty or not.
   740  	// This may be used to include empty fields in Patch requests.
   741  	ForceSendFields []string `json:"-"`
   742  
   743  	// NullFields is a list of field names (e.g. "DataType") to include in
   744  	// API requests with the JSON null value. By default, fields with empty
   745  	// values are omitted from API requests. However, any field with an
   746  	// empty value appearing in NullFields will be sent to the server as
   747  	// null. It is an error if a field in this list has a non-empty value.
   748  	// This may be used to include null fields in Patch requests.
   749  	NullFields []string `json:"-"`
   750  }
   751  
   752  func (s *EnterpriseCrmEventbusProtoAttributes) MarshalJSON() ([]byte, error) {
   753  	type NoMethod EnterpriseCrmEventbusProtoAttributes
   754  	raw := NoMethod(*s)
   755  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   756  }
   757  
   758  // EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList: List of error
   759  // enums for alerts.
   760  type EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList struct {
   761  	EnumStrings []string `json:"enumStrings,omitempty"`
   762  
   763  	// Possible values:
   764  	//   "DEFAULT_INCLUSIVE"
   765  	//   "EXCLUSIVE"
   766  	FilterType string `json:"filterType,omitempty"`
   767  
   768  	// ForceSendFields is a list of field names (e.g. "EnumStrings") to
   769  	// unconditionally include in API requests. By default, fields with
   770  	// empty or default values are omitted from API requests. However, any
   771  	// non-pointer, non-interface field appearing in ForceSendFields will be
   772  	// sent to the server regardless of whether the field is empty or not.
   773  	// This may be used to include empty fields in Patch requests.
   774  	ForceSendFields []string `json:"-"`
   775  
   776  	// NullFields is a list of field names (e.g. "EnumStrings") to include
   777  	// in API requests with the JSON null value. By default, fields with
   778  	// empty values are omitted from API requests. However, any field with
   779  	// an empty value appearing in NullFields will be sent to the server as
   780  	// null. It is an error if a field in this list has a non-empty value.
   781  	// This may be used to include null fields in Patch requests.
   782  	NullFields []string `json:"-"`
   783  }
   784  
   785  func (s *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList) MarshalJSON() ([]byte, error) {
   786  	type NoMethod EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
   787  	raw := NoMethod(*s)
   788  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   789  }
   790  
   791  // EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue: The
   792  // threshold value of the metric, above or below which the alert should
   793  // be triggered. See EventAlertConfig or TaskAlertConfig for the
   794  // different alert metric types in each case. For the *RATE metrics, one
   795  // or both of these fields may be set. Zero is the default value and can
   796  // be left at that. For *PERCENTILE_DURATION metrics, one or both of
   797  // these fields may be set, and also, the duration threshold value
   798  // should be specified in the threshold_duration_ms member below. For
   799  // *AVERAGE_DURATION metrics, these fields should not be set at all. A
   800  // different member, threshold_duration_ms, must be set in the
   801  // EventAlertConfig or the TaskAlertConfig. See
   802  // go/eventbus-alert-config-examples
   803  type EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue struct {
   804  	Absolute int64 `json:"absolute,omitempty,string"`
   805  
   806  	Percentage int64 `json:"percentage,omitempty"`
   807  
   808  	// ForceSendFields is a list of field names (e.g. "Absolute") to
   809  	// unconditionally include in API requests. By default, fields with
   810  	// empty or default values are omitted from API requests. However, any
   811  	// non-pointer, non-interface field appearing in ForceSendFields will be
   812  	// sent to the server regardless of whether the field is empty or not.
   813  	// This may be used to include empty fields in Patch requests.
   814  	ForceSendFields []string `json:"-"`
   815  
   816  	// NullFields is a list of field names (e.g. "Absolute") to include in
   817  	// API requests with the JSON null value. By default, fields with empty
   818  	// values are omitted from API requests. However, any field with an
   819  	// empty value appearing in NullFields will be sent to the server as
   820  	// null. It is an error if a field in this list has a non-empty value.
   821  	// This may be used to include null fields in Patch requests.
   822  	NullFields []string `json:"-"`
   823  }
   824  
   825  func (s *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue) MarshalJSON() ([]byte, error) {
   826  	type NoMethod EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue
   827  	raw := NoMethod(*s)
   828  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   829  }
   830  
   831  type EnterpriseCrmEventbusProtoBaseFunction struct {
   832  	// Possible values:
   833  	//   "UNSPECIFIED"
   834  	//   "NOW_IN_MILLIS"
   835  	//   "INT_LIST"
   836  	//   "ENVIRONMENT"
   837  	//   "GET_EXECUTION_ID"
   838  	//   "GET_INTEGRATION_NAME"
   839  	//   "GET_REGION"
   840  	//   "GET_UUID"
   841  	//   "GET_PROJECT_ID"
   842  	FunctionName string `json:"functionName,omitempty"`
   843  
   844  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
   845  	// unconditionally include in API requests. By default, fields with
   846  	// empty or default values are omitted from API requests. However, any
   847  	// non-pointer, non-interface field appearing in ForceSendFields will be
   848  	// sent to the server regardless of whether the field is empty or not.
   849  	// This may be used to include empty fields in Patch requests.
   850  	ForceSendFields []string `json:"-"`
   851  
   852  	// NullFields is a list of field names (e.g. "FunctionName") to include
   853  	// in API requests with the JSON null value. By default, fields with
   854  	// empty values are omitted from API requests. However, any field with
   855  	// an empty value appearing in NullFields will be sent to the server as
   856  	// null. It is an error if a field in this list has a non-empty value.
   857  	// This may be used to include null fields in Patch requests.
   858  	NullFields []string `json:"-"`
   859  }
   860  
   861  func (s *EnterpriseCrmEventbusProtoBaseFunction) MarshalJSON() ([]byte, error) {
   862  	type NoMethod EnterpriseCrmEventbusProtoBaseFunction
   863  	raw := NoMethod(*s)
   864  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   865  }
   866  
   867  type EnterpriseCrmEventbusProtoBaseValue struct {
   868  	// BaseFunction: Start with a function that does not build on existing
   869  	// values. Eg. CurrentTime, Min, Max, Exists, etc.
   870  	BaseFunction *EnterpriseCrmEventbusProtoFunction `json:"baseFunction,omitempty"`
   871  
   872  	// LiteralValue: Start with a literal value.
   873  	LiteralValue *EnterpriseCrmEventbusProtoParameterValueType `json:"literalValue,omitempty"`
   874  
   875  	// ReferenceValue: Start with a reference value to dereference.
   876  	ReferenceValue string `json:"referenceValue,omitempty"`
   877  
   878  	// ForceSendFields is a list of field names (e.g. "BaseFunction") to
   879  	// unconditionally include in API requests. By default, fields with
   880  	// empty or default values are omitted from API requests. However, any
   881  	// non-pointer, non-interface field appearing in ForceSendFields will be
   882  	// sent to the server regardless of whether the field is empty or not.
   883  	// This may be used to include empty fields in Patch requests.
   884  	ForceSendFields []string `json:"-"`
   885  
   886  	// NullFields is a list of field names (e.g. "BaseFunction") to include
   887  	// in API requests with the JSON null value. By default, fields with
   888  	// empty values are omitted from API requests. However, any field with
   889  	// an empty value appearing in NullFields will be sent to the server as
   890  	// null. It is an error if a field in this list has a non-empty value.
   891  	// This may be used to include null fields in Patch requests.
   892  	NullFields []string `json:"-"`
   893  }
   894  
   895  func (s *EnterpriseCrmEventbusProtoBaseValue) MarshalJSON() ([]byte, error) {
   896  	type NoMethod EnterpriseCrmEventbusProtoBaseValue
   897  	raw := NoMethod(*s)
   898  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   899  }
   900  
   901  type EnterpriseCrmEventbusProtoBooleanArrayFunction struct {
   902  	// Possible values:
   903  	//   "UNSPECIFIED"
   904  	//   "GET"
   905  	//   "APPEND"
   906  	//   "SIZE"
   907  	//   "TO_SET"
   908  	//   "APPEND_ALL"
   909  	//   "TO_JSON"
   910  	//   "SET"
   911  	//   "REMOVE"
   912  	//   "REMOVE_AT"
   913  	//   "CONTAINS"
   914  	//   "FOR_EACH"
   915  	//   "FILTER"
   916  	FunctionName string `json:"functionName,omitempty"`
   917  
   918  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
   919  	// unconditionally include in API requests. By default, fields with
   920  	// empty or default values are omitted from API requests. However, any
   921  	// non-pointer, non-interface field appearing in ForceSendFields will be
   922  	// sent to the server regardless of whether the field is empty or not.
   923  	// This may be used to include empty fields in Patch requests.
   924  	ForceSendFields []string `json:"-"`
   925  
   926  	// NullFields is a list of field names (e.g. "FunctionName") to include
   927  	// in API requests with the JSON null value. By default, fields with
   928  	// empty values are omitted from API requests. However, any field with
   929  	// an empty value appearing in NullFields will be sent to the server as
   930  	// null. It is an error if a field in this list has a non-empty value.
   931  	// This may be used to include null fields in Patch requests.
   932  	NullFields []string `json:"-"`
   933  }
   934  
   935  func (s *EnterpriseCrmEventbusProtoBooleanArrayFunction) MarshalJSON() ([]byte, error) {
   936  	type NoMethod EnterpriseCrmEventbusProtoBooleanArrayFunction
   937  	raw := NoMethod(*s)
   938  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   939  }
   940  
   941  type EnterpriseCrmEventbusProtoBooleanFunction struct {
   942  	// Possible values:
   943  	//   "UNSPECIFIED"
   944  	//   "TO_JSON"
   945  	//   "NOT"
   946  	//   "AND"
   947  	//   "NAND"
   948  	//   "OR"
   949  	//   "XOR"
   950  	//   "NOR"
   951  	//   "XNOR"
   952  	//   "TO_STRING"
   953  	//   "EQUALS"
   954  	FunctionName string `json:"functionName,omitempty"`
   955  
   956  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
   957  	// unconditionally include in API requests. By default, fields with
   958  	// empty or default values are omitted from API requests. However, any
   959  	// non-pointer, non-interface field appearing in ForceSendFields will be
   960  	// sent to the server regardless of whether the field is empty or not.
   961  	// This may be used to include empty fields in Patch requests.
   962  	ForceSendFields []string `json:"-"`
   963  
   964  	// NullFields is a list of field names (e.g. "FunctionName") to include
   965  	// in API requests with the JSON null value. By default, fields with
   966  	// empty values are omitted from API requests. However, any field with
   967  	// an empty value appearing in NullFields will be sent to the server as
   968  	// null. It is an error if a field in this list has a non-empty value.
   969  	// This may be used to include null fields in Patch requests.
   970  	NullFields []string `json:"-"`
   971  }
   972  
   973  func (s *EnterpriseCrmEventbusProtoBooleanFunction) MarshalJSON() ([]byte, error) {
   974  	type NoMethod EnterpriseCrmEventbusProtoBooleanFunction
   975  	raw := NoMethod(*s)
   976  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   977  }
   978  
   979  type EnterpriseCrmEventbusProtoBooleanParameterArray struct {
   980  	BooleanValues []bool `json:"booleanValues,omitempty"`
   981  
   982  	// ForceSendFields is a list of field names (e.g. "BooleanValues") to
   983  	// unconditionally include in API requests. By default, fields with
   984  	// empty or default values are omitted from API requests. However, any
   985  	// non-pointer, non-interface field appearing in ForceSendFields will be
   986  	// sent to the server regardless of whether the field is empty or not.
   987  	// This may be used to include empty fields in Patch requests.
   988  	ForceSendFields []string `json:"-"`
   989  
   990  	// NullFields is a list of field names (e.g. "BooleanValues") to include
   991  	// in API requests with the JSON null value. By default, fields with
   992  	// empty values are omitted from API requests. However, any field with
   993  	// an empty value appearing in NullFields will be sent to the server as
   994  	// null. It is an error if a field in this list has a non-empty value.
   995  	// This may be used to include null fields in Patch requests.
   996  	NullFields []string `json:"-"`
   997  }
   998  
   999  func (s *EnterpriseCrmEventbusProtoBooleanParameterArray) MarshalJSON() ([]byte, error) {
  1000  	type NoMethod EnterpriseCrmEventbusProtoBooleanParameterArray
  1001  	raw := NoMethod(*s)
  1002  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1003  }
  1004  
  1005  type EnterpriseCrmEventbusProtoBuganizerNotification struct {
  1006  	// AssigneeEmailAddress: Whom to assign the new bug. Optional.
  1007  	AssigneeEmailAddress string `json:"assigneeEmailAddress,omitempty"`
  1008  
  1009  	// ComponentId: ID of the buganizer component within which to create a
  1010  	// new issue. Required.
  1011  	ComponentId int64 `json:"componentId,omitempty,string"`
  1012  
  1013  	// TemplateId: ID of the buganizer template to use. Optional.
  1014  	TemplateId int64 `json:"templateId,omitempty,string"`
  1015  
  1016  	// Title: Title of the issue to be created. Required.
  1017  	Title string `json:"title,omitempty"`
  1018  
  1019  	// ForceSendFields is a list of field names (e.g.
  1020  	// "AssigneeEmailAddress") to unconditionally include in API requests.
  1021  	// By default, fields with empty or default values are omitted from API
  1022  	// requests. However, any non-pointer, non-interface field appearing in
  1023  	// ForceSendFields will be sent to the server regardless of whether the
  1024  	// field is empty or not. This may be used to include empty fields in
  1025  	// Patch requests.
  1026  	ForceSendFields []string `json:"-"`
  1027  
  1028  	// NullFields is a list of field names (e.g. "AssigneeEmailAddress") to
  1029  	// include in API requests with the JSON null value. By default, fields
  1030  	// with empty values are omitted from API requests. However, any field
  1031  	// with an empty value appearing in NullFields will be sent to the
  1032  	// server as null. It is an error if a field in this list has a
  1033  	// non-empty value. This may be used to include null fields in Patch
  1034  	// requests.
  1035  	NullFields []string `json:"-"`
  1036  }
  1037  
  1038  func (s *EnterpriseCrmEventbusProtoBuganizerNotification) MarshalJSON() ([]byte, error) {
  1039  	type NoMethod EnterpriseCrmEventbusProtoBuganizerNotification
  1040  	raw := NoMethod(*s)
  1041  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1042  }
  1043  
  1044  // EnterpriseCrmEventbusProtoCloudSchedulerConfig: Cloud Scheduler
  1045  // Trigger configuration
  1046  type EnterpriseCrmEventbusProtoCloudSchedulerConfig struct {
  1047  	// CronTab: Required. The cron tab of cloud scheduler trigger.
  1048  	CronTab string `json:"cronTab,omitempty"`
  1049  
  1050  	// ErrorMessage: Optional. When the job was deleted from Pantheon UI,
  1051  	// error_message will be populated when Get/List integrations
  1052  	ErrorMessage string `json:"errorMessage,omitempty"`
  1053  
  1054  	// Location: Required. The location where associated cloud scheduler job
  1055  	// will be created
  1056  	Location string `json:"location,omitempty"`
  1057  
  1058  	// ServiceAccountEmail: Required. Service account used by Cloud
  1059  	// Scheduler to trigger the integration at scheduled time
  1060  	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
  1061  
  1062  	// ForceSendFields is a list of field names (e.g. "CronTab") to
  1063  	// unconditionally include in API requests. By default, fields with
  1064  	// empty or default values are omitted from API requests. However, any
  1065  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1066  	// sent to the server regardless of whether the field is empty or not.
  1067  	// This may be used to include empty fields in Patch requests.
  1068  	ForceSendFields []string `json:"-"`
  1069  
  1070  	// NullFields is a list of field names (e.g. "CronTab") to include in
  1071  	// API requests with the JSON null value. By default, fields with empty
  1072  	// values are omitted from API requests. However, any field with an
  1073  	// empty value appearing in NullFields will be sent to the server as
  1074  	// null. It is an error if a field in this list has a non-empty value.
  1075  	// This may be used to include null fields in Patch requests.
  1076  	NullFields []string `json:"-"`
  1077  }
  1078  
  1079  func (s *EnterpriseCrmEventbusProtoCloudSchedulerConfig) MarshalJSON() ([]byte, error) {
  1080  	type NoMethod EnterpriseCrmEventbusProtoCloudSchedulerConfig
  1081  	raw := NoMethod(*s)
  1082  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1083  }
  1084  
  1085  // EnterpriseCrmEventbusProtoCombinedCondition: This message recursively
  1086  // combines constituent conditions using logical AND.
  1087  type EnterpriseCrmEventbusProtoCombinedCondition struct {
  1088  	// Conditions: A set of individual constituent conditions.
  1089  	Conditions []*EnterpriseCrmEventbusProtoCondition `json:"conditions,omitempty"`
  1090  
  1091  	// ForceSendFields is a list of field names (e.g. "Conditions") to
  1092  	// unconditionally include in API requests. By default, fields with
  1093  	// empty or default values are omitted from API requests. However, any
  1094  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1095  	// sent to the server regardless of whether the field is empty or not.
  1096  	// This may be used to include empty fields in Patch requests.
  1097  	ForceSendFields []string `json:"-"`
  1098  
  1099  	// NullFields is a list of field names (e.g. "Conditions") to include in
  1100  	// API requests with the JSON null value. By default, fields with empty
  1101  	// values are omitted from API requests. However, any field with an
  1102  	// empty value appearing in NullFields will be sent to the server as
  1103  	// null. It is an error if a field in this list has a non-empty value.
  1104  	// This may be used to include null fields in Patch requests.
  1105  	NullFields []string `json:"-"`
  1106  }
  1107  
  1108  func (s *EnterpriseCrmEventbusProtoCombinedCondition) MarshalJSON() ([]byte, error) {
  1109  	type NoMethod EnterpriseCrmEventbusProtoCombinedCondition
  1110  	raw := NoMethod(*s)
  1111  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1112  }
  1113  
  1114  // EnterpriseCrmEventbusProtoCondition: Condition that uses `operator`
  1115  // to evaluate the key against the value.
  1116  type EnterpriseCrmEventbusProtoCondition struct {
  1117  	// EventPropertyKey: Key that's evaluated against the `value`. Please
  1118  	// note the data type of the runtime value associated with the key
  1119  	// should match the data type of `value`, else an
  1120  	// IllegalArgumentException is thrown.
  1121  	EventPropertyKey string `json:"eventPropertyKey,omitempty"`
  1122  
  1123  	// Operator: Operator used to evaluate the condition. Please note that
  1124  	// an operator with an inappropriate key/value operand will result in
  1125  	// IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
  1126  	//
  1127  	// Possible values:
  1128  	//   "UNSET"
  1129  	//   "EQUALS"
  1130  	//   "CONTAINS"
  1131  	//   "LESS_THAN"
  1132  	//   "GREATER_THAN"
  1133  	//   "EXISTS"
  1134  	//   "DOES_NOT_EXIST"
  1135  	//   "IS_EMPTY"
  1136  	//   "IS_NOT_EMPTY"
  1137  	Operator string `json:"operator,omitempty"`
  1138  
  1139  	// Value: Value that's checked for the key.
  1140  	Value *EnterpriseCrmEventbusProtoValueType `json:"value,omitempty"`
  1141  
  1142  	// ForceSendFields is a list of field names (e.g. "EventPropertyKey") to
  1143  	// unconditionally include in API requests. By default, fields with
  1144  	// empty or default values are omitted from API requests. However, any
  1145  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1146  	// sent to the server regardless of whether the field is empty or not.
  1147  	// This may be used to include empty fields in Patch requests.
  1148  	ForceSendFields []string `json:"-"`
  1149  
  1150  	// NullFields is a list of field names (e.g. "EventPropertyKey") to
  1151  	// include in API requests with the JSON null value. By default, fields
  1152  	// with empty values are omitted from API requests. However, any field
  1153  	// with an empty value appearing in NullFields will be sent to the
  1154  	// server as null. It is an error if a field in this list has a
  1155  	// non-empty value. This may be used to include null fields in Patch
  1156  	// requests.
  1157  	NullFields []string `json:"-"`
  1158  }
  1159  
  1160  func (s *EnterpriseCrmEventbusProtoCondition) MarshalJSON() ([]byte, error) {
  1161  	type NoMethod EnterpriseCrmEventbusProtoCondition
  1162  	raw := NoMethod(*s)
  1163  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1164  }
  1165  
  1166  // EnterpriseCrmEventbusProtoConditionResult: Contains the combined
  1167  // condition calculation results.
  1168  type EnterpriseCrmEventbusProtoConditionResult struct {
  1169  	// CurrentTaskNumber: the current task number.
  1170  	CurrentTaskNumber string `json:"currentTaskNumber,omitempty"`
  1171  
  1172  	// NextTaskNumber: the next task number.
  1173  	NextTaskNumber string `json:"nextTaskNumber,omitempty"`
  1174  
  1175  	// Result: the result comes out after evaluate the combined condition.
  1176  	// True if there's no combined condition specified.
  1177  	Result bool `json:"result,omitempty"`
  1178  
  1179  	// ForceSendFields is a list of field names (e.g. "CurrentTaskNumber")
  1180  	// to unconditionally include in API requests. By default, fields with
  1181  	// empty or default values are omitted from API requests. However, any
  1182  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1183  	// sent to the server regardless of whether the field is empty or not.
  1184  	// This may be used to include empty fields in Patch requests.
  1185  	ForceSendFields []string `json:"-"`
  1186  
  1187  	// NullFields is a list of field names (e.g. "CurrentTaskNumber") to
  1188  	// include in API requests with the JSON null value. By default, fields
  1189  	// with empty values are omitted from API requests. However, any field
  1190  	// with an empty value appearing in NullFields will be sent to the
  1191  	// server as null. It is an error if a field in this list has a
  1192  	// non-empty value. This may be used to include null fields in Patch
  1193  	// requests.
  1194  	NullFields []string `json:"-"`
  1195  }
  1196  
  1197  func (s *EnterpriseCrmEventbusProtoConditionResult) MarshalJSON() ([]byte, error) {
  1198  	type NoMethod EnterpriseCrmEventbusProtoConditionResult
  1199  	raw := NoMethod(*s)
  1200  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1201  }
  1202  
  1203  type EnterpriseCrmEventbusProtoConnectorsConnection struct {
  1204  	// ConnectionName: Connection name Format:
  1205  	// projects/{project}/locations/{location}/connections/{connection}
  1206  	ConnectionName string `json:"connectionName,omitempty"`
  1207  
  1208  	// ConnectorVersion: Connector version Format:
  1209  	// projects/{project}/locations/{location}/providers/{provider}/connector
  1210  	// s/{connector}/versions/{version}
  1211  	ConnectorVersion string `json:"connectorVersion,omitempty"`
  1212  
  1213  	// ServiceName: Service name Format:
  1214  	// projects/{project}/locations/{location}/namespaces/{namespace}/service
  1215  	// s/{service}
  1216  	ServiceName string `json:"serviceName,omitempty"`
  1217  
  1218  	// ForceSendFields is a list of field names (e.g. "ConnectionName") to
  1219  	// unconditionally include in API requests. By default, fields with
  1220  	// empty or default values are omitted from API requests. However, any
  1221  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1222  	// sent to the server regardless of whether the field is empty or not.
  1223  	// This may be used to include empty fields in Patch requests.
  1224  	ForceSendFields []string `json:"-"`
  1225  
  1226  	// NullFields is a list of field names (e.g. "ConnectionName") to
  1227  	// include in API requests with the JSON null value. By default, fields
  1228  	// with empty values are omitted from API requests. However, any field
  1229  	// with an empty value appearing in NullFields will be sent to the
  1230  	// server as null. It is an error if a field in this list has a
  1231  	// non-empty value. This may be used to include null fields in Patch
  1232  	// requests.
  1233  	NullFields []string `json:"-"`
  1234  }
  1235  
  1236  func (s *EnterpriseCrmEventbusProtoConnectorsConnection) MarshalJSON() ([]byte, error) {
  1237  	type NoMethod EnterpriseCrmEventbusProtoConnectorsConnection
  1238  	raw := NoMethod(*s)
  1239  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1240  }
  1241  
  1242  type EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig struct {
  1243  	// Connection: User-selected connection.
  1244  	Connection *EnterpriseCrmEventbusProtoConnectorsConnection `json:"connection,omitempty"`
  1245  
  1246  	// Operation: Operation to perform using the configured connection.
  1247  	//
  1248  	// Possible values:
  1249  	//   "OPERATION_UNSPECIFIED"
  1250  	//   "EXECUTE_ACTION"
  1251  	//   "LIST_ENTITIES"
  1252  	//   "GET_ENTITY"
  1253  	//   "CREATE_ENTITY"
  1254  	//   "UPDATE_ENTITY"
  1255  	//   "DELETE_ENTITY"
  1256  	Operation string `json:"operation,omitempty"`
  1257  
  1258  	// ForceSendFields is a list of field names (e.g. "Connection") to
  1259  	// unconditionally include in API requests. By default, fields with
  1260  	// empty or default values are omitted from API requests. However, any
  1261  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1262  	// sent to the server regardless of whether the field is empty or not.
  1263  	// This may be used to include empty fields in Patch requests.
  1264  	ForceSendFields []string `json:"-"`
  1265  
  1266  	// NullFields is a list of field names (e.g. "Connection") to include in
  1267  	// API requests with the JSON null value. By default, fields with empty
  1268  	// values are omitted from API requests. However, any field with an
  1269  	// empty value appearing in NullFields will be sent to the server as
  1270  	// null. It is an error if a field in this list has a non-empty value.
  1271  	// This may be used to include null fields in Patch requests.
  1272  	NullFields []string `json:"-"`
  1273  }
  1274  
  1275  func (s *EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig) MarshalJSON() ([]byte, error) {
  1276  	type NoMethod EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig
  1277  	raw := NoMethod(*s)
  1278  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1279  }
  1280  
  1281  // EnterpriseCrmEventbusProtoCoordinate: Represents two-dimensional
  1282  // positions.
  1283  type EnterpriseCrmEventbusProtoCoordinate struct {
  1284  	X int64 `json:"x,omitempty"`
  1285  
  1286  	Y int64 `json:"y,omitempty"`
  1287  
  1288  	// ForceSendFields is a list of field names (e.g. "X") to
  1289  	// unconditionally include in API requests. By default, fields with
  1290  	// empty or default values are omitted from API requests. However, any
  1291  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1292  	// sent to the server regardless of whether the field is empty or not.
  1293  	// This may be used to include empty fields in Patch requests.
  1294  	ForceSendFields []string `json:"-"`
  1295  
  1296  	// NullFields is a list of field names (e.g. "X") to include in API
  1297  	// requests with the JSON null value. By default, fields with empty
  1298  	// values are omitted from API requests. However, any field with an
  1299  	// empty value appearing in NullFields will be sent to the server as
  1300  	// null. It is an error if a field in this list has a non-empty value.
  1301  	// This may be used to include null fields in Patch requests.
  1302  	NullFields []string `json:"-"`
  1303  }
  1304  
  1305  func (s *EnterpriseCrmEventbusProtoCoordinate) MarshalJSON() ([]byte, error) {
  1306  	type NoMethod EnterpriseCrmEventbusProtoCoordinate
  1307  	raw := NoMethod(*s)
  1308  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1309  }
  1310  
  1311  type EnterpriseCrmEventbusProtoCustomSuspensionRequest struct {
  1312  	// PostToQueueWithTriggerIdRequest: Request to fire an event containing
  1313  	// the SuspensionInfo message.
  1314  	PostToQueueWithTriggerIdRequest *GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest `json:"postToQueueWithTriggerIdRequest,omitempty"`
  1315  
  1316  	// SuspensionInfoEventParameterKey: In the fired event, set the
  1317  	// SuspensionInfo message as the value for this key.
  1318  	SuspensionInfoEventParameterKey string `json:"suspensionInfoEventParameterKey,omitempty"`
  1319  
  1320  	// ForceSendFields is a list of field names (e.g.
  1321  	// "PostToQueueWithTriggerIdRequest") to unconditionally include in API
  1322  	// requests. By default, fields with empty or default values are omitted
  1323  	// from API requests. However, any non-pointer, non-interface field
  1324  	// appearing in ForceSendFields will be sent to the server regardless of
  1325  	// whether the field is empty or not. This may be used to include empty
  1326  	// fields in Patch requests.
  1327  	ForceSendFields []string `json:"-"`
  1328  
  1329  	// NullFields is a list of field names (e.g.
  1330  	// "PostToQueueWithTriggerIdRequest") to include in API requests with
  1331  	// the JSON null value. By default, fields with empty values are omitted
  1332  	// from API requests. However, any field with an empty value appearing
  1333  	// in NullFields will be sent to the server as null. It is an error if a
  1334  	// field in this list has a non-empty value. This may be used to include
  1335  	// null fields in Patch requests.
  1336  	NullFields []string `json:"-"`
  1337  }
  1338  
  1339  func (s *EnterpriseCrmEventbusProtoCustomSuspensionRequest) MarshalJSON() ([]byte, error) {
  1340  	type NoMethod EnterpriseCrmEventbusProtoCustomSuspensionRequest
  1341  	raw := NoMethod(*s)
  1342  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1343  }
  1344  
  1345  type EnterpriseCrmEventbusProtoDoubleArray struct {
  1346  	Values []float64 `json:"values,omitempty"`
  1347  
  1348  	// ForceSendFields is a list of field names (e.g. "Values") to
  1349  	// unconditionally include in API requests. By default, fields with
  1350  	// empty or default values are omitted from API requests. However, any
  1351  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1352  	// sent to the server regardless of whether the field is empty or not.
  1353  	// This may be used to include empty fields in Patch requests.
  1354  	ForceSendFields []string `json:"-"`
  1355  
  1356  	// NullFields is a list of field names (e.g. "Values") to include in API
  1357  	// requests with the JSON null value. By default, fields with empty
  1358  	// values are omitted from API requests. However, any field with an
  1359  	// empty value appearing in NullFields will be sent to the server as
  1360  	// null. It is an error if a field in this list has a non-empty value.
  1361  	// This may be used to include null fields in Patch requests.
  1362  	NullFields []string `json:"-"`
  1363  }
  1364  
  1365  func (s *EnterpriseCrmEventbusProtoDoubleArray) MarshalJSON() ([]byte, error) {
  1366  	type NoMethod EnterpriseCrmEventbusProtoDoubleArray
  1367  	raw := NoMethod(*s)
  1368  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1369  }
  1370  
  1371  type EnterpriseCrmEventbusProtoDoubleArrayFunction struct {
  1372  	// Possible values:
  1373  	//   "UNSPECIFIED"
  1374  	//   "GET"
  1375  	//   "APPEND"
  1376  	//   "SIZE"
  1377  	//   "SUM"
  1378  	//   "AVG"
  1379  	//   "MAX"
  1380  	//   "MIN"
  1381  	//   "TO_SET"
  1382  	//   "APPEND_ALL"
  1383  	//   "TO_JSON"
  1384  	//   "SET"
  1385  	//   "REMOVE"
  1386  	//   "REMOVE_AT"
  1387  	//   "CONTAINS"
  1388  	//   "FOR_EACH"
  1389  	//   "FILTER"
  1390  	FunctionName string `json:"functionName,omitempty"`
  1391  
  1392  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  1393  	// unconditionally include in API requests. By default, fields with
  1394  	// empty or default values are omitted from API requests. However, any
  1395  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1396  	// sent to the server regardless of whether the field is empty or not.
  1397  	// This may be used to include empty fields in Patch requests.
  1398  	ForceSendFields []string `json:"-"`
  1399  
  1400  	// NullFields is a list of field names (e.g. "FunctionName") to include
  1401  	// in API requests with the JSON null value. By default, fields with
  1402  	// empty values are omitted from API requests. However, any field with
  1403  	// an empty value appearing in NullFields will be sent to the server as
  1404  	// null. It is an error if a field in this list has a non-empty value.
  1405  	// This may be used to include null fields in Patch requests.
  1406  	NullFields []string `json:"-"`
  1407  }
  1408  
  1409  func (s *EnterpriseCrmEventbusProtoDoubleArrayFunction) MarshalJSON() ([]byte, error) {
  1410  	type NoMethod EnterpriseCrmEventbusProtoDoubleArrayFunction
  1411  	raw := NoMethod(*s)
  1412  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1413  }
  1414  
  1415  type EnterpriseCrmEventbusProtoDoubleFunction struct {
  1416  	// Possible values:
  1417  	//   "UNSPECIFIED"
  1418  	//   "TO_JSON"
  1419  	//   "TO_STRING"
  1420  	//   "ADD"
  1421  	//   "SUBTRACT"
  1422  	//   "MULTIPLY"
  1423  	//   "DIVIDE"
  1424  	//   "EXPONENT"
  1425  	//   "ROUND"
  1426  	//   "FLOOR"
  1427  	//   "CEIL"
  1428  	//   "GREATER_THAN"
  1429  	//   "LESS_THAN"
  1430  	//   "EQUALS"
  1431  	//   "GREATER_THAN_EQUALS"
  1432  	//   "LESS_THAN_EQUALS"
  1433  	//   "MOD"
  1434  	FunctionName string `json:"functionName,omitempty"`
  1435  
  1436  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  1437  	// unconditionally include in API requests. By default, fields with
  1438  	// empty or default values are omitted from API requests. However, any
  1439  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1440  	// sent to the server regardless of whether the field is empty or not.
  1441  	// This may be used to include empty fields in Patch requests.
  1442  	ForceSendFields []string `json:"-"`
  1443  
  1444  	// NullFields is a list of field names (e.g. "FunctionName") to include
  1445  	// in API requests with the JSON null value. By default, fields with
  1446  	// empty values are omitted from API requests. However, any field with
  1447  	// an empty value appearing in NullFields will be sent to the server as
  1448  	// null. It is an error if a field in this list has a non-empty value.
  1449  	// This may be used to include null fields in Patch requests.
  1450  	NullFields []string `json:"-"`
  1451  }
  1452  
  1453  func (s *EnterpriseCrmEventbusProtoDoubleFunction) MarshalJSON() ([]byte, error) {
  1454  	type NoMethod EnterpriseCrmEventbusProtoDoubleFunction
  1455  	raw := NoMethod(*s)
  1456  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1457  }
  1458  
  1459  type EnterpriseCrmEventbusProtoDoubleParameterArray struct {
  1460  	DoubleValues []float64 `json:"doubleValues,omitempty"`
  1461  
  1462  	// ForceSendFields is a list of field names (e.g. "DoubleValues") to
  1463  	// unconditionally include in API requests. By default, fields with
  1464  	// empty or default values are omitted from API requests. However, any
  1465  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1466  	// sent to the server regardless of whether the field is empty or not.
  1467  	// This may be used to include empty fields in Patch requests.
  1468  	ForceSendFields []string `json:"-"`
  1469  
  1470  	// NullFields is a list of field names (e.g. "DoubleValues") to include
  1471  	// in API requests with the JSON null value. By default, fields with
  1472  	// empty values are omitted from API requests. However, any field with
  1473  	// an empty value appearing in NullFields will be sent to the server as
  1474  	// null. It is an error if a field in this list has a non-empty value.
  1475  	// This may be used to include null fields in Patch requests.
  1476  	NullFields []string `json:"-"`
  1477  }
  1478  
  1479  func (s *EnterpriseCrmEventbusProtoDoubleParameterArray) MarshalJSON() ([]byte, error) {
  1480  	type NoMethod EnterpriseCrmEventbusProtoDoubleParameterArray
  1481  	raw := NoMethod(*s)
  1482  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1483  }
  1484  
  1485  // EnterpriseCrmEventbusProtoErrorDetail: An error, warning, or
  1486  // information message associated with a workflow.
  1487  type EnterpriseCrmEventbusProtoErrorDetail struct {
  1488  	// ErrorCode: The associated error-code, which can be a common or
  1489  	// internal code.
  1490  	ErrorCode *CrmlogErrorCode `json:"errorCode,omitempty"`
  1491  
  1492  	// ErrorMessage: The full text of the error message, including any
  1493  	// parameters that were thrown along with the exception.
  1494  	ErrorMessage string `json:"errorMessage,omitempty"`
  1495  
  1496  	// Severity: The severity of the error: ERROR|WARN|INFO.
  1497  	//
  1498  	// Possible values:
  1499  	//   "SEVERITY_UNSPECIFIED"
  1500  	//   "ERROR"
  1501  	//   "WARN"
  1502  	//   "INFO"
  1503  	Severity string `json:"severity,omitempty"`
  1504  
  1505  	// TaskNumber: The task try-number, in which, the error occurred. If
  1506  	// zero, the error happened at the event level.
  1507  	TaskNumber int64 `json:"taskNumber,omitempty"`
  1508  
  1509  	// ForceSendFields is a list of field names (e.g. "ErrorCode") to
  1510  	// unconditionally include in API requests. By default, fields with
  1511  	// empty or default values are omitted from API requests. However, any
  1512  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1513  	// sent to the server regardless of whether the field is empty or not.
  1514  	// This may be used to include empty fields in Patch requests.
  1515  	ForceSendFields []string `json:"-"`
  1516  
  1517  	// NullFields is a list of field names (e.g. "ErrorCode") to include in
  1518  	// API requests with the JSON null value. By default, fields with empty
  1519  	// values are omitted from API requests. However, any field with an
  1520  	// empty value appearing in NullFields will be sent to the server as
  1521  	// null. It is an error if a field in this list has a non-empty value.
  1522  	// This may be used to include null fields in Patch requests.
  1523  	NullFields []string `json:"-"`
  1524  }
  1525  
  1526  func (s *EnterpriseCrmEventbusProtoErrorDetail) MarshalJSON() ([]byte, error) {
  1527  	type NoMethod EnterpriseCrmEventbusProtoErrorDetail
  1528  	raw := NoMethod(*s)
  1529  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1530  }
  1531  
  1532  // EnterpriseCrmEventbusProtoEventBusProperties: LINT.IfChange This
  1533  // message is used for storing key value pair properties for each Event
  1534  // / Task in the EventBus. Please see
  1535  // go/cloud-crm-eng/platform/event_bus.md for more details.
  1536  type EnterpriseCrmEventbusProtoEventBusProperties struct {
  1537  	// Properties: An unordered list of property entries.
  1538  	Properties []*EnterpriseCrmEventbusProtoPropertyEntry `json:"properties,omitempty"`
  1539  
  1540  	// ForceSendFields is a list of field names (e.g. "Properties") to
  1541  	// unconditionally include in API requests. By default, fields with
  1542  	// empty or default values are omitted from API requests. However, any
  1543  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1544  	// sent to the server regardless of whether the field is empty or not.
  1545  	// This may be used to include empty fields in Patch requests.
  1546  	ForceSendFields []string `json:"-"`
  1547  
  1548  	// NullFields is a list of field names (e.g. "Properties") to include in
  1549  	// API requests with the JSON null value. By default, fields with empty
  1550  	// values are omitted from API requests. However, any field with an
  1551  	// empty value appearing in NullFields will be sent to the server as
  1552  	// null. It is an error if a field in this list has a non-empty value.
  1553  	// This may be used to include null fields in Patch requests.
  1554  	NullFields []string `json:"-"`
  1555  }
  1556  
  1557  func (s *EnterpriseCrmEventbusProtoEventBusProperties) MarshalJSON() ([]byte, error) {
  1558  	type NoMethod EnterpriseCrmEventbusProtoEventBusProperties
  1559  	raw := NoMethod(*s)
  1560  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1561  }
  1562  
  1563  // EnterpriseCrmEventbusProtoEventExecutionDetails: Contains the details
  1564  // of the execution info of this event: this includes the tasks
  1565  // execution details plus the event execution statistics. Next available
  1566  // id: 10
  1567  type EnterpriseCrmEventbusProtoEventExecutionDetails struct {
  1568  	EventAttemptStats []*EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats `json:"eventAttemptStats,omitempty"`
  1569  
  1570  	EventExecutionSnapshot []*EnterpriseCrmEventbusProtoEventExecutionSnapshot `json:"eventExecutionSnapshot,omitempty"`
  1571  
  1572  	// Possible values:
  1573  	//   "UNSPECIFIED"
  1574  	//   "ON_HOLD" - Event is received and waiting for the execution. This
  1575  	// happens when firing the event via "postToQueue" or "schedule".
  1576  	//   "IN_PROCESS" - Event is under processing.
  1577  	//   "SUCCEEDED" - Event execution successfully finished. There's no
  1578  	// more change after this state.
  1579  	//   "FAILED" - Event execution failed. There's no more change after
  1580  	// this state.
  1581  	//   "CANCELED" - Event execution canceled by user. There's no more
  1582  	// change after this state.
  1583  	//   "RETRY_ON_HOLD" - Event execution failed and waiting for retry.
  1584  	//   "SUSPENDED" - Event execution suspended and waiting for manual
  1585  	// intervention.
  1586  	EventExecutionState string `json:"eventExecutionState,omitempty"`
  1587  
  1588  	// EventRetriesFromBeginningCount: Indicates the number of times the
  1589  	// execution has restarted from the beginning.
  1590  	EventRetriesFromBeginningCount int64 `json:"eventRetriesFromBeginningCount,omitempty"`
  1591  
  1592  	// LogFilePath: The log file path (aka. cns address) for this event.
  1593  	LogFilePath string `json:"logFilePath,omitempty"`
  1594  
  1595  	// NetworkAddress: The network address (aka. bns address) that indicates
  1596  	// where the event executor is running.
  1597  	NetworkAddress string `json:"networkAddress,omitempty"`
  1598  
  1599  	// NextExecutionTime: Next scheduled execution time in case the
  1600  	// execution status was RETRY_ON_HOLD.
  1601  	NextExecutionTime int64 `json:"nextExecutionTime,omitempty,string"`
  1602  
  1603  	// RyeLockUnheldCount: Used internally and shouldn't be exposed to
  1604  	// users. A counter for the cron job to record how many times this event
  1605  	// is in in_process state but don't have a lock consecutively/
  1606  	RyeLockUnheldCount int64 `json:"ryeLockUnheldCount,omitempty"`
  1607  
  1608  	// ForceSendFields is a list of field names (e.g. "EventAttemptStats")
  1609  	// to unconditionally include in API requests. By default, fields with
  1610  	// empty or default values are omitted from API requests. However, any
  1611  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1612  	// sent to the server regardless of whether the field is empty or not.
  1613  	// This may be used to include empty fields in Patch requests.
  1614  	ForceSendFields []string `json:"-"`
  1615  
  1616  	// NullFields is a list of field names (e.g. "EventAttemptStats") to
  1617  	// include in API requests with the JSON null value. By default, fields
  1618  	// with empty values are omitted from API requests. However, any field
  1619  	// with an empty value appearing in NullFields will be sent to the
  1620  	// server as null. It is an error if a field in this list has a
  1621  	// non-empty value. This may be used to include null fields in Patch
  1622  	// requests.
  1623  	NullFields []string `json:"-"`
  1624  }
  1625  
  1626  func (s *EnterpriseCrmEventbusProtoEventExecutionDetails) MarshalJSON() ([]byte, error) {
  1627  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionDetails
  1628  	raw := NoMethod(*s)
  1629  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1630  }
  1631  
  1632  type EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats struct {
  1633  	// EndTime: The end time of the event execution for current attempt.
  1634  	EndTime int64 `json:"endTime,omitempty,string"`
  1635  
  1636  	// StartTime: The start time of the event execution for current attempt.
  1637  	// This could be in the future if it's been scheduled.
  1638  	StartTime int64 `json:"startTime,omitempty,string"`
  1639  
  1640  	// ForceSendFields is a list of field names (e.g. "EndTime") to
  1641  	// unconditionally include in API requests. By default, fields with
  1642  	// empty or default values are omitted from API requests. However, any
  1643  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1644  	// sent to the server regardless of whether the field is empty or not.
  1645  	// This may be used to include empty fields in Patch requests.
  1646  	ForceSendFields []string `json:"-"`
  1647  
  1648  	// NullFields is a list of field names (e.g. "EndTime") to include in
  1649  	// API requests with the JSON null value. By default, fields with empty
  1650  	// values are omitted from API requests. However, any field with an
  1651  	// empty value appearing in NullFields will be sent to the server as
  1652  	// null. It is an error if a field in this list has a non-empty value.
  1653  	// This may be used to include null fields in Patch requests.
  1654  	NullFields []string `json:"-"`
  1655  }
  1656  
  1657  func (s *EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats) MarshalJSON() ([]byte, error) {
  1658  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats
  1659  	raw := NoMethod(*s)
  1660  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1661  }
  1662  
  1663  // EnterpriseCrmEventbusProtoEventExecutionSnapshot: Contains the
  1664  // snapshot of the event execution for a given checkpoint. Next
  1665  // available id: 13
  1666  type EnterpriseCrmEventbusProtoEventExecutionSnapshot struct {
  1667  	// CheckpointTaskNumber: Indicates "right after which checkpoint task's
  1668  	// execution" this snapshot is taken.
  1669  	CheckpointTaskNumber string `json:"checkpointTaskNumber,omitempty"`
  1670  
  1671  	// ConditionResults: All of the computed conditions that been
  1672  	// calculated.
  1673  	ConditionResults []*EnterpriseCrmEventbusProtoConditionResult `json:"conditionResults,omitempty"`
  1674  
  1675  	// DiffParams: The parameters in Event object that differs from last
  1676  	// snapshot.
  1677  	DiffParams *EnterpriseCrmEventbusProtoEventParameters `json:"diffParams,omitempty"`
  1678  
  1679  	// EventExecutionInfoId: Points to the event execution info this
  1680  	// snapshot belongs to.
  1681  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  1682  
  1683  	// EventExecutionSnapshotId: Auto-generated. Used as primary key for
  1684  	// EventExecutionSnapshots table.
  1685  	EventExecutionSnapshotId string `json:"eventExecutionSnapshotId,omitempty"`
  1686  
  1687  	EventExecutionSnapshotMetadata *EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata `json:"eventExecutionSnapshotMetadata,omitempty"`
  1688  
  1689  	// EventParams: The parameters in Event object.
  1690  	EventParams *EnterpriseCrmEventbusProtoEventParameters `json:"eventParams,omitempty"`
  1691  
  1692  	// ExceedMaxSize: indicate whether snapshot exceeded maximum size before
  1693  	// clean up
  1694  	ExceedMaxSize bool `json:"exceedMaxSize,omitempty"`
  1695  
  1696  	// SnapshotTime: Indicates when this snapshot is taken.
  1697  	SnapshotTime int64 `json:"snapshotTime,omitempty,string"`
  1698  
  1699  	// TaskExecutionDetails: All of the task execution details at the given
  1700  	// point of time.
  1701  	TaskExecutionDetails []*EnterpriseCrmEventbusProtoTaskExecutionDetails `json:"taskExecutionDetails,omitempty"`
  1702  
  1703  	// TaskName: The task name associated with this snapshot. Could be
  1704  	// empty.
  1705  	TaskName string `json:"taskName,omitempty"`
  1706  
  1707  	// ForceSendFields is a list of field names (e.g.
  1708  	// "CheckpointTaskNumber") to unconditionally include in API requests.
  1709  	// By default, fields with empty or default values are omitted from API
  1710  	// requests. However, any non-pointer, non-interface field appearing in
  1711  	// ForceSendFields will be sent to the server regardless of whether the
  1712  	// field is empty or not. This may be used to include empty fields in
  1713  	// Patch requests.
  1714  	ForceSendFields []string `json:"-"`
  1715  
  1716  	// NullFields is a list of field names (e.g. "CheckpointTaskNumber") to
  1717  	// include in API requests with the JSON null value. By default, fields
  1718  	// with empty values are omitted from API requests. However, any field
  1719  	// with an empty value appearing in NullFields will be sent to the
  1720  	// server as null. It is an error if a field in this list has a
  1721  	// non-empty value. This may be used to include null fields in Patch
  1722  	// requests.
  1723  	NullFields []string `json:"-"`
  1724  }
  1725  
  1726  func (s *EnterpriseCrmEventbusProtoEventExecutionSnapshot) MarshalJSON() ([]byte, error) {
  1727  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionSnapshot
  1728  	raw := NoMethod(*s)
  1729  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1730  }
  1731  
  1732  type EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata struct {
  1733  	// EventAttemptNum: the event attempt number this snapshot belongs to.
  1734  	EventAttemptNum int64 `json:"eventAttemptNum,omitempty"`
  1735  
  1736  	// TaskAttemptNum: the task attempt number this snapshot belongs to.
  1737  	// Could be empty.
  1738  	TaskAttemptNum int64 `json:"taskAttemptNum,omitempty"`
  1739  
  1740  	// TaskName: the task name associated with this snapshot. Could be
  1741  	// empty.
  1742  	TaskName string `json:"taskName,omitempty"`
  1743  
  1744  	// TaskNumber: The task number associated with this snapshot. Could be
  1745  	// empty.
  1746  	TaskNumber string `json:"taskNumber,omitempty"`
  1747  
  1748  	// ForceSendFields is a list of field names (e.g. "EventAttemptNum") to
  1749  	// unconditionally include in API requests. By default, fields with
  1750  	// empty or default values are omitted from API requests. However, any
  1751  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1752  	// sent to the server regardless of whether the field is empty or not.
  1753  	// This may be used to include empty fields in Patch requests.
  1754  	ForceSendFields []string `json:"-"`
  1755  
  1756  	// NullFields is a list of field names (e.g. "EventAttemptNum") to
  1757  	// include in API requests with the JSON null value. By default, fields
  1758  	// with empty values are omitted from API requests. However, any field
  1759  	// with an empty value appearing in NullFields will be sent to the
  1760  	// server as null. It is an error if a field in this list has a
  1761  	// non-empty value. This may be used to include null fields in Patch
  1762  	// requests.
  1763  	NullFields []string `json:"-"`
  1764  }
  1765  
  1766  func (s *EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata) MarshalJSON() ([]byte, error) {
  1767  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata
  1768  	raw := NoMethod(*s)
  1769  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1770  }
  1771  
  1772  // EnterpriseCrmEventbusProtoEventParameters: LINT.IfChange This message
  1773  // is used for processing and persisting (when applicable) key value
  1774  // pair parameters for each event in the event bus. Please see
  1775  // go/integration-platform/event_bus.md for more details. Next id: 4
  1776  type EnterpriseCrmEventbusProtoEventParameters struct {
  1777  	// Parameters: Parameters are a part of Event and can be used to
  1778  	// communicate between different tasks that are part of the same
  1779  	// integration execution.
  1780  	Parameters []*EnterpriseCrmEventbusProtoParameterEntry `json:"parameters,omitempty"`
  1781  
  1782  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  1783  	// unconditionally include in API requests. By default, fields with
  1784  	// empty or default values are omitted from API requests. However, any
  1785  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1786  	// sent to the server regardless of whether the field is empty or not.
  1787  	// This may be used to include empty fields in Patch requests.
  1788  	ForceSendFields []string `json:"-"`
  1789  
  1790  	// NullFields is a list of field names (e.g. "Parameters") to include in
  1791  	// API requests with the JSON null value. By default, fields with empty
  1792  	// values are omitted from API requests. However, any field with an
  1793  	// empty value appearing in NullFields will be sent to the server as
  1794  	// null. It is an error if a field in this list has a non-empty value.
  1795  	// This may be used to include null fields in Patch requests.
  1796  	NullFields []string `json:"-"`
  1797  }
  1798  
  1799  func (s *EnterpriseCrmEventbusProtoEventParameters) MarshalJSON() ([]byte, error) {
  1800  	type NoMethod EnterpriseCrmEventbusProtoEventParameters
  1801  	raw := NoMethod(*s)
  1802  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1803  }
  1804  
  1805  // EnterpriseCrmEventbusProtoExecutionTraceInfo: Message that helps
  1806  // aggregate all sub-executions triggered by one execution and keeps
  1807  // track of child-parent relationships.
  1808  type EnterpriseCrmEventbusProtoExecutionTraceInfo struct {
  1809  	// ParentEventExecutionInfoId: Parent event execution info id that
  1810  	// triggers the current execution through SubWorkflowExecutorTask.
  1811  	ParentEventExecutionInfoId string `json:"parentEventExecutionInfoId,omitempty"`
  1812  
  1813  	// TraceId: Used to aggregate ExecutionTraceInfo.
  1814  	TraceId string `json:"traceId,omitempty"`
  1815  
  1816  	// ForceSendFields is a list of field names (e.g.
  1817  	// "ParentEventExecutionInfoId") to unconditionally include in API
  1818  	// requests. By default, fields with empty or default values are omitted
  1819  	// from API requests. However, any non-pointer, non-interface field
  1820  	// appearing in ForceSendFields will be sent to the server regardless of
  1821  	// whether the field is empty or not. This may be used to include empty
  1822  	// fields in Patch requests.
  1823  	ForceSendFields []string `json:"-"`
  1824  
  1825  	// NullFields is a list of field names (e.g.
  1826  	// "ParentEventExecutionInfoId") to include in API requests with the
  1827  	// JSON null value. By default, fields with empty values are omitted
  1828  	// from API requests. However, any field with an empty value appearing
  1829  	// in NullFields will be sent to the server as null. It is an error if a
  1830  	// field in this list has a non-empty value. This may be used to include
  1831  	// null fields in Patch requests.
  1832  	NullFields []string `json:"-"`
  1833  }
  1834  
  1835  func (s *EnterpriseCrmEventbusProtoExecutionTraceInfo) MarshalJSON() ([]byte, error) {
  1836  	type NoMethod EnterpriseCrmEventbusProtoExecutionTraceInfo
  1837  	raw := NoMethod(*s)
  1838  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1839  }
  1840  
  1841  // EnterpriseCrmEventbusProtoExternalTraffic: Represents external
  1842  // traffic type and id.
  1843  type EnterpriseCrmEventbusProtoExternalTraffic struct {
  1844  	// GcpProjectId: User’s GCP project id the traffic is referring to.
  1845  	GcpProjectId string `json:"gcpProjectId,omitempty"`
  1846  
  1847  	// GcpProjectNumber: User’s GCP project number the traffic is
  1848  	// referring to.
  1849  	GcpProjectNumber string `json:"gcpProjectNumber,omitempty"`
  1850  
  1851  	// Location: Location for the user's request.
  1852  	Location string `json:"location,omitempty"`
  1853  
  1854  	// Source:
  1855  	// LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.
  1856  	// proto:product,
  1857  	// //depot/google3/java/com/google/enterprise/crm/integrationplatform/api
  1858  	// /utils/ConverterUtils.java:source_to_product)
  1859  	//
  1860  	// Possible values:
  1861  	//   "SOURCE_UNSPECIFIED"
  1862  	//   "APIGEE"
  1863  	//   "SECURITY"
  1864  	Source string `json:"source,omitempty"`
  1865  
  1866  	// ForceSendFields is a list of field names (e.g. "GcpProjectId") to
  1867  	// unconditionally include in API requests. By default, fields with
  1868  	// empty or default values are omitted from API requests. However, any
  1869  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1870  	// sent to the server regardless of whether the field is empty or not.
  1871  	// This may be used to include empty fields in Patch requests.
  1872  	ForceSendFields []string `json:"-"`
  1873  
  1874  	// NullFields is a list of field names (e.g. "GcpProjectId") to include
  1875  	// in API requests with the JSON null value. By default, fields with
  1876  	// empty values are omitted from API requests. However, any field with
  1877  	// an empty value appearing in NullFields will be sent to the server as
  1878  	// null. It is an error if a field in this list has a non-empty value.
  1879  	// This may be used to include null fields in Patch requests.
  1880  	NullFields []string `json:"-"`
  1881  }
  1882  
  1883  func (s *EnterpriseCrmEventbusProtoExternalTraffic) MarshalJSON() ([]byte, error) {
  1884  	type NoMethod EnterpriseCrmEventbusProtoExternalTraffic
  1885  	raw := NoMethod(*s)
  1886  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1887  }
  1888  
  1889  // EnterpriseCrmEventbusProtoFailurePolicy: Policy that defines the task
  1890  // retry logic and failure type. If no FailurePolicy is defined for a
  1891  // task, all its dependent tasks will not be executed (i.e, a
  1892  // `retry_strategy` of NONE will be applied).
  1893  type EnterpriseCrmEventbusProtoFailurePolicy struct {
  1894  	// IntervalInSeconds: Required if retry_strategy is FIXED_INTERVAL or
  1895  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
  1896  	// initial interval for backoff.
  1897  	IntervalInSeconds int64 `json:"intervalInSeconds,omitempty,string"`
  1898  
  1899  	// MaxNumRetries: Required if retry_strategy is FIXED_INTERVAL or
  1900  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
  1901  	// number of times the task will be retried if failed.
  1902  	MaxNumRetries int64 `json:"maxNumRetries,omitempty"`
  1903  
  1904  	// RetryStrategy: Defines what happens to the task upon failure.
  1905  	//
  1906  	// Possible values:
  1907  	//   "UNSPECIFIED"
  1908  	//   "IGNORE" - Ignores the failure of this task. The rest of the
  1909  	// workflow will be executed Assuming this task succeeded.
  1910  	//   "NONE" - Causes a permanent failure of the task. However, if the
  1911  	// last task(s) of event was successfully completed despite the failure
  1912  	// of this task, it has no impact on the workflow.
  1913  	//   "FATAL" - Causes a permanent failure of the event. It is different
  1914  	// from NONE because this will mark the event as FAILED by shutting down
  1915  	// the event execution.
  1916  	//   "FIXED_INTERVAL" - The task will be retried from the failed task
  1917  	// onwards after a fixed delay. A max-retry count is required to be
  1918  	// specified with this strategy. A jitter is added to each exponential
  1919  	// interval so that concurrently failing tasks of the same type do not
  1920  	// end up retrying after the exact same exponential interval.
  1921  	// Max_num_retries and interval_in_seconds must be specified.
  1922  	//   "LINEAR_BACKOFF" - The task will be retried from the failed task
  1923  	// onwards after a fixed delay that linearly increases with each retry
  1924  	// attempt. A jitter is added to each exponential interval so that
  1925  	// concurrently failing tasks of the same type do not end up retrying
  1926  	// after the exact same exponential interval. A max-retry count is
  1927  	// required to be specified with this strategy. Max_num_retries and
  1928  	// interval_in_seconds must be specified.
  1929  	//   "EXPONENTIAL_BACKOFF" - The task will be retried after an
  1930  	// exponentially increasing period of time with each failure. A jitter
  1931  	// is added to each exponential interval so that concurrently failing
  1932  	// tasks of the same type do not end up retrying after the exact same
  1933  	// exponential interval. A max-retry count is required to be specified
  1934  	// with this strategy. `max_num_retries` and `interval_in_seconds` must
  1935  	// be specified.
  1936  	//   "RESTART_WORKFLOW_WITH_BACKOFF" - The entire workflow will be
  1937  	// restarted with the initial parameters that were set when the event
  1938  	// was fired. A max-retry count is required to be specified with this
  1939  	// strategy. `max_num_retries` and `interval_in_seconds` must be
  1940  	// specified.
  1941  	RetryStrategy string `json:"retryStrategy,omitempty"`
  1942  
  1943  	// ForceSendFields is a list of field names (e.g. "IntervalInSeconds")
  1944  	// to unconditionally include in API requests. By default, fields with
  1945  	// empty or default values are omitted from API requests. However, any
  1946  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1947  	// sent to the server regardless of whether the field is empty or not.
  1948  	// This may be used to include empty fields in Patch requests.
  1949  	ForceSendFields []string `json:"-"`
  1950  
  1951  	// NullFields is a list of field names (e.g. "IntervalInSeconds") to
  1952  	// include in API requests with the JSON null value. By default, fields
  1953  	// with empty values are omitted from API requests. However, any field
  1954  	// with an empty value appearing in NullFields will be sent to the
  1955  	// server as null. It is an error if a field in this list has a
  1956  	// non-empty value. This may be used to include null fields in Patch
  1957  	// requests.
  1958  	NullFields []string `json:"-"`
  1959  }
  1960  
  1961  func (s *EnterpriseCrmEventbusProtoFailurePolicy) MarshalJSON() ([]byte, error) {
  1962  	type NoMethod EnterpriseCrmEventbusProtoFailurePolicy
  1963  	raw := NoMethod(*s)
  1964  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1965  }
  1966  
  1967  // EnterpriseCrmEventbusProtoField: Information about the value and type
  1968  // of the field. Next Id: 8
  1969  type EnterpriseCrmEventbusProtoField struct {
  1970  	// Cardinality: By default, if the cardinality is unspecified the field
  1971  	// is considered required while mapping.
  1972  	//
  1973  	// Possible values:
  1974  	//   "UNSPECIFIED" - For fields with unspecified cardinality.
  1975  	//   "OPTIONAL" - If field cardinality is set to optional, ignore errors
  1976  	// if input field value is null or the reference_key is not found.
  1977  	Cardinality string `json:"cardinality,omitempty"`
  1978  
  1979  	// DefaultValue: This holds the default values for the fields. This
  1980  	// value is supplied by user so may or may not contain PII or SPII data.
  1981  	// This field will be scrubbed using DatapolScrubber#maybeScrub() with
  1982  	// go/proto-sanitizer#level3
  1983  	DefaultValue *EnterpriseCrmEventbusProtoParameterValueType `json:"defaultValue,omitempty"`
  1984  
  1985  	// FieldType: Specifies the data type of the field.
  1986  	//
  1987  	// Possible values:
  1988  	//   "DATA_TYPE_UNSPECIFIED"
  1989  	//   "STRING_VALUE"
  1990  	//   "INT_VALUE"
  1991  	//   "DOUBLE_VALUE"
  1992  	//   "BOOLEAN_VALUE"
  1993  	//   "PROTO_VALUE"
  1994  	//   "SERIALIZED_OBJECT_VALUE"
  1995  	//   "STRING_ARRAY"
  1996  	//   "INT_ARRAY"
  1997  	//   "DOUBLE_ARRAY"
  1998  	//   "PROTO_ARRAY"
  1999  	//   "PROTO_ENUM"
  2000  	//   "BOOLEAN_ARRAY"
  2001  	//   "PROTO_ENUM_ARRAY"
  2002  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  2003  	// top-level params. They're only meant to support protobufs with BYTES
  2004  	// (sub)fields.
  2005  	//   "BYTES_ARRAY"
  2006  	//   "NON_SERIALIZABLE_OBJECT"
  2007  	//   "JSON_VALUE"
  2008  	FieldType string `json:"fieldType,omitempty"`
  2009  
  2010  	// ProtoDefPath: Optional. The fully qualified proto name (e.g.
  2011  	// enterprise.crm.storage.Account). Required for output field of type
  2012  	// PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES
  2013  	// and output field_type is PROTO_VALUE, then fully qualified proto type
  2014  	// url should be provided to parse the input bytes. If field_type is
  2015  	// *_ARRAY, then all the converted protos are of the same type.
  2016  	ProtoDefPath string `json:"protoDefPath,omitempty"`
  2017  
  2018  	// ReferenceKey: This holds the reference key of the workflow or task
  2019  	// parameter. 1. Any workflow parameter, for e.g. $workflowParam1$. 2.
  2020  	// Any task input or output parameter, for e.g. $task1_param1$. 3. Any
  2021  	// workflow or task parameters with subfield references, for e.g.,
  2022  	// $task1_param1.employee.id$
  2023  	ReferenceKey string `json:"referenceKey,omitempty"`
  2024  
  2025  	// TransformExpression: This is the transform expression to fetch the
  2026  	// input field value. for e.g. $param1$.CONCAT('test'). See
  2027  	// go/transform-functions-design for more details. Keep points - 1. Only
  2028  	// input field can have a transform expression. 2. If a transform
  2029  	// expression is provided, reference_key will be ignored. 3. If no value
  2030  	// is returned after evaluation of transform expression, default_value
  2031  	// can be mapped if provided. 4. The field_type should be the type of
  2032  	// the final object returned after the transform expression is
  2033  	// evaluated. Scrubs the transform expression before logging as value
  2034  	// provided by user so may or may not contain PII or SPII data.
  2035  	TransformExpression *EnterpriseCrmEventbusProtoTransformExpression `json:"transformExpression,omitempty"`
  2036  
  2037  	// ForceSendFields is a list of field names (e.g. "Cardinality") to
  2038  	// unconditionally include in API requests. By default, fields with
  2039  	// empty or default values are omitted from API requests. However, any
  2040  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2041  	// sent to the server regardless of whether the field is empty or not.
  2042  	// This may be used to include empty fields in Patch requests.
  2043  	ForceSendFields []string `json:"-"`
  2044  
  2045  	// NullFields is a list of field names (e.g. "Cardinality") to include
  2046  	// in API requests with the JSON null value. By default, fields with
  2047  	// empty values are omitted from API requests. However, any field with
  2048  	// an empty value appearing in NullFields will be sent to the server as
  2049  	// null. It is an error if a field in this list has a non-empty value.
  2050  	// This may be used to include null fields in Patch requests.
  2051  	NullFields []string `json:"-"`
  2052  }
  2053  
  2054  func (s *EnterpriseCrmEventbusProtoField) MarshalJSON() ([]byte, error) {
  2055  	type NoMethod EnterpriseCrmEventbusProtoField
  2056  	raw := NoMethod(*s)
  2057  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2058  }
  2059  
  2060  // EnterpriseCrmEventbusProtoFieldMappingConfig: Field Mapping Config to
  2061  // map multiple output fields values from input fields values. Next id:
  2062  // 2
  2063  type EnterpriseCrmEventbusProtoFieldMappingConfig struct {
  2064  	MappedFields []*EnterpriseCrmEventbusProtoMappedField `json:"mappedFields,omitempty"`
  2065  
  2066  	// ForceSendFields is a list of field names (e.g. "MappedFields") to
  2067  	// unconditionally include in API requests. By default, fields with
  2068  	// empty or default values are omitted from API requests. However, any
  2069  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2070  	// sent to the server regardless of whether the field is empty or not.
  2071  	// This may be used to include empty fields in Patch requests.
  2072  	ForceSendFields []string `json:"-"`
  2073  
  2074  	// NullFields is a list of field names (e.g. "MappedFields") to include
  2075  	// in API requests with the JSON null value. By default, fields with
  2076  	// empty values are omitted from API requests. However, any field with
  2077  	// an empty value appearing in NullFields will be sent to the server as
  2078  	// null. It is an error if a field in this list has a non-empty value.
  2079  	// This may be used to include null fields in Patch requests.
  2080  	NullFields []string `json:"-"`
  2081  }
  2082  
  2083  func (s *EnterpriseCrmEventbusProtoFieldMappingConfig) MarshalJSON() ([]byte, error) {
  2084  	type NoMethod EnterpriseCrmEventbusProtoFieldMappingConfig
  2085  	raw := NoMethod(*s)
  2086  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2087  }
  2088  
  2089  type EnterpriseCrmEventbusProtoFunction struct {
  2090  	// FunctionType: The name of the function to perform.
  2091  	FunctionType *EnterpriseCrmEventbusProtoFunctionType `json:"functionType,omitempty"`
  2092  
  2093  	// Parameters: List of parameters required for the transformation.
  2094  	Parameters []*EnterpriseCrmEventbusProtoTransformExpression `json:"parameters,omitempty"`
  2095  
  2096  	// ForceSendFields is a list of field names (e.g. "FunctionType") to
  2097  	// unconditionally include in API requests. By default, fields with
  2098  	// empty or default values are omitted from API requests. However, any
  2099  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2100  	// sent to the server regardless of whether the field is empty or not.
  2101  	// This may be used to include empty fields in Patch requests.
  2102  	ForceSendFields []string `json:"-"`
  2103  
  2104  	// NullFields is a list of field names (e.g. "FunctionType") to include
  2105  	// in API requests with the JSON null value. By default, fields with
  2106  	// empty values are omitted from API requests. However, any field with
  2107  	// an empty value appearing in NullFields will be sent to the server as
  2108  	// null. It is an error if a field in this list has a non-empty value.
  2109  	// This may be used to include null fields in Patch requests.
  2110  	NullFields []string `json:"-"`
  2111  }
  2112  
  2113  func (s *EnterpriseCrmEventbusProtoFunction) MarshalJSON() ([]byte, error) {
  2114  	type NoMethod EnterpriseCrmEventbusProtoFunction
  2115  	raw := NoMethod(*s)
  2116  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2117  }
  2118  
  2119  type EnterpriseCrmEventbusProtoFunctionType struct {
  2120  	// BaseFunction: LINT.IfChange
  2121  	BaseFunction *EnterpriseCrmEventbusProtoBaseFunction `json:"baseFunction,omitempty"`
  2122  
  2123  	BooleanArrayFunction *EnterpriseCrmEventbusProtoBooleanArrayFunction `json:"booleanArrayFunction,omitempty"`
  2124  
  2125  	BooleanFunction *EnterpriseCrmEventbusProtoBooleanFunction `json:"booleanFunction,omitempty"`
  2126  
  2127  	DoubleArrayFunction *EnterpriseCrmEventbusProtoDoubleArrayFunction `json:"doubleArrayFunction,omitempty"`
  2128  
  2129  	DoubleFunction *EnterpriseCrmEventbusProtoDoubleFunction `json:"doubleFunction,omitempty"`
  2130  
  2131  	IntArrayFunction *EnterpriseCrmEventbusProtoIntArrayFunction `json:"intArrayFunction,omitempty"`
  2132  
  2133  	IntFunction *EnterpriseCrmEventbusProtoIntFunction `json:"intFunction,omitempty"`
  2134  
  2135  	// JsonFunction:
  2136  	// LINT.ThenChange(//depot/google3/alkali/apps/integrationplatform/client
  2137  	// /workflow_editor/utils/transform_function.ts)
  2138  	JsonFunction *EnterpriseCrmEventbusProtoJsonFunction `json:"jsonFunction,omitempty"`
  2139  
  2140  	ProtoArrayFunction *EnterpriseCrmEventbusProtoProtoArrayFunction `json:"protoArrayFunction,omitempty"`
  2141  
  2142  	ProtoFunction *EnterpriseCrmEventbusProtoProtoFunction `json:"protoFunction,omitempty"`
  2143  
  2144  	StringArrayFunction *EnterpriseCrmEventbusProtoStringArrayFunction `json:"stringArrayFunction,omitempty"`
  2145  
  2146  	StringFunction *EnterpriseCrmEventbusProtoStringFunction `json:"stringFunction,omitempty"`
  2147  
  2148  	// ForceSendFields is a list of field names (e.g. "BaseFunction") to
  2149  	// unconditionally include in API requests. By default, fields with
  2150  	// empty or default values are omitted from API requests. However, any
  2151  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2152  	// sent to the server regardless of whether the field is empty or not.
  2153  	// This may be used to include empty fields in Patch requests.
  2154  	ForceSendFields []string `json:"-"`
  2155  
  2156  	// NullFields is a list of field names (e.g. "BaseFunction") to include
  2157  	// in API requests with the JSON null value. By default, fields with
  2158  	// empty values are omitted from API requests. However, any field with
  2159  	// an empty value appearing in NullFields will be sent to the server as
  2160  	// null. It is an error if a field in this list has a non-empty value.
  2161  	// This may be used to include null fields in Patch requests.
  2162  	NullFields []string `json:"-"`
  2163  }
  2164  
  2165  func (s *EnterpriseCrmEventbusProtoFunctionType) MarshalJSON() ([]byte, error) {
  2166  	type NoMethod EnterpriseCrmEventbusProtoFunctionType
  2167  	raw := NoMethod(*s)
  2168  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2169  }
  2170  
  2171  type EnterpriseCrmEventbusProtoIntArray struct {
  2172  	Values googleapi.Int64s `json:"values,omitempty"`
  2173  
  2174  	// ForceSendFields is a list of field names (e.g. "Values") to
  2175  	// unconditionally include in API requests. By default, fields with
  2176  	// empty or default values are omitted from API requests. However, any
  2177  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2178  	// sent to the server regardless of whether the field is empty or not.
  2179  	// This may be used to include empty fields in Patch requests.
  2180  	ForceSendFields []string `json:"-"`
  2181  
  2182  	// NullFields is a list of field names (e.g. "Values") to include in API
  2183  	// requests with the JSON null value. By default, fields with empty
  2184  	// values are omitted from API requests. However, any field with an
  2185  	// empty value appearing in NullFields will be sent to the server as
  2186  	// null. It is an error if a field in this list has a non-empty value.
  2187  	// This may be used to include null fields in Patch requests.
  2188  	NullFields []string `json:"-"`
  2189  }
  2190  
  2191  func (s *EnterpriseCrmEventbusProtoIntArray) MarshalJSON() ([]byte, error) {
  2192  	type NoMethod EnterpriseCrmEventbusProtoIntArray
  2193  	raw := NoMethod(*s)
  2194  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2195  }
  2196  
  2197  type EnterpriseCrmEventbusProtoIntArrayFunction struct {
  2198  	// Possible values:
  2199  	//   "UNSPECIFIED"
  2200  	//   "GET"
  2201  	//   "APPEND"
  2202  	//   "SIZE"
  2203  	//   "SUM"
  2204  	//   "AVG"
  2205  	//   "MAX"
  2206  	//   "MIN"
  2207  	//   "TO_SET"
  2208  	//   "APPEND_ALL"
  2209  	//   "TO_JSON"
  2210  	//   "SET"
  2211  	//   "REMOVE"
  2212  	//   "REMOVE_AT"
  2213  	//   "CONTAINS"
  2214  	//   "FOR_EACH"
  2215  	//   "FILTER"
  2216  	FunctionName string `json:"functionName,omitempty"`
  2217  
  2218  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  2219  	// unconditionally include in API requests. By default, fields with
  2220  	// empty or default values are omitted from API requests. However, any
  2221  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2222  	// sent to the server regardless of whether the field is empty or not.
  2223  	// This may be used to include empty fields in Patch requests.
  2224  	ForceSendFields []string `json:"-"`
  2225  
  2226  	// NullFields is a list of field names (e.g. "FunctionName") to include
  2227  	// in API requests with the JSON null value. By default, fields with
  2228  	// empty values are omitted from API requests. However, any field with
  2229  	// an empty value appearing in NullFields will be sent to the server as
  2230  	// null. It is an error if a field in this list has a non-empty value.
  2231  	// This may be used to include null fields in Patch requests.
  2232  	NullFields []string `json:"-"`
  2233  }
  2234  
  2235  func (s *EnterpriseCrmEventbusProtoIntArrayFunction) MarshalJSON() ([]byte, error) {
  2236  	type NoMethod EnterpriseCrmEventbusProtoIntArrayFunction
  2237  	raw := NoMethod(*s)
  2238  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2239  }
  2240  
  2241  type EnterpriseCrmEventbusProtoIntFunction struct {
  2242  	// Possible values:
  2243  	//   "UNSPECIFIED"
  2244  	//   "ADD"
  2245  	//   "SUBTRACT"
  2246  	//   "MULTIPLY"
  2247  	//   "DIVIDE"
  2248  	//   "EXPONENT"
  2249  	//   "GREATER_THAN_EQUAL_TO"
  2250  	//   "GREATER_THAN"
  2251  	//   "LESS_THAN_EQUAL_TO"
  2252  	//   "LESS_THAN"
  2253  	//   "TO_DOUBLE"
  2254  	//   "TO_STRING"
  2255  	//   "EQUALS"
  2256  	//   "TO_JSON"
  2257  	//   "MOD"
  2258  	//   "EPOCH_TO_HUMAN_READABLE_TIME"
  2259  	FunctionName string `json:"functionName,omitempty"`
  2260  
  2261  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  2262  	// unconditionally include in API requests. By default, fields with
  2263  	// empty or default values are omitted from API requests. However, any
  2264  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2265  	// sent to the server regardless of whether the field is empty or not.
  2266  	// This may be used to include empty fields in Patch requests.
  2267  	ForceSendFields []string `json:"-"`
  2268  
  2269  	// NullFields is a list of field names (e.g. "FunctionName") to include
  2270  	// in API requests with the JSON null value. By default, fields with
  2271  	// empty values are omitted from API requests. However, any field with
  2272  	// an empty value appearing in NullFields will be sent to the server as
  2273  	// null. It is an error if a field in this list has a non-empty value.
  2274  	// This may be used to include null fields in Patch requests.
  2275  	NullFields []string `json:"-"`
  2276  }
  2277  
  2278  func (s *EnterpriseCrmEventbusProtoIntFunction) MarshalJSON() ([]byte, error) {
  2279  	type NoMethod EnterpriseCrmEventbusProtoIntFunction
  2280  	raw := NoMethod(*s)
  2281  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2282  }
  2283  
  2284  type EnterpriseCrmEventbusProtoIntParameterArray struct {
  2285  	IntValues googleapi.Int64s `json:"intValues,omitempty"`
  2286  
  2287  	// ForceSendFields is a list of field names (e.g. "IntValues") to
  2288  	// unconditionally include in API requests. By default, fields with
  2289  	// empty or default values are omitted from API requests. However, any
  2290  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2291  	// sent to the server regardless of whether the field is empty or not.
  2292  	// This may be used to include empty fields in Patch requests.
  2293  	ForceSendFields []string `json:"-"`
  2294  
  2295  	// NullFields is a list of field names (e.g. "IntValues") to include in
  2296  	// API requests with the JSON null value. By default, fields with empty
  2297  	// values are omitted from API requests. However, any field with an
  2298  	// empty value appearing in NullFields will be sent to the server as
  2299  	// null. It is an error if a field in this list has a non-empty value.
  2300  	// This may be used to include null fields in Patch requests.
  2301  	NullFields []string `json:"-"`
  2302  }
  2303  
  2304  func (s *EnterpriseCrmEventbusProtoIntParameterArray) MarshalJSON() ([]byte, error) {
  2305  	type NoMethod EnterpriseCrmEventbusProtoIntParameterArray
  2306  	raw := NoMethod(*s)
  2307  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2308  }
  2309  
  2310  type EnterpriseCrmEventbusProtoJsonFunction struct {
  2311  	// Possible values:
  2312  	//   "UNSPECIFIED"
  2313  	//   "GET_PROPERTY"
  2314  	//   "GET_ELEMENT"
  2315  	//   "APPEND_ELEMENT"
  2316  	//   "SIZE"
  2317  	//   "SET_PROPERTY"
  2318  	//   "FLATTEN"
  2319  	//   "FLATTEN_ONCE"
  2320  	//   "MERGE"
  2321  	//   "TO_STRING"
  2322  	//   "TO_INT"
  2323  	//   "TO_DOUBLE"
  2324  	//   "TO_BOOLEAN"
  2325  	//   "TO_PROTO"
  2326  	//   "TO_STRING_ARRAY"
  2327  	//   "TO_INT_ARRAY"
  2328  	//   "TO_DOUBLE_ARRAY"
  2329  	//   "TO_PROTO_ARRAY"
  2330  	//   "TO_BOOLEAN_ARRAY"
  2331  	//   "REMOVE_PROPERTY"
  2332  	//   "RESOLVE_TEMPLATE"
  2333  	//   "EQUALS"
  2334  	//   "FOR_EACH"
  2335  	//   "FILTER_ELEMENTS" - next id: 24
  2336  	FunctionName string `json:"functionName,omitempty"`
  2337  
  2338  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  2339  	// unconditionally include in API requests. By default, fields with
  2340  	// empty or default values are omitted from API requests. However, any
  2341  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2342  	// sent to the server regardless of whether the field is empty or not.
  2343  	// This may be used to include empty fields in Patch requests.
  2344  	ForceSendFields []string `json:"-"`
  2345  
  2346  	// NullFields is a list of field names (e.g. "FunctionName") to include
  2347  	// in API requests with the JSON null value. By default, fields with
  2348  	// empty values are omitted from API requests. However, any field with
  2349  	// an empty value appearing in NullFields will be sent to the server as
  2350  	// null. It is an error if a field in this list has a non-empty value.
  2351  	// This may be used to include null fields in Patch requests.
  2352  	NullFields []string `json:"-"`
  2353  }
  2354  
  2355  func (s *EnterpriseCrmEventbusProtoJsonFunction) MarshalJSON() ([]byte, error) {
  2356  	type NoMethod EnterpriseCrmEventbusProtoJsonFunction
  2357  	raw := NoMethod(*s)
  2358  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2359  }
  2360  
  2361  // EnterpriseCrmEventbusProtoLogSettings: The LogSettings define the
  2362  // logging attributes for an event property. These attributes are used
  2363  // to map the property to the parameter in the log proto. Also used to
  2364  // define scrubbing/truncation behavior and PII information. See
  2365  // go/integration-platform/analytics/logging_task.md for details.
  2366  type EnterpriseCrmEventbusProtoLogSettings struct {
  2367  	// LogFieldName: The name of corresponding logging field of the event
  2368  	// property. If omitted, assumes the same name as the event property
  2369  	// key.
  2370  	LogFieldName string `json:"logFieldName,omitempty"`
  2371  
  2372  	// SanitizeOptions: Contains the scrubbing options, such as whether to
  2373  	// scrub, obfuscate, etc.
  2374  	SanitizeOptions *EnterpriseCrmLoggingGwsSanitizeOptions `json:"sanitizeOptions,omitempty"`
  2375  
  2376  	// Possible values:
  2377  	//   "SEED_PERIOD_UNSPECIFIED"
  2378  	//   "DAY" - Sanitized values remain constant for the day of the event.
  2379  	//   "WEEK" - Sanitized values remain constant for the week of the
  2380  	// event; may cross month boundaries.
  2381  	//   "MONTH" - Sanitized values remain constant for the month of the
  2382  	// event.
  2383  	SeedPeriod string `json:"seedPeriod,omitempty"`
  2384  
  2385  	// Possible values:
  2386  	//   "SEED_SCOPE_UNSPECIFIED"
  2387  	//   "EVENT_NAME" - Hash computations include the event name.
  2388  	//   "TIME_PERIOD" - Hash computations include a time period.
  2389  	//   "PARAM_NAME" - Hash computations include the param name.
  2390  	SeedScope string `json:"seedScope,omitempty"`
  2391  
  2392  	// ShorteningLimits: Contains the field limits for shortening, such as
  2393  	// max string length and max array length.
  2394  	ShorteningLimits *EnterpriseCrmLoggingGwsFieldLimits `json:"shorteningLimits,omitempty"`
  2395  
  2396  	// ForceSendFields is a list of field names (e.g. "LogFieldName") to
  2397  	// unconditionally include in API requests. By default, fields with
  2398  	// empty or default values are omitted from API requests. However, any
  2399  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2400  	// sent to the server regardless of whether the field is empty or not.
  2401  	// This may be used to include empty fields in Patch requests.
  2402  	ForceSendFields []string `json:"-"`
  2403  
  2404  	// NullFields is a list of field names (e.g. "LogFieldName") to include
  2405  	// in API requests with the JSON null value. By default, fields with
  2406  	// empty values are omitted from API requests. However, any field with
  2407  	// an empty value appearing in NullFields will be sent to the server as
  2408  	// null. It is an error if a field in this list has a non-empty value.
  2409  	// This may be used to include null fields in Patch requests.
  2410  	NullFields []string `json:"-"`
  2411  }
  2412  
  2413  func (s *EnterpriseCrmEventbusProtoLogSettings) MarshalJSON() ([]byte, error) {
  2414  	type NoMethod EnterpriseCrmEventbusProtoLogSettings
  2415  	raw := NoMethod(*s)
  2416  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2417  }
  2418  
  2419  type EnterpriseCrmEventbusProtoLoopMetadata struct {
  2420  	// CurrentIterationCount: Starting from 1, not 0.
  2421  	CurrentIterationCount int64 `json:"currentIterationCount,omitempty,string"`
  2422  
  2423  	// CurrentIterationDetail: Needs to be set by the loop impl class before
  2424  	// each iteration. The abstract loop class will append the request and
  2425  	// response to it. Eg. The foreach Loop will clean up and set it as the
  2426  	// current iteration element at the start of each loop. The post request
  2427  	// and response will be appended to the value once they are available.
  2428  	CurrentIterationDetail string `json:"currentIterationDetail,omitempty"`
  2429  
  2430  	// ErrorMsg: Add the error message when loops fail.
  2431  	ErrorMsg string `json:"errorMsg,omitempty"`
  2432  
  2433  	// FailureLocation: Indicates where in the loop logic did it error out.
  2434  	//
  2435  	// Possible values:
  2436  	//   "UNKNOWN" - No error or Unknown.
  2437  	//   "SUBWORKFLOW" - Subworkflow failed while firing/running.
  2438  	//   "PARAM_OVERRIDING" - Param overrides failed.
  2439  	//   "PARAM_AGGREGATING" - Param aggregation failed.
  2440  	//   "SETTING_ITERATION_ELEMENT" - Setting for loop current element
  2441  	// failed.
  2442  	//   "GETTING_LIST_TO_ITERATE" - Getting the list to iterate.
  2443  	//   "CONDITION_EVALUATION" - Evaluating the while loop condition.
  2444  	//   "BUILDING_REQUEST" - Building the iteration request
  2445  	FailureLocation string `json:"failureLocation,omitempty"`
  2446  
  2447  	// ForceSendFields is a list of field names (e.g.
  2448  	// "CurrentIterationCount") to unconditionally include in API requests.
  2449  	// By default, fields with empty or default values are omitted from API
  2450  	// requests. However, any non-pointer, non-interface field appearing in
  2451  	// ForceSendFields will be sent to the server regardless of whether the
  2452  	// field is empty or not. This may be used to include empty fields in
  2453  	// Patch requests.
  2454  	ForceSendFields []string `json:"-"`
  2455  
  2456  	// NullFields is a list of field names (e.g. "CurrentIterationCount") to
  2457  	// include in API requests with the JSON null value. By default, fields
  2458  	// with empty values are omitted from API requests. However, any field
  2459  	// with an empty value appearing in NullFields will be sent to the
  2460  	// server as null. It is an error if a field in this list has a
  2461  	// non-empty value. This may be used to include null fields in Patch
  2462  	// requests.
  2463  	NullFields []string `json:"-"`
  2464  }
  2465  
  2466  func (s *EnterpriseCrmEventbusProtoLoopMetadata) MarshalJSON() ([]byte, error) {
  2467  	type NoMethod EnterpriseCrmEventbusProtoLoopMetadata
  2468  	raw := NoMethod(*s)
  2469  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2470  }
  2471  
  2472  // EnterpriseCrmEventbusProtoMappedField: Mapped field is a pair of
  2473  // input field and output field. Next Id: 3
  2474  type EnterpriseCrmEventbusProtoMappedField struct {
  2475  	// InputField: The input field being mapped from.
  2476  	InputField *EnterpriseCrmEventbusProtoField `json:"inputField,omitempty"`
  2477  
  2478  	// OutputField: The output field being mapped to.
  2479  	OutputField *EnterpriseCrmEventbusProtoField `json:"outputField,omitempty"`
  2480  
  2481  	// ForceSendFields is a list of field names (e.g. "InputField") to
  2482  	// unconditionally include in API requests. By default, fields with
  2483  	// empty or default values are omitted from API requests. However, any
  2484  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2485  	// sent to the server regardless of whether the field is empty or not.
  2486  	// This may be used to include empty fields in Patch requests.
  2487  	ForceSendFields []string `json:"-"`
  2488  
  2489  	// NullFields is a list of field names (e.g. "InputField") to include in
  2490  	// API requests with the JSON null value. By default, fields with empty
  2491  	// values are omitted from API requests. However, any field with an
  2492  	// empty value appearing in NullFields will be sent to the server as
  2493  	// null. It is an error if a field in this list has a non-empty value.
  2494  	// This may be used to include null fields in Patch requests.
  2495  	NullFields []string `json:"-"`
  2496  }
  2497  
  2498  func (s *EnterpriseCrmEventbusProtoMappedField) MarshalJSON() ([]byte, error) {
  2499  	type NoMethod EnterpriseCrmEventbusProtoMappedField
  2500  	raw := NoMethod(*s)
  2501  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2502  }
  2503  
  2504  // EnterpriseCrmEventbusProtoNextTask: The task that is next in line to
  2505  // be executed, if the condition specified evaluated to true.
  2506  type EnterpriseCrmEventbusProtoNextTask struct {
  2507  	// CombinedConditions: Combined condition for this task to become an
  2508  	// eligible next task. Each of these combined_conditions are joined with
  2509  	// logical OR. DEPRECATED: use `condition`
  2510  	CombinedConditions []*EnterpriseCrmEventbusProtoCombinedCondition `json:"combinedConditions,omitempty"`
  2511  
  2512  	// Condition: Standard filter expression for this task to become an
  2513  	// eligible next task.
  2514  	Condition string `json:"condition,omitempty"`
  2515  
  2516  	// Description: User-provided description intended to give more business
  2517  	// context about the next task edge or condition.
  2518  	Description string `json:"description,omitempty"`
  2519  
  2520  	// Label: User-provided label that is attached to this edge in the UI.
  2521  	Label string `json:"label,omitempty"`
  2522  
  2523  	// TaskConfigId: ID of the next task.
  2524  	TaskConfigId string `json:"taskConfigId,omitempty"`
  2525  
  2526  	// TaskNumber: Task number of the next task.
  2527  	TaskNumber string `json:"taskNumber,omitempty"`
  2528  
  2529  	// ForceSendFields is a list of field names (e.g. "CombinedConditions")
  2530  	// to unconditionally include in API requests. By default, fields with
  2531  	// empty or default values are omitted from API requests. However, any
  2532  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2533  	// sent to the server regardless of whether the field is empty or not.
  2534  	// This may be used to include empty fields in Patch requests.
  2535  	ForceSendFields []string `json:"-"`
  2536  
  2537  	// NullFields is a list of field names (e.g. "CombinedConditions") to
  2538  	// include in API requests with the JSON null value. By default, fields
  2539  	// with empty values are omitted from API requests. However, any field
  2540  	// with an empty value appearing in NullFields will be sent to the
  2541  	// server as null. It is an error if a field in this list has a
  2542  	// non-empty value. This may be used to include null fields in Patch
  2543  	// requests.
  2544  	NullFields []string `json:"-"`
  2545  }
  2546  
  2547  func (s *EnterpriseCrmEventbusProtoNextTask) MarshalJSON() ([]byte, error) {
  2548  	type NoMethod EnterpriseCrmEventbusProtoNextTask
  2549  	raw := NoMethod(*s)
  2550  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2551  }
  2552  
  2553  // EnterpriseCrmEventbusProtoNextTeardownTask: The teardown task that is
  2554  // next in line to be executed. We support only sequential execution of
  2555  // teardown tasks (i.e. no branching).
  2556  type EnterpriseCrmEventbusProtoNextTeardownTask struct {
  2557  	// Name: Required. Name of the next teardown task.
  2558  	Name string `json:"name,omitempty"`
  2559  
  2560  	// ForceSendFields is a list of field names (e.g. "Name") to
  2561  	// unconditionally include in API requests. By default, fields with
  2562  	// empty or default values are omitted from API requests. However, any
  2563  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2564  	// sent to the server regardless of whether the field is empty or not.
  2565  	// This may be used to include empty fields in Patch requests.
  2566  	ForceSendFields []string `json:"-"`
  2567  
  2568  	// NullFields is a list of field names (e.g. "Name") to include in API
  2569  	// requests with the JSON null value. By default, fields with empty
  2570  	// values are omitted from API requests. However, any field with an
  2571  	// empty value appearing in NullFields will be sent to the server as
  2572  	// null. It is an error if a field in this list has a non-empty value.
  2573  	// This may be used to include null fields in Patch requests.
  2574  	NullFields []string `json:"-"`
  2575  }
  2576  
  2577  func (s *EnterpriseCrmEventbusProtoNextTeardownTask) MarshalJSON() ([]byte, error) {
  2578  	type NoMethod EnterpriseCrmEventbusProtoNextTeardownTask
  2579  	raw := NoMethod(*s)
  2580  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2581  }
  2582  
  2583  // EnterpriseCrmEventbusProtoNodeIdentifier: Represents a node
  2584  // identifier (type + id). Next highest id: 3
  2585  type EnterpriseCrmEventbusProtoNodeIdentifier struct {
  2586  	// ElementIdentifier: Configuration of the edge.
  2587  	ElementIdentifier string `json:"elementIdentifier,omitempty"`
  2588  
  2589  	// ElementType: Destination node where the edge ends. It can only be a
  2590  	// task config.
  2591  	//
  2592  	// Possible values:
  2593  	//   "UNKNOWN_TYPE"
  2594  	//   "TASK_CONFIG"
  2595  	//   "TRIGGER_CONFIG"
  2596  	ElementType string `json:"elementType,omitempty"`
  2597  
  2598  	// ForceSendFields is a list of field names (e.g. "ElementIdentifier")
  2599  	// to unconditionally include in API requests. By default, fields with
  2600  	// empty or default values are omitted from API requests. However, any
  2601  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2602  	// sent to the server regardless of whether the field is empty or not.
  2603  	// This may be used to include empty fields in Patch requests.
  2604  	ForceSendFields []string `json:"-"`
  2605  
  2606  	// NullFields is a list of field names (e.g. "ElementIdentifier") to
  2607  	// include in API requests with the JSON null value. By default, fields
  2608  	// with empty values are omitted from API requests. However, any field
  2609  	// with an empty value appearing in NullFields will be sent to the
  2610  	// server as null. It is an error if a field in this list has a
  2611  	// non-empty value. This may be used to include null fields in Patch
  2612  	// requests.
  2613  	NullFields []string `json:"-"`
  2614  }
  2615  
  2616  func (s *EnterpriseCrmEventbusProtoNodeIdentifier) MarshalJSON() ([]byte, error) {
  2617  	type NoMethod EnterpriseCrmEventbusProtoNodeIdentifier
  2618  	raw := NoMethod(*s)
  2619  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2620  }
  2621  
  2622  type EnterpriseCrmEventbusProtoNotification struct {
  2623  	BuganizerNotification *EnterpriseCrmEventbusProtoBuganizerNotification `json:"buganizerNotification,omitempty"`
  2624  
  2625  	EmailAddress *EnterpriseCrmEventbusProtoAddress `json:"emailAddress,omitempty"`
  2626  
  2627  	EscalatorQueue string `json:"escalatorQueue,omitempty"`
  2628  
  2629  	PubsubTopic string `json:"pubsubTopic,omitempty"`
  2630  
  2631  	// Request: If the out-of-the-box email/pubsub notifications are not
  2632  	// suitable and custom logic is required, fire a workflow containing all
  2633  	// info needed to notify users to resume execution.
  2634  	Request *EnterpriseCrmEventbusProtoCustomSuspensionRequest `json:"request,omitempty"`
  2635  
  2636  	// ForceSendFields is a list of field names (e.g.
  2637  	// "BuganizerNotification") to unconditionally include in API requests.
  2638  	// By default, fields with empty or default values are omitted from API
  2639  	// requests. However, any non-pointer, non-interface field appearing in
  2640  	// ForceSendFields will be sent to the server regardless of whether the
  2641  	// field is empty or not. This may be used to include empty fields in
  2642  	// Patch requests.
  2643  	ForceSendFields []string `json:"-"`
  2644  
  2645  	// NullFields is a list of field names (e.g. "BuganizerNotification") to
  2646  	// include in API requests with the JSON null value. By default, fields
  2647  	// with empty values are omitted from API requests. However, any field
  2648  	// with an empty value appearing in NullFields will be sent to the
  2649  	// server as null. It is an error if a field in this list has a
  2650  	// non-empty value. This may be used to include null fields in Patch
  2651  	// requests.
  2652  	NullFields []string `json:"-"`
  2653  }
  2654  
  2655  func (s *EnterpriseCrmEventbusProtoNotification) MarshalJSON() ([]byte, error) {
  2656  	type NoMethod EnterpriseCrmEventbusProtoNotification
  2657  	raw := NoMethod(*s)
  2658  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2659  }
  2660  
  2661  type EnterpriseCrmEventbusProtoParamSpecEntryConfig struct {
  2662  	// DescriptivePhrase: A short phrase to describe what this parameter
  2663  	// contains.
  2664  	DescriptivePhrase string `json:"descriptivePhrase,omitempty"`
  2665  
  2666  	// HelpText: Detailed help text for this parameter containing
  2667  	// information not provided elsewhere. For example, instructions on how
  2668  	// to migrate from a deprecated parameter.
  2669  	HelpText string `json:"helpText,omitempty"`
  2670  
  2671  	// HideDefaultValue: Whether the default value is hidden in the UI.
  2672  	HideDefaultValue bool `json:"hideDefaultValue,omitempty"`
  2673  
  2674  	// Possible values:
  2675  	//   "DEFAULT" - A single-line input for strings, a numeric input box
  2676  	// for numbers, or a checkbox for booleans.
  2677  	//   "STRING_MULTI_LINE" - A multi-line input box for longer
  2678  	// strings/string templates.
  2679  	//   "NUMBER_SLIDER" - A slider to select a numerical value. The default
  2680  	// range is [0, 100].
  2681  	//   "BOOLEAN_TOGGLE" - A toggle button for boolean parameters.
  2682  	InputDisplayOption string `json:"inputDisplayOption,omitempty"`
  2683  
  2684  	// IsHidden: Whether this field is hidden in the UI.
  2685  	IsHidden bool `json:"isHidden,omitempty"`
  2686  
  2687  	// Label: A user-friendly label for the parameter.
  2688  	Label string `json:"label,omitempty"`
  2689  
  2690  	// Possible values:
  2691  	//   "DEFAULT_NOT_PARAMETER_NAME" - This field is not a parameter name.
  2692  	//   "IS_PARAMETER_NAME" - If this field is a string and this option is
  2693  	// selected, the field will be interpreted as a parameter name. Users
  2694  	// will be able to choose a variable using the autocomplete, but the
  2695  	// name will be stored as a literal string.
  2696  	//   "KEY_IS_PARAMETER_NAME" - If this field is a ParameterMap and this
  2697  	// option is selected, the map's keys will be interpreted as parameter
  2698  	// names. Ignored if this field is not a ParameterMap.
  2699  	//   "VALUE_IS_PARAMETER_NAME" - If this field is a ParameterMap and
  2700  	// this option is selected, the map's values will be interpreted as
  2701  	// parameter names. Ignored if this field is not a ParameterMap.
  2702  	ParameterNameOption string `json:"parameterNameOption,omitempty"`
  2703  
  2704  	// SubSectionLabel: A user-friendly label for subSection under which the
  2705  	// parameter will be displayed.
  2706  	SubSectionLabel string `json:"subSectionLabel,omitempty"`
  2707  
  2708  	// UiPlaceholderText: Placeholder text which will appear in the UI input
  2709  	// form for this parameter.
  2710  	UiPlaceholderText string `json:"uiPlaceholderText,omitempty"`
  2711  
  2712  	// ForceSendFields is a list of field names (e.g. "DescriptivePhrase")
  2713  	// to unconditionally include in API requests. By default, fields with
  2714  	// empty or default values are omitted from API requests. However, any
  2715  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2716  	// sent to the server regardless of whether the field is empty or not.
  2717  	// This may be used to include empty fields in Patch requests.
  2718  	ForceSendFields []string `json:"-"`
  2719  
  2720  	// NullFields is a list of field names (e.g. "DescriptivePhrase") to
  2721  	// include in API requests with the JSON null value. By default, fields
  2722  	// with empty values are omitted from API requests. However, any field
  2723  	// with an empty value appearing in NullFields will be sent to the
  2724  	// server as null. It is an error if a field in this list has a
  2725  	// non-empty value. This may be used to include null fields in Patch
  2726  	// requests.
  2727  	NullFields []string `json:"-"`
  2728  }
  2729  
  2730  func (s *EnterpriseCrmEventbusProtoParamSpecEntryConfig) MarshalJSON() ([]byte, error) {
  2731  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryConfig
  2732  	raw := NoMethod(*s)
  2733  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2734  }
  2735  
  2736  type EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition struct {
  2737  	// FullName: The fully-qualified proto name. This message, for example,
  2738  	// would be
  2739  	// "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition".
  2740  	FullName string `json:"fullName,omitempty"`
  2741  
  2742  	// Path: Path to the proto file that contains the message type's
  2743  	// definition.
  2744  	Path string `json:"path,omitempty"`
  2745  
  2746  	// ForceSendFields is a list of field names (e.g. "FullName") to
  2747  	// unconditionally include in API requests. By default, fields with
  2748  	// empty or default values are omitted from API requests. However, any
  2749  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2750  	// sent to the server regardless of whether the field is empty or not.
  2751  	// This may be used to include empty fields in Patch requests.
  2752  	ForceSendFields []string `json:"-"`
  2753  
  2754  	// NullFields is a list of field names (e.g. "FullName") to include in
  2755  	// API requests with the JSON null value. By default, fields with empty
  2756  	// values are omitted from API requests. However, any field with an
  2757  	// empty value appearing in NullFields will be sent to the server as
  2758  	// null. It is an error if a field in this list has a non-empty value.
  2759  	// This may be used to include null fields in Patch requests.
  2760  	NullFields []string `json:"-"`
  2761  }
  2762  
  2763  func (s *EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition) MarshalJSON() ([]byte, error) {
  2764  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition
  2765  	raw := NoMethod(*s)
  2766  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2767  }
  2768  
  2769  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRule struct {
  2770  	DoubleRange *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange `json:"doubleRange,omitempty"`
  2771  
  2772  	IntRange *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange `json:"intRange,omitempty"`
  2773  
  2774  	StringRegex *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex `json:"stringRegex,omitempty"`
  2775  
  2776  	// ForceSendFields is a list of field names (e.g. "DoubleRange") to
  2777  	// unconditionally include in API requests. By default, fields with
  2778  	// empty or default values are omitted from API requests. However, any
  2779  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2780  	// sent to the server regardless of whether the field is empty or not.
  2781  	// This may be used to include empty fields in Patch requests.
  2782  	ForceSendFields []string `json:"-"`
  2783  
  2784  	// NullFields is a list of field names (e.g. "DoubleRange") to include
  2785  	// in API requests with the JSON null value. By default, fields with
  2786  	// empty values are omitted from API requests. However, any field with
  2787  	// an empty value appearing in NullFields will be sent to the server as
  2788  	// null. It is an error if a field in this list has a non-empty value.
  2789  	// This may be used to include null fields in Patch requests.
  2790  	NullFields []string `json:"-"`
  2791  }
  2792  
  2793  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRule) MarshalJSON() ([]byte, error) {
  2794  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRule
  2795  	raw := NoMethod(*s)
  2796  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2797  }
  2798  
  2799  // EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange:
  2800  // Range used to validate doubles and floats.
  2801  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange struct {
  2802  	// Max: The inclusive maximum of the acceptable range.
  2803  	Max float64 `json:"max,omitempty"`
  2804  
  2805  	// Min: The inclusive minimum of the acceptable range.
  2806  	Min float64 `json:"min,omitempty"`
  2807  
  2808  	// ForceSendFields is a list of field names (e.g. "Max") to
  2809  	// unconditionally include in API requests. By default, fields with
  2810  	// empty or default values are omitted from API requests. However, any
  2811  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2812  	// sent to the server regardless of whether the field is empty or not.
  2813  	// This may be used to include empty fields in Patch requests.
  2814  	ForceSendFields []string `json:"-"`
  2815  
  2816  	// NullFields is a list of field names (e.g. "Max") to include in API
  2817  	// requests with the JSON null value. By default, fields with empty
  2818  	// values are omitted from API requests. However, any field with an
  2819  	// empty value appearing in NullFields will be sent to the server as
  2820  	// null. It is an error if a field in this list has a non-empty value.
  2821  	// This may be used to include null fields in Patch requests.
  2822  	NullFields []string `json:"-"`
  2823  }
  2824  
  2825  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange) MarshalJSON() ([]byte, error) {
  2826  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
  2827  	raw := NoMethod(*s)
  2828  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2829  }
  2830  
  2831  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange) UnmarshalJSON(data []byte) error {
  2832  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
  2833  	var s1 struct {
  2834  		Max gensupport.JSONFloat64 `json:"max"`
  2835  		Min gensupport.JSONFloat64 `json:"min"`
  2836  		*NoMethod
  2837  	}
  2838  	s1.NoMethod = (*NoMethod)(s)
  2839  	if err := json.Unmarshal(data, &s1); err != nil {
  2840  		return err
  2841  	}
  2842  	s.Max = float64(s1.Max)
  2843  	s.Min = float64(s1.Min)
  2844  	return nil
  2845  }
  2846  
  2847  // EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange: Range
  2848  // used to validate longs and ints.
  2849  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange struct {
  2850  	// Max: The inclusive maximum of the acceptable range.
  2851  	Max int64 `json:"max,omitempty,string"`
  2852  
  2853  	// Min: The inclusive minimum of the acceptable range.
  2854  	Min int64 `json:"min,omitempty,string"`
  2855  
  2856  	// ForceSendFields is a list of field names (e.g. "Max") to
  2857  	// unconditionally include in API requests. By default, fields with
  2858  	// empty or default values are omitted from API requests. However, any
  2859  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2860  	// sent to the server regardless of whether the field is empty or not.
  2861  	// This may be used to include empty fields in Patch requests.
  2862  	ForceSendFields []string `json:"-"`
  2863  
  2864  	// NullFields is a list of field names (e.g. "Max") to include in API
  2865  	// requests with the JSON null value. By default, fields with empty
  2866  	// values are omitted from API requests. However, any field with an
  2867  	// empty value appearing in NullFields will be sent to the server as
  2868  	// null. It is an error if a field in this list has a non-empty value.
  2869  	// This may be used to include null fields in Patch requests.
  2870  	NullFields []string `json:"-"`
  2871  }
  2872  
  2873  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange) MarshalJSON() ([]byte, error) {
  2874  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange
  2875  	raw := NoMethod(*s)
  2876  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2877  }
  2878  
  2879  // EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex:
  2880  // Rule used to validate strings.
  2881  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex struct {
  2882  	// Exclusive: Whether the regex matcher is applied exclusively (if true,
  2883  	// matching values will be rejected).
  2884  	Exclusive bool `json:"exclusive,omitempty"`
  2885  
  2886  	// Regex: The regex applied to the input value(s).
  2887  	Regex string `json:"regex,omitempty"`
  2888  
  2889  	// ForceSendFields is a list of field names (e.g. "Exclusive") to
  2890  	// unconditionally include in API requests. By default, fields with
  2891  	// empty or default values are omitted from API requests. However, any
  2892  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2893  	// sent to the server regardless of whether the field is empty or not.
  2894  	// This may be used to include empty fields in Patch requests.
  2895  	ForceSendFields []string `json:"-"`
  2896  
  2897  	// NullFields is a list of field names (e.g. "Exclusive") to include in
  2898  	// API requests with the JSON null value. By default, fields with empty
  2899  	// values are omitted from API requests. However, any field with an
  2900  	// empty value appearing in NullFields will be sent to the server as
  2901  	// null. It is an error if a field in this list has a non-empty value.
  2902  	// This may be used to include null fields in Patch requests.
  2903  	NullFields []string `json:"-"`
  2904  }
  2905  
  2906  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex) MarshalJSON() ([]byte, error) {
  2907  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
  2908  	raw := NoMethod(*s)
  2909  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2910  }
  2911  
  2912  // EnterpriseCrmEventbusProtoParameterEntry: Key-value pair of EventBus
  2913  // parameters.
  2914  type EnterpriseCrmEventbusProtoParameterEntry struct {
  2915  	// Key: Key is used to retrieve the corresponding parameter value. This
  2916  	// should be unique for a given fired event. These parameters must be
  2917  	// predefined in the integration definition.
  2918  	Key string `json:"key,omitempty"`
  2919  
  2920  	// Value: Values for the defined keys. Each value can either be string,
  2921  	// int, double or any proto message.
  2922  	Value *EnterpriseCrmEventbusProtoParameterValueType `json:"value,omitempty"`
  2923  
  2924  	// ForceSendFields is a list of field names (e.g. "Key") to
  2925  	// unconditionally include in API requests. By default, fields with
  2926  	// empty or default values are omitted from API requests. However, any
  2927  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2928  	// sent to the server regardless of whether the field is empty or not.
  2929  	// This may be used to include empty fields in Patch requests.
  2930  	ForceSendFields []string `json:"-"`
  2931  
  2932  	// NullFields is a list of field names (e.g. "Key") to include in API
  2933  	// requests with the JSON null value. By default, fields with empty
  2934  	// values are omitted from API requests. However, any field with an
  2935  	// empty value appearing in NullFields will be sent to the server as
  2936  	// null. It is an error if a field in this list has a non-empty value.
  2937  	// This may be used to include null fields in Patch requests.
  2938  	NullFields []string `json:"-"`
  2939  }
  2940  
  2941  func (s *EnterpriseCrmEventbusProtoParameterEntry) MarshalJSON() ([]byte, error) {
  2942  	type NoMethod EnterpriseCrmEventbusProtoParameterEntry
  2943  	raw := NoMethod(*s)
  2944  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2945  }
  2946  
  2947  // EnterpriseCrmEventbusProtoParameterMap: A generic multi-map that
  2948  // holds key value pairs. They keys and values can be of any type,
  2949  // unless specified.
  2950  type EnterpriseCrmEventbusProtoParameterMap struct {
  2951  	Entries []*EnterpriseCrmEventbusProtoParameterMapEntry `json:"entries,omitempty"`
  2952  
  2953  	// KeyType: Option to specify key value type for all entries of the map.
  2954  	// If provided then field types for all entries must conform to this.
  2955  	//
  2956  	// Possible values:
  2957  	//   "DATA_TYPE_UNSPECIFIED"
  2958  	//   "STRING_VALUE"
  2959  	//   "INT_VALUE"
  2960  	//   "DOUBLE_VALUE"
  2961  	//   "BOOLEAN_VALUE"
  2962  	//   "PROTO_VALUE"
  2963  	//   "SERIALIZED_OBJECT_VALUE"
  2964  	//   "STRING_ARRAY"
  2965  	//   "INT_ARRAY"
  2966  	//   "DOUBLE_ARRAY"
  2967  	//   "PROTO_ARRAY"
  2968  	//   "PROTO_ENUM"
  2969  	//   "BOOLEAN_ARRAY"
  2970  	//   "PROTO_ENUM_ARRAY"
  2971  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  2972  	// top-level params. They're only meant to support protobufs with BYTES
  2973  	// (sub)fields.
  2974  	//   "BYTES_ARRAY"
  2975  	//   "NON_SERIALIZABLE_OBJECT"
  2976  	//   "JSON_VALUE"
  2977  	KeyType string `json:"keyType,omitempty"`
  2978  
  2979  	// Possible values:
  2980  	//   "DATA_TYPE_UNSPECIFIED"
  2981  	//   "STRING_VALUE"
  2982  	//   "INT_VALUE"
  2983  	//   "DOUBLE_VALUE"
  2984  	//   "BOOLEAN_VALUE"
  2985  	//   "PROTO_VALUE"
  2986  	//   "SERIALIZED_OBJECT_VALUE"
  2987  	//   "STRING_ARRAY"
  2988  	//   "INT_ARRAY"
  2989  	//   "DOUBLE_ARRAY"
  2990  	//   "PROTO_ARRAY"
  2991  	//   "PROTO_ENUM"
  2992  	//   "BOOLEAN_ARRAY"
  2993  	//   "PROTO_ENUM_ARRAY"
  2994  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  2995  	// top-level params. They're only meant to support protobufs with BYTES
  2996  	// (sub)fields.
  2997  	//   "BYTES_ARRAY"
  2998  	//   "NON_SERIALIZABLE_OBJECT"
  2999  	//   "JSON_VALUE"
  3000  	ValueType string `json:"valueType,omitempty"`
  3001  
  3002  	// ForceSendFields is a list of field names (e.g. "Entries") to
  3003  	// unconditionally include in API requests. By default, fields with
  3004  	// empty or default values are omitted from API requests. However, any
  3005  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3006  	// sent to the server regardless of whether the field is empty or not.
  3007  	// This may be used to include empty fields in Patch requests.
  3008  	ForceSendFields []string `json:"-"`
  3009  
  3010  	// NullFields is a list of field names (e.g. "Entries") to include in
  3011  	// API requests with the JSON null value. By default, fields with empty
  3012  	// values are omitted from API requests. However, any field with an
  3013  	// empty value appearing in NullFields will be sent to the server as
  3014  	// null. It is an error if a field in this list has a non-empty value.
  3015  	// This may be used to include null fields in Patch requests.
  3016  	NullFields []string `json:"-"`
  3017  }
  3018  
  3019  func (s *EnterpriseCrmEventbusProtoParameterMap) MarshalJSON() ([]byte, error) {
  3020  	type NoMethod EnterpriseCrmEventbusProtoParameterMap
  3021  	raw := NoMethod(*s)
  3022  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3023  }
  3024  
  3025  // EnterpriseCrmEventbusProtoParameterMapEntry: Entry is a pair of key
  3026  // and value.
  3027  type EnterpriseCrmEventbusProtoParameterMapEntry struct {
  3028  	Key *EnterpriseCrmEventbusProtoParameterMapField `json:"key,omitempty"`
  3029  
  3030  	Value *EnterpriseCrmEventbusProtoParameterMapField `json:"value,omitempty"`
  3031  
  3032  	// ForceSendFields is a list of field names (e.g. "Key") to
  3033  	// unconditionally include in API requests. By default, fields with
  3034  	// empty or default values are omitted from API requests. However, any
  3035  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3036  	// sent to the server regardless of whether the field is empty or not.
  3037  	// This may be used to include empty fields in Patch requests.
  3038  	ForceSendFields []string `json:"-"`
  3039  
  3040  	// NullFields is a list of field names (e.g. "Key") to include in API
  3041  	// requests with the JSON null value. By default, fields with empty
  3042  	// values are omitted from API requests. However, any field with an
  3043  	// empty value appearing in NullFields will be sent to the server as
  3044  	// null. It is an error if a field in this list has a non-empty value.
  3045  	// This may be used to include null fields in Patch requests.
  3046  	NullFields []string `json:"-"`
  3047  }
  3048  
  3049  func (s *EnterpriseCrmEventbusProtoParameterMapEntry) MarshalJSON() ([]byte, error) {
  3050  	type NoMethod EnterpriseCrmEventbusProtoParameterMapEntry
  3051  	raw := NoMethod(*s)
  3052  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3053  }
  3054  
  3055  // EnterpriseCrmEventbusProtoParameterMapField: Field represents either
  3056  // the key or value in an entry.
  3057  type EnterpriseCrmEventbusProtoParameterMapField struct {
  3058  	// LiteralValue: Passing a literal value.
  3059  	LiteralValue *EnterpriseCrmEventbusProtoParameterValueType `json:"literalValue,omitempty"`
  3060  
  3061  	// ReferenceKey: Referencing one of the WF variables.
  3062  	ReferenceKey string `json:"referenceKey,omitempty"`
  3063  
  3064  	// ForceSendFields is a list of field names (e.g. "LiteralValue") to
  3065  	// unconditionally include in API requests. By default, fields with
  3066  	// empty or default values are omitted from API requests. However, any
  3067  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3068  	// sent to the server regardless of whether the field is empty or not.
  3069  	// This may be used to include empty fields in Patch requests.
  3070  	ForceSendFields []string `json:"-"`
  3071  
  3072  	// NullFields is a list of field names (e.g. "LiteralValue") to include
  3073  	// in API requests with the JSON null value. By default, fields with
  3074  	// empty values are omitted from API requests. However, any field with
  3075  	// an empty value appearing in NullFields will be sent to the server as
  3076  	// null. It is an error if a field in this list has a non-empty value.
  3077  	// This may be used to include null fields in Patch requests.
  3078  	NullFields []string `json:"-"`
  3079  }
  3080  
  3081  func (s *EnterpriseCrmEventbusProtoParameterMapField) MarshalJSON() ([]byte, error) {
  3082  	type NoMethod EnterpriseCrmEventbusProtoParameterMapField
  3083  	raw := NoMethod(*s)
  3084  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3085  }
  3086  
  3087  // EnterpriseCrmEventbusProtoParameterValueType: LINT.IfChange To
  3088  // support various types of parameter values. Next available id: 14
  3089  type EnterpriseCrmEventbusProtoParameterValueType struct {
  3090  	BooleanArray *EnterpriseCrmEventbusProtoBooleanParameterArray `json:"booleanArray,omitempty"`
  3091  
  3092  	BooleanValue bool `json:"booleanValue,omitempty"`
  3093  
  3094  	DoubleArray *EnterpriseCrmEventbusProtoDoubleParameterArray `json:"doubleArray,omitempty"`
  3095  
  3096  	DoubleValue float64 `json:"doubleValue,omitempty"`
  3097  
  3098  	IntArray *EnterpriseCrmEventbusProtoIntParameterArray `json:"intArray,omitempty"`
  3099  
  3100  	IntValue int64 `json:"intValue,omitempty,string"`
  3101  
  3102  	ProtoArray *EnterpriseCrmEventbusProtoProtoParameterArray `json:"protoArray,omitempty"`
  3103  
  3104  	ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
  3105  
  3106  	SerializedObjectValue *EnterpriseCrmEventbusProtoSerializedObjectParameter `json:"serializedObjectValue,omitempty"`
  3107  
  3108  	StringArray *EnterpriseCrmEventbusProtoStringParameterArray `json:"stringArray,omitempty"`
  3109  
  3110  	StringValue string `json:"stringValue,omitempty"`
  3111  
  3112  	// ForceSendFields is a list of field names (e.g. "BooleanArray") to
  3113  	// unconditionally include in API requests. By default, fields with
  3114  	// empty or default values are omitted from API requests. However, any
  3115  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3116  	// sent to the server regardless of whether the field is empty or not.
  3117  	// This may be used to include empty fields in Patch requests.
  3118  	ForceSendFields []string `json:"-"`
  3119  
  3120  	// NullFields is a list of field names (e.g. "BooleanArray") to include
  3121  	// in API requests with the JSON null value. By default, fields with
  3122  	// empty values are omitted from API requests. However, any field with
  3123  	// an empty value appearing in NullFields will be sent to the server as
  3124  	// null. It is an error if a field in this list has a non-empty value.
  3125  	// This may be used to include null fields in Patch requests.
  3126  	NullFields []string `json:"-"`
  3127  }
  3128  
  3129  func (s *EnterpriseCrmEventbusProtoParameterValueType) MarshalJSON() ([]byte, error) {
  3130  	type NoMethod EnterpriseCrmEventbusProtoParameterValueType
  3131  	raw := NoMethod(*s)
  3132  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3133  }
  3134  
  3135  func (s *EnterpriseCrmEventbusProtoParameterValueType) UnmarshalJSON(data []byte) error {
  3136  	type NoMethod EnterpriseCrmEventbusProtoParameterValueType
  3137  	var s1 struct {
  3138  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
  3139  		*NoMethod
  3140  	}
  3141  	s1.NoMethod = (*NoMethod)(s)
  3142  	if err := json.Unmarshal(data, &s1); err != nil {
  3143  		return err
  3144  	}
  3145  	s.DoubleValue = float64(s1.DoubleValue)
  3146  	return nil
  3147  }
  3148  
  3149  // EnterpriseCrmEventbusProtoPropertyEntry: Key-value pair of EventBus
  3150  // property.
  3151  type EnterpriseCrmEventbusProtoPropertyEntry struct {
  3152  	// Key: Key is used to retrieve the corresponding property value. This
  3153  	// should be unique for a given fired event. The Tasks should be aware
  3154  	// of the keys used while firing the events for them to be able to
  3155  	// retrieve the values.
  3156  	Key string `json:"key,omitempty"`
  3157  
  3158  	// Value: Values for the defined keys. Each value can either be string,
  3159  	// int, double or any proto message.
  3160  	Value *EnterpriseCrmEventbusProtoValueType `json:"value,omitempty"`
  3161  
  3162  	// ForceSendFields is a list of field names (e.g. "Key") to
  3163  	// unconditionally include in API requests. By default, fields with
  3164  	// empty or default values are omitted from API requests. However, any
  3165  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3166  	// sent to the server regardless of whether the field is empty or not.
  3167  	// This may be used to include empty fields in Patch requests.
  3168  	ForceSendFields []string `json:"-"`
  3169  
  3170  	// NullFields is a list of field names (e.g. "Key") to include in API
  3171  	// requests with the JSON null value. By default, fields with empty
  3172  	// values are omitted from API requests. However, any field with an
  3173  	// empty value appearing in NullFields will be sent to the server as
  3174  	// null. It is an error if a field in this list has a non-empty value.
  3175  	// This may be used to include null fields in Patch requests.
  3176  	NullFields []string `json:"-"`
  3177  }
  3178  
  3179  func (s *EnterpriseCrmEventbusProtoPropertyEntry) MarshalJSON() ([]byte, error) {
  3180  	type NoMethod EnterpriseCrmEventbusProtoPropertyEntry
  3181  	raw := NoMethod(*s)
  3182  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3183  }
  3184  
  3185  type EnterpriseCrmEventbusProtoProtoArrayFunction struct {
  3186  	// Possible values:
  3187  	//   "UNSPECIFIED"
  3188  	//   "GET"
  3189  	//   "APPEND"
  3190  	//   "SIZE"
  3191  	//   "TO_SET"
  3192  	//   "APPEND_ALL"
  3193  	//   "TO_JSON"
  3194  	//   "SET"
  3195  	//   "REMOVE"
  3196  	//   "REMOVE_AT"
  3197  	//   "CONTAINS"
  3198  	//   "FOR_EACH"
  3199  	//   "FILTER"
  3200  	FunctionName string `json:"functionName,omitempty"`
  3201  
  3202  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3203  	// unconditionally include in API requests. By default, fields with
  3204  	// empty or default values are omitted from API requests. However, any
  3205  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3206  	// sent to the server regardless of whether the field is empty or not.
  3207  	// This may be used to include empty fields in Patch requests.
  3208  	ForceSendFields []string `json:"-"`
  3209  
  3210  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3211  	// in API requests with the JSON null value. By default, fields with
  3212  	// empty values are omitted from API requests. However, any field with
  3213  	// an empty value appearing in NullFields will be sent to the server as
  3214  	// null. It is an error if a field in this list has a non-empty value.
  3215  	// This may be used to include null fields in Patch requests.
  3216  	NullFields []string `json:"-"`
  3217  }
  3218  
  3219  func (s *EnterpriseCrmEventbusProtoProtoArrayFunction) MarshalJSON() ([]byte, error) {
  3220  	type NoMethod EnterpriseCrmEventbusProtoProtoArrayFunction
  3221  	raw := NoMethod(*s)
  3222  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3223  }
  3224  
  3225  type EnterpriseCrmEventbusProtoProtoFunction struct {
  3226  	// Possible values:
  3227  	//   "UNSPECIFIED"
  3228  	//   "GET_STRING_SUBFIELD"
  3229  	//   "GET_INT_SUBFIELD"
  3230  	//   "GET_DOUBLE_SUBFIELD"
  3231  	//   "GET_BOOLEAN_SUBFIELD"
  3232  	//   "GET_STRING_ARRAY_SUBFIELD"
  3233  	//   "GET_INT_ARRAY_SUBFIELD"
  3234  	//   "GET_DOUBLE_ARRAY_SUBFIELD"
  3235  	//   "GET_BOOLEAN_ARRAY_SUBFIELD"
  3236  	//   "GET_PROTO_ARRAY_SUBFIELD"
  3237  	//   "GET_PROTO_SUBFIELD"
  3238  	//   "TO_JSON"
  3239  	//   "GET_BYTES_SUBFIELD_AS_UTF_8_STRING"
  3240  	//   "GET_BYTES_SUBFIELD_AS_PROTO"
  3241  	//   "EQUALS"
  3242  	FunctionName string `json:"functionName,omitempty"`
  3243  
  3244  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3245  	// unconditionally include in API requests. By default, fields with
  3246  	// empty or default values are omitted from API requests. However, any
  3247  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3248  	// sent to the server regardless of whether the field is empty or not.
  3249  	// This may be used to include empty fields in Patch requests.
  3250  	ForceSendFields []string `json:"-"`
  3251  
  3252  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3253  	// in API requests with the JSON null value. By default, fields with
  3254  	// empty values are omitted from API requests. However, any field with
  3255  	// an empty value appearing in NullFields will be sent to the server as
  3256  	// null. It is an error if a field in this list has a non-empty value.
  3257  	// This may be used to include null fields in Patch requests.
  3258  	NullFields []string `json:"-"`
  3259  }
  3260  
  3261  func (s *EnterpriseCrmEventbusProtoProtoFunction) MarshalJSON() ([]byte, error) {
  3262  	type NoMethod EnterpriseCrmEventbusProtoProtoFunction
  3263  	raw := NoMethod(*s)
  3264  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3265  }
  3266  
  3267  type EnterpriseCrmEventbusProtoProtoParameterArray struct {
  3268  	ProtoValues []googleapi.RawMessage `json:"protoValues,omitempty"`
  3269  
  3270  	// ForceSendFields is a list of field names (e.g. "ProtoValues") to
  3271  	// unconditionally include in API requests. By default, fields with
  3272  	// empty or default values are omitted from API requests. However, any
  3273  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3274  	// sent to the server regardless of whether the field is empty or not.
  3275  	// This may be used to include empty fields in Patch requests.
  3276  	ForceSendFields []string `json:"-"`
  3277  
  3278  	// NullFields is a list of field names (e.g. "ProtoValues") to include
  3279  	// in API requests with the JSON null value. By default, fields with
  3280  	// empty values are omitted from API requests. However, any field with
  3281  	// an empty value appearing in NullFields will be sent to the server as
  3282  	// null. It is an error if a field in this list has a non-empty value.
  3283  	// This may be used to include null fields in Patch requests.
  3284  	NullFields []string `json:"-"`
  3285  }
  3286  
  3287  func (s *EnterpriseCrmEventbusProtoProtoParameterArray) MarshalJSON() ([]byte, error) {
  3288  	type NoMethod EnterpriseCrmEventbusProtoProtoParameterArray
  3289  	raw := NoMethod(*s)
  3290  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3291  }
  3292  
  3293  type EnterpriseCrmEventbusProtoScatterResponse struct {
  3294  	// ErrorMsg: The error message of the failure if applicable.
  3295  	ErrorMsg string `json:"errorMsg,omitempty"`
  3296  
  3297  	// ExecutionIds: The execution ids of each Subworkflow fired by this
  3298  	// scatter.
  3299  	ExecutionIds []string `json:"executionIds,omitempty"`
  3300  
  3301  	// IsSuccessful: If execution is sync, this is true if the execution
  3302  	// passed and false if it failed. If the execution is async, this is
  3303  	// true if the WF was fired off successfully, and false if it failed to
  3304  	// execute. The success or failure of the subworkflows executed are not
  3305  	// captured.
  3306  	IsSuccessful bool `json:"isSuccessful,omitempty"`
  3307  
  3308  	// ResponseParams: A list of all the response parameters in the
  3309  	// aggregtorMap stored with the remapped key.
  3310  	ResponseParams []*EnterpriseCrmEventbusProtoParameterEntry `json:"responseParams,omitempty"`
  3311  
  3312  	// ScatterElement: The element that was scattered for this execution.
  3313  	ScatterElement *EnterpriseCrmEventbusProtoParameterValueType `json:"scatterElement,omitempty"`
  3314  
  3315  	// ForceSendFields is a list of field names (e.g. "ErrorMsg") to
  3316  	// unconditionally include in API requests. By default, fields with
  3317  	// empty or default values are omitted from API requests. However, any
  3318  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3319  	// sent to the server regardless of whether the field is empty or not.
  3320  	// This may be used to include empty fields in Patch requests.
  3321  	ForceSendFields []string `json:"-"`
  3322  
  3323  	// NullFields is a list of field names (e.g. "ErrorMsg") to include in
  3324  	// API requests with the JSON null value. By default, fields with empty
  3325  	// values are omitted from API requests. However, any field with an
  3326  	// empty value appearing in NullFields will be sent to the server as
  3327  	// null. It is an error if a field in this list has a non-empty value.
  3328  	// This may be used to include null fields in Patch requests.
  3329  	NullFields []string `json:"-"`
  3330  }
  3331  
  3332  func (s *EnterpriseCrmEventbusProtoScatterResponse) MarshalJSON() ([]byte, error) {
  3333  	type NoMethod EnterpriseCrmEventbusProtoScatterResponse
  3334  	raw := NoMethod(*s)
  3335  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3336  }
  3337  
  3338  type EnterpriseCrmEventbusProtoSerializedObjectParameter struct {
  3339  	ObjectValue string `json:"objectValue,omitempty"`
  3340  
  3341  	// ForceSendFields is a list of field names (e.g. "ObjectValue") to
  3342  	// unconditionally include in API requests. By default, fields with
  3343  	// empty or default values are omitted from API requests. However, any
  3344  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3345  	// sent to the server regardless of whether the field is empty or not.
  3346  	// This may be used to include empty fields in Patch requests.
  3347  	ForceSendFields []string `json:"-"`
  3348  
  3349  	// NullFields is a list of field names (e.g. "ObjectValue") to include
  3350  	// in API requests with the JSON null value. By default, fields with
  3351  	// empty values are omitted from API requests. However, any field with
  3352  	// an empty value appearing in NullFields will be sent to the server as
  3353  	// null. It is an error if a field in this list has a non-empty value.
  3354  	// This may be used to include null fields in Patch requests.
  3355  	NullFields []string `json:"-"`
  3356  }
  3357  
  3358  func (s *EnterpriseCrmEventbusProtoSerializedObjectParameter) MarshalJSON() ([]byte, error) {
  3359  	type NoMethod EnterpriseCrmEventbusProtoSerializedObjectParameter
  3360  	raw := NoMethod(*s)
  3361  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3362  }
  3363  
  3364  type EnterpriseCrmEventbusProtoStringArray struct {
  3365  	Values []string `json:"values,omitempty"`
  3366  
  3367  	// ForceSendFields is a list of field names (e.g. "Values") to
  3368  	// unconditionally include in API requests. By default, fields with
  3369  	// empty or default values are omitted from API requests. However, any
  3370  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3371  	// sent to the server regardless of whether the field is empty or not.
  3372  	// This may be used to include empty fields in Patch requests.
  3373  	ForceSendFields []string `json:"-"`
  3374  
  3375  	// NullFields is a list of field names (e.g. "Values") to include in API
  3376  	// requests with the JSON null value. By default, fields with empty
  3377  	// values are omitted from API requests. However, any field with an
  3378  	// empty value appearing in NullFields will be sent to the server as
  3379  	// null. It is an error if a field in this list has a non-empty value.
  3380  	// This may be used to include null fields in Patch requests.
  3381  	NullFields []string `json:"-"`
  3382  }
  3383  
  3384  func (s *EnterpriseCrmEventbusProtoStringArray) MarshalJSON() ([]byte, error) {
  3385  	type NoMethod EnterpriseCrmEventbusProtoStringArray
  3386  	raw := NoMethod(*s)
  3387  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3388  }
  3389  
  3390  type EnterpriseCrmEventbusProtoStringArrayFunction struct {
  3391  	// Possible values:
  3392  	//   "UNSPECIFIED"
  3393  	//   "GET"
  3394  	//   "APPEND"
  3395  	//   "SIZE"
  3396  	//   "TO_SET"
  3397  	//   "APPEND_ALL"
  3398  	//   "TO_JSON"
  3399  	//   "SET"
  3400  	//   "REMOVE"
  3401  	//   "REMOVE_AT"
  3402  	//   "CONTAINS"
  3403  	//   "FOR_EACH"
  3404  	//   "FILTER"
  3405  	FunctionName string `json:"functionName,omitempty"`
  3406  
  3407  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3408  	// unconditionally include in API requests. By default, fields with
  3409  	// empty or default values are omitted from API requests. However, any
  3410  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3411  	// sent to the server regardless of whether the field is empty or not.
  3412  	// This may be used to include empty fields in Patch requests.
  3413  	ForceSendFields []string `json:"-"`
  3414  
  3415  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3416  	// in API requests with the JSON null value. By default, fields with
  3417  	// empty values are omitted from API requests. However, any field with
  3418  	// an empty value appearing in NullFields will be sent to the server as
  3419  	// null. It is an error if a field in this list has a non-empty value.
  3420  	// This may be used to include null fields in Patch requests.
  3421  	NullFields []string `json:"-"`
  3422  }
  3423  
  3424  func (s *EnterpriseCrmEventbusProtoStringArrayFunction) MarshalJSON() ([]byte, error) {
  3425  	type NoMethod EnterpriseCrmEventbusProtoStringArrayFunction
  3426  	raw := NoMethod(*s)
  3427  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3428  }
  3429  
  3430  type EnterpriseCrmEventbusProtoStringFunction struct {
  3431  	// Possible values:
  3432  	//   "UNSPECIFIED"
  3433  	//   "CONCAT"
  3434  	//   "TO_UPPERCASE"
  3435  	//   "TO_LOWERCASE"
  3436  	//   "CONTAINS"
  3437  	//   "SPLIT"
  3438  	//   "LENGTH"
  3439  	//   "EQUALS"
  3440  	//   "TO_INT"
  3441  	//   "TO_DOUBLE"
  3442  	//   "TO_BOOLEAN"
  3443  	//   "TO_BASE_64"
  3444  	//   "TO_JSON"
  3445  	//   "EQUALS_IGNORE_CASE"
  3446  	//   "REPLACE_ALL"
  3447  	//   "SUBSTRING"
  3448  	//   "RESOLVE_TEMPLATE"
  3449  	FunctionName string `json:"functionName,omitempty"`
  3450  
  3451  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3452  	// unconditionally include in API requests. By default, fields with
  3453  	// empty or default values are omitted from API requests. However, any
  3454  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3455  	// sent to the server regardless of whether the field is empty or not.
  3456  	// This may be used to include empty fields in Patch requests.
  3457  	ForceSendFields []string `json:"-"`
  3458  
  3459  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3460  	// in API requests with the JSON null value. By default, fields with
  3461  	// empty values are omitted from API requests. However, any field with
  3462  	// an empty value appearing in NullFields will be sent to the server as
  3463  	// null. It is an error if a field in this list has a non-empty value.
  3464  	// This may be used to include null fields in Patch requests.
  3465  	NullFields []string `json:"-"`
  3466  }
  3467  
  3468  func (s *EnterpriseCrmEventbusProtoStringFunction) MarshalJSON() ([]byte, error) {
  3469  	type NoMethod EnterpriseCrmEventbusProtoStringFunction
  3470  	raw := NoMethod(*s)
  3471  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3472  }
  3473  
  3474  type EnterpriseCrmEventbusProtoStringParameterArray struct {
  3475  	StringValues []string `json:"stringValues,omitempty"`
  3476  
  3477  	// ForceSendFields is a list of field names (e.g. "StringValues") to
  3478  	// unconditionally include in API requests. By default, fields with
  3479  	// empty or default values are omitted from API requests. However, any
  3480  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3481  	// sent to the server regardless of whether the field is empty or not.
  3482  	// This may be used to include empty fields in Patch requests.
  3483  	ForceSendFields []string `json:"-"`
  3484  
  3485  	// NullFields is a list of field names (e.g. "StringValues") to include
  3486  	// in API requests with the JSON null value. By default, fields with
  3487  	// empty values are omitted from API requests. However, any field with
  3488  	// an empty value appearing in NullFields will be sent to the server as
  3489  	// null. It is an error if a field in this list has a non-empty value.
  3490  	// This may be used to include null fields in Patch requests.
  3491  	NullFields []string `json:"-"`
  3492  }
  3493  
  3494  func (s *EnterpriseCrmEventbusProtoStringParameterArray) MarshalJSON() ([]byte, error) {
  3495  	type NoMethod EnterpriseCrmEventbusProtoStringParameterArray
  3496  	raw := NoMethod(*s)
  3497  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3498  }
  3499  
  3500  // EnterpriseCrmEventbusProtoSuccessPolicy: Policy that dictates the
  3501  // behavior for the task after it completes successfully.
  3502  type EnterpriseCrmEventbusProtoSuccessPolicy struct {
  3503  	// FinalState: State to which the execution snapshot status will be set
  3504  	// if the task succeeds.
  3505  	//
  3506  	// Possible values:
  3507  	//   "UNSPECIFIED"
  3508  	//   "SUCCEEDED" - The default behavior, where successful tasks will be
  3509  	// marked as SUCCEEDED.
  3510  	//   "SUSPENDED" - Sets the state to SUSPENDED after executing. This is
  3511  	// required for SuspensionTask; event execution will continue once the
  3512  	// user calls ResolveSuspensions with the event_execution_info_id and
  3513  	// the task number.
  3514  	FinalState string `json:"finalState,omitempty"`
  3515  
  3516  	// ForceSendFields is a list of field names (e.g. "FinalState") to
  3517  	// unconditionally include in API requests. By default, fields with
  3518  	// empty or default values are omitted from API requests. However, any
  3519  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3520  	// sent to the server regardless of whether the field is empty or not.
  3521  	// This may be used to include empty fields in Patch requests.
  3522  	ForceSendFields []string `json:"-"`
  3523  
  3524  	// NullFields is a list of field names (e.g. "FinalState") to include in
  3525  	// API requests with the JSON null value. By default, fields with empty
  3526  	// values are omitted from API requests. However, any field with an
  3527  	// empty value appearing in NullFields will be sent to the server as
  3528  	// null. It is an error if a field in this list has a non-empty value.
  3529  	// This may be used to include null fields in Patch requests.
  3530  	NullFields []string `json:"-"`
  3531  }
  3532  
  3533  func (s *EnterpriseCrmEventbusProtoSuccessPolicy) MarshalJSON() ([]byte, error) {
  3534  	type NoMethod EnterpriseCrmEventbusProtoSuccessPolicy
  3535  	raw := NoMethod(*s)
  3536  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3537  }
  3538  
  3539  // EnterpriseCrmEventbusProtoSuspensionAuthPermissions: LINT.IfChange
  3540  type EnterpriseCrmEventbusProtoSuspensionAuthPermissions struct {
  3541  	// GaiaIdentity: Represents a Gaia identity for a person or service
  3542  	// account.
  3543  	GaiaIdentity *EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity `json:"gaiaIdentity,omitempty"`
  3544  
  3545  	GoogleGroup *EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity `json:"googleGroup,omitempty"`
  3546  
  3547  	LoasRole string `json:"loasRole,omitempty"`
  3548  
  3549  	MdbGroup string `json:"mdbGroup,omitempty"`
  3550  
  3551  	// ForceSendFields is a list of field names (e.g. "GaiaIdentity") to
  3552  	// unconditionally include in API requests. By default, fields with
  3553  	// empty or default values are omitted from API requests. However, any
  3554  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3555  	// sent to the server regardless of whether the field is empty or not.
  3556  	// This may be used to include empty fields in Patch requests.
  3557  	ForceSendFields []string `json:"-"`
  3558  
  3559  	// NullFields is a list of field names (e.g. "GaiaIdentity") to include
  3560  	// in API requests with the JSON null value. By default, fields with
  3561  	// empty values are omitted from API requests. However, any field with
  3562  	// an empty value appearing in NullFields will be sent to the server as
  3563  	// null. It is an error if a field in this list has a non-empty value.
  3564  	// This may be used to include null fields in Patch requests.
  3565  	NullFields []string `json:"-"`
  3566  }
  3567  
  3568  func (s *EnterpriseCrmEventbusProtoSuspensionAuthPermissions) MarshalJSON() ([]byte, error) {
  3569  	type NoMethod EnterpriseCrmEventbusProtoSuspensionAuthPermissions
  3570  	raw := NoMethod(*s)
  3571  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3572  }
  3573  
  3574  type EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity struct {
  3575  	EmailAddress string `json:"emailAddress,omitempty"`
  3576  
  3577  	GaiaId int64 `json:"gaiaId,omitempty,string"`
  3578  
  3579  	// ForceSendFields is a list of field names (e.g. "EmailAddress") to
  3580  	// unconditionally include in API requests. By default, fields with
  3581  	// empty or default values are omitted from API requests. However, any
  3582  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3583  	// sent to the server regardless of whether the field is empty or not.
  3584  	// This may be used to include empty fields in Patch requests.
  3585  	ForceSendFields []string `json:"-"`
  3586  
  3587  	// NullFields is a list of field names (e.g. "EmailAddress") to include
  3588  	// in API requests with the JSON null value. By default, fields with
  3589  	// empty values are omitted from API requests. However, any field with
  3590  	// an empty value appearing in NullFields will be sent to the server as
  3591  	// null. It is an error if a field in this list has a non-empty value.
  3592  	// This may be used to include null fields in Patch requests.
  3593  	NullFields []string `json:"-"`
  3594  }
  3595  
  3596  func (s *EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity) MarshalJSON() ([]byte, error) {
  3597  	type NoMethod EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity
  3598  	raw := NoMethod(*s)
  3599  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3600  }
  3601  
  3602  type EnterpriseCrmEventbusProtoSuspensionConfig struct {
  3603  	// CustomMessage: Optional information to provide recipients of the
  3604  	// suspension in addition to the resolution URL, typically containing
  3605  	// relevant parameter values from the originating workflow.
  3606  	CustomMessage string `json:"customMessage,omitempty"`
  3607  
  3608  	Notifications []*EnterpriseCrmEventbusProtoNotification `json:"notifications,omitempty"`
  3609  
  3610  	// SuspensionExpiration: Indicates the next steps when no external
  3611  	// actions happen on the suspension.
  3612  	SuspensionExpiration *EnterpriseCrmEventbusProtoSuspensionExpiration `json:"suspensionExpiration,omitempty"`
  3613  
  3614  	// WhoMayResolve: Identities able to resolve this suspension.
  3615  	WhoMayResolve []*EnterpriseCrmEventbusProtoSuspensionAuthPermissions `json:"whoMayResolve,omitempty"`
  3616  
  3617  	// ForceSendFields is a list of field names (e.g. "CustomMessage") to
  3618  	// unconditionally include in API requests. By default, fields with
  3619  	// empty or default values are omitted from API requests. However, any
  3620  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3621  	// sent to the server regardless of whether the field is empty or not.
  3622  	// This may be used to include empty fields in Patch requests.
  3623  	ForceSendFields []string `json:"-"`
  3624  
  3625  	// NullFields is a list of field names (e.g. "CustomMessage") to include
  3626  	// in API requests with the JSON null value. By default, fields with
  3627  	// empty values are omitted from API requests. However, any field with
  3628  	// an empty value appearing in NullFields will be sent to the server as
  3629  	// null. It is an error if a field in this list has a non-empty value.
  3630  	// This may be used to include null fields in Patch requests.
  3631  	NullFields []string `json:"-"`
  3632  }
  3633  
  3634  func (s *EnterpriseCrmEventbusProtoSuspensionConfig) MarshalJSON() ([]byte, error) {
  3635  	type NoMethod EnterpriseCrmEventbusProtoSuspensionConfig
  3636  	raw := NoMethod(*s)
  3637  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3638  }
  3639  
  3640  type EnterpriseCrmEventbusProtoSuspensionExpiration struct {
  3641  	// ExpireAfterMs: Milliseconds after which the suspension expires, if no
  3642  	// action taken.
  3643  	ExpireAfterMs int64 `json:"expireAfterMs,omitempty"`
  3644  
  3645  	// LiftWhenExpired: Whether the suspension will be REJECTED or LIFTED
  3646  	// upon expiration. REJECTED is the default behavior.
  3647  	LiftWhenExpired bool `json:"liftWhenExpired,omitempty"`
  3648  
  3649  	// RemindAfterMs: Milliseconds after which the previous suspension
  3650  	// action reminder, if any, is sent using the selected notification
  3651  	// option, for a suspension which is still PENDING_UNSPECIFIED.
  3652  	RemindAfterMs int64 `json:"remindAfterMs,omitempty"`
  3653  
  3654  	// ForceSendFields is a list of field names (e.g. "ExpireAfterMs") to
  3655  	// unconditionally include in API requests. By default, fields with
  3656  	// empty or default values are omitted from API requests. However, any
  3657  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3658  	// sent to the server regardless of whether the field is empty or not.
  3659  	// This may be used to include empty fields in Patch requests.
  3660  	ForceSendFields []string `json:"-"`
  3661  
  3662  	// NullFields is a list of field names (e.g. "ExpireAfterMs") to include
  3663  	// in API requests with the JSON null value. By default, fields with
  3664  	// empty values are omitted from API requests. However, any field with
  3665  	// an empty value appearing in NullFields will be sent to the server as
  3666  	// null. It is an error if a field in this list has a non-empty value.
  3667  	// This may be used to include null fields in Patch requests.
  3668  	NullFields []string `json:"-"`
  3669  }
  3670  
  3671  func (s *EnterpriseCrmEventbusProtoSuspensionExpiration) MarshalJSON() ([]byte, error) {
  3672  	type NoMethod EnterpriseCrmEventbusProtoSuspensionExpiration
  3673  	raw := NoMethod(*s)
  3674  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3675  }
  3676  
  3677  type EnterpriseCrmEventbusProtoSuspensionResolutionInfo struct {
  3678  	Audit *EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit `json:"audit,omitempty"`
  3679  
  3680  	// CreatedTimestamp: Auto-generated.
  3681  	CreatedTimestamp string `json:"createdTimestamp,omitempty"`
  3682  
  3683  	// EventExecutionInfoId: Required. ID of the associated execution.
  3684  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  3685  
  3686  	// ExternalTraffic: The origin of the suspension for periodic
  3687  	// notifications.
  3688  	ExternalTraffic *EnterpriseCrmEventbusProtoExternalTraffic `json:"externalTraffic,omitempty"`
  3689  
  3690  	// LastModifiedTimestamp: Auto-generated.
  3691  	LastModifiedTimestamp string `json:"lastModifiedTimestamp,omitempty"`
  3692  
  3693  	// Product: Which Google product the suspension belongs to. If not set,
  3694  	// the suspension belongs to Integration Platform by default.
  3695  	//
  3696  	// Possible values:
  3697  	//   "UNSPECIFIED_PRODUCT"
  3698  	//   "IP"
  3699  	//   "APIGEE"
  3700  	//   "SECURITY"
  3701  	Product string `json:"product,omitempty"`
  3702  
  3703  	// Possible values:
  3704  	//   "PENDING_UNSPECIFIED"
  3705  	//   "REJECTED"
  3706  	//   "LIFTED"
  3707  	Status string `json:"status,omitempty"`
  3708  
  3709  	SuspensionConfig *EnterpriseCrmEventbusProtoSuspensionConfig `json:"suspensionConfig,omitempty"`
  3710  
  3711  	// SuspensionId: Primary key for the SuspensionResolutionInfoTable.
  3712  	SuspensionId string `json:"suspensionId,omitempty"`
  3713  
  3714  	// TaskNumber: Required. Task number of the associated SuspensionTask.
  3715  	TaskNumber string `json:"taskNumber,omitempty"`
  3716  
  3717  	// WorkflowName: Required. The name of the originating workflow.
  3718  	WorkflowName string `json:"workflowName,omitempty"`
  3719  
  3720  	// ForceSendFields is a list of field names (e.g. "Audit") to
  3721  	// unconditionally include in API requests. By default, fields with
  3722  	// empty or default values are omitted from API requests. However, any
  3723  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3724  	// sent to the server regardless of whether the field is empty or not.
  3725  	// This may be used to include empty fields in Patch requests.
  3726  	ForceSendFields []string `json:"-"`
  3727  
  3728  	// NullFields is a list of field names (e.g. "Audit") to include in API
  3729  	// requests with the JSON null value. By default, fields with empty
  3730  	// values are omitted from API requests. However, any field with an
  3731  	// empty value appearing in NullFields will be sent to the server as
  3732  	// null. It is an error if a field in this list has a non-empty value.
  3733  	// This may be used to include null fields in Patch requests.
  3734  	NullFields []string `json:"-"`
  3735  }
  3736  
  3737  func (s *EnterpriseCrmEventbusProtoSuspensionResolutionInfo) MarshalJSON() ([]byte, error) {
  3738  	type NoMethod EnterpriseCrmEventbusProtoSuspensionResolutionInfo
  3739  	raw := NoMethod(*s)
  3740  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3741  }
  3742  
  3743  type EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit struct {
  3744  	ResolvedBy string `json:"resolvedBy,omitempty"`
  3745  
  3746  	ResolvedByCpi string `json:"resolvedByCpi,omitempty"`
  3747  
  3748  	Timestamp string `json:"timestamp,omitempty"`
  3749  
  3750  	// ForceSendFields is a list of field names (e.g. "ResolvedBy") to
  3751  	// unconditionally include in API requests. By default, fields with
  3752  	// empty or default values are omitted from API requests. However, any
  3753  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3754  	// sent to the server regardless of whether the field is empty or not.
  3755  	// This may be used to include empty fields in Patch requests.
  3756  	ForceSendFields []string `json:"-"`
  3757  
  3758  	// NullFields is a list of field names (e.g. "ResolvedBy") to include in
  3759  	// API requests with the JSON null value. By default, fields with empty
  3760  	// values are omitted from API requests. However, any field with an
  3761  	// empty value appearing in NullFields will be sent to the server as
  3762  	// null. It is an error if a field in this list has a non-empty value.
  3763  	// This may be used to include null fields in Patch requests.
  3764  	NullFields []string `json:"-"`
  3765  }
  3766  
  3767  func (s *EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit) MarshalJSON() ([]byte, error) {
  3768  	type NoMethod EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit
  3769  	raw := NoMethod(*s)
  3770  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3771  }
  3772  
  3773  // EnterpriseCrmEventbusProtoTaskAlertConfig: Message to be used to
  3774  // configure alerting in the {@code TaskConfig} protos for tasks in an
  3775  // event. See go/eventbus-alert-config-examples for examples of the
  3776  // different alerts that can be configured.
  3777  type EnterpriseCrmEventbusProtoTaskAlertConfig struct {
  3778  	// AggregationPeriod: The period over which the metric value should be
  3779  	// aggregated and evaluated. Format is , where integer should be a
  3780  	// positive integer and unit should be one of (s,m,h,d,w) meaning
  3781  	// (second, minute, hour, day, week).
  3782  	AggregationPeriod string `json:"aggregationPeriod,omitempty"`
  3783  
  3784  	// AlertDisabled: Set to false by default. When set to true, the metrics
  3785  	// are not aggregated or pushed to Monarch for this workflow alert.
  3786  	AlertDisabled bool `json:"alertDisabled,omitempty"`
  3787  
  3788  	// AlertName: A name to identify this alert. This will be displayed in
  3789  	// the alert subject. If set, this name should be unique in within the
  3790  	// scope of the containing workflow.
  3791  	AlertName string `json:"alertName,omitempty"`
  3792  
  3793  	// ClientId: Client associated with this alert configuration. Must be a
  3794  	// client enabled in one of the containing workflow's triggers.
  3795  	ClientId string `json:"clientId,omitempty"`
  3796  
  3797  	// DurationThresholdMs: Should be specified only for
  3798  	// TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This
  3799  	// member should be used to specify what duration value the metrics
  3800  	// should exceed for the alert to trigger.
  3801  	DurationThresholdMs int64 `json:"durationThresholdMs,omitempty,string"`
  3802  
  3803  	ErrorEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"errorEnumList,omitempty"`
  3804  
  3805  	// Possible values:
  3806  	//   "METRIC_TYPE_UNSPECIFIED" - The default value. Metric type should
  3807  	// always be set to one of the other non-default values, otherwise it
  3808  	// will result in an INVALID_ARGUMENT error.
  3809  	//   "TASK_ERROR_RATE" - Specifies alerting on the rate of errors
  3810  	// (potentially for a specific set of enum values) for the enclosing
  3811  	// TaskConfig.
  3812  	//   "TASK_WARNING_RATE" - Specifies alerting on the rate of warnings
  3813  	// (potentially for a specific set of enum values) for the enclosing
  3814  	// TaskConfig. Warnings use the same enum values as errors.
  3815  	//   "TASK_RATE" - Specifies alerting on the number of instances for the
  3816  	// enclosing TaskConfig executed in the given aggregation_period.
  3817  	//   "TASK_AVERAGE_DURATION" - Specifies alerting on the average
  3818  	// duration of execution for the enclosing task.
  3819  	//   "TASK_PERCENTILE_DURATION" - Specifies alerting on the duration of
  3820  	// a particular percentile of task executions. E.g. If 10% or more of
  3821  	// the task executions have durations above 5 seconds, alert.
  3822  	MetricType string `json:"metricType,omitempty"`
  3823  
  3824  	// NumAggregationPeriods: For how many contiguous aggregation periods
  3825  	// should the expected min or max be violated for the alert to be fired.
  3826  	NumAggregationPeriods int64 `json:"numAggregationPeriods,omitempty"`
  3827  
  3828  	// OnlyFinalAttempt: Only count final task attempts, not retries.
  3829  	OnlyFinalAttempt bool `json:"onlyFinalAttempt,omitempty"`
  3830  
  3831  	// PlaybookUrl: Link to a playbook for resolving the issue that
  3832  	// triggered this alert.
  3833  	PlaybookUrl string `json:"playbookUrl,omitempty"`
  3834  
  3835  	// ThresholdType: The threshold type for which this alert is being
  3836  	// configured. If value falls below expected_min or exceeds
  3837  	// expected_max, an alert will be fired.
  3838  	//
  3839  	// Possible values:
  3840  	//   "UNSPECIFIED_THRESHOLD_TYPE"
  3841  	//   "EXPECTED_MIN" - Note that this field will only trigger alerts if
  3842  	// the workflow specifying it runs at least once in 24 hours (which is
  3843  	// our in-memory retention period for monarch streams). Also note that
  3844  	// `aggregation_period` for this alert configuration must be less than
  3845  	// 24 hours.
  3846  	//   "EXPECTED_MAX"
  3847  	ThresholdType string `json:"thresholdType,omitempty"`
  3848  
  3849  	// ThresholdValue: The metric value, above or below which the alert
  3850  	// should be triggered.
  3851  	ThresholdValue *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue `json:"thresholdValue,omitempty"`
  3852  
  3853  	WarningEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"warningEnumList,omitempty"`
  3854  
  3855  	// ForceSendFields is a list of field names (e.g. "AggregationPeriod")
  3856  	// to unconditionally include in API requests. By default, fields with
  3857  	// empty or default values are omitted from API requests. However, any
  3858  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3859  	// sent to the server regardless of whether the field is empty or not.
  3860  	// This may be used to include empty fields in Patch requests.
  3861  	ForceSendFields []string `json:"-"`
  3862  
  3863  	// NullFields is a list of field names (e.g. "AggregationPeriod") to
  3864  	// include in API requests with the JSON null value. By default, fields
  3865  	// with empty values are omitted from API requests. However, any field
  3866  	// with an empty value appearing in NullFields will be sent to the
  3867  	// server as null. It is an error if a field in this list has a
  3868  	// non-empty value. This may be used to include null fields in Patch
  3869  	// requests.
  3870  	NullFields []string `json:"-"`
  3871  }
  3872  
  3873  func (s *EnterpriseCrmEventbusProtoTaskAlertConfig) MarshalJSON() ([]byte, error) {
  3874  	type NoMethod EnterpriseCrmEventbusProtoTaskAlertConfig
  3875  	raw := NoMethod(*s)
  3876  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3877  }
  3878  
  3879  // EnterpriseCrmEventbusProtoTaskExecutionDetails: Contains the details
  3880  // of the execution of this task. Next available id: 11
  3881  type EnterpriseCrmEventbusProtoTaskExecutionDetails struct {
  3882  	TaskAttemptStats []*EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats `json:"taskAttemptStats,omitempty"`
  3883  
  3884  	// Possible values:
  3885  	//   "UNSPECIFIED"
  3886  	//   "PENDING_EXECUTION" - Task is waiting for its precondition tasks to
  3887  	// finish to start the execution.
  3888  	//   "IN_PROCESS" - Task is under processing.
  3889  	//   "SUCCEED" - Task execution successfully finished. There's no more
  3890  	// change after this state.
  3891  	//   "FAILED" - Task execution failed. There's no more change after this
  3892  	// state.
  3893  	//   "FATAL" - Task execution failed and cause the whole event execution
  3894  	// to fail immediately. There's no more change after this state.
  3895  	//   "RETRY_ON_HOLD" - Task execution failed and waiting for retry.
  3896  	//   "SKIPPED" - Task execution skipped. This happens when its
  3897  	// precondition wasn't met, or the event execution been canceled before
  3898  	// reach to the task. There's no more changes after this state.
  3899  	//   "CANCELED" - Task execution canceled when in progress. This happens
  3900  	// when event execution been canceled or any other task fall in fatal
  3901  	// state.
  3902  	//   "PENDING_ROLLBACK" - Task is waiting for its dependency tasks'
  3903  	// rollback to finish to start its rollback.
  3904  	//   "ROLLBACK_IN_PROCESS" - Task is rolling back.
  3905  	//   "ROLLEDBACK" - Task is rolled back. This is the state we will set
  3906  	// regardless of rollback succeeding or failing.
  3907  	//   "SUSPENDED" - Task is a SuspensionTask which has executed once,
  3908  	// creating a pending suspension.
  3909  	TaskExecutionState string `json:"taskExecutionState,omitempty"`
  3910  
  3911  	// TaskNumber: Pointer to the task config it used for execution.
  3912  	TaskNumber string `json:"taskNumber,omitempty"`
  3913  
  3914  	// ForceSendFields is a list of field names (e.g. "TaskAttemptStats") to
  3915  	// unconditionally include in API requests. By default, fields with
  3916  	// empty or default values are omitted from API requests. However, any
  3917  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3918  	// sent to the server regardless of whether the field is empty or not.
  3919  	// This may be used to include empty fields in Patch requests.
  3920  	ForceSendFields []string `json:"-"`
  3921  
  3922  	// NullFields is a list of field names (e.g. "TaskAttemptStats") to
  3923  	// include in API requests with the JSON null value. By default, fields
  3924  	// with empty values are omitted from API requests. However, any field
  3925  	// with an empty value appearing in NullFields will be sent to the
  3926  	// server as null. It is an error if a field in this list has a
  3927  	// non-empty value. This may be used to include null fields in Patch
  3928  	// requests.
  3929  	NullFields []string `json:"-"`
  3930  }
  3931  
  3932  func (s *EnterpriseCrmEventbusProtoTaskExecutionDetails) MarshalJSON() ([]byte, error) {
  3933  	type NoMethod EnterpriseCrmEventbusProtoTaskExecutionDetails
  3934  	raw := NoMethod(*s)
  3935  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3936  }
  3937  
  3938  type EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats struct {
  3939  	// EndTime: The end time of the task execution for current attempt.
  3940  	EndTime int64 `json:"endTime,omitempty,string"`
  3941  
  3942  	// StartTime: The start time of the task execution for current attempt.
  3943  	// This could be in the future if it's been scheduled.
  3944  	StartTime int64 `json:"startTime,omitempty,string"`
  3945  
  3946  	// ForceSendFields is a list of field names (e.g. "EndTime") to
  3947  	// unconditionally include in API requests. By default, fields with
  3948  	// empty or default values are omitted from API requests. However, any
  3949  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3950  	// sent to the server regardless of whether the field is empty or not.
  3951  	// This may be used to include empty fields in Patch requests.
  3952  	ForceSendFields []string `json:"-"`
  3953  
  3954  	// NullFields is a list of field names (e.g. "EndTime") to include in
  3955  	// API requests with the JSON null value. By default, fields with empty
  3956  	// values are omitted from API requests. However, any field with an
  3957  	// empty value appearing in NullFields will be sent to the server as
  3958  	// null. It is an error if a field in this list has a non-empty value.
  3959  	// This may be used to include null fields in Patch requests.
  3960  	NullFields []string `json:"-"`
  3961  }
  3962  
  3963  func (s *EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats) MarshalJSON() ([]byte, error) {
  3964  	type NoMethod EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats
  3965  	raw := NoMethod(*s)
  3966  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3967  }
  3968  
  3969  // EnterpriseCrmEventbusProtoTaskMetadata: TaskMetadata are attributes
  3970  // that are associated to every common Task we have. Next available: 26
  3971  type EnterpriseCrmEventbusProtoTaskMetadata struct {
  3972  	// ActiveTaskName: The new task name to replace the current task if it
  3973  	// is deprecated. Otherwise, it is the same as the current task name.
  3974  	ActiveTaskName string `json:"activeTaskName,omitempty"`
  3975  
  3976  	Admins []*EnterpriseCrmEventbusProtoTaskMetadataAdmin `json:"admins,omitempty"`
  3977  
  3978  	// Possible values:
  3979  	//   "UNSPECIFIED_CATEGORY"
  3980  	//   "CUSTOM"
  3981  	//   "FLOW_CONTROL"
  3982  	//   "DATA_MANIPULATION"
  3983  	//   "SCRIPTING"
  3984  	//   "CONNECTOR"
  3985  	//   "HIDDEN" - Internal IP tasks that should not be available in the
  3986  	// UI.
  3987  	//   "CLOUD_SYSTEMS" - Tasks that are relevant to cloud systems teams
  3988  	// and typically
  3989  	//   "CUSTOM_TASK_TEMPLATE" - include connecting to Vector salesforce,
  3990  	// CRM Hub Spanner etc. Task entities that derive from a custom task
  3991  	// template.
  3992  	Category string `json:"category,omitempty"`
  3993  
  3994  	// CodeSearchLink: The Code Search link to the Task Java file.
  3995  	CodeSearchLink string `json:"codeSearchLink,omitempty"`
  3996  
  3997  	// DefaultJsonValidationOption: Controls whether JSON workflow
  3998  	// parameters are validated against provided schemas before and/or after
  3999  	// this task's execution.
  4000  	//
  4001  	// Possible values:
  4002  	//   "UNSPECIFIED_JSON_VALIDATION_OPTION" - As per the default behavior,
  4003  	// no validation will be run. Will not override any option set in a
  4004  	// Task.
  4005  	//   "SKIP" - Do not run any validation against JSON schemas.
  4006  	//   "PRE_EXECUTION" - Validate all potential input JSON parameters
  4007  	// against schemas specified in WorkflowParameters.
  4008  	//   "POST_EXECUTION" - Validate all potential output JSON parameters
  4009  	// against schemas specified in WorkflowParameters.
  4010  	//   "PRE_POST_EXECUTION" - Perform both PRE_EXECUTION and
  4011  	// POST_EXECUTION validations.
  4012  	DefaultJsonValidationOption string `json:"defaultJsonValidationOption,omitempty"`
  4013  
  4014  	// DefaultSpec: Contains the initial configuration of the task with
  4015  	// default values set. For now, The string should be compatible to an
  4016  	// ASCII-proto format.
  4017  	DefaultSpec string `json:"defaultSpec,omitempty"`
  4018  
  4019  	// Description: In a few sentences, describe the purpose and usage of
  4020  	// the task.
  4021  	Description string `json:"description,omitempty"`
  4022  
  4023  	// DescriptiveName: The string name to show on the task list on the
  4024  	// Workflow editor screen. This should be a very short, one to two words
  4025  	// name for the task. (e.g. "Send Mail")
  4026  	DescriptiveName string `json:"descriptiveName,omitempty"`
  4027  
  4028  	// DocMarkdown: Snippet of markdown documentation to embed in the RHP
  4029  	// for this task.
  4030  	DocMarkdown string `json:"docMarkdown,omitempty"`
  4031  
  4032  	// Possible values:
  4033  	//   "UNSPECIFIED_EXTERNAL_CATEGORY"
  4034  	//   "CORE"
  4035  	//   "CONNECTORS"
  4036  	ExternalCategory string `json:"externalCategory,omitempty"`
  4037  
  4038  	// ExternalCategorySequence: Sequence with which the task in specific
  4039  	// category to be displayed in task discovery panel for external users.
  4040  	ExternalCategorySequence int64 `json:"externalCategorySequence,omitempty"`
  4041  
  4042  	// ExternalDocHtml: External-facing documention embedded in the RHP for
  4043  	// this task.
  4044  	ExternalDocHtml string `json:"externalDocHtml,omitempty"`
  4045  
  4046  	// ExternalDocLink: Doc link for external-facing documentation (separate
  4047  	// from g3doc).
  4048  	ExternalDocLink string `json:"externalDocLink,omitempty"`
  4049  
  4050  	// ExternalDocMarkdown: DEPRECATED: Use external_doc_html.
  4051  	ExternalDocMarkdown string `json:"externalDocMarkdown,omitempty"`
  4052  
  4053  	// G3DocLink: URL to the associated G3 Doc for the task if available
  4054  	G3DocLink string `json:"g3DocLink,omitempty"`
  4055  
  4056  	// IconLink: URL to gstatic image icon for this task. This icon shows up
  4057  	// on the task list panel along with the task name in the Workflow
  4058  	// Editor screen. Use the 24p, 2x, gray color icon image format. See
  4059  	// go/icons.
  4060  	IconLink string `json:"iconLink,omitempty"`
  4061  
  4062  	// IsDeprecated: The deprecation status of the current task. Default
  4063  	// value is false;
  4064  	IsDeprecated bool `json:"isDeprecated,omitempty"`
  4065  
  4066  	// Name: The actual class name or the annotated name of the task. Task
  4067  	// Author should initialize this field with value from the getName()
  4068  	// method of the Task class.
  4069  	Name string `json:"name,omitempty"`
  4070  
  4071  	// StandaloneExternalDocHtml: External-facing documention for standalone
  4072  	// IP in pantheon embedded in the RHP for this task. Non null only if
  4073  	// different from external_doc_html
  4074  	StandaloneExternalDocHtml string `json:"standaloneExternalDocHtml,omitempty"`
  4075  
  4076  	// Status: Allows author to indicate if the task is ready to use or not.
  4077  	// If not set, then it will default to INACTIVE.
  4078  	//
  4079  	// Possible values:
  4080  	//   "UNSPECIFIED_STATUS" - Default value. Actual Task Status should
  4081  	// always be set to either INACTIVE or ACTIVE. If none is specified at
  4082  	// runtime, it will be set to INACTIVE.
  4083  	//   "DEFAULT_INACTIVE" - Still in-progress or incomplete, and not
  4084  	// intended for use.
  4085  	//   "ACTIVE" - Available for use.
  4086  	Status string `json:"status,omitempty"`
  4087  
  4088  	// Possible values:
  4089  	//   "UNSPECIFIED_SYSTEM"
  4090  	//   "GENERIC"
  4091  	//   "BUGANIZER"
  4092  	//   "SALESFORCE"
  4093  	//   "CLOUD_SQL"
  4094  	//   "PLX"
  4095  	//   "SHEETS"
  4096  	//   "GOOGLE_GROUPS"
  4097  	//   "EMAIL"
  4098  	//   "SPANNER"
  4099  	//   "DATA_BRIDGE"
  4100  	System string `json:"system,omitempty"`
  4101  
  4102  	// Tags: A set of tags that pertain to a particular task. This can be
  4103  	// used to improve the searchability of tasks with several names ("REST
  4104  	// Caller" vs. "Call REST Endpoint") or to help users find tasks based
  4105  	// on related words.
  4106  	Tags []string `json:"tags,omitempty"`
  4107  
  4108  	// ForceSendFields is a list of field names (e.g. "ActiveTaskName") to
  4109  	// unconditionally include in API requests. By default, fields with
  4110  	// empty or default values are omitted from API requests. However, any
  4111  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4112  	// sent to the server regardless of whether the field is empty or not.
  4113  	// This may be used to include empty fields in Patch requests.
  4114  	ForceSendFields []string `json:"-"`
  4115  
  4116  	// NullFields is a list of field names (e.g. "ActiveTaskName") to
  4117  	// include in API requests with the JSON null value. By default, fields
  4118  	// with empty values are omitted from API requests. However, any field
  4119  	// with an empty value appearing in NullFields will be sent to the
  4120  	// server as null. It is an error if a field in this list has a
  4121  	// non-empty value. This may be used to include null fields in Patch
  4122  	// requests.
  4123  	NullFields []string `json:"-"`
  4124  }
  4125  
  4126  func (s *EnterpriseCrmEventbusProtoTaskMetadata) MarshalJSON() ([]byte, error) {
  4127  	type NoMethod EnterpriseCrmEventbusProtoTaskMetadata
  4128  	raw := NoMethod(*s)
  4129  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4130  }
  4131  
  4132  // EnterpriseCrmEventbusProtoTaskMetadataAdmin: Admins are owners of a
  4133  // Task, and have all permissions on a particular task identified by the
  4134  // task name. By default, Eventbus periodically scans all task metadata
  4135  // and syncs (adds) any new admins defined here to Zanzibar.
  4136  type EnterpriseCrmEventbusProtoTaskMetadataAdmin struct {
  4137  	GoogleGroupEmail string `json:"googleGroupEmail,omitempty"`
  4138  
  4139  	UserEmail string `json:"userEmail,omitempty"`
  4140  
  4141  	// ForceSendFields is a list of field names (e.g. "GoogleGroupEmail") to
  4142  	// unconditionally include in API requests. By default, fields with
  4143  	// empty or default values are omitted from API requests. However, any
  4144  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4145  	// sent to the server regardless of whether the field is empty or not.
  4146  	// This may be used to include empty fields in Patch requests.
  4147  	ForceSendFields []string `json:"-"`
  4148  
  4149  	// NullFields is a list of field names (e.g. "GoogleGroupEmail") to
  4150  	// include in API requests with the JSON null value. By default, fields
  4151  	// with empty values are omitted from API requests. However, any field
  4152  	// with an empty value appearing in NullFields will be sent to the
  4153  	// server as null. It is an error if a field in this list has a
  4154  	// non-empty value. This may be used to include null fields in Patch
  4155  	// requests.
  4156  	NullFields []string `json:"-"`
  4157  }
  4158  
  4159  func (s *EnterpriseCrmEventbusProtoTaskMetadataAdmin) MarshalJSON() ([]byte, error) {
  4160  	type NoMethod EnterpriseCrmEventbusProtoTaskMetadataAdmin
  4161  	raw := NoMethod(*s)
  4162  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4163  }
  4164  
  4165  // EnterpriseCrmEventbusProtoTaskUiConfig: Task authors would use this
  4166  // type to configure the UI for a particular task by specifying what UI
  4167  // config modules should be included to compose the UI. Learn more about
  4168  // config module framework:
  4169  // go/integration-platform-config-module-framework
  4170  type EnterpriseCrmEventbusProtoTaskUiConfig struct {
  4171  	// TaskUiModuleConfigs: Configurations of included config modules.
  4172  	TaskUiModuleConfigs []*EnterpriseCrmEventbusProtoTaskUiModuleConfig `json:"taskUiModuleConfigs,omitempty"`
  4173  
  4174  	// ForceSendFields is a list of field names (e.g. "TaskUiModuleConfigs")
  4175  	// to unconditionally include in API requests. By default, fields with
  4176  	// empty or default values are omitted from API requests. However, any
  4177  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4178  	// sent to the server regardless of whether the field is empty or not.
  4179  	// This may be used to include empty fields in Patch requests.
  4180  	ForceSendFields []string `json:"-"`
  4181  
  4182  	// NullFields is a list of field names (e.g. "TaskUiModuleConfigs") to
  4183  	// include in API requests with the JSON null value. By default, fields
  4184  	// with empty values are omitted from API requests. However, any field
  4185  	// with an empty value appearing in NullFields will be sent to the
  4186  	// server as null. It is an error if a field in this list has a
  4187  	// non-empty value. This may be used to include null fields in Patch
  4188  	// requests.
  4189  	NullFields []string `json:"-"`
  4190  }
  4191  
  4192  func (s *EnterpriseCrmEventbusProtoTaskUiConfig) MarshalJSON() ([]byte, error) {
  4193  	type NoMethod EnterpriseCrmEventbusProtoTaskUiConfig
  4194  	raw := NoMethod(*s)
  4195  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4196  }
  4197  
  4198  // EnterpriseCrmEventbusProtoTaskUiModuleConfig: Task author would use
  4199  // this type to configure a config module.
  4200  type EnterpriseCrmEventbusProtoTaskUiModuleConfig struct {
  4201  	// ModuleId: ID of the config module.
  4202  	//
  4203  	// Possible values:
  4204  	//   "UNSPECIFIED_TASK_MODULE" - Default
  4205  	//   "LABEL" - Supports editing label of a task config.
  4206  	//   "ERROR_HANDLING" - Supports editing error handling settings such as
  4207  	// retry strategy.
  4208  	//   "TASK_PARAM_TABLE" - Supports adding, removing and editing task
  4209  	// parameter values in a table with little assistance or restriction.
  4210  	//   "TASK_PARAM_FORM" - Supports editing values of declared input
  4211  	// parameters of a task. Think of it as a "strongly typed" upgrade to
  4212  	// the TASK_PARAM_TABLE.
  4213  	//   "PRECONDITION" - Supports editing preconditions of a task config.
  4214  	//   "SCRIPT_EDITOR" - Supports adding, editing, and deleting the
  4215  	// scripts associated with a script task, as well as modifying the
  4216  	// input/output parameters.
  4217  	//   "RPC" - Supports editing task parameters associated with an
  4218  	// RPC/stubby task.
  4219  	//   "TASK_SUMMARY" - Contains readonly task information, including
  4220  	// input/output type info.
  4221  	//   "SUSPENSION" - Configures a SuspensionTask.
  4222  	//   "RPC_TYPED" - Configures a GenericStubbyTypedTask.
  4223  	//   "SUB_WORKFLOW" - Configures a SubWorkflowExecutorTask.
  4224  	//   "APPS_SCRIPT_NAVIGATOR" - Supports navigating to Apps Script editor
  4225  	//   "SUB_WORKFLOW_FOR_EACH_LOOP" - Configures a
  4226  	// SubWorkflowForEachLoopTask.
  4227  	//   "FIELD_MAPPING" - Configures a FieldMappingTask.
  4228  	//   "README" - Contains embedded in-product documentation for a task.
  4229  	//   "REST_CALLER" - UI widget for the rest caller task.
  4230  	//   "SUB_WORKFLOW_SCATTER_GATHER" - Configures a
  4231  	// SubWorkflowScatterGatherTask.
  4232  	//   "CLOUD_SQL" - Configures a CloudSql Task.
  4233  	//   "GENERIC_CONNECTOR_TASK" - Configure a GenericConnectorTask.
  4234  	ModuleId string `json:"moduleId,omitempty"`
  4235  
  4236  	// ForceSendFields is a list of field names (e.g. "ModuleId") to
  4237  	// unconditionally include in API requests. By default, fields with
  4238  	// empty or default values are omitted from API requests. However, any
  4239  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4240  	// sent to the server regardless of whether the field is empty or not.
  4241  	// This may be used to include empty fields in Patch requests.
  4242  	ForceSendFields []string `json:"-"`
  4243  
  4244  	// NullFields is a list of field names (e.g. "ModuleId") to include in
  4245  	// API requests with the JSON null value. By default, fields with empty
  4246  	// values are omitted from API requests. However, any field with an
  4247  	// empty value appearing in NullFields will be sent to the server as
  4248  	// null. It is an error if a field in this list has a non-empty value.
  4249  	// This may be used to include null fields in Patch requests.
  4250  	NullFields []string `json:"-"`
  4251  }
  4252  
  4253  func (s *EnterpriseCrmEventbusProtoTaskUiModuleConfig) MarshalJSON() ([]byte, error) {
  4254  	type NoMethod EnterpriseCrmEventbusProtoTaskUiModuleConfig
  4255  	raw := NoMethod(*s)
  4256  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4257  }
  4258  
  4259  type EnterpriseCrmEventbusProtoTeardown struct {
  4260  	// TeardownTaskConfigs: Required.
  4261  	TeardownTaskConfigs []*EnterpriseCrmEventbusProtoTeardownTaskConfig `json:"teardownTaskConfigs,omitempty"`
  4262  
  4263  	// ForceSendFields is a list of field names (e.g. "TeardownTaskConfigs")
  4264  	// to unconditionally include in API requests. By default, fields with
  4265  	// empty or default values are omitted from API requests. However, any
  4266  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4267  	// sent to the server regardless of whether the field is empty or not.
  4268  	// This may be used to include empty fields in Patch requests.
  4269  	ForceSendFields []string `json:"-"`
  4270  
  4271  	// NullFields is a list of field names (e.g. "TeardownTaskConfigs") to
  4272  	// include in API requests with the JSON null value. By default, fields
  4273  	// with empty values are omitted from API requests. However, any field
  4274  	// with an empty value appearing in NullFields will be sent to the
  4275  	// server as null. It is an error if a field in this list has a
  4276  	// non-empty value. This may be used to include null fields in Patch
  4277  	// requests.
  4278  	NullFields []string `json:"-"`
  4279  }
  4280  
  4281  func (s *EnterpriseCrmEventbusProtoTeardown) MarshalJSON() ([]byte, error) {
  4282  	type NoMethod EnterpriseCrmEventbusProtoTeardown
  4283  	raw := NoMethod(*s)
  4284  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4285  }
  4286  
  4287  type EnterpriseCrmEventbusProtoTeardownTaskConfig struct {
  4288  	// CreatorEmail: The creator's email address.
  4289  	CreatorEmail string `json:"creatorEmail,omitempty"`
  4290  
  4291  	// Name: Required. Unique identifier of the teardown task within this
  4292  	// Config. We use this field as the identifier to find next teardown
  4293  	// tasks.
  4294  	Name string `json:"name,omitempty"`
  4295  
  4296  	NextTeardownTask *EnterpriseCrmEventbusProtoNextTeardownTask `json:"nextTeardownTask,omitempty"`
  4297  
  4298  	// Parameters: The parameters the user can pass to this task.
  4299  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
  4300  
  4301  	Properties *EnterpriseCrmEventbusProtoEventBusProperties `json:"properties,omitempty"`
  4302  
  4303  	// TeardownTaskImplementationClassName: Required. Implementation class
  4304  	// name.
  4305  	TeardownTaskImplementationClassName string `json:"teardownTaskImplementationClassName,omitempty"`
  4306  
  4307  	// ForceSendFields is a list of field names (e.g. "CreatorEmail") to
  4308  	// unconditionally include in API requests. By default, fields with
  4309  	// empty or default values are omitted from API requests. However, any
  4310  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4311  	// sent to the server regardless of whether the field is empty or not.
  4312  	// This may be used to include empty fields in Patch requests.
  4313  	ForceSendFields []string `json:"-"`
  4314  
  4315  	// NullFields is a list of field names (e.g. "CreatorEmail") to include
  4316  	// in API requests with the JSON null value. By default, fields with
  4317  	// empty values are omitted from API requests. However, any field with
  4318  	// an empty value appearing in NullFields will be sent to the server as
  4319  	// null. It is an error if a field in this list has a non-empty value.
  4320  	// This may be used to include null fields in Patch requests.
  4321  	NullFields []string `json:"-"`
  4322  }
  4323  
  4324  func (s *EnterpriseCrmEventbusProtoTeardownTaskConfig) MarshalJSON() ([]byte, error) {
  4325  	type NoMethod EnterpriseCrmEventbusProtoTeardownTaskConfig
  4326  	raw := NoMethod(*s)
  4327  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4328  }
  4329  
  4330  type EnterpriseCrmEventbusProtoToken struct {
  4331  	Name string `json:"name,omitempty"`
  4332  
  4333  	Value string `json:"value,omitempty"`
  4334  
  4335  	// ForceSendFields is a list of field names (e.g. "Name") to
  4336  	// unconditionally include in API requests. By default, fields with
  4337  	// empty or default values are omitted from API requests. However, any
  4338  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4339  	// sent to the server regardless of whether the field is empty or not.
  4340  	// This may be used to include empty fields in Patch requests.
  4341  	ForceSendFields []string `json:"-"`
  4342  
  4343  	// NullFields is a list of field names (e.g. "Name") to include in API
  4344  	// requests with the JSON null value. By default, fields with empty
  4345  	// values are omitted from API requests. However, any field with an
  4346  	// empty value appearing in NullFields will be sent to the server as
  4347  	// null. It is an error if a field in this list has a non-empty value.
  4348  	// This may be used to include null fields in Patch requests.
  4349  	NullFields []string `json:"-"`
  4350  }
  4351  
  4352  func (s *EnterpriseCrmEventbusProtoToken) MarshalJSON() ([]byte, error) {
  4353  	type NoMethod EnterpriseCrmEventbusProtoToken
  4354  	raw := NoMethod(*s)
  4355  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4356  }
  4357  
  4358  type EnterpriseCrmEventbusProtoTransformExpression struct {
  4359  	// InitialValue: Initial value upon which to perform transformations.
  4360  	InitialValue *EnterpriseCrmEventbusProtoBaseValue `json:"initialValue,omitempty"`
  4361  
  4362  	// TransformationFunctions: Transformations to be applied sequentially.
  4363  	TransformationFunctions []*EnterpriseCrmEventbusProtoFunction `json:"transformationFunctions,omitempty"`
  4364  
  4365  	// ForceSendFields is a list of field names (e.g. "InitialValue") to
  4366  	// unconditionally include in API requests. By default, fields with
  4367  	// empty or default values are omitted from API requests. However, any
  4368  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4369  	// sent to the server regardless of whether the field is empty or not.
  4370  	// This may be used to include empty fields in Patch requests.
  4371  	ForceSendFields []string `json:"-"`
  4372  
  4373  	// NullFields is a list of field names (e.g. "InitialValue") to include
  4374  	// in API requests with the JSON null value. By default, fields with
  4375  	// empty values are omitted from API requests. However, any field with
  4376  	// an empty value appearing in NullFields will be sent to the server as
  4377  	// null. It is an error if a field in this list has a non-empty value.
  4378  	// This may be used to include null fields in Patch requests.
  4379  	NullFields []string `json:"-"`
  4380  }
  4381  
  4382  func (s *EnterpriseCrmEventbusProtoTransformExpression) MarshalJSON() ([]byte, error) {
  4383  	type NoMethod EnterpriseCrmEventbusProtoTransformExpression
  4384  	raw := NoMethod(*s)
  4385  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4386  }
  4387  
  4388  type EnterpriseCrmEventbusProtoTriggerCriteria struct {
  4389  	// Condition: Required. Standard filter expression, when true the
  4390  	// workflow will be executed. If there's no
  4391  	// trigger_criteria_task_implementation_class_name specified, the
  4392  	// condition will be validated directly.
  4393  	Condition string `json:"condition,omitempty"`
  4394  
  4395  	// Parameters: Optional. To be used in TaskConfig for the implementation
  4396  	// class.
  4397  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
  4398  
  4399  	// TriggerCriteriaTaskImplementationClassName: Optional. Implementation
  4400  	// class name. The class should implement the “TypedTask” interface.
  4401  	TriggerCriteriaTaskImplementationClassName string `json:"triggerCriteriaTaskImplementationClassName,omitempty"`
  4402  
  4403  	// ForceSendFields is a list of field names (e.g. "Condition") to
  4404  	// unconditionally include in API requests. By default, fields with
  4405  	// empty or default values are omitted from API requests. However, any
  4406  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4407  	// sent to the server regardless of whether the field is empty or not.
  4408  	// This may be used to include empty fields in Patch requests.
  4409  	ForceSendFields []string `json:"-"`
  4410  
  4411  	// NullFields is a list of field names (e.g. "Condition") to include in
  4412  	// API requests with the JSON null value. By default, fields with empty
  4413  	// values are omitted from API requests. However, any field with an
  4414  	// empty value appearing in NullFields will be sent to the server as
  4415  	// null. It is an error if a field in this list has a non-empty value.
  4416  	// This may be used to include null fields in Patch requests.
  4417  	NullFields []string `json:"-"`
  4418  }
  4419  
  4420  func (s *EnterpriseCrmEventbusProtoTriggerCriteria) MarshalJSON() ([]byte, error) {
  4421  	type NoMethod EnterpriseCrmEventbusProtoTriggerCriteria
  4422  	raw := NoMethod(*s)
  4423  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4424  }
  4425  
  4426  // EnterpriseCrmEventbusProtoValueType: Used for define type for values.
  4427  // Currently supported value types include int, string, double, array,
  4428  // and any proto message.
  4429  type EnterpriseCrmEventbusProtoValueType struct {
  4430  	BooleanValue bool `json:"booleanValue,omitempty"`
  4431  
  4432  	DoubleArray *EnterpriseCrmEventbusProtoDoubleArray `json:"doubleArray,omitempty"`
  4433  
  4434  	DoubleValue float64 `json:"doubleValue,omitempty"`
  4435  
  4436  	IntArray *EnterpriseCrmEventbusProtoIntArray `json:"intArray,omitempty"`
  4437  
  4438  	IntValue int64 `json:"intValue,omitempty,string"`
  4439  
  4440  	ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
  4441  
  4442  	StringArray *EnterpriseCrmEventbusProtoStringArray `json:"stringArray,omitempty"`
  4443  
  4444  	StringValue string `json:"stringValue,omitempty"`
  4445  
  4446  	// ForceSendFields is a list of field names (e.g. "BooleanValue") to
  4447  	// unconditionally include in API requests. By default, fields with
  4448  	// empty or default values are omitted from API requests. However, any
  4449  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4450  	// sent to the server regardless of whether the field is empty or not.
  4451  	// This may be used to include empty fields in Patch requests.
  4452  	ForceSendFields []string `json:"-"`
  4453  
  4454  	// NullFields is a list of field names (e.g. "BooleanValue") to include
  4455  	// in API requests with the JSON null value. By default, fields with
  4456  	// empty values are omitted from API requests. However, any field with
  4457  	// an empty value appearing in NullFields will be sent to the server as
  4458  	// null. It is an error if a field in this list has a non-empty value.
  4459  	// This may be used to include null fields in Patch requests.
  4460  	NullFields []string `json:"-"`
  4461  }
  4462  
  4463  func (s *EnterpriseCrmEventbusProtoValueType) MarshalJSON() ([]byte, error) {
  4464  	type NoMethod EnterpriseCrmEventbusProtoValueType
  4465  	raw := NoMethod(*s)
  4466  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4467  }
  4468  
  4469  func (s *EnterpriseCrmEventbusProtoValueType) UnmarshalJSON(data []byte) error {
  4470  	type NoMethod EnterpriseCrmEventbusProtoValueType
  4471  	var s1 struct {
  4472  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
  4473  		*NoMethod
  4474  	}
  4475  	s1.NoMethod = (*NoMethod)(s)
  4476  	if err := json.Unmarshal(data, &s1); err != nil {
  4477  		return err
  4478  	}
  4479  	s.DoubleValue = float64(s1.DoubleValue)
  4480  	return nil
  4481  }
  4482  
  4483  // EnterpriseCrmEventbusProtoWorkflowAlertConfig: Message to be used to
  4484  // configure custom alerting in the {@code EventConfig} protos for an
  4485  // event. See go/eventbus-alert-config-examples for examples of the
  4486  // different alerts that can be configured.
  4487  type EnterpriseCrmEventbusProtoWorkflowAlertConfig struct {
  4488  	// AggregationPeriod: For an EXPECTED_MIN threshold, this
  4489  	// aggregation_period must be lesser than 24 hours.
  4490  	AggregationPeriod string `json:"aggregationPeriod,omitempty"`
  4491  
  4492  	// AlertDisabled: Set to false by default. When set to true, the metrics
  4493  	// are not aggregated or pushed to Monarch for this workflow alert.
  4494  	AlertDisabled bool `json:"alertDisabled,omitempty"`
  4495  
  4496  	// AlertName: A name to identify this alert. This will be displayed in
  4497  	// the alert subject. If set, this name should be unique within the
  4498  	// scope of the workflow.
  4499  	AlertName string `json:"alertName,omitempty"`
  4500  
  4501  	// ClientId: Client associated with this alert configuration.
  4502  	ClientId string `json:"clientId,omitempty"`
  4503  
  4504  	// DurationThresholdMs: Should be specified only for *AVERAGE_DURATION
  4505  	// and *PERCENTILE_DURATION metrics. This member should be used to
  4506  	// specify what duration value the metrics should exceed for the alert
  4507  	// to trigger.
  4508  	DurationThresholdMs int64 `json:"durationThresholdMs,omitempty,string"`
  4509  
  4510  	ErrorEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"errorEnumList,omitempty"`
  4511  
  4512  	// Possible values:
  4513  	//   "METRIC_TYPE_UNSPECIFIED" - The default value. Metric type should
  4514  	// always be set to one of the other non-default values, otherwise it
  4515  	// will result in an INVALID_ARGUMENT error.
  4516  	//   "EVENT_ERROR_RATE" - Specifies alerting on the rate of errors for
  4517  	// the enclosing workflow.
  4518  	//   "EVENT_WARNING_RATE" - Specifies alerting on the rate of warnings
  4519  	// for the enclosing workflow. Warnings use the same enum values as
  4520  	// errors.
  4521  	//   "TASK_ERROR_RATE" - Specifies alerting on the rate of errors for
  4522  	// any task in the enclosing workflow.
  4523  	//   "TASK_WARNING_RATE" - Specifies alerting on the rate of warnings
  4524  	// for any task in the enclosing workflow.
  4525  	//   "TASK_RATE" - Specifies alerting on the rate of executions over all
  4526  	// tasks in the enclosing workflow.
  4527  	//   "EVENT_RATE" - Specifies alerting on the number of events executed
  4528  	// in the given aggregation_period.
  4529  	//   "EVENT_AVERAGE_DURATION" - Specifies alerting on the average
  4530  	// duration of executions for this workflow.
  4531  	//   "EVENT_PERCENTILE_DURATION" - Specifies alerting on the duration
  4532  	// value of a particular percentile of workflow executions. E.g. If 10%
  4533  	// or more of the workflow executions have durations above 5 seconds,
  4534  	// alert.
  4535  	//   "TASK_AVERAGE_DURATION" - Specifies alerting on the average
  4536  	// duration of any task in the enclosing workflow,
  4537  	//   "TASK_PERCENTILE_DURATION" - Specifies alerting on the duration
  4538  	// value of a particular percentile of any task executions within the
  4539  	// enclosing workflow. E.g. If 10% or more of the task executions in the
  4540  	// workflow have durations above 5 seconds, alert.
  4541  	MetricType string `json:"metricType,omitempty"`
  4542  
  4543  	// NumAggregationPeriods: For how many contiguous aggregation periods
  4544  	// should the expected min or max be violated for the alert to be fired.
  4545  	NumAggregationPeriods int64 `json:"numAggregationPeriods,omitempty"`
  4546  
  4547  	// OnlyFinalAttempt: For either events or tasks, depending on the type
  4548  	// of alert, count only final attempts, not retries.
  4549  	OnlyFinalAttempt bool `json:"onlyFinalAttempt,omitempty"`
  4550  
  4551  	// PlaybookUrl: Link to a playbook for resolving the issue that
  4552  	// triggered this alert.
  4553  	PlaybookUrl string `json:"playbookUrl,omitempty"`
  4554  
  4555  	// ThresholdType: The threshold type, whether lower(expected_min) or
  4556  	// upper(expected_max), for which this alert is being configured. If
  4557  	// value falls below expected_min or exceeds expected_max, an alert will
  4558  	// be fired.
  4559  	//
  4560  	// Possible values:
  4561  	//   "UNSPECIFIED_THRESHOLD_TYPE"
  4562  	//   "EXPECTED_MIN" - Note that this field will only trigger alerts if
  4563  	// the workflow specifying it runs at least once in 24 hours (which is
  4564  	// our in-memory retention period for monarch streams). Also note that
  4565  	// `aggregation_period` for this alert configuration must be less than
  4566  	// 24 hours.
  4567  	//   "EXPECTED_MAX"
  4568  	ThresholdType string `json:"thresholdType,omitempty"`
  4569  
  4570  	// ThresholdValue: The metric value, above or below which the alert
  4571  	// should be triggered. See go/eventbus-alert-config-examples.
  4572  	ThresholdValue *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue `json:"thresholdValue,omitempty"`
  4573  
  4574  	WarningEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"warningEnumList,omitempty"`
  4575  
  4576  	// ForceSendFields is a list of field names (e.g. "AggregationPeriod")
  4577  	// to unconditionally include in API requests. By default, fields with
  4578  	// empty or default values are omitted from API requests. However, any
  4579  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4580  	// sent to the server regardless of whether the field is empty or not.
  4581  	// This may be used to include empty fields in Patch requests.
  4582  	ForceSendFields []string `json:"-"`
  4583  
  4584  	// NullFields is a list of field names (e.g. "AggregationPeriod") to
  4585  	// include in API requests with the JSON null value. By default, fields
  4586  	// with empty values are omitted from API requests. However, any field
  4587  	// with an empty value appearing in NullFields will be sent to the
  4588  	// server as null. It is an error if a field in this list has a
  4589  	// non-empty value. This may be used to include null fields in Patch
  4590  	// requests.
  4591  	NullFields []string `json:"-"`
  4592  }
  4593  
  4594  func (s *EnterpriseCrmEventbusProtoWorkflowAlertConfig) MarshalJSON() ([]byte, error) {
  4595  	type NoMethod EnterpriseCrmEventbusProtoWorkflowAlertConfig
  4596  	raw := NoMethod(*s)
  4597  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4598  }
  4599  
  4600  // EnterpriseCrmEventbusStats: Stats for the requested dimensions: QPS,
  4601  // duration, and error/warning rate
  4602  type EnterpriseCrmEventbusStats struct {
  4603  	// Dimensions: Dimensions that these stats have been aggregated on.
  4604  	Dimensions *EnterpriseCrmEventbusStatsDimensions `json:"dimensions,omitempty"`
  4605  
  4606  	// DurationInSeconds: Average duration in seconds.
  4607  	DurationInSeconds float64 `json:"durationInSeconds,omitempty"`
  4608  
  4609  	// ErrorRate: Average error rate.
  4610  	ErrorRate float64 `json:"errorRate,omitempty"`
  4611  
  4612  	// Qps: Queries per second.
  4613  	Qps float64 `json:"qps,omitempty"`
  4614  
  4615  	// WarningRate: Average warning rate.
  4616  	WarningRate float64 `json:"warningRate,omitempty"`
  4617  
  4618  	// ForceSendFields is a list of field names (e.g. "Dimensions") to
  4619  	// unconditionally include in API requests. By default, fields with
  4620  	// empty or default values are omitted from API requests. However, any
  4621  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4622  	// sent to the server regardless of whether the field is empty or not.
  4623  	// This may be used to include empty fields in Patch requests.
  4624  	ForceSendFields []string `json:"-"`
  4625  
  4626  	// NullFields is a list of field names (e.g. "Dimensions") to include in
  4627  	// API requests with the JSON null value. By default, fields with empty
  4628  	// values are omitted from API requests. However, any field with an
  4629  	// empty value appearing in NullFields will be sent to the server as
  4630  	// null. It is an error if a field in this list has a non-empty value.
  4631  	// This may be used to include null fields in Patch requests.
  4632  	NullFields []string `json:"-"`
  4633  }
  4634  
  4635  func (s *EnterpriseCrmEventbusStats) MarshalJSON() ([]byte, error) {
  4636  	type NoMethod EnterpriseCrmEventbusStats
  4637  	raw := NoMethod(*s)
  4638  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4639  }
  4640  
  4641  func (s *EnterpriseCrmEventbusStats) UnmarshalJSON(data []byte) error {
  4642  	type NoMethod EnterpriseCrmEventbusStats
  4643  	var s1 struct {
  4644  		DurationInSeconds gensupport.JSONFloat64 `json:"durationInSeconds"`
  4645  		ErrorRate         gensupport.JSONFloat64 `json:"errorRate"`
  4646  		Qps               gensupport.JSONFloat64 `json:"qps"`
  4647  		WarningRate       gensupport.JSONFloat64 `json:"warningRate"`
  4648  		*NoMethod
  4649  	}
  4650  	s1.NoMethod = (*NoMethod)(s)
  4651  	if err := json.Unmarshal(data, &s1); err != nil {
  4652  		return err
  4653  	}
  4654  	s.DurationInSeconds = float64(s1.DurationInSeconds)
  4655  	s.ErrorRate = float64(s1.ErrorRate)
  4656  	s.Qps = float64(s1.Qps)
  4657  	s.WarningRate = float64(s1.WarningRate)
  4658  	return nil
  4659  }
  4660  
  4661  type EnterpriseCrmEventbusStatsDimensions struct {
  4662  	ClientId string `json:"clientId,omitempty"`
  4663  
  4664  	// EnumFilterType: Whether to include or exclude the enums matching the
  4665  	// regex.
  4666  	//
  4667  	// Possible values:
  4668  	//   "DEFAULT_INCLUSIVE"
  4669  	//   "EXCLUSIVE"
  4670  	EnumFilterType string `json:"enumFilterType,omitempty"`
  4671  
  4672  	ErrorEnumString string `json:"errorEnumString,omitempty"`
  4673  
  4674  	// Possible values:
  4675  	//   "UNSPECIFIED"
  4676  	//   "FINAL" - Task has completed successfully or has depleted all retry
  4677  	// attempts.
  4678  	//   "RETRYABLE" - Task has failed but may be retried.
  4679  	//   "CANCELED" - Task has been deliberately canceled.
  4680  	RetryAttempt string `json:"retryAttempt,omitempty"`
  4681  
  4682  	TaskName string `json:"taskName,omitempty"`
  4683  
  4684  	TaskNumber string `json:"taskNumber,omitempty"`
  4685  
  4686  	// TriggerId: Stats have been or will be aggregated on set fields for
  4687  	// any semantically-meaningful combination.
  4688  	TriggerId string `json:"triggerId,omitempty"`
  4689  
  4690  	WarningEnumString string `json:"warningEnumString,omitempty"`
  4691  
  4692  	WorkflowId string `json:"workflowId,omitempty"`
  4693  
  4694  	WorkflowName string `json:"workflowName,omitempty"`
  4695  
  4696  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  4697  	// unconditionally include in API requests. By default, fields with
  4698  	// empty or default values are omitted from API requests. However, any
  4699  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4700  	// sent to the server regardless of whether the field is empty or not.
  4701  	// This may be used to include empty fields in Patch requests.
  4702  	ForceSendFields []string `json:"-"`
  4703  
  4704  	// NullFields is a list of field names (e.g. "ClientId") to include in
  4705  	// API requests with the JSON null value. By default, fields with empty
  4706  	// values are omitted from API requests. However, any field with an
  4707  	// empty value appearing in NullFields will be sent to the server as
  4708  	// null. It is an error if a field in this list has a non-empty value.
  4709  	// This may be used to include null fields in Patch requests.
  4710  	NullFields []string `json:"-"`
  4711  }
  4712  
  4713  func (s *EnterpriseCrmEventbusStatsDimensions) MarshalJSON() ([]byte, error) {
  4714  	type NoMethod EnterpriseCrmEventbusStatsDimensions
  4715  	raw := NoMethod(*s)
  4716  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4717  }
  4718  
  4719  type EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray struct {
  4720  	BooleanValues []bool `json:"booleanValues,omitempty"`
  4721  
  4722  	// ForceSendFields is a list of field names (e.g. "BooleanValues") to
  4723  	// unconditionally include in API requests. By default, fields with
  4724  	// empty or default values are omitted from API requests. However, any
  4725  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4726  	// sent to the server regardless of whether the field is empty or not.
  4727  	// This may be used to include empty fields in Patch requests.
  4728  	ForceSendFields []string `json:"-"`
  4729  
  4730  	// NullFields is a list of field names (e.g. "BooleanValues") to include
  4731  	// in API requests with the JSON null value. By default, fields with
  4732  	// empty values are omitted from API requests. However, any field with
  4733  	// an empty value appearing in NullFields will be sent to the server as
  4734  	// null. It is an error if a field in this list has a non-empty value.
  4735  	// This may be used to include null fields in Patch requests.
  4736  	NullFields []string `json:"-"`
  4737  }
  4738  
  4739  func (s *EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray) MarshalJSON() ([]byte, error) {
  4740  	type NoMethod EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray
  4741  	raw := NoMethod(*s)
  4742  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4743  }
  4744  
  4745  type EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray struct {
  4746  	DoubleValues []float64 `json:"doubleValues,omitempty"`
  4747  
  4748  	// ForceSendFields is a list of field names (e.g. "DoubleValues") to
  4749  	// unconditionally include in API requests. By default, fields with
  4750  	// empty or default values are omitted from API requests. However, any
  4751  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4752  	// sent to the server regardless of whether the field is empty or not.
  4753  	// This may be used to include empty fields in Patch requests.
  4754  	ForceSendFields []string `json:"-"`
  4755  
  4756  	// NullFields is a list of field names (e.g. "DoubleValues") to include
  4757  	// in API requests with the JSON null value. By default, fields with
  4758  	// empty values are omitted from API requests. However, any field with
  4759  	// an empty value appearing in NullFields will be sent to the server as
  4760  	// null. It is an error if a field in this list has a non-empty value.
  4761  	// This may be used to include null fields in Patch requests.
  4762  	NullFields []string `json:"-"`
  4763  }
  4764  
  4765  func (s *EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) MarshalJSON() ([]byte, error) {
  4766  	type NoMethod EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray
  4767  	raw := NoMethod(*s)
  4768  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4769  }
  4770  
  4771  // EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails: Contains
  4772  // the details of the execution info of this event: this includes the
  4773  // tasks execution details plus the event execution statistics. Next
  4774  // available id: 10
  4775  type EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails struct {
  4776  	EventAttemptStats []*EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats `json:"eventAttemptStats,omitempty"`
  4777  
  4778  	// EventExecutionSnapshot: After snapshot migration, this field will no
  4779  	// longer be populated, but old execution snapshots will still be
  4780  	// accessible.
  4781  	EventExecutionSnapshot []*EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot `json:"eventExecutionSnapshot,omitempty"`
  4782  
  4783  	// EventExecutionState: The execution state of this event.
  4784  	//
  4785  	// Possible values:
  4786  	//   "UNSPECIFIED"
  4787  	//   "ON_HOLD" - Event is received and waiting for the execution. This
  4788  	// happens when firing the event via "postToQueue" or "schedule".
  4789  	//   "IN_PROCESS" - Event is under processing.
  4790  	//   "SUCCEEDED" - Event execution successfully finished. There's no
  4791  	// more change after this state.
  4792  	//   "FAILED" - Event execution failed. There's no more change after
  4793  	// this state.
  4794  	//   "CANCELED" - Event execution canceled by user. There's no more
  4795  	// change after this state.
  4796  	//   "RETRY_ON_HOLD" - Event execution failed and waiting for retry.
  4797  	//   "SUSPENDED" - Event execution suspended and waiting for manual
  4798  	// intervention.
  4799  	EventExecutionState string `json:"eventExecutionState,omitempty"`
  4800  
  4801  	// EventRetriesFromBeginningCount: Indicates the number of times the
  4802  	// execution has restarted from the beginning.
  4803  	EventRetriesFromBeginningCount int64 `json:"eventRetriesFromBeginningCount,omitempty"`
  4804  
  4805  	// LogFilePath: The log file path (aka. cns address) for this event.
  4806  	LogFilePath string `json:"logFilePath,omitempty"`
  4807  
  4808  	// NetworkAddress: The network address (aka. bns address) that indicates
  4809  	// where the event executor is running.
  4810  	NetworkAddress string `json:"networkAddress,omitempty"`
  4811  
  4812  	// NextExecutionTime: Next scheduled execution time in case the
  4813  	// execution status was RETRY_ON_HOLD.
  4814  	NextExecutionTime int64 `json:"nextExecutionTime,omitempty,string"`
  4815  
  4816  	// RyeLockUnheldCount: Used internally and shouldn't be exposed to
  4817  	// users. A counter for the cron job to record how many times this event
  4818  	// is in in_process state but don't have a lock consecutively/
  4819  	RyeLockUnheldCount int64 `json:"ryeLockUnheldCount,omitempty"`
  4820  
  4821  	// ForceSendFields is a list of field names (e.g. "EventAttemptStats")
  4822  	// to unconditionally include in API requests. By default, fields with
  4823  	// empty or default values are omitted from API requests. However, any
  4824  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4825  	// sent to the server regardless of whether the field is empty or not.
  4826  	// This may be used to include empty fields in Patch requests.
  4827  	ForceSendFields []string `json:"-"`
  4828  
  4829  	// NullFields is a list of field names (e.g. "EventAttemptStats") to
  4830  	// include in API requests with the JSON null value. By default, fields
  4831  	// with empty values are omitted from API requests. However, any field
  4832  	// with an empty value appearing in NullFields will be sent to the
  4833  	// server as null. It is an error if a field in this list has a
  4834  	// non-empty value. This may be used to include null fields in Patch
  4835  	// requests.
  4836  	NullFields []string `json:"-"`
  4837  }
  4838  
  4839  func (s *EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails) MarshalJSON() ([]byte, error) {
  4840  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails
  4841  	raw := NoMethod(*s)
  4842  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4843  }
  4844  
  4845  // EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo: Contains all
  4846  // the execution details for a workflow instance. Next available id: 24
  4847  type EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo struct {
  4848  	// ClientId: The event data user sends as request.
  4849  	ClientId string `json:"clientId,omitempty"`
  4850  
  4851  	// CreateTime: Auto-generated.
  4852  	CreateTime int64 `json:"createTime,omitempty,string"`
  4853  
  4854  	// ErrorCode: Final error-code if event failed.
  4855  	ErrorCode *CrmlogErrorCode `json:"errorCode,omitempty"`
  4856  
  4857  	// Errors: Errors, warnings, and informationals associated with the
  4858  	// workflow/task. The order in which the errors were added by the
  4859  	// workflow/task is maintained.
  4860  	Errors []*EnterpriseCrmEventbusProtoErrorDetail `json:"errors,omitempty"`
  4861  
  4862  	// EventExecutionDetails: The execution info about this event.
  4863  	EventExecutionDetails *EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails `json:"eventExecutionDetails,omitempty"`
  4864  
  4865  	// EventExecutionInfoId: Auto-generated primary key.
  4866  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  4867  
  4868  	// ExecutionTraceInfo: Execution trace info to aggregate parent-child
  4869  	// executions.
  4870  	ExecutionTraceInfo *EnterpriseCrmEventbusProtoExecutionTraceInfo `json:"executionTraceInfo,omitempty"`
  4871  
  4872  	// LastModifiedTime: Auto-generated.
  4873  	LastModifiedTime int64 `json:"lastModifiedTime,omitempty,string"`
  4874  
  4875  	// PostMethod: The ways user posts this event.
  4876  	//
  4877  	// Possible values:
  4878  	//   "UNSPECIFIED"
  4879  	//   "POST"
  4880  	//   "POST_TO_QUEUE"
  4881  	//   "SCHEDULE"
  4882  	//   "POST_BY_EVENT_CONFIG_ID"
  4883  	//   "POST_WITH_EVENT_DETAILS"
  4884  	PostMethod string `json:"postMethod,omitempty"`
  4885  
  4886  	// Product: Which Google product the execution_info belongs to. If not
  4887  	// set, the execution_info belongs to Integration Platform by default.
  4888  	//
  4889  	// Possible values:
  4890  	//   "UNSPECIFIED_PRODUCT"
  4891  	//   "IP"
  4892  	//   "APIGEE"
  4893  	//   "SECURITY"
  4894  	Product string `json:"product,omitempty"`
  4895  
  4896  	// RequestId: Optional. This is used to de-dup incoming request.
  4897  	RequestId string `json:"requestId,omitempty"`
  4898  
  4899  	// RequestParams: Event parameters come in as part of the request.
  4900  	RequestParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"requestParams,omitempty"`
  4901  
  4902  	// ResponseParams: Event parameters come out as part of the response.
  4903  	ResponseParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"responseParams,omitempty"`
  4904  
  4905  	// SnapshotNumber: Workflow snapshot number.
  4906  	SnapshotNumber int64 `json:"snapshotNumber,omitempty,string"`
  4907  
  4908  	// Tenant: Tenant this event is created. Used to reschedule the event to
  4909  	// correct tenant.
  4910  	Tenant string `json:"tenant,omitempty"`
  4911  
  4912  	// TriggerId: The trigger id of the workflow trigger config. If both
  4913  	// trigger_id and client_id is present, the workflow is executed from
  4914  	// the start tasks provided by the matching trigger config otherwise it
  4915  	// is executed from the default start tasks.
  4916  	TriggerId string `json:"triggerId,omitempty"`
  4917  
  4918  	// WorkflowId: Required. Pointer to the workflow it is executing.
  4919  	WorkflowId string `json:"workflowId,omitempty"`
  4920  
  4921  	// WorkflowName: Name of the workflow.
  4922  	WorkflowName string `json:"workflowName,omitempty"`
  4923  
  4924  	// WorkflowRetryBackoffIntervalSeconds: Time interval in seconds to
  4925  	// schedule retry of workflow in manifold when workflow is already
  4926  	// running
  4927  	WorkflowRetryBackoffIntervalSeconds int64 `json:"workflowRetryBackoffIntervalSeconds,omitempty,string"`
  4928  
  4929  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  4930  	// unconditionally include in API requests. By default, fields with
  4931  	// empty or default values are omitted from API requests. However, any
  4932  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4933  	// sent to the server regardless of whether the field is empty or not.
  4934  	// This may be used to include empty fields in Patch requests.
  4935  	ForceSendFields []string `json:"-"`
  4936  
  4937  	// NullFields is a list of field names (e.g. "ClientId") to include in
  4938  	// API requests with the JSON null value. By default, fields with empty
  4939  	// values are omitted from API requests. However, any field with an
  4940  	// empty value appearing in NullFields will be sent to the server as
  4941  	// null. It is an error if a field in this list has a non-empty value.
  4942  	// This may be used to include null fields in Patch requests.
  4943  	NullFields []string `json:"-"`
  4944  }
  4945  
  4946  func (s *EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo) MarshalJSON() ([]byte, error) {
  4947  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo
  4948  	raw := NoMethod(*s)
  4949  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4950  }
  4951  
  4952  type EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot struct {
  4953  	// CheckpointTaskNumber: Indicates "right after which checkpoint task's
  4954  	// execution" this snapshot is taken.
  4955  	CheckpointTaskNumber string `json:"checkpointTaskNumber,omitempty"`
  4956  
  4957  	// ConditionResults: All of the computed conditions that been
  4958  	// calculated.
  4959  	ConditionResults []*EnterpriseCrmEventbusProtoConditionResult `json:"conditionResults,omitempty"`
  4960  
  4961  	// DiffParams: The parameters in Event object that differs from last
  4962  	// snapshot.
  4963  	DiffParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"diffParams,omitempty"`
  4964  
  4965  	// EventExecutionInfoId: Points to the event execution info this
  4966  	// snapshot belongs to.
  4967  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  4968  
  4969  	// EventExecutionSnapshotId: Auto-generated. Used as primary key for
  4970  	// EventExecutionSnapshots table.
  4971  	EventExecutionSnapshotId string `json:"eventExecutionSnapshotId,omitempty"`
  4972  
  4973  	EventExecutionSnapshotMetadata *EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata `json:"eventExecutionSnapshotMetadata,omitempty"`
  4974  
  4975  	// EventParams: The parameters in Event object.
  4976  	EventParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"eventParams,omitempty"`
  4977  
  4978  	// SnapshotTime: Indicates when this snapshot is taken.
  4979  	SnapshotTime int64 `json:"snapshotTime,omitempty,string"`
  4980  
  4981  	// TaskExecutionDetails: All of the task execution details at the given
  4982  	// point of time.
  4983  	TaskExecutionDetails []*EnterpriseCrmEventbusProtoTaskExecutionDetails `json:"taskExecutionDetails,omitempty"`
  4984  
  4985  	// TaskName: The task name associated with this snapshot. Could be
  4986  	// empty.
  4987  	TaskName string `json:"taskName,omitempty"`
  4988  
  4989  	// ForceSendFields is a list of field names (e.g.
  4990  	// "CheckpointTaskNumber") to unconditionally include in API requests.
  4991  	// By default, fields with empty or default values are omitted from API
  4992  	// requests. However, any non-pointer, non-interface field appearing in
  4993  	// ForceSendFields will be sent to the server regardless of whether the
  4994  	// field is empty or not. This may be used to include empty fields in
  4995  	// Patch requests.
  4996  	ForceSendFields []string `json:"-"`
  4997  
  4998  	// NullFields is a list of field names (e.g. "CheckpointTaskNumber") to
  4999  	// include in API requests with the JSON null value. By default, fields
  5000  	// with empty values are omitted from API requests. However, any field
  5001  	// with an empty value appearing in NullFields will be sent to the
  5002  	// server as null. It is an error if a field in this list has a
  5003  	// non-empty value. This may be used to include null fields in Patch
  5004  	// requests.
  5005  	NullFields []string `json:"-"`
  5006  }
  5007  
  5008  func (s *EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot) MarshalJSON() ([]byte, error) {
  5009  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot
  5010  	raw := NoMethod(*s)
  5011  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5012  }
  5013  
  5014  // EnterpriseCrmFrontendsEventbusProtoEventParameters: LINT.IfChange
  5015  // This message is used for processing and persisting (when applicable)
  5016  // key value pair parameters for each event in the event bus. Please see
  5017  // go/integration-platform/event_bus.md for more details. Next id: 4
  5018  type EnterpriseCrmFrontendsEventbusProtoEventParameters struct {
  5019  	// Parameters: Parameters are a part of Event and can be used to
  5020  	// communicate between different tasks that are part of the same
  5021  	// workflow execution.
  5022  	Parameters []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameters,omitempty"`
  5023  
  5024  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  5025  	// unconditionally include in API requests. By default, fields with
  5026  	// empty or default values are omitted from API requests. However, any
  5027  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5028  	// sent to the server regardless of whether the field is empty or not.
  5029  	// This may be used to include empty fields in Patch requests.
  5030  	ForceSendFields []string `json:"-"`
  5031  
  5032  	// NullFields is a list of field names (e.g. "Parameters") to include in
  5033  	// API requests with the JSON null value. By default, fields with empty
  5034  	// values are omitted from API requests. However, any field with an
  5035  	// empty value appearing in NullFields will be sent to the server as
  5036  	// null. It is an error if a field in this list has a non-empty value.
  5037  	// This may be used to include null fields in Patch requests.
  5038  	NullFields []string `json:"-"`
  5039  }
  5040  
  5041  func (s *EnterpriseCrmFrontendsEventbusProtoEventParameters) MarshalJSON() ([]byte, error) {
  5042  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventParameters
  5043  	raw := NoMethod(*s)
  5044  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5045  }
  5046  
  5047  type EnterpriseCrmFrontendsEventbusProtoIntParameterArray struct {
  5048  	IntValues googleapi.Int64s `json:"intValues,omitempty"`
  5049  
  5050  	// ForceSendFields is a list of field names (e.g. "IntValues") to
  5051  	// unconditionally include in API requests. By default, fields with
  5052  	// empty or default values are omitted from API requests. However, any
  5053  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5054  	// sent to the server regardless of whether the field is empty or not.
  5055  	// This may be used to include empty fields in Patch requests.
  5056  	ForceSendFields []string `json:"-"`
  5057  
  5058  	// NullFields is a list of field names (e.g. "IntValues") to include in
  5059  	// API requests with the JSON null value. By default, fields with empty
  5060  	// values are omitted from API requests. However, any field with an
  5061  	// empty value appearing in NullFields will be sent to the server as
  5062  	// null. It is an error if a field in this list has a non-empty value.
  5063  	// This may be used to include null fields in Patch requests.
  5064  	NullFields []string `json:"-"`
  5065  }
  5066  
  5067  func (s *EnterpriseCrmFrontendsEventbusProtoIntParameterArray) MarshalJSON() ([]byte, error) {
  5068  	type NoMethod EnterpriseCrmFrontendsEventbusProtoIntParameterArray
  5069  	raw := NoMethod(*s)
  5070  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5071  }
  5072  
  5073  // EnterpriseCrmFrontendsEventbusProtoParamSpecEntry: Key-value pair of
  5074  // EventBus task parameters. Next id: 13
  5075  type EnterpriseCrmFrontendsEventbusProtoParamSpecEntry struct {
  5076  	// ClassName: The FQCN of the Java object this represents. A string, for
  5077  	// example, would be "java.lang.String". If this is "java.lang.Object",
  5078  	// the parameter can be of any type.
  5079  	ClassName string `json:"className,omitempty"`
  5080  
  5081  	// CollectionElementClassName: If it is a collection of objects, this
  5082  	// would be the FCQN of every individual element in the collection. If
  5083  	// this is "java.lang.Object", the parameter is a collection of any
  5084  	// type.
  5085  	CollectionElementClassName string `json:"collectionElementClassName,omitempty"`
  5086  
  5087  	// Config: Optional fields, such as help text and other useful info.
  5088  	Config *EnterpriseCrmEventbusProtoParamSpecEntryConfig `json:"config,omitempty"`
  5089  
  5090  	// DataType: The data type of the parameter.
  5091  	//
  5092  	// Possible values:
  5093  	//   "DATA_TYPE_UNSPECIFIED"
  5094  	//   "STRING_VALUE"
  5095  	//   "INT_VALUE"
  5096  	//   "DOUBLE_VALUE"
  5097  	//   "BOOLEAN_VALUE"
  5098  	//   "PROTO_VALUE"
  5099  	//   "SERIALIZED_OBJECT_VALUE"
  5100  	//   "STRING_ARRAY"
  5101  	//   "INT_ARRAY"
  5102  	//   "DOUBLE_ARRAY"
  5103  	//   "PROTO_ARRAY"
  5104  	//   "PROTO_ENUM"
  5105  	//   "BOOLEAN_ARRAY"
  5106  	//   "PROTO_ENUM_ARRAY"
  5107  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5108  	// top-level params. They're only meant to support protobufs with BYTES
  5109  	// (sub)fields.
  5110  	//   "BYTES_ARRAY"
  5111  	//   "NON_SERIALIZABLE_OBJECT"
  5112  	//   "JSON_VALUE"
  5113  	DataType string `json:"dataType,omitempty"`
  5114  
  5115  	// DefaultValue: Default values for the defined keys. Each value can
  5116  	// either be string, int, double or any proto message or a serialized
  5117  	// object.
  5118  	DefaultValue *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"defaultValue,omitempty"`
  5119  
  5120  	// IsDeprecated: If set, this entry is deprecated, so further use of
  5121  	// this parameter should be prohibited.
  5122  	IsDeprecated bool `json:"isDeprecated,omitempty"`
  5123  
  5124  	IsOutput bool `json:"isOutput,omitempty"`
  5125  
  5126  	// JsonSchema: If the data_type is JSON_VALUE, then this will define its
  5127  	// schema.
  5128  	JsonSchema string `json:"jsonSchema,omitempty"`
  5129  
  5130  	// Key: Key is used to retrieve the corresponding parameter value. This
  5131  	// should be unique for a given task. These parameters must be
  5132  	// predefined in the workflow definition.
  5133  	Key string `json:"key,omitempty"`
  5134  
  5135  	// ProtoDef: Populated if this represents a proto or proto array.
  5136  	ProtoDef *EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition `json:"protoDef,omitempty"`
  5137  
  5138  	// Required: If set, the user must provide an input value for this
  5139  	// parameter.
  5140  	Required bool `json:"required,omitempty"`
  5141  
  5142  	// ValidationRule: Rule used to validate inputs (individual values and
  5143  	// collection elements) for this parameter.
  5144  	ValidationRule *EnterpriseCrmEventbusProtoParamSpecEntryValidationRule `json:"validationRule,omitempty"`
  5145  
  5146  	// ForceSendFields is a list of field names (e.g. "ClassName") to
  5147  	// unconditionally include in API requests. By default, fields with
  5148  	// empty or default values are omitted from API requests. However, any
  5149  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5150  	// sent to the server regardless of whether the field is empty or not.
  5151  	// This may be used to include empty fields in Patch requests.
  5152  	ForceSendFields []string `json:"-"`
  5153  
  5154  	// NullFields is a list of field names (e.g. "ClassName") to include in
  5155  	// API requests with the JSON null value. By default, fields with empty
  5156  	// values are omitted from API requests. However, any field with an
  5157  	// empty value appearing in NullFields will be sent to the server as
  5158  	// null. It is an error if a field in this list has a non-empty value.
  5159  	// This may be used to include null fields in Patch requests.
  5160  	NullFields []string `json:"-"`
  5161  }
  5162  
  5163  func (s *EnterpriseCrmFrontendsEventbusProtoParamSpecEntry) MarshalJSON() ([]byte, error) {
  5164  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParamSpecEntry
  5165  	raw := NoMethod(*s)
  5166  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5167  }
  5168  
  5169  type EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage struct {
  5170  	Parameters []*EnterpriseCrmFrontendsEventbusProtoParamSpecEntry `json:"parameters,omitempty"`
  5171  
  5172  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  5173  	// unconditionally include in API requests. By default, fields with
  5174  	// empty or default values are omitted from API requests. However, any
  5175  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5176  	// sent to the server regardless of whether the field is empty or not.
  5177  	// This may be used to include empty fields in Patch requests.
  5178  	ForceSendFields []string `json:"-"`
  5179  
  5180  	// NullFields is a list of field names (e.g. "Parameters") to include in
  5181  	// API requests with the JSON null value. By default, fields with empty
  5182  	// values are omitted from API requests. However, any field with an
  5183  	// empty value appearing in NullFields will be sent to the server as
  5184  	// null. It is an error if a field in this list has a non-empty value.
  5185  	// This may be used to include null fields in Patch requests.
  5186  	NullFields []string `json:"-"`
  5187  }
  5188  
  5189  func (s *EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage) MarshalJSON() ([]byte, error) {
  5190  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage
  5191  	raw := NoMethod(*s)
  5192  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5193  }
  5194  
  5195  // EnterpriseCrmFrontendsEventbusProtoParameterEntry: Key-value pair of
  5196  // EventBus parameters.
  5197  type EnterpriseCrmFrontendsEventbusProtoParameterEntry struct {
  5198  	// DataType: Explicitly getting the type of the parameter.
  5199  	//
  5200  	// Possible values:
  5201  	//   "DATA_TYPE_UNSPECIFIED"
  5202  	//   "STRING_VALUE"
  5203  	//   "INT_VALUE"
  5204  	//   "DOUBLE_VALUE"
  5205  	//   "BOOLEAN_VALUE"
  5206  	//   "PROTO_VALUE"
  5207  	//   "SERIALIZED_OBJECT_VALUE"
  5208  	//   "STRING_ARRAY"
  5209  	//   "INT_ARRAY"
  5210  	//   "DOUBLE_ARRAY"
  5211  	//   "PROTO_ARRAY"
  5212  	//   "PROTO_ENUM"
  5213  	//   "BOOLEAN_ARRAY"
  5214  	//   "PROTO_ENUM_ARRAY"
  5215  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5216  	// top-level params. They're only meant to support protobufs with BYTES
  5217  	// (sub)fields.
  5218  	//   "BYTES_ARRAY"
  5219  	//   "NON_SERIALIZABLE_OBJECT"
  5220  	//   "JSON_VALUE"
  5221  	DataType string `json:"dataType,omitempty"`
  5222  
  5223  	// Key: Key is used to retrieve the corresponding parameter value. This
  5224  	// should be unique for a given fired event. These parameters must be
  5225  	// predefined in the workflow definition.
  5226  	Key string `json:"key,omitempty"`
  5227  
  5228  	// Value: Values for the defined keys. Each value can either be string,
  5229  	// int, double or any proto message.
  5230  	Value *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"value,omitempty"`
  5231  
  5232  	// ForceSendFields is a list of field names (e.g. "DataType") to
  5233  	// unconditionally include in API requests. By default, fields with
  5234  	// empty or default values are omitted from API requests. However, any
  5235  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5236  	// sent to the server regardless of whether the field is empty or not.
  5237  	// This may be used to include empty fields in Patch requests.
  5238  	ForceSendFields []string `json:"-"`
  5239  
  5240  	// NullFields is a list of field names (e.g. "DataType") to include in
  5241  	// API requests with the JSON null value. By default, fields with empty
  5242  	// values are omitted from API requests. However, any field with an
  5243  	// empty value appearing in NullFields will be sent to the server as
  5244  	// null. It is an error if a field in this list has a non-empty value.
  5245  	// This may be used to include null fields in Patch requests.
  5246  	NullFields []string `json:"-"`
  5247  }
  5248  
  5249  func (s *EnterpriseCrmFrontendsEventbusProtoParameterEntry) MarshalJSON() ([]byte, error) {
  5250  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterEntry
  5251  	raw := NoMethod(*s)
  5252  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5253  }
  5254  
  5255  // EnterpriseCrmFrontendsEventbusProtoParameterMap: A generic multi-map
  5256  // that holds key value pairs. They keys and values can be of any type,
  5257  // unless specified.
  5258  type EnterpriseCrmFrontendsEventbusProtoParameterMap struct {
  5259  	Entries []*EnterpriseCrmFrontendsEventbusProtoParameterMapEntry `json:"entries,omitempty"`
  5260  
  5261  	// KeyType: Option to specify key value type for all entries of the map.
  5262  	// If provided then field types for all entries must conform to this.
  5263  	//
  5264  	// Possible values:
  5265  	//   "DATA_TYPE_UNSPECIFIED"
  5266  	//   "STRING_VALUE"
  5267  	//   "INT_VALUE"
  5268  	//   "DOUBLE_VALUE"
  5269  	//   "BOOLEAN_VALUE"
  5270  	//   "PROTO_VALUE"
  5271  	//   "SERIALIZED_OBJECT_VALUE"
  5272  	//   "STRING_ARRAY"
  5273  	//   "INT_ARRAY"
  5274  	//   "DOUBLE_ARRAY"
  5275  	//   "PROTO_ARRAY"
  5276  	//   "PROTO_ENUM"
  5277  	//   "BOOLEAN_ARRAY"
  5278  	//   "PROTO_ENUM_ARRAY"
  5279  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5280  	// top-level params. They're only meant to support protobufs with BYTES
  5281  	// (sub)fields.
  5282  	//   "BYTES_ARRAY"
  5283  	//   "NON_SERIALIZABLE_OBJECT"
  5284  	//   "JSON_VALUE"
  5285  	KeyType string `json:"keyType,omitempty"`
  5286  
  5287  	// Possible values:
  5288  	//   "DATA_TYPE_UNSPECIFIED"
  5289  	//   "STRING_VALUE"
  5290  	//   "INT_VALUE"
  5291  	//   "DOUBLE_VALUE"
  5292  	//   "BOOLEAN_VALUE"
  5293  	//   "PROTO_VALUE"
  5294  	//   "SERIALIZED_OBJECT_VALUE"
  5295  	//   "STRING_ARRAY"
  5296  	//   "INT_ARRAY"
  5297  	//   "DOUBLE_ARRAY"
  5298  	//   "PROTO_ARRAY"
  5299  	//   "PROTO_ENUM"
  5300  	//   "BOOLEAN_ARRAY"
  5301  	//   "PROTO_ENUM_ARRAY"
  5302  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5303  	// top-level params. They're only meant to support protobufs with BYTES
  5304  	// (sub)fields.
  5305  	//   "BYTES_ARRAY"
  5306  	//   "NON_SERIALIZABLE_OBJECT"
  5307  	//   "JSON_VALUE"
  5308  	ValueType string `json:"valueType,omitempty"`
  5309  
  5310  	// ForceSendFields is a list of field names (e.g. "Entries") to
  5311  	// unconditionally include in API requests. By default, fields with
  5312  	// empty or default values are omitted from API requests. However, any
  5313  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5314  	// sent to the server regardless of whether the field is empty or not.
  5315  	// This may be used to include empty fields in Patch requests.
  5316  	ForceSendFields []string `json:"-"`
  5317  
  5318  	// NullFields is a list of field names (e.g. "Entries") to include in
  5319  	// API requests with the JSON null value. By default, fields with empty
  5320  	// values are omitted from API requests. However, any field with an
  5321  	// empty value appearing in NullFields will be sent to the server as
  5322  	// null. It is an error if a field in this list has a non-empty value.
  5323  	// This may be used to include null fields in Patch requests.
  5324  	NullFields []string `json:"-"`
  5325  }
  5326  
  5327  func (s *EnterpriseCrmFrontendsEventbusProtoParameterMap) MarshalJSON() ([]byte, error) {
  5328  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterMap
  5329  	raw := NoMethod(*s)
  5330  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5331  }
  5332  
  5333  // EnterpriseCrmFrontendsEventbusProtoParameterMapEntry: Entry is a pair
  5334  // of key and value.
  5335  type EnterpriseCrmFrontendsEventbusProtoParameterMapEntry struct {
  5336  	Key *EnterpriseCrmFrontendsEventbusProtoParameterMapField `json:"key,omitempty"`
  5337  
  5338  	Value *EnterpriseCrmFrontendsEventbusProtoParameterMapField `json:"value,omitempty"`
  5339  
  5340  	// ForceSendFields is a list of field names (e.g. "Key") to
  5341  	// unconditionally include in API requests. By default, fields with
  5342  	// empty or default values are omitted from API requests. However, any
  5343  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5344  	// sent to the server regardless of whether the field is empty or not.
  5345  	// This may be used to include empty fields in Patch requests.
  5346  	ForceSendFields []string `json:"-"`
  5347  
  5348  	// NullFields is a list of field names (e.g. "Key") to include in API
  5349  	// requests with the JSON null value. By default, fields with empty
  5350  	// values are omitted from API requests. However, any field with an
  5351  	// empty value appearing in NullFields will be sent to the server as
  5352  	// null. It is an error if a field in this list has a non-empty value.
  5353  	// This may be used to include null fields in Patch requests.
  5354  	NullFields []string `json:"-"`
  5355  }
  5356  
  5357  func (s *EnterpriseCrmFrontendsEventbusProtoParameterMapEntry) MarshalJSON() ([]byte, error) {
  5358  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterMapEntry
  5359  	raw := NoMethod(*s)
  5360  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5361  }
  5362  
  5363  // EnterpriseCrmFrontendsEventbusProtoParameterMapField: Field
  5364  // represents either the key or value in an entry.
  5365  type EnterpriseCrmFrontendsEventbusProtoParameterMapField struct {
  5366  	// LiteralValue: Passing a literal value.
  5367  	LiteralValue *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"literalValue,omitempty"`
  5368  
  5369  	// ReferenceKey: Referencing one of the WF variables.
  5370  	ReferenceKey string `json:"referenceKey,omitempty"`
  5371  
  5372  	// ForceSendFields is a list of field names (e.g. "LiteralValue") to
  5373  	// unconditionally include in API requests. By default, fields with
  5374  	// empty or default values are omitted from API requests. However, any
  5375  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5376  	// sent to the server regardless of whether the field is empty or not.
  5377  	// This may be used to include empty fields in Patch requests.
  5378  	ForceSendFields []string `json:"-"`
  5379  
  5380  	// NullFields is a list of field names (e.g. "LiteralValue") to include
  5381  	// in API requests with the JSON null value. By default, fields with
  5382  	// empty values are omitted from API requests. However, any field with
  5383  	// an empty value appearing in NullFields will be sent to the server as
  5384  	// null. It is an error if a field in this list has a non-empty value.
  5385  	// This may be used to include null fields in Patch requests.
  5386  	NullFields []string `json:"-"`
  5387  }
  5388  
  5389  func (s *EnterpriseCrmFrontendsEventbusProtoParameterMapField) MarshalJSON() ([]byte, error) {
  5390  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterMapField
  5391  	raw := NoMethod(*s)
  5392  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5393  }
  5394  
  5395  // EnterpriseCrmFrontendsEventbusProtoParameterValueType: To support
  5396  // various types of parameter values. Next available id: 14
  5397  type EnterpriseCrmFrontendsEventbusProtoParameterValueType struct {
  5398  	BooleanArray *EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray `json:"booleanArray,omitempty"`
  5399  
  5400  	BooleanValue bool `json:"booleanValue,omitempty"`
  5401  
  5402  	DoubleArray *EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray `json:"doubleArray,omitempty"`
  5403  
  5404  	DoubleValue float64 `json:"doubleValue,omitempty"`
  5405  
  5406  	IntArray *EnterpriseCrmFrontendsEventbusProtoIntParameterArray `json:"intArray,omitempty"`
  5407  
  5408  	IntValue int64 `json:"intValue,omitempty,string"`
  5409  
  5410  	JsonValue string `json:"jsonValue,omitempty"`
  5411  
  5412  	ProtoArray *EnterpriseCrmFrontendsEventbusProtoProtoParameterArray `json:"protoArray,omitempty"`
  5413  
  5414  	ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
  5415  
  5416  	SerializedObjectValue *EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter `json:"serializedObjectValue,omitempty"`
  5417  
  5418  	StringArray *EnterpriseCrmFrontendsEventbusProtoStringParameterArray `json:"stringArray,omitempty"`
  5419  
  5420  	StringValue string `json:"stringValue,omitempty"`
  5421  
  5422  	// ForceSendFields is a list of field names (e.g. "BooleanArray") to
  5423  	// unconditionally include in API requests. By default, fields with
  5424  	// empty or default values are omitted from API requests. However, any
  5425  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5426  	// sent to the server regardless of whether the field is empty or not.
  5427  	// This may be used to include empty fields in Patch requests.
  5428  	ForceSendFields []string `json:"-"`
  5429  
  5430  	// NullFields is a list of field names (e.g. "BooleanArray") to include
  5431  	// in API requests with the JSON null value. By default, fields with
  5432  	// empty values are omitted from API requests. However, any field with
  5433  	// an empty value appearing in NullFields will be sent to the server as
  5434  	// null. It is an error if a field in this list has a non-empty value.
  5435  	// This may be used to include null fields in Patch requests.
  5436  	NullFields []string `json:"-"`
  5437  }
  5438  
  5439  func (s *EnterpriseCrmFrontendsEventbusProtoParameterValueType) MarshalJSON() ([]byte, error) {
  5440  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterValueType
  5441  	raw := NoMethod(*s)
  5442  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5443  }
  5444  
  5445  func (s *EnterpriseCrmFrontendsEventbusProtoParameterValueType) UnmarshalJSON(data []byte) error {
  5446  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterValueType
  5447  	var s1 struct {
  5448  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
  5449  		*NoMethod
  5450  	}
  5451  	s1.NoMethod = (*NoMethod)(s)
  5452  	if err := json.Unmarshal(data, &s1); err != nil {
  5453  		return err
  5454  	}
  5455  	s.DoubleValue = float64(s1.DoubleValue)
  5456  	return nil
  5457  }
  5458  
  5459  type EnterpriseCrmFrontendsEventbusProtoProtoParameterArray struct {
  5460  	ProtoValues []googleapi.RawMessage `json:"protoValues,omitempty"`
  5461  
  5462  	// ForceSendFields is a list of field names (e.g. "ProtoValues") to
  5463  	// unconditionally include in API requests. By default, fields with
  5464  	// empty or default values are omitted from API requests. However, any
  5465  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5466  	// sent to the server regardless of whether the field is empty or not.
  5467  	// This may be used to include empty fields in Patch requests.
  5468  	ForceSendFields []string `json:"-"`
  5469  
  5470  	// NullFields is a list of field names (e.g. "ProtoValues") to include
  5471  	// in API requests with the JSON null value. By default, fields with
  5472  	// empty values are omitted from API requests. However, any field with
  5473  	// an empty value appearing in NullFields will be sent to the server as
  5474  	// null. It is an error if a field in this list has a non-empty value.
  5475  	// This may be used to include null fields in Patch requests.
  5476  	NullFields []string `json:"-"`
  5477  }
  5478  
  5479  func (s *EnterpriseCrmFrontendsEventbusProtoProtoParameterArray) MarshalJSON() ([]byte, error) {
  5480  	type NoMethod EnterpriseCrmFrontendsEventbusProtoProtoParameterArray
  5481  	raw := NoMethod(*s)
  5482  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5483  }
  5484  
  5485  // EnterpriseCrmFrontendsEventbusProtoRollbackStrategy: Next available
  5486  // id: 4
  5487  type EnterpriseCrmFrontendsEventbusProtoRollbackStrategy struct {
  5488  	// Parameters: Optional. The customized parameters the user can pass to
  5489  	// this task.
  5490  	Parameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"parameters,omitempty"`
  5491  
  5492  	// RollbackTaskImplementationClassName: Required. This is the name of
  5493  	// the task that needs to be executed upon rollback of this task.
  5494  	RollbackTaskImplementationClassName string `json:"rollbackTaskImplementationClassName,omitempty"`
  5495  
  5496  	// TaskNumbersToRollback: Required. These are the tasks numbers of the
  5497  	// tasks whose
  5498  	// `rollback_strategy.rollback_task_implementation_class_name` needs to
  5499  	// be executed upon failure of this task.
  5500  	TaskNumbersToRollback []string `json:"taskNumbersToRollback,omitempty"`
  5501  
  5502  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  5503  	// unconditionally include in API requests. By default, fields with
  5504  	// empty or default values are omitted from API requests. However, any
  5505  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5506  	// sent to the server regardless of whether the field is empty or not.
  5507  	// This may be used to include empty fields in Patch requests.
  5508  	ForceSendFields []string `json:"-"`
  5509  
  5510  	// NullFields is a list of field names (e.g. "Parameters") to include in
  5511  	// API requests with the JSON null value. By default, fields with empty
  5512  	// values are omitted from API requests. However, any field with an
  5513  	// empty value appearing in NullFields will be sent to the server as
  5514  	// null. It is an error if a field in this list has a non-empty value.
  5515  	// This may be used to include null fields in Patch requests.
  5516  	NullFields []string `json:"-"`
  5517  }
  5518  
  5519  func (s *EnterpriseCrmFrontendsEventbusProtoRollbackStrategy) MarshalJSON() ([]byte, error) {
  5520  	type NoMethod EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
  5521  	raw := NoMethod(*s)
  5522  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5523  }
  5524  
  5525  type EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter struct {
  5526  	ObjectValue string `json:"objectValue,omitempty"`
  5527  
  5528  	// ForceSendFields is a list of field names (e.g. "ObjectValue") to
  5529  	// unconditionally include in API requests. By default, fields with
  5530  	// empty or default values are omitted from API requests. However, any
  5531  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5532  	// sent to the server regardless of whether the field is empty or not.
  5533  	// This may be used to include empty fields in Patch requests.
  5534  	ForceSendFields []string `json:"-"`
  5535  
  5536  	// NullFields is a list of field names (e.g. "ObjectValue") to include
  5537  	// in API requests with the JSON null value. By default, fields with
  5538  	// empty values are omitted from API requests. However, any field with
  5539  	// an empty value appearing in NullFields will be sent to the server as
  5540  	// null. It is an error if a field in this list has a non-empty value.
  5541  	// This may be used to include null fields in Patch requests.
  5542  	NullFields []string `json:"-"`
  5543  }
  5544  
  5545  func (s *EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter) MarshalJSON() ([]byte, error) {
  5546  	type NoMethod EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter
  5547  	raw := NoMethod(*s)
  5548  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5549  }
  5550  
  5551  type EnterpriseCrmFrontendsEventbusProtoStringParameterArray struct {
  5552  	StringValues []string `json:"stringValues,omitempty"`
  5553  
  5554  	// ForceSendFields is a list of field names (e.g. "StringValues") to
  5555  	// unconditionally include in API requests. By default, fields with
  5556  	// empty or default values are omitted from API requests. However, any
  5557  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5558  	// sent to the server regardless of whether the field is empty or not.
  5559  	// This may be used to include empty fields in Patch requests.
  5560  	ForceSendFields []string `json:"-"`
  5561  
  5562  	// NullFields is a list of field names (e.g. "StringValues") to include
  5563  	// in API requests with the JSON null value. By default, fields with
  5564  	// empty values are omitted from API requests. However, any field with
  5565  	// an empty value appearing in NullFields will be sent to the server as
  5566  	// null. It is an error if a field in this list has a non-empty value.
  5567  	// This may be used to include null fields in Patch requests.
  5568  	NullFields []string `json:"-"`
  5569  }
  5570  
  5571  func (s *EnterpriseCrmFrontendsEventbusProtoStringParameterArray) MarshalJSON() ([]byte, error) {
  5572  	type NoMethod EnterpriseCrmFrontendsEventbusProtoStringParameterArray
  5573  	raw := NoMethod(*s)
  5574  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5575  }
  5576  
  5577  // EnterpriseCrmFrontendsEventbusProtoTaskConfig: The task configuration
  5578  // details. This is not the implementation of Task. There might be
  5579  // multiple TaskConfigs for the same Task. Next available id: 27
  5580  type EnterpriseCrmFrontendsEventbusProtoTaskConfig struct {
  5581  	// AlertConfigs: Alert configurations on error rate, warning rate,
  5582  	// number of runs, durations, etc.
  5583  	AlertConfigs []*EnterpriseCrmEventbusProtoTaskAlertConfig `json:"alertConfigs,omitempty"`
  5584  
  5585  	// CreateTime: Auto-generated.
  5586  	CreateTime string `json:"createTime,omitempty"`
  5587  
  5588  	// CreatorEmail: The creator's email address. Auto-generated from the
  5589  	// user's email.
  5590  	CreatorEmail string `json:"creatorEmail,omitempty"`
  5591  
  5592  	// Description: User-provided description intended to give more business
  5593  	// context about the task.
  5594  	Description string `json:"description,omitempty"`
  5595  
  5596  	// DisableStrictTypeValidation: If this config contains a TypedTask,
  5597  	// allow validation to succeed if an input is read from the output of
  5598  	// another TypedTask whose output type is declared as a superclass of
  5599  	// the requested input type. For instance, if the previous task declares
  5600  	// an output of type Message, any task with this flag enabled will pass
  5601  	// validation when attempting to read any proto Message type from the
  5602  	// resultant Event parameter.
  5603  	DisableStrictTypeValidation bool `json:"disableStrictTypeValidation,omitempty"`
  5604  
  5605  	// FailurePolicy: Optional. Determines the number of times the task will
  5606  	// be retried on failure and with what retry strategy. This is
  5607  	// applicable for asynchronous calls to Eventbus alone (Post To Queue,
  5608  	// Schedule etc.).
  5609  	FailurePolicy *EnterpriseCrmEventbusProtoFailurePolicy `json:"failurePolicy,omitempty"`
  5610  
  5611  	// IncomingEdgeCount: The number of edges leading into this TaskConfig.
  5612  	IncomingEdgeCount int64 `json:"incomingEdgeCount,omitempty"`
  5613  
  5614  	// JsonValidationOption: If set, overrides the option configured in the
  5615  	// Task implementation class.
  5616  	//
  5617  	// Possible values:
  5618  	//   "UNSPECIFIED_JSON_VALIDATION_OPTION" - As per the default behavior,
  5619  	// no validation will be run. Will not override any option set in a
  5620  	// Task.
  5621  	//   "SKIP" - Do not run any validation against JSON schemas.
  5622  	//   "PRE_EXECUTION" - Validate all potential input JSON parameters
  5623  	// against schemas specified in WorkflowParameters.
  5624  	//   "POST_EXECUTION" - Validate all potential output JSON parameters
  5625  	// against schemas specified in WorkflowParameters.
  5626  	//   "PRE_POST_EXECUTION" - Perform both PRE_EXECUTION and
  5627  	// POST_EXECUTION validations.
  5628  	JsonValidationOption string `json:"jsonValidationOption,omitempty"`
  5629  
  5630  	// Label: User-provided label that is attached to this TaskConfig in the
  5631  	// UI.
  5632  	Label string `json:"label,omitempty"`
  5633  
  5634  	// LastModifiedTime: Auto-generated.
  5635  	LastModifiedTime string `json:"lastModifiedTime,omitempty"`
  5636  
  5637  	// NextTasks: The set of tasks that are next in line to be executed as
  5638  	// per the execution graph defined for the parent event, specified by
  5639  	// `event_config_id`. Each of these next tasks are executed only if the
  5640  	// condition associated with them evaluates to true.
  5641  	NextTasks []*EnterpriseCrmEventbusProtoNextTask `json:"nextTasks,omitempty"`
  5642  
  5643  	// NextTasksExecutionPolicy: The policy dictating the execution of the
  5644  	// next set of tasks for the current task.
  5645  	//
  5646  	// Possible values:
  5647  	//   "UNSPECIFIED" - Default
  5648  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
  5649  	// associated condition.
  5650  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
  5651  	// associated condition.
  5652  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
  5653  
  5654  	// Parameters: The customized parameters the user can pass to this task.
  5655  	Parameters map[string]EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameters,omitempty"`
  5656  
  5657  	// Position: Optional. Informs the front-end application where to draw
  5658  	// this task config on the UI.
  5659  	Position *EnterpriseCrmEventbusProtoCoordinate `json:"position,omitempty"`
  5660  
  5661  	// Precondition: Optional. Standard filter expression evaluated before
  5662  	// execution. Independent of other conditions and tasks. Can be used to
  5663  	// enable rollout. e.g. "rollout(5)" will only allow 5% of incoming
  5664  	// traffic to task.
  5665  	Precondition string `json:"precondition,omitempty"`
  5666  
  5667  	// PreconditionLabel: Optional. User-provided label that is attached to
  5668  	// precondition in the UI.
  5669  	PreconditionLabel string `json:"preconditionLabel,omitempty"`
  5670  
  5671  	// RollbackStrategy: Optional. Contains information about what needs to
  5672  	// be done upon failure (either a permanent error or after it has been
  5673  	// retried too many times).
  5674  	RollbackStrategy *EnterpriseCrmFrontendsEventbusProtoRollbackStrategy `json:"rollbackStrategy,omitempty"`
  5675  
  5676  	// SuccessPolicy: Determines what action to take upon successful task
  5677  	// completion.
  5678  	SuccessPolicy *EnterpriseCrmEventbusProtoSuccessPolicy `json:"successPolicy,omitempty"`
  5679  
  5680  	// SynchronousCallFailurePolicy: Optional. Determines the number of
  5681  	// times the task will be retried on failure and with what retry
  5682  	// strategy. This is applicable for synchronous calls to Eventbus alone
  5683  	// (Post).
  5684  	SynchronousCallFailurePolicy *EnterpriseCrmEventbusProtoFailurePolicy `json:"synchronousCallFailurePolicy,omitempty"`
  5685  
  5686  	// TaskEntity: Copy of the task entity that this task config is an
  5687  	// instance of.
  5688  	TaskEntity *EnterpriseCrmFrontendsEventbusProtoTaskEntity `json:"taskEntity,omitempty"`
  5689  
  5690  	// TaskExecutionStrategy: The policy dictating the execution strategy of
  5691  	// this task.
  5692  	//
  5693  	// Possible values:
  5694  	//   "WHEN_ALL_SUCCEED" - Wait until all of its previous tasks finished
  5695  	// execution, then verify at least one of the edge conditions is met,
  5696  	// and execute if possible. This should be considered as
  5697  	// WHEN_ALL_TASKS_SUCCEED.
  5698  	//   "WHEN_ANY_SUCCEED" - Start execution as long as any of its previous
  5699  	// tasks finished execution and the corresponding edge condition is met
  5700  	// (since we will execute if only that succeeding edge condition is
  5701  	// met).
  5702  	//   "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" - Wait until all of its
  5703  	// previous tasks finished execution, then verify the all edge
  5704  	// conditions are met and execute if possible.
  5705  	TaskExecutionStrategy string `json:"taskExecutionStrategy,omitempty"`
  5706  
  5707  	// TaskName: The name for the task.
  5708  	TaskName string `json:"taskName,omitempty"`
  5709  
  5710  	// TaskNumber: REQUIRED: the identifier of this task within its parent
  5711  	// event config, specified by the client. This should be unique among
  5712  	// all the tasks belong to the same event config. We use this field as
  5713  	// the identifier to find next tasks (via field
  5714  	// `next_tasks.task_number`).
  5715  	TaskNumber string `json:"taskNumber,omitempty"`
  5716  
  5717  	// TaskSpec: A string template that allows user to configure task
  5718  	// parameters (with either literal default values or tokens which will
  5719  	// be resolved at execution time) for the task. It will eventually
  5720  	// replace the old "parameters" field. Please refer to
  5721  	// go/eventbus-task-spec-example for detailed usage example.
  5722  	TaskSpec string `json:"taskSpec,omitempty"`
  5723  
  5724  	// TaskTemplateName: Used to define task-template name if task is of
  5725  	// type task-template
  5726  	TaskTemplateName string `json:"taskTemplateName,omitempty"`
  5727  
  5728  	// TaskType: Defines the type of the task
  5729  	//
  5730  	// Possible values:
  5731  	//   "TASK" - Normal IP task
  5732  	//   "ASIS_TEMPLATE" - Task is of As-Is Template type
  5733  	//   "IO_TEMPLATE" - Task is of I/O template type with a different
  5734  	// underlying task
  5735  	TaskType string `json:"taskType,omitempty"`
  5736  
  5737  	// ForceSendFields is a list of field names (e.g. "AlertConfigs") to
  5738  	// unconditionally include in API requests. By default, fields with
  5739  	// empty or default values are omitted from API requests. However, any
  5740  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5741  	// sent to the server regardless of whether the field is empty or not.
  5742  	// This may be used to include empty fields in Patch requests.
  5743  	ForceSendFields []string `json:"-"`
  5744  
  5745  	// NullFields is a list of field names (e.g. "AlertConfigs") to include
  5746  	// in API requests with the JSON null value. By default, fields with
  5747  	// empty values are omitted from API requests. However, any field with
  5748  	// an empty value appearing in NullFields will be sent to the server as
  5749  	// null. It is an error if a field in this list has a non-empty value.
  5750  	// This may be used to include null fields in Patch requests.
  5751  	NullFields []string `json:"-"`
  5752  }
  5753  
  5754  func (s *EnterpriseCrmFrontendsEventbusProtoTaskConfig) MarshalJSON() ([]byte, error) {
  5755  	type NoMethod EnterpriseCrmFrontendsEventbusProtoTaskConfig
  5756  	raw := NoMethod(*s)
  5757  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5758  }
  5759  
  5760  // EnterpriseCrmFrontendsEventbusProtoTaskEntity: Contains a task's
  5761  // metadata and associated information. Next available id: 7
  5762  type EnterpriseCrmFrontendsEventbusProtoTaskEntity struct {
  5763  	// DisabledForVpcSc: True if the task has conflict with vpcsc
  5764  	DisabledForVpcSc bool `json:"disabledForVpcSc,omitempty"`
  5765  
  5766  	// Metadata: Metadata inclueds the task name, author and so on.
  5767  	Metadata *EnterpriseCrmEventbusProtoTaskMetadata `json:"metadata,omitempty"`
  5768  
  5769  	// ParamSpecs: Declarations for inputs/outputs for a TypedTask. This is
  5770  	// also associated with the METADATA mask.
  5771  	ParamSpecs *EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage `json:"paramSpecs,omitempty"`
  5772  
  5773  	// Stats: Deprecated - statistics from the Monarch query.
  5774  	Stats *EnterpriseCrmEventbusStats `json:"stats,omitempty"`
  5775  
  5776  	// TaskType: Defines the type of the task
  5777  	//
  5778  	// Possible values:
  5779  	//   "TASK" - Normal IP task
  5780  	//   "ASIS_TEMPLATE" - Task is of As-Is Template type
  5781  	//   "IO_TEMPLATE" - Task is of I/O template type with a different
  5782  	// underlying task
  5783  	TaskType string `json:"taskType,omitempty"`
  5784  
  5785  	// UiConfig: UI configuration for this task Also associated with the
  5786  	// METADATA mask.
  5787  	UiConfig *EnterpriseCrmEventbusProtoTaskUiConfig `json:"uiConfig,omitempty"`
  5788  
  5789  	// ForceSendFields is a list of field names (e.g. "DisabledForVpcSc") to
  5790  	// unconditionally include in API requests. By default, fields with
  5791  	// empty or default values are omitted from API requests. However, any
  5792  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5793  	// sent to the server regardless of whether the field is empty or not.
  5794  	// This may be used to include empty fields in Patch requests.
  5795  	ForceSendFields []string `json:"-"`
  5796  
  5797  	// NullFields is a list of field names (e.g. "DisabledForVpcSc") to
  5798  	// include in API requests with the JSON null value. By default, fields
  5799  	// with empty values are omitted from API requests. However, any field
  5800  	// with an empty value appearing in NullFields will be sent to the
  5801  	// server as null. It is an error if a field in this list has a
  5802  	// non-empty value. This may be used to include null fields in Patch
  5803  	// requests.
  5804  	NullFields []string `json:"-"`
  5805  }
  5806  
  5807  func (s *EnterpriseCrmFrontendsEventbusProtoTaskEntity) MarshalJSON() ([]byte, error) {
  5808  	type NoMethod EnterpriseCrmFrontendsEventbusProtoTaskEntity
  5809  	raw := NoMethod(*s)
  5810  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5811  }
  5812  
  5813  // EnterpriseCrmFrontendsEventbusProtoTriggerConfig: Configuration
  5814  // detail of a trigger. Next available id: 17
  5815  type EnterpriseCrmFrontendsEventbusProtoTriggerConfig struct {
  5816  	// AlertConfig: An alert threshold configuration for the [trigger +
  5817  	// client + workflow] tuple. If these values are not specified in the
  5818  	// trigger config, default values will be populated by the system. Note
  5819  	// that there must be exactly one alert threshold configured per [client
  5820  	// + trigger + workflow] when published.
  5821  	AlertConfig []*EnterpriseCrmEventbusProtoWorkflowAlertConfig `json:"alertConfig,omitempty"`
  5822  
  5823  	CloudSchedulerConfig *EnterpriseCrmEventbusProtoCloudSchedulerConfig `json:"cloudSchedulerConfig,omitempty"`
  5824  
  5825  	// Description: User-provided description intended to give more business
  5826  	// context about the task.
  5827  	Description string `json:"description,omitempty"`
  5828  
  5829  	// EnabledClients: Required. The list of client ids which are enabled to
  5830  	// execute the workflow using this trigger. In other words, these
  5831  	// clients have the workflow execution privledges for this trigger. For
  5832  	// API trigger, the client id in the incoming request is validated
  5833  	// against the list of enabled clients. For non-API triggers, one
  5834  	// workflow execution is triggered on behalf of each enabled client.
  5835  	EnabledClients []string `json:"enabledClients,omitempty"`
  5836  
  5837  	// Label: The user created label for a particular trigger.
  5838  	Label string `json:"label,omitempty"`
  5839  
  5840  	// NextTasksExecutionPolicy: Dictates how next tasks will be executed.
  5841  	//
  5842  	// Possible values:
  5843  	//   "UNSPECIFIED" - Default
  5844  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
  5845  	// associated condition.
  5846  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
  5847  	// associated condition.
  5848  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
  5849  
  5850  	// PauseWorkflowExecutions: Optional. If set to true, any upcoming
  5851  	// requests for this trigger config will be paused and the executions
  5852  	// will be resumed later when the flag is reset. The workflow to which
  5853  	// this trigger config belongs has to be in ACTIVE status for the
  5854  	// executions to be paused or resumed.
  5855  	PauseWorkflowExecutions bool `json:"pauseWorkflowExecutions,omitempty"`
  5856  
  5857  	// Position: Optional. Informs the front-end application where to draw
  5858  	// this trigger config on the UI.
  5859  	Position *EnterpriseCrmEventbusProtoCoordinate `json:"position,omitempty"`
  5860  
  5861  	// Properties: Configurable properties of the trigger, not to be
  5862  	// confused with workflow parameters. E.g. "name" is a property for API
  5863  	// triggers and "subscription" is a property for Cloud Pubsub triggers.
  5864  	Properties map[string]string `json:"properties,omitempty"`
  5865  
  5866  	// StartTasks: Set of tasks numbers from where the workflow execution is
  5867  	// started by this trigger. If this is empty, then workflow is executed
  5868  	// with default start tasks. In the list of start tasks, none of two
  5869  	// tasks can have direct ancestor-descendant relationships (i.e. in a
  5870  	// same workflow execution graph).
  5871  	StartTasks []*EnterpriseCrmEventbusProtoNextTask `json:"startTasks,omitempty"`
  5872  
  5873  	// TriggerCriteria: Optional. When set, Eventbus will run the task
  5874  	// specified in the trigger_criteria and validate the result using the
  5875  	// trigger_criteria.condition, and only execute the workflow when result
  5876  	// is true.
  5877  	TriggerCriteria *EnterpriseCrmEventbusProtoTriggerCriteria `json:"triggerCriteria,omitempty"`
  5878  
  5879  	// TriggerId: The backend trigger ID.
  5880  	TriggerId string `json:"triggerId,omitempty"`
  5881  
  5882  	// TriggerNumber: Required. A number to uniquely identify each trigger
  5883  	// config within the workflow on UI.
  5884  	TriggerNumber string `json:"triggerNumber,omitempty"`
  5885  
  5886  	// Possible values:
  5887  	//   "UNKNOWN"
  5888  	//   "CLOUD_PUBSUB"
  5889  	//   "GOOPS"
  5890  	//   "SFDC_SYNC"
  5891  	//   "CRON"
  5892  	//   "API"
  5893  	//   "MANIFOLD_TRIGGER"
  5894  	//   "DATALAYER_DATA_CHANGE"
  5895  	//   "SFDC_CHANNEL"
  5896  	//   "CLOUD_PUBSUB_EXTERNAL"
  5897  	//   "SFDC_CDC_CHANNEL"
  5898  	//   "SFDC_PLATFORM_EVENTS_CHANNEL"
  5899  	//   "CLOUD_SCHEDULER"
  5900  	TriggerType string `json:"triggerType,omitempty"`
  5901  
  5902  	// ForceSendFields is a list of field names (e.g. "AlertConfig") to
  5903  	// unconditionally include in API requests. By default, fields with
  5904  	// empty or default values are omitted from API requests. However, any
  5905  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5906  	// sent to the server regardless of whether the field is empty or not.
  5907  	// This may be used to include empty fields in Patch requests.
  5908  	ForceSendFields []string `json:"-"`
  5909  
  5910  	// NullFields is a list of field names (e.g. "AlertConfig") to include
  5911  	// in API requests with the JSON null value. By default, fields with
  5912  	// empty values are omitted from API requests. However, any field with
  5913  	// an empty value appearing in NullFields will be sent to the server as
  5914  	// null. It is an error if a field in this list has a non-empty value.
  5915  	// This may be used to include null fields in Patch requests.
  5916  	NullFields []string `json:"-"`
  5917  }
  5918  
  5919  func (s *EnterpriseCrmFrontendsEventbusProtoTriggerConfig) MarshalJSON() ([]byte, error) {
  5920  	type NoMethod EnterpriseCrmFrontendsEventbusProtoTriggerConfig
  5921  	raw := NoMethod(*s)
  5922  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5923  }
  5924  
  5925  type EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry struct {
  5926  	// Attributes: Metadata information about the parameters.
  5927  	Attributes *EnterpriseCrmEventbusProtoAttributes `json:"attributes,omitempty"`
  5928  
  5929  	// Children: Child parameters nested within this parameter. This field
  5930  	// only applies to protobuf parameters
  5931  	Children []*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry `json:"children,omitempty"`
  5932  
  5933  	// DataType: The data type of the parameter.
  5934  	//
  5935  	// Possible values:
  5936  	//   "DATA_TYPE_UNSPECIFIED"
  5937  	//   "STRING_VALUE"
  5938  	//   "INT_VALUE"
  5939  	//   "DOUBLE_VALUE"
  5940  	//   "BOOLEAN_VALUE"
  5941  	//   "PROTO_VALUE"
  5942  	//   "SERIALIZED_OBJECT_VALUE"
  5943  	//   "STRING_ARRAY"
  5944  	//   "INT_ARRAY"
  5945  	//   "DOUBLE_ARRAY"
  5946  	//   "PROTO_ARRAY"
  5947  	//   "PROTO_ENUM"
  5948  	//   "BOOLEAN_ARRAY"
  5949  	//   "PROTO_ENUM_ARRAY"
  5950  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5951  	// top-level params. They're only meant to support protobufs with BYTES
  5952  	// (sub)fields.
  5953  	//   "BYTES_ARRAY"
  5954  	//   "NON_SERIALIZABLE_OBJECT"
  5955  	//   "JSON_VALUE"
  5956  	DataType string `json:"dataType,omitempty"`
  5957  
  5958  	// DefaultValue: Default values for the defined keys. Each value can
  5959  	// either be string, int, double or any proto message or a serialized
  5960  	// object.
  5961  	DefaultValue *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"defaultValue,omitempty"`
  5962  
  5963  	// InOutType: Specifies the input/output type for the parameter.
  5964  	//
  5965  	// Possible values:
  5966  	//   "IN_OUT_TYPE_UNSPECIFIED"
  5967  	//   "IN" - Input parameters for the workflow. EventBus validates that
  5968  	// these parameters exist in the workflows before execution.
  5969  	//   "OUT" - Output Parameters for the workflow. EventBus will only
  5970  	// return the workflow parameters tagged with OUT in the response back.
  5971  	//   "IN_OUT" - Input or Output Parameters. These can be used as both
  5972  	// input and output. EventBus will validate for the existence of these
  5973  	// parameters before execution and will also return this parameter back
  5974  	// in the response.
  5975  	InOutType string `json:"inOutType,omitempty"`
  5976  
  5977  	// IsTransient: Whether this parameter is a transient parameter.
  5978  	// go/ip-transient-parameters
  5979  	IsTransient bool `json:"isTransient,omitempty"`
  5980  
  5981  	// JsonSchema: This schema will be used to validate runtime JSON-typed
  5982  	// values of this parameter.
  5983  	JsonSchema string `json:"jsonSchema,omitempty"`
  5984  
  5985  	// Key: Key is used to retrieve the corresponding parameter value. This
  5986  	// should be unique for a given fired event. These parameters must be
  5987  	// predefined in the workflow definition.
  5988  	Key string `json:"key,omitempty"`
  5989  
  5990  	// Name: The name (without prefix) to be displayed in the UI for this
  5991  	// parameter. E.g. if the key is "foo.bar.myName", then the name would
  5992  	// be "myName".
  5993  	Name string `json:"name,omitempty"`
  5994  
  5995  	// ProducedBy: The identifier of the node (TaskConfig/TriggerConfig)
  5996  	// this parameter was produced by, if it is a transient param or a copy
  5997  	// of an input param.
  5998  	ProducedBy *EnterpriseCrmEventbusProtoNodeIdentifier `json:"producedBy,omitempty"`
  5999  
  6000  	Producer string `json:"producer,omitempty"`
  6001  
  6002  	// ProtoDefName: The name of the protobuf type if the parameter has a
  6003  	// protobuf data type.
  6004  	ProtoDefName string `json:"protoDefName,omitempty"`
  6005  
  6006  	// ProtoDefPath: If the data type is of type proto or proto array, this
  6007  	// field needs to be populated with the fully qualified proto name. This
  6008  	// message, for example, would be
  6009  	// "enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry".
  6010  	ProtoDefPath string `json:"protoDefPath,omitempty"`
  6011  
  6012  	// ForceSendFields is a list of field names (e.g. "Attributes") to
  6013  	// unconditionally include in API requests. By default, fields with
  6014  	// empty or default values are omitted from API requests. However, any
  6015  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6016  	// sent to the server regardless of whether the field is empty or not.
  6017  	// This may be used to include empty fields in Patch requests.
  6018  	ForceSendFields []string `json:"-"`
  6019  
  6020  	// NullFields is a list of field names (e.g. "Attributes") to include in
  6021  	// API requests with the JSON null value. By default, fields with empty
  6022  	// values are omitted from API requests. However, any field with an
  6023  	// empty value appearing in NullFields will be sent to the server as
  6024  	// null. It is an error if a field in this list has a non-empty value.
  6025  	// This may be used to include null fields in Patch requests.
  6026  	NullFields []string `json:"-"`
  6027  }
  6028  
  6029  func (s *EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry) MarshalJSON() ([]byte, error) {
  6030  	type NoMethod EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
  6031  	raw := NoMethod(*s)
  6032  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6033  }
  6034  
  6035  // EnterpriseCrmFrontendsEventbusProtoWorkflowParameters: LINT.IfChange
  6036  // This is the frontend version of WorkflowParameters. It's exactly like
  6037  // the backend version except that instead of flattening protobuf
  6038  // parameters and treating every field and subfield of a protobuf
  6039  // parameter as a separate parameter, the fields/subfields of a protobuf
  6040  // parameter will be nested as "children" (see 'children' field below)
  6041  // parameters of the parent parameter. Please refer to
  6042  // enterprise/crm/eventbus/proto/workflow_parameters.proto for more
  6043  // information about WorkflowParameters.
  6044  type EnterpriseCrmFrontendsEventbusProtoWorkflowParameters struct {
  6045  	// Parameters: Parameters are a part of Event and can be used to
  6046  	// communiticate between different tasks that are part of the same
  6047  	// workflow execution.
  6048  	Parameters []*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry `json:"parameters,omitempty"`
  6049  
  6050  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  6051  	// unconditionally include in API requests. By default, fields with
  6052  	// empty or default values are omitted from API requests. However, any
  6053  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6054  	// sent to the server regardless of whether the field is empty or not.
  6055  	// This may be used to include empty fields in Patch requests.
  6056  	ForceSendFields []string `json:"-"`
  6057  
  6058  	// NullFields is a list of field names (e.g. "Parameters") to include in
  6059  	// API requests with the JSON null value. By default, fields with empty
  6060  	// values are omitted from API requests. However, any field with an
  6061  	// empty value appearing in NullFields will be sent to the server as
  6062  	// null. It is an error if a field in this list has a non-empty value.
  6063  	// This may be used to include null fields in Patch requests.
  6064  	NullFields []string `json:"-"`
  6065  }
  6066  
  6067  func (s *EnterpriseCrmFrontendsEventbusProtoWorkflowParameters) MarshalJSON() ([]byte, error) {
  6068  	type NoMethod EnterpriseCrmFrontendsEventbusProtoWorkflowParameters
  6069  	raw := NoMethod(*s)
  6070  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6071  }
  6072  
  6073  // EnterpriseCrmLoggingGwsFieldLimits: Describes string and array limits
  6074  // when writing to logs. When a limit is exceeded the *shortener_type*
  6075  // describes how to shorten the field. next_id: 6
  6076  type EnterpriseCrmLoggingGwsFieldLimits struct {
  6077  	// Possible values:
  6078  	//   "LOG_ACTION_UNSPECIFIED"
  6079  	//   "DONT_LOG"
  6080  	//   "LOG"
  6081  	LogAction string `json:"logAction,omitempty"`
  6082  
  6083  	// LogType: To which type(s) of logs the limits apply.
  6084  	//
  6085  	// Possible values:
  6086  	//   "LOG_TYPE_UNSPECIFIED"
  6087  	//   "GWS" - Limits apply when log detail records are written to GWS.
  6088  	//   "GTS" - Limits apply when log detail records are written to GTS
  6089  	// (e.g., RecordIO files).
  6090  	//   "ALL" - Limits apply to *all* output log types.
  6091  	LogType []string `json:"logType,omitempty"`
  6092  
  6093  	// MaxArraySize: maximum array size. If the array exceds this size, the
  6094  	// field (list) is truncated.
  6095  	MaxArraySize int64 `json:"maxArraySize,omitempty"`
  6096  
  6097  	// MaxStringLength: maximum string length. If the field exceeds this
  6098  	// amount the field is shortened.
  6099  	MaxStringLength int64 `json:"maxStringLength,omitempty"`
  6100  
  6101  	// Possible values:
  6102  	//   "SHORTENER_TYPE_UNSPECIFIED"
  6103  	//   "SHORTEN" - String is shortened to max_string_length.
  6104  	//   "HASH" - String is replaced by its hex-string hash.
  6105  	//   "SHORTEN_WITH_HASH" - String is replaced by a combination of string
  6106  	// shortening and a hex-string hash.
  6107  	//   "SHORTEN_EMAIL" - String shortening for email addresses. Shortening
  6108  	// may be done on the user and/or domain portion of the email address.
  6109  	//   "SHORTEN_EMAIL_WITH_HASH" - String is replaced by a combination of
  6110  	// string shortening and a hex-string hash for an email address.
  6111  	//   "SHORTEN_DOMAIN" - Shortens a domain name (e.g., as part of an
  6112  	// email address or URL).
  6113  	ShortenerType string `json:"shortenerType,omitempty"`
  6114  
  6115  	// ForceSendFields is a list of field names (e.g. "LogAction") to
  6116  	// unconditionally include in API requests. By default, fields with
  6117  	// empty or default values are omitted from API requests. However, any
  6118  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6119  	// sent to the server regardless of whether the field is empty or not.
  6120  	// This may be used to include empty fields in Patch requests.
  6121  	ForceSendFields []string `json:"-"`
  6122  
  6123  	// NullFields is a list of field names (e.g. "LogAction") to include in
  6124  	// API requests with the JSON null value. By default, fields with empty
  6125  	// values are omitted from API requests. However, any field with an
  6126  	// empty value appearing in NullFields will be sent to the server as
  6127  	// null. It is an error if a field in this list has a non-empty value.
  6128  	// This may be used to include null fields in Patch requests.
  6129  	NullFields []string `json:"-"`
  6130  }
  6131  
  6132  func (s *EnterpriseCrmLoggingGwsFieldLimits) MarshalJSON() ([]byte, error) {
  6133  	type NoMethod EnterpriseCrmLoggingGwsFieldLimits
  6134  	raw := NoMethod(*s)
  6135  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6136  }
  6137  
  6138  // EnterpriseCrmLoggingGwsSanitizeOptions: Identifies whether a field
  6139  // contains, or may contain, PII or sensitive data, and how to sanitize
  6140  // the field if it does. If a field's privacy type cannot be determined
  6141  // then it is sanitized (e.g., scrubbed). The specific sanitizer
  6142  // implementation is determined by run-time configuration and
  6143  // environment options (e.g., prod vs. qa). next_id: 5
  6144  type EnterpriseCrmLoggingGwsSanitizeOptions struct {
  6145  	// IsAlreadySanitized: If true, the value has already been sanitized and
  6146  	// needs no further sanitization. For instance, a D3 customer id is
  6147  	// already an obfuscated entity and *might not* need further
  6148  	// sanitization.
  6149  	IsAlreadySanitized bool `json:"isAlreadySanitized,omitempty"`
  6150  
  6151  	// LogType: To which type(s) of logs the sanitize options apply.
  6152  	//
  6153  	// Possible values:
  6154  	//   "LOG_TYPE_UNSPECIFIED"
  6155  	//   "GWS" - Limits apply when log detail records are written to GWS.
  6156  	//   "GTS" - Limits apply when log detail records are written to GTS
  6157  	// (e.g., RecordIO files).
  6158  	//   "ALL" - Limits apply to *all* output log types.
  6159  	LogType []string `json:"logType,omitempty"`
  6160  
  6161  	// Possible values:
  6162  	//   "PRIVACY_TYPE_UNSPECIFIED"
  6163  	//   "NOT_PII" - Field does *NOT* contain PII or sensitive data.
  6164  	//   "PII" - Field contains PII.
  6165  	//   "SPII" - Field contains Sensitive PII.
  6166  	//   "UNSURE" - Unsure if field contains PII.
  6167  	Privacy string `json:"privacy,omitempty"`
  6168  
  6169  	// Possible values:
  6170  	//   "SANITIZE_TYPE_UNSPECIFIED"
  6171  	//   "SCRUB" - Replace value with a scrubbed value (usu. a constant).
  6172  	//   "ANONYMIZE" - Transform a value so that it cannot be tracked across
  6173  	// events. However, a given value, is transformed to the same value
  6174  	// *within* an event. E.g., "foo.com" is transformed to "0xabcdef" for
  6175  	// event 1001, and to "0xfedcba" for event 1002.
  6176  	//   "ANONYMIZE_LIMITED_REPEATABLE" - Transform values as with
  6177  	// ANONYMIZER, but the same transformation is repeated for a limited
  6178  	// time (e.g., 1 day).
  6179  	//   "OBFUSCATE" - The value is transformed using a well-defined
  6180  	// obfuscator (e.g., D3_CUSTOMER_ID).
  6181  	//   "ENCRYPT" - The value is encrypted.
  6182  	//   "DO_NOT_SANITIZE" - No sanitization is required.
  6183  	SanitizeType string `json:"sanitizeType,omitempty"`
  6184  
  6185  	// ForceSendFields is a list of field names (e.g. "IsAlreadySanitized")
  6186  	// to unconditionally include in API requests. By default, fields with
  6187  	// empty or default values are omitted from API requests. However, any
  6188  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6189  	// sent to the server regardless of whether the field is empty or not.
  6190  	// This may be used to include empty fields in Patch requests.
  6191  	ForceSendFields []string `json:"-"`
  6192  
  6193  	// NullFields is a list of field names (e.g. "IsAlreadySanitized") to
  6194  	// include in API requests with the JSON null value. By default, fields
  6195  	// with empty values are omitted from API requests. However, any field
  6196  	// with an empty value appearing in NullFields will be sent to the
  6197  	// server as null. It is an error if a field in this list has a
  6198  	// non-empty value. This may be used to include null fields in Patch
  6199  	// requests.
  6200  	NullFields []string `json:"-"`
  6201  }
  6202  
  6203  func (s *EnterpriseCrmLoggingGwsSanitizeOptions) MarshalJSON() ([]byte, error) {
  6204  	type NoMethod EnterpriseCrmLoggingGwsSanitizeOptions
  6205  	raw := NoMethod(*s)
  6206  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6207  }
  6208  
  6209  // GoogleCloudConnectorsV1AuthConfig: AuthConfig defines details of a
  6210  // authentication type.
  6211  type GoogleCloudConnectorsV1AuthConfig struct {
  6212  	// AdditionalVariables: List containing additional auth configs.
  6213  	AdditionalVariables []*GoogleCloudConnectorsV1ConfigVariable `json:"additionalVariables,omitempty"`
  6214  
  6215  	// AuthType: The type of authentication configured.
  6216  	//
  6217  	// Possible values:
  6218  	//   "AUTH_TYPE_UNSPECIFIED" - Authentication type not specified.
  6219  	//   "USER_PASSWORD" - Username and Password Authentication.
  6220  	//   "OAUTH2_JWT_BEARER" - JSON Web Token (JWT) Profile for Oauth 2.0
  6221  	// Authorization Grant based authentication
  6222  	//   "OAUTH2_CLIENT_CREDENTIALS" - Oauth 2.0 Client Credentials Grant
  6223  	// Authentication
  6224  	//   "SSH_PUBLIC_KEY" - SSH Public Key Authentication
  6225  	//   "OAUTH2_AUTH_CODE_FLOW" - Oauth 2.0 Authorization Code Flow
  6226  	AuthType string `json:"authType,omitempty"`
  6227  
  6228  	// Oauth2ClientCredentials: Oauth2ClientCredentials.
  6229  	Oauth2ClientCredentials *GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials `json:"oauth2ClientCredentials,omitempty"`
  6230  
  6231  	// Oauth2JwtBearer: Oauth2JwtBearer.
  6232  	Oauth2JwtBearer *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer `json:"oauth2JwtBearer,omitempty"`
  6233  
  6234  	// SshPublicKey: SSH Public Key.
  6235  	SshPublicKey *GoogleCloudConnectorsV1AuthConfigSshPublicKey `json:"sshPublicKey,omitempty"`
  6236  
  6237  	// UserPassword: UserPassword.
  6238  	UserPassword *GoogleCloudConnectorsV1AuthConfigUserPassword `json:"userPassword,omitempty"`
  6239  
  6240  	// ForceSendFields is a list of field names (e.g. "AdditionalVariables")
  6241  	// to unconditionally include in API requests. By default, fields with
  6242  	// empty or default values are omitted from API requests. However, any
  6243  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6244  	// sent to the server regardless of whether the field is empty or not.
  6245  	// This may be used to include empty fields in Patch requests.
  6246  	ForceSendFields []string `json:"-"`
  6247  
  6248  	// NullFields is a list of field names (e.g. "AdditionalVariables") to
  6249  	// include in API requests with the JSON null value. By default, fields
  6250  	// with empty values are omitted from API requests. However, any field
  6251  	// with an empty value appearing in NullFields will be sent to the
  6252  	// server as null. It is an error if a field in this list has a
  6253  	// non-empty value. This may be used to include null fields in Patch
  6254  	// requests.
  6255  	NullFields []string `json:"-"`
  6256  }
  6257  
  6258  func (s *GoogleCloudConnectorsV1AuthConfig) MarshalJSON() ([]byte, error) {
  6259  	type NoMethod GoogleCloudConnectorsV1AuthConfig
  6260  	raw := NoMethod(*s)
  6261  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6262  }
  6263  
  6264  // GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials: Parameters
  6265  // to support Oauth 2.0 Client Credentials Grant Authentication. See
  6266  // https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
  6267  type GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials struct {
  6268  	// ClientId: The client identifier.
  6269  	ClientId string `json:"clientId,omitempty"`
  6270  
  6271  	// ClientSecret: Secret version reference containing the client secret.
  6272  	ClientSecret *GoogleCloudConnectorsV1Secret `json:"clientSecret,omitempty"`
  6273  
  6274  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  6275  	// unconditionally include in API requests. By default, fields with
  6276  	// empty or default values are omitted from API requests. However, any
  6277  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6278  	// sent to the server regardless of whether the field is empty or not.
  6279  	// This may be used to include empty fields in Patch requests.
  6280  	ForceSendFields []string `json:"-"`
  6281  
  6282  	// NullFields is a list of field names (e.g. "ClientId") to include in
  6283  	// API requests with the JSON null value. By default, fields with empty
  6284  	// values are omitted from API requests. However, any field with an
  6285  	// empty value appearing in NullFields will be sent to the server as
  6286  	// null. It is an error if a field in this list has a non-empty value.
  6287  	// This may be used to include null fields in Patch requests.
  6288  	NullFields []string `json:"-"`
  6289  }
  6290  
  6291  func (s *GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials) MarshalJSON() ([]byte, error) {
  6292  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
  6293  	raw := NoMethod(*s)
  6294  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6295  }
  6296  
  6297  // GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer: Parameters to
  6298  // support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
  6299  // Grant based authentication. See https://tools.ietf.org/html/rfc7523
  6300  // for more details.
  6301  type GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer struct {
  6302  	// ClientKey: Secret version reference containing a PKCS#8 PEM-encoded
  6303  	// private key associated with the Client Certificate. This private key
  6304  	// will be used to sign JWTs used for the jwt-bearer authorization
  6305  	// grant. Specified in the form as: `projects/*/secrets/*/versions/*`.
  6306  	ClientKey *GoogleCloudConnectorsV1Secret `json:"clientKey,omitempty"`
  6307  
  6308  	// JwtClaims: JwtClaims providers fields to generate the token.
  6309  	JwtClaims *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims `json:"jwtClaims,omitempty"`
  6310  
  6311  	// ForceSendFields is a list of field names (e.g. "ClientKey") to
  6312  	// unconditionally include in API requests. By default, fields with
  6313  	// empty or default values are omitted from API requests. However, any
  6314  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6315  	// sent to the server regardless of whether the field is empty or not.
  6316  	// This may be used to include empty fields in Patch requests.
  6317  	ForceSendFields []string `json:"-"`
  6318  
  6319  	// NullFields is a list of field names (e.g. "ClientKey") to include in
  6320  	// API requests with the JSON null value. By default, fields with empty
  6321  	// values are omitted from API requests. However, any field with an
  6322  	// empty value appearing in NullFields will be sent to the server as
  6323  	// null. It is an error if a field in this list has a non-empty value.
  6324  	// This may be used to include null fields in Patch requests.
  6325  	NullFields []string `json:"-"`
  6326  }
  6327  
  6328  func (s *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer) MarshalJSON() ([]byte, error) {
  6329  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer
  6330  	raw := NoMethod(*s)
  6331  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6332  }
  6333  
  6334  // GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims: JWT claims
  6335  // used for the jwt-bearer authorization grant.
  6336  type GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims struct {
  6337  	// Audience: Value for the "aud" claim.
  6338  	Audience string `json:"audience,omitempty"`
  6339  
  6340  	// Issuer: Value for the "iss" claim.
  6341  	Issuer string `json:"issuer,omitempty"`
  6342  
  6343  	// Subject: Value for the "sub" claim.
  6344  	Subject string `json:"subject,omitempty"`
  6345  
  6346  	// ForceSendFields is a list of field names (e.g. "Audience") to
  6347  	// unconditionally include in API requests. By default, fields with
  6348  	// empty or default values are omitted from API requests. However, any
  6349  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6350  	// sent to the server regardless of whether the field is empty or not.
  6351  	// This may be used to include empty fields in Patch requests.
  6352  	ForceSendFields []string `json:"-"`
  6353  
  6354  	// NullFields is a list of field names (e.g. "Audience") to include in
  6355  	// API requests with the JSON null value. By default, fields with empty
  6356  	// values are omitted from API requests. However, any field with an
  6357  	// empty value appearing in NullFields will be sent to the server as
  6358  	// null. It is an error if a field in this list has a non-empty value.
  6359  	// This may be used to include null fields in Patch requests.
  6360  	NullFields []string `json:"-"`
  6361  }
  6362  
  6363  func (s *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims) MarshalJSON() ([]byte, error) {
  6364  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims
  6365  	raw := NoMethod(*s)
  6366  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6367  }
  6368  
  6369  // GoogleCloudConnectorsV1AuthConfigSshPublicKey: Parameters to support
  6370  // Ssh public key Authentication.
  6371  type GoogleCloudConnectorsV1AuthConfigSshPublicKey struct {
  6372  	// CertType: Format of SSH Client cert.
  6373  	CertType string `json:"certType,omitempty"`
  6374  
  6375  	// SshClientCert: SSH Client Cert. It should contain both public and
  6376  	// private key.
  6377  	SshClientCert *GoogleCloudConnectorsV1Secret `json:"sshClientCert,omitempty"`
  6378  
  6379  	// SshClientCertPass: Password (passphrase) for ssh client certificate
  6380  	// if it has one.
  6381  	SshClientCertPass *GoogleCloudConnectorsV1Secret `json:"sshClientCertPass,omitempty"`
  6382  
  6383  	// Username: The user account used to authenticate.
  6384  	Username string `json:"username,omitempty"`
  6385  
  6386  	// ForceSendFields is a list of field names (e.g. "CertType") to
  6387  	// unconditionally include in API requests. By default, fields with
  6388  	// empty or default values are omitted from API requests. However, any
  6389  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6390  	// sent to the server regardless of whether the field is empty or not.
  6391  	// This may be used to include empty fields in Patch requests.
  6392  	ForceSendFields []string `json:"-"`
  6393  
  6394  	// NullFields is a list of field names (e.g. "CertType") to include in
  6395  	// API requests with the JSON null value. By default, fields with empty
  6396  	// values are omitted from API requests. However, any field with an
  6397  	// empty value appearing in NullFields will be sent to the server as
  6398  	// null. It is an error if a field in this list has a non-empty value.
  6399  	// This may be used to include null fields in Patch requests.
  6400  	NullFields []string `json:"-"`
  6401  }
  6402  
  6403  func (s *GoogleCloudConnectorsV1AuthConfigSshPublicKey) MarshalJSON() ([]byte, error) {
  6404  	type NoMethod GoogleCloudConnectorsV1AuthConfigSshPublicKey
  6405  	raw := NoMethod(*s)
  6406  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6407  }
  6408  
  6409  // GoogleCloudConnectorsV1AuthConfigUserPassword: Parameters to support
  6410  // Username and Password Authentication.
  6411  type GoogleCloudConnectorsV1AuthConfigUserPassword struct {
  6412  	// Password: Secret version reference containing the password.
  6413  	Password *GoogleCloudConnectorsV1Secret `json:"password,omitempty"`
  6414  
  6415  	// Username: Username.
  6416  	Username string `json:"username,omitempty"`
  6417  
  6418  	// ForceSendFields is a list of field names (e.g. "Password") to
  6419  	// unconditionally include in API requests. By default, fields with
  6420  	// empty or default values are omitted from API requests. However, any
  6421  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6422  	// sent to the server regardless of whether the field is empty or not.
  6423  	// This may be used to include empty fields in Patch requests.
  6424  	ForceSendFields []string `json:"-"`
  6425  
  6426  	// NullFields is a list of field names (e.g. "Password") to include in
  6427  	// API requests with the JSON null value. By default, fields with empty
  6428  	// values are omitted from API requests. However, any field with an
  6429  	// empty value appearing in NullFields will be sent to the server as
  6430  	// null. It is an error if a field in this list has a non-empty value.
  6431  	// This may be used to include null fields in Patch requests.
  6432  	NullFields []string `json:"-"`
  6433  }
  6434  
  6435  func (s *GoogleCloudConnectorsV1AuthConfigUserPassword) MarshalJSON() ([]byte, error) {
  6436  	type NoMethod GoogleCloudConnectorsV1AuthConfigUserPassword
  6437  	raw := NoMethod(*s)
  6438  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6439  }
  6440  
  6441  // GoogleCloudConnectorsV1ConfigVariable: ConfigVariable represents a
  6442  // configuration variable present in a Connection. or AuthConfig.
  6443  type GoogleCloudConnectorsV1ConfigVariable struct {
  6444  	// BoolValue: Value is a bool.
  6445  	BoolValue bool `json:"boolValue,omitempty"`
  6446  
  6447  	// IntValue: Value is an integer
  6448  	IntValue int64 `json:"intValue,omitempty,string"`
  6449  
  6450  	// Key: Key of the config variable.
  6451  	Key string `json:"key,omitempty"`
  6452  
  6453  	// SecretValue: Value is a secret.
  6454  	SecretValue *GoogleCloudConnectorsV1Secret `json:"secretValue,omitempty"`
  6455  
  6456  	// StringValue: Value is a string.
  6457  	StringValue string `json:"stringValue,omitempty"`
  6458  
  6459  	// ForceSendFields is a list of field names (e.g. "BoolValue") to
  6460  	// unconditionally include in API requests. By default, fields with
  6461  	// empty or default values are omitted from API requests. However, any
  6462  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6463  	// sent to the server regardless of whether the field is empty or not.
  6464  	// This may be used to include empty fields in Patch requests.
  6465  	ForceSendFields []string `json:"-"`
  6466  
  6467  	// NullFields is a list of field names (e.g. "BoolValue") to include in
  6468  	// API requests with the JSON null value. By default, fields with empty
  6469  	// values are omitted from API requests. However, any field with an
  6470  	// empty value appearing in NullFields will be sent to the server as
  6471  	// null. It is an error if a field in this list has a non-empty value.
  6472  	// This may be used to include null fields in Patch requests.
  6473  	NullFields []string `json:"-"`
  6474  }
  6475  
  6476  func (s *GoogleCloudConnectorsV1ConfigVariable) MarshalJSON() ([]byte, error) {
  6477  	type NoMethod GoogleCloudConnectorsV1ConfigVariable
  6478  	raw := NoMethod(*s)
  6479  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6480  }
  6481  
  6482  // GoogleCloudConnectorsV1Connection: Connection represents an instance
  6483  // of connector.
  6484  type GoogleCloudConnectorsV1Connection struct {
  6485  	// AuthConfig: Optional. Configuration for establishing the connection's
  6486  	// authentication with an external system.
  6487  	AuthConfig *GoogleCloudConnectorsV1AuthConfig `json:"authConfig,omitempty"`
  6488  
  6489  	// ConfigVariables: Optional. Configuration for configuring the
  6490  	// connection with an external system.
  6491  	ConfigVariables []*GoogleCloudConnectorsV1ConfigVariable `json:"configVariables,omitempty"`
  6492  
  6493  	// ConnectorVersion: Required. Connector version on which the connection
  6494  	// is created. The format is:
  6495  	// projects/*/locations/*/providers/*/connectors/*/versions/* Only
  6496  	// global location is supported for ConnectorVersion resource.
  6497  	ConnectorVersion string `json:"connectorVersion,omitempty"`
  6498  
  6499  	// CreateTime: Output only. Created time.
  6500  	CreateTime string `json:"createTime,omitempty"`
  6501  
  6502  	// Description: Optional. Description of the resource.
  6503  	Description string `json:"description,omitempty"`
  6504  
  6505  	// DestinationConfigs: Optional. Configuration of the Connector's
  6506  	// destination. Only accepted for Connectors that accepts user defined
  6507  	// destination(s).
  6508  	DestinationConfigs []*GoogleCloudConnectorsV1DestinationConfig `json:"destinationConfigs,omitempty"`
  6509  
  6510  	// EnvoyImageLocation: Output only. GCR location where the envoy image
  6511  	// is stored. formatted like: gcr.io/{bucketName}/{imageName}
  6512  	EnvoyImageLocation string `json:"envoyImageLocation,omitempty"`
  6513  
  6514  	// ImageLocation: Output only. GCR location where the runtime image is
  6515  	// stored. formatted like: gcr.io/{bucketName}/{imageName}
  6516  	ImageLocation string `json:"imageLocation,omitempty"`
  6517  
  6518  	// Labels: Optional. Resource labels to represent user-provided
  6519  	// metadata. Refer to cloud documentation on labels for more details.
  6520  	// https://cloud.google.com/compute/docs/labeling-resources
  6521  	Labels map[string]string `json:"labels,omitempty"`
  6522  
  6523  	// LockConfig: Optional. Configuration that indicates whether or not the
  6524  	// Connection can be edited.
  6525  	LockConfig *GoogleCloudConnectorsV1LockConfig `json:"lockConfig,omitempty"`
  6526  
  6527  	// Name: Output only. Resource name of the Connection. Format:
  6528  	// projects/{project}/locations/{location}/connections/{connection}
  6529  	Name string `json:"name,omitempty"`
  6530  
  6531  	// NodeConfig: Optional. Node configuration for the connection.
  6532  	NodeConfig *GoogleCloudConnectorsV1NodeConfig `json:"nodeConfig,omitempty"`
  6533  
  6534  	// ServiceAccount: Optional. Service account needed for runtime plane to
  6535  	// access GCP resources.
  6536  	ServiceAccount string `json:"serviceAccount,omitempty"`
  6537  
  6538  	// ServiceDirectory: Output only. The name of the Service Directory
  6539  	// service name. Used for Private Harpoon to resolve the ILB address.
  6540  	// e.g.
  6541  	// "projects/cloud-connectors-e2e-testing/locations/us-central1/namespace
  6542  	// s/istio-system/services/istio-ingressgateway-connectors"
  6543  	ServiceDirectory string `json:"serviceDirectory,omitempty"`
  6544  
  6545  	// Status: Output only. Current status of the connection.
  6546  	Status *GoogleCloudConnectorsV1ConnectionStatus `json:"status,omitempty"`
  6547  
  6548  	// Suspended: Optional. Suspended indicates if a user has suspended a
  6549  	// connection or not.
  6550  	Suspended bool `json:"suspended,omitempty"`
  6551  
  6552  	// UpdateTime: Output only. Updated time.
  6553  	UpdateTime string `json:"updateTime,omitempty"`
  6554  
  6555  	// ForceSendFields is a list of field names (e.g. "AuthConfig") to
  6556  	// unconditionally include in API requests. By default, fields with
  6557  	// empty or default values are omitted from API requests. However, any
  6558  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6559  	// sent to the server regardless of whether the field is empty or not.
  6560  	// This may be used to include empty fields in Patch requests.
  6561  	ForceSendFields []string `json:"-"`
  6562  
  6563  	// NullFields is a list of field names (e.g. "AuthConfig") to include in
  6564  	// API requests with the JSON null value. By default, fields with empty
  6565  	// values are omitted from API requests. However, any field with an
  6566  	// empty value appearing in NullFields will be sent to the server as
  6567  	// null. It is an error if a field in this list has a non-empty value.
  6568  	// This may be used to include null fields in Patch requests.
  6569  	NullFields []string `json:"-"`
  6570  }
  6571  
  6572  func (s *GoogleCloudConnectorsV1Connection) MarshalJSON() ([]byte, error) {
  6573  	type NoMethod GoogleCloudConnectorsV1Connection
  6574  	raw := NoMethod(*s)
  6575  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6576  }
  6577  
  6578  // GoogleCloudConnectorsV1ConnectionStatus: ConnectionStatus indicates
  6579  // the state of the connection.
  6580  type GoogleCloudConnectorsV1ConnectionStatus struct {
  6581  	// Description: Description.
  6582  	Description string `json:"description,omitempty"`
  6583  
  6584  	// State: State.
  6585  	//
  6586  	// Possible values:
  6587  	//   "STATE_UNSPECIFIED" - Connection does not have a state yet.
  6588  	//   "CREATING" - Connection is being created.
  6589  	//   "ACTIVE" - Connection is running and ready for requests.
  6590  	//   "INACTIVE" - Connection is stopped.
  6591  	//   "DELETING" - Connection is being deleted.
  6592  	//   "UPDATING" - Connection is being updated.
  6593  	//   "ERROR" - Connection is not running due to an error.
  6594  	State string `json:"state,omitempty"`
  6595  
  6596  	// Status: Status provides detailed information for the state.
  6597  	Status string `json:"status,omitempty"`
  6598  
  6599  	// ForceSendFields is a list of field names (e.g. "Description") to
  6600  	// unconditionally include in API requests. By default, fields with
  6601  	// empty or default values are omitted from API requests. However, any
  6602  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6603  	// sent to the server regardless of whether the field is empty or not.
  6604  	// This may be used to include empty fields in Patch requests.
  6605  	ForceSendFields []string `json:"-"`
  6606  
  6607  	// NullFields is a list of field names (e.g. "Description") to include
  6608  	// in API requests with the JSON null value. By default, fields with
  6609  	// empty values are omitted from API requests. However, any field with
  6610  	// an empty value appearing in NullFields will be sent to the server as
  6611  	// null. It is an error if a field in this list has a non-empty value.
  6612  	// This may be used to include null fields in Patch requests.
  6613  	NullFields []string `json:"-"`
  6614  }
  6615  
  6616  func (s *GoogleCloudConnectorsV1ConnectionStatus) MarshalJSON() ([]byte, error) {
  6617  	type NoMethod GoogleCloudConnectorsV1ConnectionStatus
  6618  	raw := NoMethod(*s)
  6619  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6620  }
  6621  
  6622  type GoogleCloudConnectorsV1Destination struct {
  6623  	// Host: For publicly routable host.
  6624  	Host string `json:"host,omitempty"`
  6625  
  6626  	// Port: The port is the target port number that is accepted by the
  6627  	// destination.
  6628  	Port int64 `json:"port,omitempty"`
  6629  
  6630  	// ServiceAttachment: PSC service attachments. Format:
  6631  	// projects/*/regions/*/serviceAttachments/*
  6632  	ServiceAttachment string `json:"serviceAttachment,omitempty"`
  6633  
  6634  	// ForceSendFields is a list of field names (e.g. "Host") to
  6635  	// unconditionally include in API requests. By default, fields with
  6636  	// empty or default values are omitted from API requests. However, any
  6637  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6638  	// sent to the server regardless of whether the field is empty or not.
  6639  	// This may be used to include empty fields in Patch requests.
  6640  	ForceSendFields []string `json:"-"`
  6641  
  6642  	// NullFields is a list of field names (e.g. "Host") to include in API
  6643  	// requests with the JSON null value. By default, fields with empty
  6644  	// values are omitted from API requests. However, any field with an
  6645  	// empty value appearing in NullFields will be sent to the server as
  6646  	// null. It is an error if a field in this list has a non-empty value.
  6647  	// This may be used to include null fields in Patch requests.
  6648  	NullFields []string `json:"-"`
  6649  }
  6650  
  6651  func (s *GoogleCloudConnectorsV1Destination) MarshalJSON() ([]byte, error) {
  6652  	type NoMethod GoogleCloudConnectorsV1Destination
  6653  	raw := NoMethod(*s)
  6654  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6655  }
  6656  
  6657  // GoogleCloudConnectorsV1DestinationConfig: Define the Connectors
  6658  // target endpoint.
  6659  type GoogleCloudConnectorsV1DestinationConfig struct {
  6660  	// Destinations: The destinations for the key.
  6661  	Destinations []*GoogleCloudConnectorsV1Destination `json:"destinations,omitempty"`
  6662  
  6663  	// Key: The key is the destination identifier that is supported by the
  6664  	// Connector.
  6665  	Key string `json:"key,omitempty"`
  6666  
  6667  	// ForceSendFields is a list of field names (e.g. "Destinations") to
  6668  	// unconditionally include in API requests. By default, fields with
  6669  	// empty or default values are omitted from API requests. However, any
  6670  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6671  	// sent to the server regardless of whether the field is empty or not.
  6672  	// This may be used to include empty fields in Patch requests.
  6673  	ForceSendFields []string `json:"-"`
  6674  
  6675  	// NullFields is a list of field names (e.g. "Destinations") to include
  6676  	// in API requests with the JSON null value. By default, fields with
  6677  	// empty values are omitted from API requests. However, any field with
  6678  	// an empty value appearing in NullFields will be sent to the server as
  6679  	// null. It is an error if a field in this list has a non-empty value.
  6680  	// This may be used to include null fields in Patch requests.
  6681  	NullFields []string `json:"-"`
  6682  }
  6683  
  6684  func (s *GoogleCloudConnectorsV1DestinationConfig) MarshalJSON() ([]byte, error) {
  6685  	type NoMethod GoogleCloudConnectorsV1DestinationConfig
  6686  	raw := NoMethod(*s)
  6687  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6688  }
  6689  
  6690  // GoogleCloudConnectorsV1LockConfig: Determines whether or no a
  6691  // connection is locked. If locked, a reason must be specified.
  6692  type GoogleCloudConnectorsV1LockConfig struct {
  6693  	// Locked: Indicates whether or not the connection is locked.
  6694  	Locked bool `json:"locked,omitempty"`
  6695  
  6696  	// Reason: Describes why a connection is locked.
  6697  	Reason string `json:"reason,omitempty"`
  6698  
  6699  	// ForceSendFields is a list of field names (e.g. "Locked") to
  6700  	// unconditionally include in API requests. By default, fields with
  6701  	// empty or default values are omitted from API requests. However, any
  6702  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6703  	// sent to the server regardless of whether the field is empty or not.
  6704  	// This may be used to include empty fields in Patch requests.
  6705  	ForceSendFields []string `json:"-"`
  6706  
  6707  	// NullFields is a list of field names (e.g. "Locked") to include in API
  6708  	// requests with the JSON null value. By default, fields with empty
  6709  	// values are omitted from API requests. However, any field with an
  6710  	// empty value appearing in NullFields will be sent to the server as
  6711  	// null. It is an error if a field in this list has a non-empty value.
  6712  	// This may be used to include null fields in Patch requests.
  6713  	NullFields []string `json:"-"`
  6714  }
  6715  
  6716  func (s *GoogleCloudConnectorsV1LockConfig) MarshalJSON() ([]byte, error) {
  6717  	type NoMethod GoogleCloudConnectorsV1LockConfig
  6718  	raw := NoMethod(*s)
  6719  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6720  }
  6721  
  6722  // GoogleCloudConnectorsV1NodeConfig: Node configuration for the
  6723  // connection.
  6724  type GoogleCloudConnectorsV1NodeConfig struct {
  6725  	// MaxNodeCount: Maximum number of nodes in the runtime nodes.
  6726  	MaxNodeCount int64 `json:"maxNodeCount,omitempty"`
  6727  
  6728  	// MinNodeCount: Minimum number of nodes in the runtime nodes.
  6729  	MinNodeCount int64 `json:"minNodeCount,omitempty"`
  6730  
  6731  	// ForceSendFields is a list of field names (e.g. "MaxNodeCount") to
  6732  	// unconditionally include in API requests. By default, fields with
  6733  	// empty or default values are omitted from API requests. However, any
  6734  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6735  	// sent to the server regardless of whether the field is empty or not.
  6736  	// This may be used to include empty fields in Patch requests.
  6737  	ForceSendFields []string `json:"-"`
  6738  
  6739  	// NullFields is a list of field names (e.g. "MaxNodeCount") to include
  6740  	// in API requests with the JSON null value. By default, fields with
  6741  	// empty values are omitted from API requests. However, any field with
  6742  	// an empty value appearing in NullFields will be sent to the server as
  6743  	// null. It is an error if a field in this list has a non-empty value.
  6744  	// This may be used to include null fields in Patch requests.
  6745  	NullFields []string `json:"-"`
  6746  }
  6747  
  6748  func (s *GoogleCloudConnectorsV1NodeConfig) MarshalJSON() ([]byte, error) {
  6749  	type NoMethod GoogleCloudConnectorsV1NodeConfig
  6750  	raw := NoMethod(*s)
  6751  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6752  }
  6753  
  6754  // GoogleCloudConnectorsV1Secret: Secret provides a reference to entries
  6755  // in Secret Manager.
  6756  type GoogleCloudConnectorsV1Secret struct {
  6757  	// SecretVersion: The resource name of the secret version in the format,
  6758  	// format as: `projects/*/secrets/*/versions/*`.
  6759  	SecretVersion string `json:"secretVersion,omitempty"`
  6760  
  6761  	// ForceSendFields is a list of field names (e.g. "SecretVersion") to
  6762  	// unconditionally include in API requests. By default, fields with
  6763  	// empty or default values are omitted from API requests. However, any
  6764  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6765  	// sent to the server regardless of whether the field is empty or not.
  6766  	// This may be used to include empty fields in Patch requests.
  6767  	ForceSendFields []string `json:"-"`
  6768  
  6769  	// NullFields is a list of field names (e.g. "SecretVersion") to include
  6770  	// in API requests with the JSON null value. By default, fields with
  6771  	// empty values are omitted from API requests. However, any field with
  6772  	// an empty value appearing in NullFields will be sent to the server as
  6773  	// null. It is an error if a field in this list has a non-empty value.
  6774  	// This may be used to include null fields in Patch requests.
  6775  	NullFields []string `json:"-"`
  6776  }
  6777  
  6778  func (s *GoogleCloudConnectorsV1Secret) MarshalJSON() ([]byte, error) {
  6779  	type NoMethod GoogleCloudConnectorsV1Secret
  6780  	raw := NoMethod(*s)
  6781  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6782  }
  6783  
  6784  // GoogleCloudIntegrationsV1alphaAccessToken: The access token
  6785  // represents the authorization of a specific application to access
  6786  // specific parts of a user’s data.
  6787  type GoogleCloudIntegrationsV1alphaAccessToken struct {
  6788  	// AccessToken: The access token encapsulating the security identity of
  6789  	// a process or thread.
  6790  	AccessToken string `json:"accessToken,omitempty"`
  6791  
  6792  	// AccessTokenExpireTime: Required. The approximate time until the
  6793  	// access token retrieved is valid.
  6794  	AccessTokenExpireTime string `json:"accessTokenExpireTime,omitempty"`
  6795  
  6796  	// RefreshToken: If the access token will expire, use the refresh token
  6797  	// to obtain another access token.
  6798  	RefreshToken string `json:"refreshToken,omitempty"`
  6799  
  6800  	// RefreshTokenExpireTime: The approximate time until the refresh token
  6801  	// retrieved is valid.
  6802  	RefreshTokenExpireTime string `json:"refreshTokenExpireTime,omitempty"`
  6803  
  6804  	// TokenType: Only support "bearer" token in v1 as bearer token is the
  6805  	// predominant type used with OAuth 2.0.
  6806  	TokenType string `json:"tokenType,omitempty"`
  6807  
  6808  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  6809  	// unconditionally include in API requests. By default, fields with
  6810  	// empty or default values are omitted from API requests. However, any
  6811  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6812  	// sent to the server regardless of whether the field is empty or not.
  6813  	// This may be used to include empty fields in Patch requests.
  6814  	ForceSendFields []string `json:"-"`
  6815  
  6816  	// NullFields is a list of field names (e.g. "AccessToken") to include
  6817  	// in API requests with the JSON null value. By default, fields with
  6818  	// empty values are omitted from API requests. However, any field with
  6819  	// an empty value appearing in NullFields will be sent to the server as
  6820  	// null. It is an error if a field in this list has a non-empty value.
  6821  	// This may be used to include null fields in Patch requests.
  6822  	NullFields []string `json:"-"`
  6823  }
  6824  
  6825  func (s *GoogleCloudIntegrationsV1alphaAccessToken) MarshalJSON() ([]byte, error) {
  6826  	type NoMethod GoogleCloudIntegrationsV1alphaAccessToken
  6827  	raw := NoMethod(*s)
  6828  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6829  }
  6830  
  6831  // GoogleCloudIntegrationsV1alphaArchiveBundleRequest: Request for
  6832  // ArchiveBundle.
  6833  type GoogleCloudIntegrationsV1alphaArchiveBundleRequest struct {
  6834  }
  6835  
  6836  // GoogleCloudIntegrationsV1alphaArchiveBundleResponse: Response for
  6837  // ArchiveBundle.
  6838  type GoogleCloudIntegrationsV1alphaArchiveBundleResponse struct {
  6839  	// ServerResponse contains the HTTP response code and headers from the
  6840  	// server.
  6841  	googleapi.ServerResponse `json:"-"`
  6842  }
  6843  
  6844  // GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest:
  6845  // Request for ArchiveIntegrationVersion.
  6846  type GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest struct {
  6847  }
  6848  
  6849  // GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse:
  6850  // Response for ArchiveIntegrationVersion.
  6851  type GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse struct {
  6852  	// ServerResponse contains the HTTP response code and headers from the
  6853  	// server.
  6854  	googleapi.ServerResponse `json:"-"`
  6855  }
  6856  
  6857  // GoogleCloudIntegrationsV1alphaAttemptStats: Status for the execution
  6858  // attempt.
  6859  type GoogleCloudIntegrationsV1alphaAttemptStats struct {
  6860  	// EndTime: The end time of the event execution for current attempt.
  6861  	EndTime string `json:"endTime,omitempty"`
  6862  
  6863  	// StartTime: The start time of the event execution for current attempt.
  6864  	// This could be in the future if it's been scheduled.
  6865  	StartTime string `json:"startTime,omitempty"`
  6866  
  6867  	// ForceSendFields is a list of field names (e.g. "EndTime") to
  6868  	// unconditionally include in API requests. By default, fields with
  6869  	// empty or default values are omitted from API requests. However, any
  6870  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6871  	// sent to the server regardless of whether the field is empty or not.
  6872  	// This may be used to include empty fields in Patch requests.
  6873  	ForceSendFields []string `json:"-"`
  6874  
  6875  	// NullFields is a list of field names (e.g. "EndTime") to include in
  6876  	// API requests with the JSON null value. By default, fields with empty
  6877  	// values are omitted from API requests. However, any field with an
  6878  	// empty value appearing in NullFields will be sent to the server as
  6879  	// null. It is an error if a field in this list has a non-empty value.
  6880  	// This may be used to include null fields in Patch requests.
  6881  	NullFields []string `json:"-"`
  6882  }
  6883  
  6884  func (s *GoogleCloudIntegrationsV1alphaAttemptStats) MarshalJSON() ([]byte, error) {
  6885  	type NoMethod GoogleCloudIntegrationsV1alphaAttemptStats
  6886  	raw := NoMethod(*s)
  6887  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6888  }
  6889  
  6890  // GoogleCloudIntegrationsV1alphaAuthConfig: The AuthConfig resource use
  6891  // to hold channels and connection config data.
  6892  type GoogleCloudIntegrationsV1alphaAuthConfig struct {
  6893  	// CertificateId: Certificate id for client certificate
  6894  	CertificateId string `json:"certificateId,omitempty"`
  6895  
  6896  	// CreateTime: Output only. The timestamp when the auth config is
  6897  	// created.
  6898  	CreateTime string `json:"createTime,omitempty"`
  6899  
  6900  	// CreatorEmail: The creator's email address. Generated based on the End
  6901  	// User Credentials/LOAS role of the user making the call.
  6902  	CreatorEmail string `json:"creatorEmail,omitempty"`
  6903  
  6904  	// CredentialType: Credential type of the encrypted credential.
  6905  	//
  6906  	// Possible values:
  6907  	//   "CREDENTIAL_TYPE_UNSPECIFIED" - Unspecified credential type
  6908  	//   "USERNAME_AND_PASSWORD" - Regular username/password pair.
  6909  	//   "API_KEY" - API key.
  6910  	//   "OAUTH2_AUTHORIZATION_CODE" - OAuth 2.0 Authorization Code Grant
  6911  	// Type.
  6912  	//   "OAUTH2_IMPLICIT" - OAuth 2.0 Implicit Grant Type.
  6913  	//   "OAUTH2_CLIENT_CREDENTIALS" - OAuth 2.0 Client Credentials Grant
  6914  	// Type.
  6915  	//   "OAUTH2_RESOURCE_OWNER_CREDENTIALS" - OAuth 2.0 Resource Owner
  6916  	// Credentials Grant Type.
  6917  	//   "JWT" - JWT Token.
  6918  	//   "AUTH_TOKEN" - Auth Token, e.g. bearer token.
  6919  	//   "SERVICE_ACCOUNT" - Service Account which can be used to generate
  6920  	// token for authentication.
  6921  	//   "CLIENT_CERTIFICATE_ONLY" - Client Certificate only.
  6922  	//   "OIDC_TOKEN" - Google OIDC ID Token
  6923  	CredentialType string `json:"credentialType,omitempty"`
  6924  
  6925  	// DecryptedCredential: Raw auth credentials.
  6926  	DecryptedCredential *GoogleCloudIntegrationsV1alphaCredential `json:"decryptedCredential,omitempty"`
  6927  
  6928  	// Description: A description of the auth config.
  6929  	Description string `json:"description,omitempty"`
  6930  
  6931  	// DisplayName: The name of the auth config.
  6932  	DisplayName string `json:"displayName,omitempty"`
  6933  
  6934  	// EncryptedCredential: Auth credential encrypted by Cloud KMS. Can be
  6935  	// decrypted as Credential with proper KMS key.
  6936  	EncryptedCredential string `json:"encryptedCredential,omitempty"`
  6937  
  6938  	// ExpiryNotificationDuration: User can define the time to receive
  6939  	// notification after which the auth config becomes invalid. Support up
  6940  	// to 30 days. Support granularity in hours.
  6941  	ExpiryNotificationDuration []string `json:"expiryNotificationDuration,omitempty"`
  6942  
  6943  	// LastModifierEmail: The last modifier's email address. Generated based
  6944  	// on the End User Credentials/LOAS role of the user making the call.
  6945  	LastModifierEmail string `json:"lastModifierEmail,omitempty"`
  6946  
  6947  	// Name: Resource name of the SFDC instance
  6948  	// projects/{project}/locations/{location}/authConfigs/{authConfig}.
  6949  	Name string `json:"name,omitempty"`
  6950  
  6951  	// OverrideValidTime: User provided expiry time to override. For the
  6952  	// example of Salesforce, username/password credentials can be valid for
  6953  	// 6 months depending on the instance settings.
  6954  	OverrideValidTime string `json:"overrideValidTime,omitempty"`
  6955  
  6956  	// Reason: The reason / details of the current status.
  6957  	Reason string `json:"reason,omitempty"`
  6958  
  6959  	// State: The status of the auth config.
  6960  	//
  6961  	// Possible values:
  6962  	//   "STATE_UNSPECIFIED" - Status not specified.
  6963  	//   "VALID" - Valid Auth config.
  6964  	//   "INVALID" - General invalidity, if it doesn't fits in the detailed
  6965  	// issue below.
  6966  	//   "SOFT_DELETED" - Auth config soft deleted.
  6967  	//   "EXPIRED" - Auth config expired.
  6968  	//   "UNAUTHORIZED" - Auth config unauthorized.
  6969  	//   "UNSUPPORTED" - Auth config not supported.
  6970  	State string `json:"state,omitempty"`
  6971  
  6972  	// UpdateTime: Output only. The timestamp when the auth config is
  6973  	// modified.
  6974  	UpdateTime string `json:"updateTime,omitempty"`
  6975  
  6976  	// ValidTime: The time until the auth config is valid. Empty or max
  6977  	// value is considered the auth config won't expire.
  6978  	ValidTime string `json:"validTime,omitempty"`
  6979  
  6980  	// Visibility: The visibility of the auth config.
  6981  	//
  6982  	// Possible values:
  6983  	//   "AUTH_CONFIG_VISIBILITY_UNSPECIFIED" - Visibility not specified.
  6984  	//   "PRIVATE" - Profile visible to the creator only.
  6985  	//   "CLIENT_VISIBLE" - Profile visible within the client.
  6986  	Visibility string `json:"visibility,omitempty"`
  6987  
  6988  	// ServerResponse contains the HTTP response code and headers from the
  6989  	// server.
  6990  	googleapi.ServerResponse `json:"-"`
  6991  
  6992  	// ForceSendFields is a list of field names (e.g. "CertificateId") to
  6993  	// unconditionally include in API requests. By default, fields with
  6994  	// empty or default values are omitted from API requests. However, any
  6995  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6996  	// sent to the server regardless of whether the field is empty or not.
  6997  	// This may be used to include empty fields in Patch requests.
  6998  	ForceSendFields []string `json:"-"`
  6999  
  7000  	// NullFields is a list of field names (e.g. "CertificateId") to include
  7001  	// in API requests with the JSON null value. By default, fields with
  7002  	// empty values are omitted from API requests. However, any field with
  7003  	// an empty value appearing in NullFields will be sent to the server as
  7004  	// null. It is an error if a field in this list has a non-empty value.
  7005  	// This may be used to include null fields in Patch requests.
  7006  	NullFields []string `json:"-"`
  7007  }
  7008  
  7009  func (s *GoogleCloudIntegrationsV1alphaAuthConfig) MarshalJSON() ([]byte, error) {
  7010  	type NoMethod GoogleCloudIntegrationsV1alphaAuthConfig
  7011  	raw := NoMethod(*s)
  7012  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7013  }
  7014  
  7015  // GoogleCloudIntegrationsV1alphaAuthToken: The credentials to
  7016  // authenticate a user agent with a server that is put in HTTP
  7017  // Authorization request header.
  7018  type GoogleCloudIntegrationsV1alphaAuthToken struct {
  7019  	// Token: The token for the auth type.
  7020  	Token string `json:"token,omitempty"`
  7021  
  7022  	// Type: Authentication type, e.g. "Basic", "Bearer", etc.
  7023  	Type string `json:"type,omitempty"`
  7024  
  7025  	// ForceSendFields is a list of field names (e.g. "Token") to
  7026  	// unconditionally include in API requests. By default, fields with
  7027  	// empty or default values are omitted from API requests. However, any
  7028  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7029  	// sent to the server regardless of whether the field is empty or not.
  7030  	// This may be used to include empty fields in Patch requests.
  7031  	ForceSendFields []string `json:"-"`
  7032  
  7033  	// NullFields is a list of field names (e.g. "Token") to include in API
  7034  	// requests with the JSON null value. By default, fields with empty
  7035  	// values are omitted from API requests. However, any field with an
  7036  	// empty value appearing in NullFields will be sent to the server as
  7037  	// null. It is an error if a field in this list has a non-empty value.
  7038  	// This may be used to include null fields in Patch requests.
  7039  	NullFields []string `json:"-"`
  7040  }
  7041  
  7042  func (s *GoogleCloudIntegrationsV1alphaAuthToken) MarshalJSON() ([]byte, error) {
  7043  	type NoMethod GoogleCloudIntegrationsV1alphaAuthToken
  7044  	raw := NoMethod(*s)
  7045  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7046  }
  7047  
  7048  // GoogleCloudIntegrationsV1alphaBooleanParameterArray: This message
  7049  // only contains a field of boolean array.
  7050  type GoogleCloudIntegrationsV1alphaBooleanParameterArray struct {
  7051  	// BooleanValues: Boolean array.
  7052  	BooleanValues []bool `json:"booleanValues,omitempty"`
  7053  
  7054  	// ForceSendFields is a list of field names (e.g. "BooleanValues") to
  7055  	// unconditionally include in API requests. By default, fields with
  7056  	// empty or default values are omitted from API requests. However, any
  7057  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7058  	// sent to the server regardless of whether the field is empty or not.
  7059  	// This may be used to include empty fields in Patch requests.
  7060  	ForceSendFields []string `json:"-"`
  7061  
  7062  	// NullFields is a list of field names (e.g. "BooleanValues") to include
  7063  	// in API requests with the JSON null value. By default, fields with
  7064  	// empty values are omitted from API requests. However, any field with
  7065  	// an empty value appearing in NullFields will be sent to the server as
  7066  	// null. It is an error if a field in this list has a non-empty value.
  7067  	// This may be used to include null fields in Patch requests.
  7068  	NullFields []string `json:"-"`
  7069  }
  7070  
  7071  func (s *GoogleCloudIntegrationsV1alphaBooleanParameterArray) MarshalJSON() ([]byte, error) {
  7072  	type NoMethod GoogleCloudIntegrationsV1alphaBooleanParameterArray
  7073  	raw := NoMethod(*s)
  7074  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7075  }
  7076  
  7077  // GoogleCloudIntegrationsV1alphaCancelExecutionRequest: Request for
  7078  // cancelling an execution.
  7079  type GoogleCloudIntegrationsV1alphaCancelExecutionRequest struct {
  7080  }
  7081  
  7082  // GoogleCloudIntegrationsV1alphaCancelExecutionResponse: Response for
  7083  // cancelling an execution.
  7084  type GoogleCloudIntegrationsV1alphaCancelExecutionResponse struct {
  7085  	// IsCanceled: True if cancellation performed successfully
  7086  	IsCanceled bool `json:"isCanceled,omitempty"`
  7087  
  7088  	// ServerResponse contains the HTTP response code and headers from the
  7089  	// server.
  7090  	googleapi.ServerResponse `json:"-"`
  7091  
  7092  	// ForceSendFields is a list of field names (e.g. "IsCanceled") to
  7093  	// unconditionally include in API requests. By default, fields with
  7094  	// empty or default values are omitted from API requests. However, any
  7095  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7096  	// sent to the server regardless of whether the field is empty or not.
  7097  	// This may be used to include empty fields in Patch requests.
  7098  	ForceSendFields []string `json:"-"`
  7099  
  7100  	// NullFields is a list of field names (e.g. "IsCanceled") to include in
  7101  	// API requests with the JSON null value. By default, fields with empty
  7102  	// values are omitted from API requests. However, any field with an
  7103  	// empty value appearing in NullFields will be sent to the server as
  7104  	// null. It is an error if a field in this list has a non-empty value.
  7105  	// This may be used to include null fields in Patch requests.
  7106  	NullFields []string `json:"-"`
  7107  }
  7108  
  7109  func (s *GoogleCloudIntegrationsV1alphaCancelExecutionResponse) MarshalJSON() ([]byte, error) {
  7110  	type NoMethod GoogleCloudIntegrationsV1alphaCancelExecutionResponse
  7111  	raw := NoMethod(*s)
  7112  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7113  }
  7114  
  7115  // GoogleCloudIntegrationsV1alphaCertificate: The certificate definition
  7116  type GoogleCloudIntegrationsV1alphaCertificate struct {
  7117  	// CertificateStatus: Status of the certificate
  7118  	//
  7119  	// Possible values:
  7120  	//   "STATE_UNSPECIFIED" - Unspecified certificate status
  7121  	//   "ACTIVE" - Certificate in active state will be able to use
  7122  	//   "EXPIRED" - Certificate in expired state needs to be updated
  7123  	CertificateStatus string `json:"certificateStatus,omitempty"`
  7124  
  7125  	// CredentialId: Immutable. Credential id that will be used to register
  7126  	// with trawler INTERNAL_ONLY
  7127  	CredentialId string `json:"credentialId,omitempty"`
  7128  
  7129  	// Description: Description of the certificate
  7130  	Description string `json:"description,omitempty"`
  7131  
  7132  	// DisplayName: Name of the certificate
  7133  	DisplayName string `json:"displayName,omitempty"`
  7134  
  7135  	// Name: Output only. Auto generated primary key
  7136  	Name string `json:"name,omitempty"`
  7137  
  7138  	// RawCertificate: Input only. Raw client certificate which would be
  7139  	// registered with trawler
  7140  	RawCertificate *GoogleCloudIntegrationsV1alphaClientCertificate `json:"rawCertificate,omitempty"`
  7141  
  7142  	// RequestorId: Immutable. Requestor ID to be used to register
  7143  	// certificate with trawler
  7144  	RequestorId string `json:"requestorId,omitempty"`
  7145  
  7146  	// ValidEndTime: Output only. The timestamp after which certificate will
  7147  	// expire
  7148  	ValidEndTime string `json:"validEndTime,omitempty"`
  7149  
  7150  	// ValidStartTime: Output only. The timestamp after which certificate
  7151  	// will be valid
  7152  	ValidStartTime string `json:"validStartTime,omitempty"`
  7153  
  7154  	// ServerResponse contains the HTTP response code and headers from the
  7155  	// server.
  7156  	googleapi.ServerResponse `json:"-"`
  7157  
  7158  	// ForceSendFields is a list of field names (e.g. "CertificateStatus")
  7159  	// to unconditionally include in API requests. By default, fields with
  7160  	// empty or default values are omitted from API requests. However, any
  7161  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7162  	// sent to the server regardless of whether the field is empty or not.
  7163  	// This may be used to include empty fields in Patch requests.
  7164  	ForceSendFields []string `json:"-"`
  7165  
  7166  	// NullFields is a list of field names (e.g. "CertificateStatus") to
  7167  	// include in API requests with the JSON null value. By default, fields
  7168  	// with empty values are omitted from API requests. However, any field
  7169  	// with an empty value appearing in NullFields will be sent to the
  7170  	// server as null. It is an error if a field in this list has a
  7171  	// non-empty value. This may be used to include null fields in Patch
  7172  	// requests.
  7173  	NullFields []string `json:"-"`
  7174  }
  7175  
  7176  func (s *GoogleCloudIntegrationsV1alphaCertificate) MarshalJSON() ([]byte, error) {
  7177  	type NoMethod GoogleCloudIntegrationsV1alphaCertificate
  7178  	raw := NoMethod(*s)
  7179  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7180  }
  7181  
  7182  // GoogleCloudIntegrationsV1alphaClientCertificate: Contains client
  7183  // certificate information
  7184  type GoogleCloudIntegrationsV1alphaClientCertificate struct {
  7185  	// EncryptedPrivateKey: The ssl certificate encoded in PEM format. This
  7186  	// string must include the begin header and end footer lines. For
  7187  	// example, -----BEGIN CERTIFICATE-----
  7188  	// MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
  7189  	// BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
  7190  	// MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
  7191  	// MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  7192  	// vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
  7193  	// JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
  7194  	// xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
  7195  	// AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
  7196  	// Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
  7197  	// Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
  7198  	// JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
  7199  	// 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
  7200  	// wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
  7201  	EncryptedPrivateKey string `json:"encryptedPrivateKey,omitempty"`
  7202  
  7203  	// Passphrase: 'passphrase' should be left unset if private key is not
  7204  	// encrypted. Note that 'passphrase' is not the password for web server,
  7205  	// but an extra layer of security to protected private key.
  7206  	Passphrase string `json:"passphrase,omitempty"`
  7207  
  7208  	// SslCertificate: The ssl certificate encoded in PEM format. This
  7209  	// string must include the begin header and end footer lines. For
  7210  	// example, -----BEGIN CERTIFICATE-----
  7211  	// MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
  7212  	// BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
  7213  	// MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
  7214  	// MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  7215  	// vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
  7216  	// JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
  7217  	// xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
  7218  	// AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
  7219  	// Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
  7220  	// Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
  7221  	// JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
  7222  	// 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
  7223  	// wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
  7224  	SslCertificate string `json:"sslCertificate,omitempty"`
  7225  
  7226  	// ForceSendFields is a list of field names (e.g. "EncryptedPrivateKey")
  7227  	// to unconditionally include in API requests. By default, fields with
  7228  	// empty or default values are omitted from API requests. However, any
  7229  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7230  	// sent to the server regardless of whether the field is empty or not.
  7231  	// This may be used to include empty fields in Patch requests.
  7232  	ForceSendFields []string `json:"-"`
  7233  
  7234  	// NullFields is a list of field names (e.g. "EncryptedPrivateKey") to
  7235  	// include in API requests with the JSON null value. By default, fields
  7236  	// with empty values are omitted from API requests. However, any field
  7237  	// with an empty value appearing in NullFields will be sent to the
  7238  	// server as null. It is an error if a field in this list has a
  7239  	// non-empty value. This may be used to include null fields in Patch
  7240  	// requests.
  7241  	NullFields []string `json:"-"`
  7242  }
  7243  
  7244  func (s *GoogleCloudIntegrationsV1alphaClientCertificate) MarshalJSON() ([]byte, error) {
  7245  	type NoMethod GoogleCloudIntegrationsV1alphaClientCertificate
  7246  	raw := NoMethod(*s)
  7247  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7248  }
  7249  
  7250  // GoogleCloudIntegrationsV1alphaClientConfig: The configuration
  7251  // information for the Client
  7252  type GoogleCloudIntegrationsV1alphaClientConfig struct {
  7253  	// BillingType: Indicates the billing type of the client
  7254  	//
  7255  	// Possible values:
  7256  	//   "BILLING_TYPE_UNSPECIFIED" - Unspecified billing type
  7257  	//   "BILLING_TYPE_APIGEE_TRIALS" - A trial org provisioned through
  7258  	// Apigee Provisioning Wizard
  7259  	//   "BILLING_TYPE_APIGEE_SUBSCRIPTION" - Subscription based users of
  7260  	// Apigee
  7261  	//   "BILLING_TYPE_PAYG" - Consumption based users of IP
  7262  	BillingType string `json:"billingType,omitempty"`
  7263  
  7264  	// ClientState: Indicates the activity state the client
  7265  	//
  7266  	// Possible values:
  7267  	//   "CLIENT_STATE_UNSPECIFIED" - The client state is unspecified
  7268  	//   "CLIENT_STATE_ACTIVE" - The client is active and able to make calls
  7269  	// to the IP APIs
  7270  	//   "CLIENT_STATE_DISABLED" - The client is disabled and will soon be
  7271  	// deleted
  7272  	ClientState string `json:"clientState,omitempty"`
  7273  
  7274  	// CloudKmsConfig: Cloud KMS config for Auth Module to encrypt/decrypt
  7275  	// credentials.
  7276  	CloudKmsConfig *GoogleCloudIntegrationsV1alphaCloudKmsConfig `json:"cloudKmsConfig,omitempty"`
  7277  
  7278  	// CloudLoggingConfig: Determines the cloud logging configuration for
  7279  	// the project
  7280  	CloudLoggingConfig *GoogleCloudIntegrationsV1alphaCloudLoggingConfig `json:"cloudLoggingConfig,omitempty"`
  7281  
  7282  	// CreateTime: The timestamp when the client was first created.
  7283  	CreateTime string `json:"createTime,omitempty"`
  7284  
  7285  	// Description: Description of what the client is used for
  7286  	Description string `json:"description,omitempty"`
  7287  
  7288  	// Id: Globally unique ID (project_id + region)
  7289  	Id string `json:"id,omitempty"`
  7290  
  7291  	// P4ServiceAccount: The P4SA account associated with this client
  7292  	P4ServiceAccount string `json:"p4ServiceAccount,omitempty"`
  7293  
  7294  	// ProjectId: The GCP project id of the client associated with
  7295  	ProjectId string `json:"projectId,omitempty"`
  7296  
  7297  	// Region: The region the client is linked to.
  7298  	Region string `json:"region,omitempty"`
  7299  
  7300  	// ForceSendFields is a list of field names (e.g. "BillingType") to
  7301  	// unconditionally include in API requests. By default, fields with
  7302  	// empty or default values are omitted from API requests. However, any
  7303  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7304  	// sent to the server regardless of whether the field is empty or not.
  7305  	// This may be used to include empty fields in Patch requests.
  7306  	ForceSendFields []string `json:"-"`
  7307  
  7308  	// NullFields is a list of field names (e.g. "BillingType") to include
  7309  	// in API requests with the JSON null value. By default, fields with
  7310  	// empty values are omitted from API requests. However, any field with
  7311  	// an empty value appearing in NullFields will be sent to the server as
  7312  	// null. It is an error if a field in this list has a non-empty value.
  7313  	// This may be used to include null fields in Patch requests.
  7314  	NullFields []string `json:"-"`
  7315  }
  7316  
  7317  func (s *GoogleCloudIntegrationsV1alphaClientConfig) MarshalJSON() ([]byte, error) {
  7318  	type NoMethod GoogleCloudIntegrationsV1alphaClientConfig
  7319  	raw := NoMethod(*s)
  7320  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7321  }
  7322  
  7323  // GoogleCloudIntegrationsV1alphaCloudKmsConfig: Configuration
  7324  // information for Client's Cloud KMS information
  7325  type GoogleCloudIntegrationsV1alphaCloudKmsConfig struct {
  7326  	// Key: Required. A Cloud KMS key is a named object containing one or
  7327  	// more key versions, along with metadata for the key. A key exists on
  7328  	// exactly one key ring tied to a specific location.
  7329  	Key string `json:"key,omitempty"`
  7330  
  7331  	// KeyVersion: Optional. Each version of a key contains key material
  7332  	// used for encryption or signing. A key's version is represented by an
  7333  	// integer, starting at 1. To decrypt data or verify a signature, you
  7334  	// must use the same key version that was used to encrypt or sign the
  7335  	// data.
  7336  	KeyVersion string `json:"keyVersion,omitempty"`
  7337  
  7338  	// KmsLocation: Required. Location name of the key ring, e.g.
  7339  	// "us-west1".
  7340  	KmsLocation string `json:"kmsLocation,omitempty"`
  7341  
  7342  	// KmsRing: Required. A key ring organizes keys in a specific Google
  7343  	// Cloud location and allows you to manage access control on groups of
  7344  	// keys. A key ring's name does not need to be unique across a Google
  7345  	// Cloud project, but must be unique within a given location.
  7346  	KmsRing string `json:"kmsRing,omitempty"`
  7347  
  7348  	// ForceSendFields is a list of field names (e.g. "Key") to
  7349  	// unconditionally include in API requests. By default, fields with
  7350  	// empty or default values are omitted from API requests. However, any
  7351  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7352  	// sent to the server regardless of whether the field is empty or not.
  7353  	// This may be used to include empty fields in Patch requests.
  7354  	ForceSendFields []string `json:"-"`
  7355  
  7356  	// NullFields is a list of field names (e.g. "Key") to include in API
  7357  	// requests with the JSON null value. By default, fields with empty
  7358  	// values are omitted from API requests. However, any field with an
  7359  	// empty value appearing in NullFields will be sent to the server as
  7360  	// null. It is an error if a field in this list has a non-empty value.
  7361  	// This may be used to include null fields in Patch requests.
  7362  	NullFields []string `json:"-"`
  7363  }
  7364  
  7365  func (s *GoogleCloudIntegrationsV1alphaCloudKmsConfig) MarshalJSON() ([]byte, error) {
  7366  	type NoMethod GoogleCloudIntegrationsV1alphaCloudKmsConfig
  7367  	raw := NoMethod(*s)
  7368  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7369  }
  7370  
  7371  // GoogleCloudIntegrationsV1alphaCloudLoggingConfig: Config info for
  7372  // Cloud Logging
  7373  type GoogleCloudIntegrationsV1alphaCloudLoggingConfig struct {
  7374  	// Bucket: Cloud bucket name for the project.
  7375  	Bucket string `json:"bucket,omitempty"`
  7376  
  7377  	// EnableCloudLogging: This field determines whether the logs should be
  7378  	// sent to cloud logging api
  7379  	EnableCloudLogging bool `json:"enableCloudLogging,omitempty"`
  7380  
  7381  	// ForceSendFields is a list of field names (e.g. "Bucket") to
  7382  	// unconditionally include in API requests. By default, fields with
  7383  	// empty or default values are omitted from API requests. However, any
  7384  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7385  	// sent to the server regardless of whether the field is empty or not.
  7386  	// This may be used to include empty fields in Patch requests.
  7387  	ForceSendFields []string `json:"-"`
  7388  
  7389  	// NullFields is a list of field names (e.g. "Bucket") to include in API
  7390  	// requests with the JSON null value. By default, fields with empty
  7391  	// values are omitted from API requests. However, any field with an
  7392  	// empty value appearing in NullFields will be sent to the server as
  7393  	// null. It is an error if a field in this list has a non-empty value.
  7394  	// This may be used to include null fields in Patch requests.
  7395  	NullFields []string `json:"-"`
  7396  }
  7397  
  7398  func (s *GoogleCloudIntegrationsV1alphaCloudLoggingConfig) MarshalJSON() ([]byte, error) {
  7399  	type NoMethod GoogleCloudIntegrationsV1alphaCloudLoggingConfig
  7400  	raw := NoMethod(*s)
  7401  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7402  }
  7403  
  7404  // GoogleCloudIntegrationsV1alphaCloudSchedulerConfig: Cloud Scheduler
  7405  // Trigger configuration
  7406  type GoogleCloudIntegrationsV1alphaCloudSchedulerConfig struct {
  7407  	// CronTab: Required. The cron tab of cloud scheduler trigger.
  7408  	CronTab string `json:"cronTab,omitempty"`
  7409  
  7410  	// ErrorMessage: Optional. When the job was deleted from Pantheon UI,
  7411  	// error_message will be populated when Get/List integrations
  7412  	ErrorMessage string `json:"errorMessage,omitempty"`
  7413  
  7414  	// Location: Required. The location where associated cloud scheduler job
  7415  	// will be created
  7416  	Location string `json:"location,omitempty"`
  7417  
  7418  	// ServiceAccountEmail: Required. Service account used by Cloud
  7419  	// Scheduler to trigger the integration at scheduled time
  7420  	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
  7421  
  7422  	// ForceSendFields is a list of field names (e.g. "CronTab") to
  7423  	// unconditionally include in API requests. By default, fields with
  7424  	// empty or default values are omitted from API requests. However, any
  7425  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7426  	// sent to the server regardless of whether the field is empty or not.
  7427  	// This may be used to include empty fields in Patch requests.
  7428  	ForceSendFields []string `json:"-"`
  7429  
  7430  	// NullFields is a list of field names (e.g. "CronTab") to include in
  7431  	// API requests with the JSON null value. By default, fields with empty
  7432  	// values are omitted from API requests. However, any field with an
  7433  	// empty value appearing in NullFields will be sent to the server as
  7434  	// null. It is an error if a field in this list has a non-empty value.
  7435  	// This may be used to include null fields in Patch requests.
  7436  	NullFields []string `json:"-"`
  7437  }
  7438  
  7439  func (s *GoogleCloudIntegrationsV1alphaCloudSchedulerConfig) MarshalJSON() ([]byte, error) {
  7440  	type NoMethod GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
  7441  	raw := NoMethod(*s)
  7442  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7443  }
  7444  
  7445  // GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata: Metadata of
  7446  // runtime connection schema.
  7447  type GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata struct {
  7448  	// Actions: List of actions.
  7449  	Actions []string `json:"actions,omitempty"`
  7450  
  7451  	// Entities: List of entity names.
  7452  	Entities []string `json:"entities,omitempty"`
  7453  
  7454  	// ServerResponse contains the HTTP response code and headers from the
  7455  	// server.
  7456  	googleapi.ServerResponse `json:"-"`
  7457  
  7458  	// ForceSendFields is a list of field names (e.g. "Actions") to
  7459  	// unconditionally include in API requests. By default, fields with
  7460  	// empty or default values are omitted from API requests. However, any
  7461  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7462  	// sent to the server regardless of whether the field is empty or not.
  7463  	// This may be used to include empty fields in Patch requests.
  7464  	ForceSendFields []string `json:"-"`
  7465  
  7466  	// NullFields is a list of field names (e.g. "Actions") to include in
  7467  	// API requests with the JSON null value. By default, fields with empty
  7468  	// values are omitted from API requests. However, any field with an
  7469  	// empty value appearing in NullFields will be sent to the server as
  7470  	// null. It is an error if a field in this list has a non-empty value.
  7471  	// This may be used to include null fields in Patch requests.
  7472  	NullFields []string `json:"-"`
  7473  }
  7474  
  7475  func (s *GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata) MarshalJSON() ([]byte, error) {
  7476  	type NoMethod GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata
  7477  	raw := NoMethod(*s)
  7478  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7479  }
  7480  
  7481  // GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest: Request
  7482  // for CreateAppsScriptProject rpc call.
  7483  type GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest struct {
  7484  	// AppsScriptProject: The name of the Apps Script project to be created.
  7485  	AppsScriptProject string `json:"appsScriptProject,omitempty"`
  7486  
  7487  	// AuthConfigId: The auth config id necessary to fetch the necessary
  7488  	// credentials to create the project for external clients
  7489  	AuthConfigId string `json:"authConfigId,omitempty"`
  7490  
  7491  	// ForceSendFields is a list of field names (e.g. "AppsScriptProject")
  7492  	// to unconditionally include in API requests. By default, fields with
  7493  	// empty or default values are omitted from API requests. However, any
  7494  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7495  	// sent to the server regardless of whether the field is empty or not.
  7496  	// This may be used to include empty fields in Patch requests.
  7497  	ForceSendFields []string `json:"-"`
  7498  
  7499  	// NullFields is a list of field names (e.g. "AppsScriptProject") to
  7500  	// include in API requests with the JSON null value. By default, fields
  7501  	// with empty values are omitted from API requests. However, any field
  7502  	// with an empty value appearing in NullFields will be sent to the
  7503  	// server as null. It is an error if a field in this list has a
  7504  	// non-empty value. This may be used to include null fields in Patch
  7505  	// requests.
  7506  	NullFields []string `json:"-"`
  7507  }
  7508  
  7509  func (s *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest) MarshalJSON() ([]byte, error) {
  7510  	type NoMethod GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest
  7511  	raw := NoMethod(*s)
  7512  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7513  }
  7514  
  7515  // GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse:
  7516  // Response for CreateAppsScriptProject rpc call.
  7517  type GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse struct {
  7518  	// ProjectId: The created AppsScriptProject ID.
  7519  	ProjectId string `json:"projectId,omitempty"`
  7520  
  7521  	// ServerResponse contains the HTTP response code and headers from the
  7522  	// server.
  7523  	googleapi.ServerResponse `json:"-"`
  7524  
  7525  	// ForceSendFields is a list of field names (e.g. "ProjectId") to
  7526  	// unconditionally include in API requests. By default, fields with
  7527  	// empty or default values are omitted from API requests. However, any
  7528  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7529  	// sent to the server regardless of whether the field is empty or not.
  7530  	// This may be used to include empty fields in Patch requests.
  7531  	ForceSendFields []string `json:"-"`
  7532  
  7533  	// NullFields is a list of field names (e.g. "ProjectId") to include in
  7534  	// API requests with the JSON null value. By default, fields with empty
  7535  	// values are omitted from API requests. However, any field with an
  7536  	// empty value appearing in NullFields will be sent to the server as
  7537  	// null. It is an error if a field in this list has a non-empty value.
  7538  	// This may be used to include null fields in Patch requests.
  7539  	NullFields []string `json:"-"`
  7540  }
  7541  
  7542  func (s *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse) MarshalJSON() ([]byte, error) {
  7543  	type NoMethod GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse
  7544  	raw := NoMethod(*s)
  7545  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7546  }
  7547  
  7548  // GoogleCloudIntegrationsV1alphaCreateBundleRequest: PROTECT WITH A
  7549  // VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE.
  7550  // Request to create a new Bundle.
  7551  type GoogleCloudIntegrationsV1alphaCreateBundleRequest struct {
  7552  	// BundleId: Required. name of the bundle that will be created
  7553  	BundleId string `json:"bundleId,omitempty"`
  7554  
  7555  	// Integrations: A list of integrations that can be executed by the
  7556  	// bundle
  7557  	Integrations []string `json:"integrations,omitempty"`
  7558  
  7559  	// SecondaryCustomerOrgId: Optional. The prefix for the SA, it should be
  7560  	// in the format "o". This is an optional field, and if empty service
  7561  	// account will be created per project, where we are creating bundle.
  7562  	// This should only be used as the org ID for which we want to run the
  7563  	// integrations in the bundle.
  7564  	SecondaryCustomerOrgId string `json:"secondaryCustomerOrgId,omitempty"`
  7565  
  7566  	// ForceSendFields is a list of field names (e.g. "BundleId") to
  7567  	// unconditionally include in API requests. By default, fields with
  7568  	// empty or default values are omitted from API requests. However, any
  7569  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7570  	// sent to the server regardless of whether the field is empty or not.
  7571  	// This may be used to include empty fields in Patch requests.
  7572  	ForceSendFields []string `json:"-"`
  7573  
  7574  	// NullFields is a list of field names (e.g. "BundleId") to include in
  7575  	// API requests with the JSON null value. By default, fields with empty
  7576  	// values are omitted from API requests. However, any field with an
  7577  	// empty value appearing in NullFields will be sent to the server as
  7578  	// null. It is an error if a field in this list has a non-empty value.
  7579  	// This may be used to include null fields in Patch requests.
  7580  	NullFields []string `json:"-"`
  7581  }
  7582  
  7583  func (s *GoogleCloudIntegrationsV1alphaCreateBundleRequest) MarshalJSON() ([]byte, error) {
  7584  	type NoMethod GoogleCloudIntegrationsV1alphaCreateBundleRequest
  7585  	raw := NoMethod(*s)
  7586  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7587  }
  7588  
  7589  // GoogleCloudIntegrationsV1alphaCreateBundleResponse: Response for
  7590  // create bundle.
  7591  type GoogleCloudIntegrationsV1alphaCreateBundleResponse struct {
  7592  	// Config: It contains the bundle data
  7593  	Config *GoogleCloudIntegrationsV1alphaIntegrationBundleConfig `json:"config,omitempty"`
  7594  
  7595  	// TriggerId: trigger_id of the bundle task
  7596  	TriggerId string `json:"triggerId,omitempty"`
  7597  
  7598  	// ServerResponse contains the HTTP response code and headers from the
  7599  	// server.
  7600  	googleapi.ServerResponse `json:"-"`
  7601  
  7602  	// ForceSendFields is a list of field names (e.g. "Config") to
  7603  	// unconditionally include in API requests. By default, fields with
  7604  	// empty or default values are omitted from API requests. However, any
  7605  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7606  	// sent to the server regardless of whether the field is empty or not.
  7607  	// This may be used to include empty fields in Patch requests.
  7608  	ForceSendFields []string `json:"-"`
  7609  
  7610  	// NullFields is a list of field names (e.g. "Config") to include in API
  7611  	// requests with the JSON null value. By default, fields with empty
  7612  	// values are omitted from API requests. However, any field with an
  7613  	// empty value appearing in NullFields will be sent to the server as
  7614  	// null. It is an error if a field in this list has a non-empty value.
  7615  	// This may be used to include null fields in Patch requests.
  7616  	NullFields []string `json:"-"`
  7617  }
  7618  
  7619  func (s *GoogleCloudIntegrationsV1alphaCreateBundleResponse) MarshalJSON() ([]byte, error) {
  7620  	type NoMethod GoogleCloudIntegrationsV1alphaCreateBundleResponse
  7621  	raw := NoMethod(*s)
  7622  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7623  }
  7624  
  7625  // GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest: Request for
  7626  // Creating Cloud Function rpc call.
  7627  type GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest struct {
  7628  	// FunctionName: The function name of CF to be created
  7629  	FunctionName string `json:"functionName,omitempty"`
  7630  
  7631  	// FunctionRegion: The function region of CF to be created
  7632  	FunctionRegion string `json:"functionRegion,omitempty"`
  7633  
  7634  	// ProjectId: Indicates the id of the GCP project that the function will
  7635  	// be created in.
  7636  	ProjectId string `json:"projectId,omitempty"`
  7637  
  7638  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  7639  	// unconditionally include in API requests. By default, fields with
  7640  	// empty or default values are omitted from API requests. However, any
  7641  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7642  	// sent to the server regardless of whether the field is empty or not.
  7643  	// This may be used to include empty fields in Patch requests.
  7644  	ForceSendFields []string `json:"-"`
  7645  
  7646  	// NullFields is a list of field names (e.g. "FunctionName") to include
  7647  	// in API requests with the JSON null value. By default, fields with
  7648  	// empty values are omitted from API requests. However, any field with
  7649  	// an empty value appearing in NullFields will be sent to the server as
  7650  	// null. It is an error if a field in this list has a non-empty value.
  7651  	// This may be used to include null fields in Patch requests.
  7652  	NullFields []string `json:"-"`
  7653  }
  7654  
  7655  func (s *GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest) MarshalJSON() ([]byte, error) {
  7656  	type NoMethod GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
  7657  	raw := NoMethod(*s)
  7658  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7659  }
  7660  
  7661  // GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse: Response
  7662  // for Creating Cloud Function rpc call.
  7663  type GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse struct {
  7664  	// TriggerUrl: The trigger url that will be returned
  7665  	TriggerUrl string `json:"triggerUrl,omitempty"`
  7666  
  7667  	// ServerResponse contains the HTTP response code and headers from the
  7668  	// server.
  7669  	googleapi.ServerResponse `json:"-"`
  7670  
  7671  	// ForceSendFields is a list of field names (e.g. "TriggerUrl") to
  7672  	// unconditionally include in API requests. By default, fields with
  7673  	// empty or default values are omitted from API requests. However, any
  7674  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7675  	// sent to the server regardless of whether the field is empty or not.
  7676  	// This may be used to include empty fields in Patch requests.
  7677  	ForceSendFields []string `json:"-"`
  7678  
  7679  	// NullFields is a list of field names (e.g. "TriggerUrl") to include in
  7680  	// API requests with the JSON null value. By default, fields with empty
  7681  	// values are omitted from API requests. However, any field with an
  7682  	// empty value appearing in NullFields will be sent to the server as
  7683  	// null. It is an error if a field in this list has a non-empty value.
  7684  	// This may be used to include null fields in Patch requests.
  7685  	NullFields []string `json:"-"`
  7686  }
  7687  
  7688  func (s *GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse) MarshalJSON() ([]byte, error) {
  7689  	type NoMethod GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse
  7690  	raw := NoMethod(*s)
  7691  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7692  }
  7693  
  7694  // GoogleCloudIntegrationsV1alphaCredential: Defines parameters for a
  7695  // single, canonical credential.
  7696  type GoogleCloudIntegrationsV1alphaCredential struct {
  7697  	// AuthToken: Auth token credential
  7698  	AuthToken *GoogleCloudIntegrationsV1alphaAuthToken `json:"authToken,omitempty"`
  7699  
  7700  	// CredentialType: Credential type associated with auth config.
  7701  	//
  7702  	// Possible values:
  7703  	//   "CREDENTIAL_TYPE_UNSPECIFIED" - Unspecified credential type
  7704  	//   "USERNAME_AND_PASSWORD" - Regular username/password pair.
  7705  	//   "API_KEY" - API key.
  7706  	//   "OAUTH2_AUTHORIZATION_CODE" - OAuth 2.0 Authorization Code Grant
  7707  	// Type.
  7708  	//   "OAUTH2_IMPLICIT" - OAuth 2.0 Implicit Grant Type.
  7709  	//   "OAUTH2_CLIENT_CREDENTIALS" - OAuth 2.0 Client Credentials Grant
  7710  	// Type.
  7711  	//   "OAUTH2_RESOURCE_OWNER_CREDENTIALS" - OAuth 2.0 Resource Owner
  7712  	// Credentials Grant Type.
  7713  	//   "JWT" - JWT Token.
  7714  	//   "AUTH_TOKEN" - Auth Token, e.g. bearer token.
  7715  	//   "SERVICE_ACCOUNT" - Service Account which can be used to generate
  7716  	// token for authentication.
  7717  	//   "CLIENT_CERTIFICATE_ONLY" - Client Certificate only.
  7718  	//   "OIDC_TOKEN" - Google OIDC ID Token
  7719  	CredentialType string `json:"credentialType,omitempty"`
  7720  
  7721  	// Jwt: JWT credential
  7722  	Jwt *GoogleCloudIntegrationsV1alphaJwt `json:"jwt,omitempty"`
  7723  
  7724  	// Oauth2AuthorizationCode: The api_key and oauth2_implicit are not
  7725  	// covered in v1 and will be picked up once v1 is implemented. ApiKey
  7726  	// api_key = 3; OAuth2 authorization code credential
  7727  	Oauth2AuthorizationCode *GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode `json:"oauth2AuthorizationCode,omitempty"`
  7728  
  7729  	// Oauth2ClientCredentials: OAuth2Implicit oauth2_implicit = 5; OAuth2
  7730  	// client credentials
  7731  	Oauth2ClientCredentials *GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials `json:"oauth2ClientCredentials,omitempty"`
  7732  
  7733  	// Oauth2ResourceOwnerCredentials: OAuth2 resource owner credentials
  7734  	Oauth2ResourceOwnerCredentials *GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials `json:"oauth2ResourceOwnerCredentials,omitempty"`
  7735  
  7736  	// OidcToken: Google OIDC ID Token
  7737  	OidcToken *GoogleCloudIntegrationsV1alphaOidcToken `json:"oidcToken,omitempty"`
  7738  
  7739  	// ServiceAccountCredentials: Service account credential
  7740  	ServiceAccountCredentials *GoogleCloudIntegrationsV1alphaServiceAccountCredentials `json:"serviceAccountCredentials,omitempty"`
  7741  
  7742  	// UsernameAndPassword: Username and password credential
  7743  	UsernameAndPassword *GoogleCloudIntegrationsV1alphaUsernameAndPassword `json:"usernameAndPassword,omitempty"`
  7744  
  7745  	// ForceSendFields is a list of field names (e.g. "AuthToken") to
  7746  	// unconditionally include in API requests. By default, fields with
  7747  	// empty or default values are omitted from API requests. However, any
  7748  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7749  	// sent to the server regardless of whether the field is empty or not.
  7750  	// This may be used to include empty fields in Patch requests.
  7751  	ForceSendFields []string `json:"-"`
  7752  
  7753  	// NullFields is a list of field names (e.g. "AuthToken") to include in
  7754  	// API requests with the JSON null value. By default, fields with empty
  7755  	// values are omitted from API requests. However, any field with an
  7756  	// empty value appearing in NullFields will be sent to the server as
  7757  	// null. It is an error if a field in this list has a non-empty value.
  7758  	// This may be used to include null fields in Patch requests.
  7759  	NullFields []string `json:"-"`
  7760  }
  7761  
  7762  func (s *GoogleCloudIntegrationsV1alphaCredential) MarshalJSON() ([]byte, error) {
  7763  	type NoMethod GoogleCloudIntegrationsV1alphaCredential
  7764  	raw := NoMethod(*s)
  7765  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7766  }
  7767  
  7768  // GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest:
  7769  // Request for DeactivateIntegrationVersion.
  7770  type GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest struct {
  7771  }
  7772  
  7773  // GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse:
  7774  // Response for DeactivateIntegrationVersion.
  7775  type GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse struct {
  7776  	// ServerResponse contains the HTTP response code and headers from the
  7777  	// server.
  7778  	googleapi.ServerResponse `json:"-"`
  7779  }
  7780  
  7781  // GoogleCloudIntegrationsV1alphaDeprovisionClientRequest: Request for
  7782  // the Deprovision rpc
  7783  type GoogleCloudIntegrationsV1alphaDeprovisionClientRequest struct {
  7784  }
  7785  
  7786  // GoogleCloudIntegrationsV1alphaDoubleParameterArray: This message only
  7787  // contains a field of double number array.
  7788  type GoogleCloudIntegrationsV1alphaDoubleParameterArray struct {
  7789  	// DoubleValues: Double number array.
  7790  	DoubleValues []float64 `json:"doubleValues,omitempty"`
  7791  
  7792  	// ForceSendFields is a list of field names (e.g. "DoubleValues") to
  7793  	// unconditionally include in API requests. By default, fields with
  7794  	// empty or default values are omitted from API requests. However, any
  7795  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7796  	// sent to the server regardless of whether the field is empty or not.
  7797  	// This may be used to include empty fields in Patch requests.
  7798  	ForceSendFields []string `json:"-"`
  7799  
  7800  	// NullFields is a list of field names (e.g. "DoubleValues") to include
  7801  	// in API requests with the JSON null value. By default, fields with
  7802  	// empty values are omitted from API requests. However, any field with
  7803  	// an empty value appearing in NullFields will be sent to the server as
  7804  	// null. It is an error if a field in this list has a non-empty value.
  7805  	// This may be used to include null fields in Patch requests.
  7806  	NullFields []string `json:"-"`
  7807  }
  7808  
  7809  func (s *GoogleCloudIntegrationsV1alphaDoubleParameterArray) MarshalJSON() ([]byte, error) {
  7810  	type NoMethod GoogleCloudIntegrationsV1alphaDoubleParameterArray
  7811  	raw := NoMethod(*s)
  7812  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7813  }
  7814  
  7815  // GoogleCloudIntegrationsV1alphaDownloadExecutionResponse: Response for
  7816  // downloading an execution.
  7817  type GoogleCloudIntegrationsV1alphaDownloadExecutionResponse struct {
  7818  	// Content: The content of downloaded execution.
  7819  	Content string `json:"content,omitempty"`
  7820  
  7821  	// ServerResponse contains the HTTP response code and headers from the
  7822  	// server.
  7823  	googleapi.ServerResponse `json:"-"`
  7824  
  7825  	// ForceSendFields is a list of field names (e.g. "Content") to
  7826  	// unconditionally include in API requests. By default, fields with
  7827  	// empty or default values are omitted from API requests. However, any
  7828  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7829  	// sent to the server regardless of whether the field is empty or not.
  7830  	// This may be used to include empty fields in Patch requests.
  7831  	ForceSendFields []string `json:"-"`
  7832  
  7833  	// NullFields is a list of field names (e.g. "Content") to include in
  7834  	// API requests with the JSON null value. By default, fields with empty
  7835  	// values are omitted from API requests. However, any field with an
  7836  	// empty value appearing in NullFields will be sent to the server as
  7837  	// null. It is an error if a field in this list has a non-empty value.
  7838  	// This may be used to include null fields in Patch requests.
  7839  	NullFields []string `json:"-"`
  7840  }
  7841  
  7842  func (s *GoogleCloudIntegrationsV1alphaDownloadExecutionResponse) MarshalJSON() ([]byte, error) {
  7843  	type NoMethod GoogleCloudIntegrationsV1alphaDownloadExecutionResponse
  7844  	raw := NoMethod(*s)
  7845  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7846  }
  7847  
  7848  // GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse:
  7849  // Response for DownloadIntegrationVersion.
  7850  type GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse struct {
  7851  	// Content: String representation of the integration version.
  7852  	Content string `json:"content,omitempty"`
  7853  
  7854  	// ServerResponse contains the HTTP response code and headers from the
  7855  	// server.
  7856  	googleapi.ServerResponse `json:"-"`
  7857  
  7858  	// ForceSendFields is a list of field names (e.g. "Content") to
  7859  	// unconditionally include in API requests. By default, fields with
  7860  	// empty or default values are omitted from API requests. However, any
  7861  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7862  	// sent to the server regardless of whether the field is empty or not.
  7863  	// This may be used to include empty fields in Patch requests.
  7864  	ForceSendFields []string `json:"-"`
  7865  
  7866  	// NullFields is a list of field names (e.g. "Content") to include in
  7867  	// API requests with the JSON null value. By default, fields with empty
  7868  	// values are omitted from API requests. However, any field with an
  7869  	// empty value appearing in NullFields will be sent to the server as
  7870  	// null. It is an error if a field in this list has a non-empty value.
  7871  	// This may be used to include null fields in Patch requests.
  7872  	NullFields []string `json:"-"`
  7873  }
  7874  
  7875  func (s *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse) MarshalJSON() ([]byte, error) {
  7876  	type NoMethod GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
  7877  	raw := NoMethod(*s)
  7878  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7879  }
  7880  
  7881  // GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespons
  7882  // e: Response containing all provisioned regions for Connector
  7883  // Platform.
  7884  type GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse struct {
  7885  	// Regions: All regions where Connector Platform is provisioned.
  7886  	Regions []string `json:"regions,omitempty"`
  7887  
  7888  	// ServerResponse contains the HTTP response code and headers from the
  7889  	// server.
  7890  	googleapi.ServerResponse `json:"-"`
  7891  
  7892  	// ForceSendFields is a list of field names (e.g. "Regions") to
  7893  	// unconditionally include in API requests. By default, fields with
  7894  	// empty or default values are omitted from API requests. However, any
  7895  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7896  	// sent to the server regardless of whether the field is empty or not.
  7897  	// This may be used to include empty fields in Patch requests.
  7898  	ForceSendFields []string `json:"-"`
  7899  
  7900  	// NullFields is a list of field names (e.g. "Regions") to include in
  7901  	// API requests with the JSON null value. By default, fields with empty
  7902  	// values are omitted from API requests. However, any field with an
  7903  	// empty value appearing in NullFields will be sent to the server as
  7904  	// null. It is an error if a field in this list has a non-empty value.
  7905  	// This may be used to include null fields in Patch requests.
  7906  	NullFields []string `json:"-"`
  7907  }
  7908  
  7909  func (s *GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse) MarshalJSON() ([]byte, error) {
  7910  	type NoMethod GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse
  7911  	raw := NoMethod(*s)
  7912  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7913  }
  7914  
  7915  // GoogleCloudIntegrationsV1alphaEventParameter: This message is used
  7916  // for processing and persisting (when applicable) key value pair
  7917  // parameters for each event in the event bus.
  7918  type GoogleCloudIntegrationsV1alphaEventParameter struct {
  7919  	// Key: Key is used to retrieve the corresponding parameter value. This
  7920  	// should be unique for a given fired event. These parameters must be
  7921  	// predefined in the integration definition.
  7922  	Key string `json:"key,omitempty"`
  7923  
  7924  	// Value: Values for the defined keys. Each value can either be string,
  7925  	// int, double or any proto message.
  7926  	Value *GoogleCloudIntegrationsV1alphaValueType `json:"value,omitempty"`
  7927  
  7928  	// ForceSendFields is a list of field names (e.g. "Key") to
  7929  	// unconditionally include in API requests. By default, fields with
  7930  	// empty or default values are omitted from API requests. However, any
  7931  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7932  	// sent to the server regardless of whether the field is empty or not.
  7933  	// This may be used to include empty fields in Patch requests.
  7934  	ForceSendFields []string `json:"-"`
  7935  
  7936  	// NullFields is a list of field names (e.g. "Key") to include in API
  7937  	// requests with the JSON null value. By default, fields with empty
  7938  	// values are omitted from API requests. However, any field with an
  7939  	// empty value appearing in NullFields will be sent to the server as
  7940  	// null. It is an error if a field in this list has a non-empty value.
  7941  	// This may be used to include null fields in Patch requests.
  7942  	NullFields []string `json:"-"`
  7943  }
  7944  
  7945  func (s *GoogleCloudIntegrationsV1alphaEventParameter) MarshalJSON() ([]byte, error) {
  7946  	type NoMethod GoogleCloudIntegrationsV1alphaEventParameter
  7947  	raw := NoMethod(*s)
  7948  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7949  }
  7950  
  7951  // GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest: The request
  7952  // for executing an integration.
  7953  type GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest struct {
  7954  	// DoNotPropagateError: Optional. Flag to determine how to should
  7955  	// propagate errors. If this flag is set to be true, it will not throw
  7956  	// an exception. Instead, it will return a {@link
  7957  	// ExecuteIntegrationsResponse} with an execution id and error messages
  7958  	// as PostWithTriggerIdExecutionException in {@link EventParameters}.
  7959  	// The flag is set to be false by default.
  7960  	DoNotPropagateError bool `json:"doNotPropagateError,omitempty"`
  7961  
  7962  	// ExecutionId: Optional. The id of the ON_HOLD execution to be resumed.
  7963  	ExecutionId string `json:"executionId,omitempty"`
  7964  
  7965  	// InputParameters: Optional. Input parameters used by integration
  7966  	// execution.
  7967  	InputParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"inputParameters,omitempty"`
  7968  
  7969  	// ParameterEntries: Optional. Parameters are a part of Event and can be
  7970  	// used to communicate between different tasks that are part of the same
  7971  	// integration execution.
  7972  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
  7973  
  7974  	// Parameters: Optional. Passed in as parameters to each integration
  7975  	// execution. Redacted
  7976  	Parameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"parameters,omitempty"`
  7977  
  7978  	// RequestId: Optional. This is used to de-dup incoming request: if the
  7979  	// duplicate request was detected, the response from the previous
  7980  	// execution is returned.
  7981  	RequestId string `json:"requestId,omitempty"`
  7982  
  7983  	// TriggerId: Required. Matched against all {@link TriggerConfig}s
  7984  	// across all integrations. i.e.
  7985  	// TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the
  7986  	// format of `api_trigger/TRIGGER_NAME`.
  7987  	TriggerId string `json:"triggerId,omitempty"`
  7988  
  7989  	// ForceSendFields is a list of field names (e.g. "DoNotPropagateError")
  7990  	// to unconditionally include in API requests. By default, fields with
  7991  	// empty or default values are omitted from API requests. However, any
  7992  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7993  	// sent to the server regardless of whether the field is empty or not.
  7994  	// This may be used to include empty fields in Patch requests.
  7995  	ForceSendFields []string `json:"-"`
  7996  
  7997  	// NullFields is a list of field names (e.g. "DoNotPropagateError") to
  7998  	// include in API requests with the JSON null value. By default, fields
  7999  	// with empty values are omitted from API requests. However, any field
  8000  	// with an empty value appearing in NullFields will be sent to the
  8001  	// server as null. It is an error if a field in this list has a
  8002  	// non-empty value. This may be used to include null fields in Patch
  8003  	// requests.
  8004  	NullFields []string `json:"-"`
  8005  }
  8006  
  8007  func (s *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) MarshalJSON() ([]byte, error) {
  8008  	type NoMethod GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest
  8009  	raw := NoMethod(*s)
  8010  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8011  }
  8012  
  8013  // GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse: The
  8014  // response for executing an integration.
  8015  type GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse struct {
  8016  	// EventParameters: Details for the integration that were executed.
  8017  	EventParameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"eventParameters,omitempty"`
  8018  
  8019  	// ExecutionFailed: Is true if any execution in the integration failed.
  8020  	// False otherwise.
  8021  	ExecutionFailed bool `json:"executionFailed,omitempty"`
  8022  
  8023  	// ExecutionId: The id of the execution corresponding to this run of
  8024  	// integration.
  8025  	ExecutionId string `json:"executionId,omitempty"`
  8026  
  8027  	// OutputParameters: OUTPUT parameters in format of Map. Where Key is
  8028  	// the name of the parameter. Note: Name of the system generated
  8029  	// parameters are wrapped by backtick(`) to distinguish them from the
  8030  	// user defined parameters.
  8031  	OutputParameters googleapi.RawMessage `json:"outputParameters,omitempty"`
  8032  
  8033  	// ParameterEntries: Parameters are a part of Event and can be used to
  8034  	// communicate between different tasks that are part of the same
  8035  	// integration execution.
  8036  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
  8037  
  8038  	// ServerResponse contains the HTTP response code and headers from the
  8039  	// server.
  8040  	googleapi.ServerResponse `json:"-"`
  8041  
  8042  	// ForceSendFields is a list of field names (e.g. "EventParameters") to
  8043  	// unconditionally include in API requests. By default, fields with
  8044  	// empty or default values are omitted from API requests. However, any
  8045  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8046  	// sent to the server regardless of whether the field is empty or not.
  8047  	// This may be used to include empty fields in Patch requests.
  8048  	ForceSendFields []string `json:"-"`
  8049  
  8050  	// NullFields is a list of field names (e.g. "EventParameters") to
  8051  	// include in API requests with the JSON null value. By default, fields
  8052  	// with empty values are omitted from API requests. However, any field
  8053  	// with an empty value appearing in NullFields will be sent to the
  8054  	// server as null. It is an error if a field in this list has a
  8055  	// non-empty value. This may be used to include null fields in Patch
  8056  	// requests.
  8057  	NullFields []string `json:"-"`
  8058  }
  8059  
  8060  func (s *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse) MarshalJSON() ([]byte, error) {
  8061  	type NoMethod GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse
  8062  	raw := NoMethod(*s)
  8063  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8064  }
  8065  
  8066  // GoogleCloudIntegrationsV1alphaExecution: The Execution resource
  8067  // contains detailed information of an individual integration execution.
  8068  type GoogleCloudIntegrationsV1alphaExecution struct {
  8069  	// CreateTime: Output only. Created time of the execution.
  8070  	CreateTime string `json:"createTime,omitempty"`
  8071  
  8072  	// DirectSubExecutions: Direct sub executions of the following
  8073  	// Execution.
  8074  	DirectSubExecutions []*GoogleCloudIntegrationsV1alphaExecution `json:"directSubExecutions,omitempty"`
  8075  
  8076  	// EventExecutionDetails: The execution info about this event.
  8077  	EventExecutionDetails *EnterpriseCrmEventbusProtoEventExecutionDetails `json:"eventExecutionDetails,omitempty"`
  8078  
  8079  	// ExecutionDetails: Detailed info of this execution.
  8080  	ExecutionDetails *GoogleCloudIntegrationsV1alphaExecutionDetails `json:"executionDetails,omitempty"`
  8081  
  8082  	// ExecutionMethod: The ways user posts this event.
  8083  	//
  8084  	// Possible values:
  8085  	//   "EXECUTION_METHOD_UNSPECIFIED" - Default value.
  8086  	//   "POST" - Sync post.
  8087  	//   "POST_TO_QUEUE" - Async post.
  8088  	//   "SCHEDULE" - Async post with schedule time.
  8089  	ExecutionMethod string `json:"executionMethod,omitempty"`
  8090  
  8091  	// Name: Auto-generated primary key.
  8092  	Name string `json:"name,omitempty"`
  8093  
  8094  	// RequestParameters: Event parameters come in as part of the request.
  8095  	RequestParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"requestParameters,omitempty"`
  8096  
  8097  	// RequestParams: Event parameters come in as part of the request.
  8098  	RequestParams []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"requestParams,omitempty"`
  8099  
  8100  	// ResponseParameters: Event parameters returned as part of the
  8101  	// response.
  8102  	ResponseParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"responseParameters,omitempty"`
  8103  
  8104  	// ResponseParams: Event parameters come out as part of the response.
  8105  	ResponseParams []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"responseParams,omitempty"`
  8106  
  8107  	// TriggerId: The trigger id of the integration trigger config. If both
  8108  	// trigger_id and client_id is present, the integration is executed from
  8109  	// the start tasks provided by the matching trigger config otherwise it
  8110  	// is executed from the default start tasks.
  8111  	TriggerId string `json:"triggerId,omitempty"`
  8112  
  8113  	// UpdateTime: Output only. Last modified time of the execution.
  8114  	UpdateTime string `json:"updateTime,omitempty"`
  8115  
  8116  	// ServerResponse contains the HTTP response code and headers from the
  8117  	// server.
  8118  	googleapi.ServerResponse `json:"-"`
  8119  
  8120  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  8121  	// unconditionally include in API requests. By default, fields with
  8122  	// empty or default values are omitted from API requests. However, any
  8123  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8124  	// sent to the server regardless of whether the field is empty or not.
  8125  	// This may be used to include empty fields in Patch requests.
  8126  	ForceSendFields []string `json:"-"`
  8127  
  8128  	// NullFields is a list of field names (e.g. "CreateTime") to include in
  8129  	// API requests with the JSON null value. By default, fields with empty
  8130  	// values are omitted from API requests. However, any field with an
  8131  	// empty value appearing in NullFields will be sent to the server as
  8132  	// null. It is an error if a field in this list has a non-empty value.
  8133  	// This may be used to include null fields in Patch requests.
  8134  	NullFields []string `json:"-"`
  8135  }
  8136  
  8137  func (s *GoogleCloudIntegrationsV1alphaExecution) MarshalJSON() ([]byte, error) {
  8138  	type NoMethod GoogleCloudIntegrationsV1alphaExecution
  8139  	raw := NoMethod(*s)
  8140  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8141  }
  8142  
  8143  // GoogleCloudIntegrationsV1alphaExecutionDetails: Contains the details
  8144  // of the execution info: this includes the tasks execution details plus
  8145  // the event execution statistics.
  8146  type GoogleCloudIntegrationsV1alphaExecutionDetails struct {
  8147  	// AttemptStats: List of Start and end time of the execution attempts.
  8148  	AttemptStats []*GoogleCloudIntegrationsV1alphaAttemptStats `json:"attemptStats,omitempty"`
  8149  
  8150  	// ExecutionSnapshots: List of snapshots taken during the execution.
  8151  	ExecutionSnapshots []*GoogleCloudIntegrationsV1alphaExecutionSnapshot `json:"executionSnapshots,omitempty"`
  8152  
  8153  	// State: Status of the execution.
  8154  	//
  8155  	// Possible values:
  8156  	//   "STATE_UNSPECIFIED" - Default.
  8157  	//   "PENDING" - Execution is scheduled and awaiting to be triggered.
  8158  	//   "PROCESSING" - Execution is processing.
  8159  	//   "SUCCEEDED" - Execution successfully finished. There's no more
  8160  	// change after this state.
  8161  	//   "FAILED" - Execution failed. There's no more change after this
  8162  	// state.
  8163  	//   "CANCELLED" - Execution canceled by user. There's no more change
  8164  	// after this state.
  8165  	//   "RETRY_ON_HOLD" - Execution failed and waiting for retry.
  8166  	//   "SUSPENDED" - Execution suspended and waiting for manual
  8167  	// intervention.
  8168  	State string `json:"state,omitempty"`
  8169  
  8170  	// ForceSendFields is a list of field names (e.g. "AttemptStats") to
  8171  	// unconditionally include in API requests. By default, fields with
  8172  	// empty or default values are omitted from API requests. However, any
  8173  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8174  	// sent to the server regardless of whether the field is empty or not.
  8175  	// This may be used to include empty fields in Patch requests.
  8176  	ForceSendFields []string `json:"-"`
  8177  
  8178  	// NullFields is a list of field names (e.g. "AttemptStats") to include
  8179  	// in API requests with the JSON null value. By default, fields with
  8180  	// empty values are omitted from API requests. However, any field with
  8181  	// an empty value appearing in NullFields will be sent to the server as
  8182  	// null. It is an error if a field in this list has a non-empty value.
  8183  	// This may be used to include null fields in Patch requests.
  8184  	NullFields []string `json:"-"`
  8185  }
  8186  
  8187  func (s *GoogleCloudIntegrationsV1alphaExecutionDetails) MarshalJSON() ([]byte, error) {
  8188  	type NoMethod GoogleCloudIntegrationsV1alphaExecutionDetails
  8189  	raw := NoMethod(*s)
  8190  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8191  }
  8192  
  8193  // GoogleCloudIntegrationsV1alphaExecutionSnapshot: Contains the
  8194  // snapshot of the execution for a given checkpoint.
  8195  type GoogleCloudIntegrationsV1alphaExecutionSnapshot struct {
  8196  	// CheckpointTaskNumber: Indicates "after which checkpoint task's
  8197  	// execution" this snapshot is taken.
  8198  	CheckpointTaskNumber string `json:"checkpointTaskNumber,omitempty"`
  8199  
  8200  	// ExecutionSnapshotMetadata: Metadata of the execution snapshot.
  8201  	ExecutionSnapshotMetadata *GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata `json:"executionSnapshotMetadata,omitempty"`
  8202  
  8203  	// Params: Parameters used during the execution.
  8204  	Params map[string]GoogleCloudIntegrationsV1alphaValueType `json:"params,omitempty"`
  8205  
  8206  	// TaskExecutionDetails: All of the task execution details at the given
  8207  	// point of time.
  8208  	TaskExecutionDetails []*GoogleCloudIntegrationsV1alphaTaskExecutionDetails `json:"taskExecutionDetails,omitempty"`
  8209  
  8210  	// ForceSendFields is a list of field names (e.g.
  8211  	// "CheckpointTaskNumber") to unconditionally include in API requests.
  8212  	// By default, fields with empty or default values are omitted from API
  8213  	// requests. However, any non-pointer, non-interface field appearing in
  8214  	// ForceSendFields will be sent to the server regardless of whether the
  8215  	// field is empty or not. This may be used to include empty fields in
  8216  	// Patch requests.
  8217  	ForceSendFields []string `json:"-"`
  8218  
  8219  	// NullFields is a list of field names (e.g. "CheckpointTaskNumber") to
  8220  	// include in API requests with the JSON null value. By default, fields
  8221  	// with empty values are omitted from API requests. However, any field
  8222  	// with an empty value appearing in NullFields will be sent to the
  8223  	// server as null. It is an error if a field in this list has a
  8224  	// non-empty value. This may be used to include null fields in Patch
  8225  	// requests.
  8226  	NullFields []string `json:"-"`
  8227  }
  8228  
  8229  func (s *GoogleCloudIntegrationsV1alphaExecutionSnapshot) MarshalJSON() ([]byte, error) {
  8230  	type NoMethod GoogleCloudIntegrationsV1alphaExecutionSnapshot
  8231  	raw := NoMethod(*s)
  8232  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8233  }
  8234  
  8235  // GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetada
  8236  // ta: Metadata of the execution snapshot.
  8237  type GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata struct {
  8238  	// ExecutionAttempt: the execution attempt number this snapshot belongs
  8239  	// to.
  8240  	ExecutionAttempt int64 `json:"executionAttempt,omitempty"`
  8241  
  8242  	// Task: the task name associated with this snapshot.
  8243  	Task string `json:"task,omitempty"`
  8244  
  8245  	// TaskAttempt: the task attempt number this snapshot belongs to.
  8246  	TaskAttempt int64 `json:"taskAttempt,omitempty"`
  8247  
  8248  	// TaskNumber: The task number associated with this snapshot.
  8249  	TaskNumber string `json:"taskNumber,omitempty"`
  8250  
  8251  	// ForceSendFields is a list of field names (e.g. "ExecutionAttempt") to
  8252  	// unconditionally include in API requests. By default, fields with
  8253  	// empty or default values are omitted from API requests. However, any
  8254  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8255  	// sent to the server regardless of whether the field is empty or not.
  8256  	// This may be used to include empty fields in Patch requests.
  8257  	ForceSendFields []string `json:"-"`
  8258  
  8259  	// NullFields is a list of field names (e.g. "ExecutionAttempt") to
  8260  	// include in API requests with the JSON null value. By default, fields
  8261  	// with empty values are omitted from API requests. However, any field
  8262  	// with an empty value appearing in NullFields will be sent to the
  8263  	// server as null. It is an error if a field in this list has a
  8264  	// non-empty value. This may be used to include null fields in Patch
  8265  	// requests.
  8266  	NullFields []string `json:"-"`
  8267  }
  8268  
  8269  func (s *GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata) MarshalJSON() ([]byte, error) {
  8270  	type NoMethod GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata
  8271  	raw := NoMethod(*s)
  8272  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8273  }
  8274  
  8275  // GoogleCloudIntegrationsV1alphaFailurePolicy: Policy that defines the
  8276  // task retry logic and failure type. If no FailurePolicy is defined for
  8277  // a task, all its dependent tasks will not be executed (i.e, a
  8278  // `retry_strategy` of NONE will be applied).
  8279  type GoogleCloudIntegrationsV1alphaFailurePolicy struct {
  8280  	// IntervalTime: Required if retry_strategy is FIXED_INTERVAL or
  8281  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines
  8282  	// the initial interval in seconds for backoff.
  8283  	IntervalTime string `json:"intervalTime,omitempty"`
  8284  
  8285  	// MaxRetries: Required if retry_strategy is FIXED_INTERVAL or
  8286  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines
  8287  	// the number of times the task will be retried if failed.
  8288  	MaxRetries int64 `json:"maxRetries,omitempty"`
  8289  
  8290  	// RetryStrategy: Defines what happens to the task upon failure.
  8291  	//
  8292  	// Possible values:
  8293  	//   "RETRY_STRATEGY_UNSPECIFIED" - UNSPECIFIED.
  8294  	//   "IGNORE" - Ignores the failure of this task. The rest of the
  8295  	// integration will be executed Assuming this task succeeded.
  8296  	//   "NONE" - Causes a permanent failure of the task. However, if the
  8297  	// last task(s) of event was successfully completed despite the failure
  8298  	// of this task, it has no impact on the integration.
  8299  	//   "FATAL" - Causes a permanent failure of the event. It is different
  8300  	// from NONE because this will mark the event as FAILED by shutting down
  8301  	// the event execution.
  8302  	//   "FIXED_INTERVAL" - The task will be retried from the failed task
  8303  	// onwards after a fixed delay. A max-retry count is required to be
  8304  	// specified with this strategy. A jitter is added to each exponential
  8305  	// interval so that concurrently failing tasks of the same type do not
  8306  	// end up retrying after the exact same exponential interval.
  8307  	// max_retries and interval_in_seconds must be specified.
  8308  	//   "LINEAR_BACKOFF" - The task will be retried from the failed task
  8309  	// onwards after a fixed delay that linearly increases with each retry
  8310  	// attempt. A jitter is added to each exponential interval so that
  8311  	// concurrently failing tasks of the same type do not end up retrying
  8312  	// after the exact same exponential interval. A max-retry count is
  8313  	// required to be specified with this strategy. max_retries and
  8314  	// interval_in_seconds must be specified.
  8315  	//   "EXPONENTIAL_BACKOFF" - The task will be retried after an
  8316  	// exponentially increasing period of time with each failure. A jitter
  8317  	// is added to each exponential interval so that concurrently failing
  8318  	// tasks of the same type do not end up retrying after the exact same
  8319  	// exponential interval. A max-retry count is required to be specified
  8320  	// with this strategy. `max_retries` and `interval_in_seconds` must be
  8321  	// specified.
  8322  	//   "RESTART_INTEGRATION_WITH_BACKOFF" - The entire integration will be
  8323  	// restarted with the initial parameters that were set when the event
  8324  	// was fired. A max-retry count is required to be specified with this
  8325  	// strategy. `max_retries` and `interval_in_seconds` must be specified.
  8326  	RetryStrategy string `json:"retryStrategy,omitempty"`
  8327  
  8328  	// ForceSendFields is a list of field names (e.g. "IntervalTime") to
  8329  	// unconditionally include in API requests. By default, fields with
  8330  	// empty or default values are omitted from API requests. However, any
  8331  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8332  	// sent to the server regardless of whether the field is empty or not.
  8333  	// This may be used to include empty fields in Patch requests.
  8334  	ForceSendFields []string `json:"-"`
  8335  
  8336  	// NullFields is a list of field names (e.g. "IntervalTime") to include
  8337  	// in API requests with the JSON null value. By default, fields with
  8338  	// empty values are omitted from API requests. However, any field with
  8339  	// an empty value appearing in NullFields will be sent to the server as
  8340  	// null. It is an error if a field in this list has a non-empty value.
  8341  	// This may be used to include null fields in Patch requests.
  8342  	NullFields []string `json:"-"`
  8343  }
  8344  
  8345  func (s *GoogleCloudIntegrationsV1alphaFailurePolicy) MarshalJSON() ([]byte, error) {
  8346  	type NoMethod GoogleCloudIntegrationsV1alphaFailurePolicy
  8347  	raw := NoMethod(*s)
  8348  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8349  }
  8350  
  8351  // GoogleCloudIntegrationsV1alphaGenerateTokenResponse: Returns success
  8352  // or error message
  8353  type GoogleCloudIntegrationsV1alphaGenerateTokenResponse struct {
  8354  	// Message: The message that notifies the user if the request succeeded
  8355  	// or not.
  8356  	Message string `json:"message,omitempty"`
  8357  
  8358  	// ServerResponse contains the HTTP response code and headers from the
  8359  	// server.
  8360  	googleapi.ServerResponse `json:"-"`
  8361  
  8362  	// ForceSendFields is a list of field names (e.g. "Message") to
  8363  	// unconditionally include in API requests. By default, fields with
  8364  	// empty or default values are omitted from API requests. However, any
  8365  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8366  	// sent to the server regardless of whether the field is empty or not.
  8367  	// This may be used to include empty fields in Patch requests.
  8368  	ForceSendFields []string `json:"-"`
  8369  
  8370  	// NullFields is a list of field names (e.g. "Message") to include in
  8371  	// API requests with the JSON null value. By default, fields with empty
  8372  	// values are omitted from API requests. However, any field with an
  8373  	// empty value appearing in NullFields will be sent to the server as
  8374  	// null. It is an error if a field in this list has a non-empty value.
  8375  	// This may be used to include null fields in Patch requests.
  8376  	NullFields []string `json:"-"`
  8377  }
  8378  
  8379  func (s *GoogleCloudIntegrationsV1alphaGenerateTokenResponse) MarshalJSON() ([]byte, error) {
  8380  	type NoMethod GoogleCloudIntegrationsV1alphaGenerateTokenResponse
  8381  	raw := NoMethod(*s)
  8382  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8383  }
  8384  
  8385  // GoogleCloudIntegrationsV1alphaGetBundleResponse: Response for
  8386  // GetBundle.
  8387  type GoogleCloudIntegrationsV1alphaGetBundleResponse struct {
  8388  	// Config: It contains the bundle data
  8389  	Config *GoogleCloudIntegrationsV1alphaIntegrationBundleConfig `json:"config,omitempty"`
  8390  
  8391  	// ServerResponse contains the HTTP response code and headers from the
  8392  	// server.
  8393  	googleapi.ServerResponse `json:"-"`
  8394  
  8395  	// ForceSendFields is a list of field names (e.g. "Config") to
  8396  	// unconditionally include in API requests. By default, fields with
  8397  	// empty or default values are omitted from API requests. However, any
  8398  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8399  	// sent to the server regardless of whether the field is empty or not.
  8400  	// This may be used to include empty fields in Patch requests.
  8401  	ForceSendFields []string `json:"-"`
  8402  
  8403  	// NullFields is a list of field names (e.g. "Config") to include in API
  8404  	// requests with the JSON null value. By default, fields with empty
  8405  	// values are omitted from API requests. However, any field with an
  8406  	// empty value appearing in NullFields will be sent to the server as
  8407  	// null. It is an error if a field in this list has a non-empty value.
  8408  	// This may be used to include null fields in Patch requests.
  8409  	NullFields []string `json:"-"`
  8410  }
  8411  
  8412  func (s *GoogleCloudIntegrationsV1alphaGetBundleResponse) MarshalJSON() ([]byte, error) {
  8413  	type NoMethod GoogleCloudIntegrationsV1alphaGetBundleResponse
  8414  	raw := NoMethod(*s)
  8415  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8416  }
  8417  
  8418  // GoogleCloudIntegrationsV1alphaGetClientMetadataResponse: Response for
  8419  // the GetClientMetadata rpc
  8420  type GoogleCloudIntegrationsV1alphaGetClientMetadataResponse struct {
  8421  	// Properties: Required. Required: The client configuration that was
  8422  	// requested
  8423  	Properties *GoogleCloudIntegrationsV1alphaProjectProperties `json:"properties,omitempty"`
  8424  
  8425  	// ServerResponse contains the HTTP response code and headers from the
  8426  	// server.
  8427  	googleapi.ServerResponse `json:"-"`
  8428  
  8429  	// ForceSendFields is a list of field names (e.g. "Properties") to
  8430  	// unconditionally include in API requests. By default, fields with
  8431  	// empty or default values are omitted from API requests. However, any
  8432  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8433  	// sent to the server regardless of whether the field is empty or not.
  8434  	// This may be used to include empty fields in Patch requests.
  8435  	ForceSendFields []string `json:"-"`
  8436  
  8437  	// NullFields is a list of field names (e.g. "Properties") to include in
  8438  	// API requests with the JSON null value. By default, fields with empty
  8439  	// values are omitted from API requests. However, any field with an
  8440  	// empty value appearing in NullFields will be sent to the server as
  8441  	// null. It is an error if a field in this list has a non-empty value.
  8442  	// This may be used to include null fields in Patch requests.
  8443  	NullFields []string `json:"-"`
  8444  }
  8445  
  8446  func (s *GoogleCloudIntegrationsV1alphaGetClientMetadataResponse) MarshalJSON() ([]byte, error) {
  8447  	type NoMethod GoogleCloudIntegrationsV1alphaGetClientMetadataResponse
  8448  	raw := NoMethod(*s)
  8449  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8450  }
  8451  
  8452  // GoogleCloudIntegrationsV1alphaGetClientResponse: Response for the
  8453  // GetClient rpc
  8454  type GoogleCloudIntegrationsV1alphaGetClientResponse struct {
  8455  	// Client: Required. Required: The client configuration that was
  8456  	// requested
  8457  	Client *GoogleCloudIntegrationsV1alphaClientConfig `json:"client,omitempty"`
  8458  
  8459  	// ServerResponse contains the HTTP response code and headers from the
  8460  	// server.
  8461  	googleapi.ServerResponse `json:"-"`
  8462  
  8463  	// ForceSendFields is a list of field names (e.g. "Client") to
  8464  	// unconditionally include in API requests. By default, fields with
  8465  	// empty or default values are omitted from API requests. However, any
  8466  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8467  	// sent to the server regardless of whether the field is empty or not.
  8468  	// This may be used to include empty fields in Patch requests.
  8469  	ForceSendFields []string `json:"-"`
  8470  
  8471  	// NullFields is a list of field names (e.g. "Client") to include in API
  8472  	// requests with the JSON null value. By default, fields with empty
  8473  	// values are omitted from API requests. However, any field with an
  8474  	// empty value appearing in NullFields will be sent to the server as
  8475  	// null. It is an error if a field in this list has a non-empty value.
  8476  	// This may be used to include null fields in Patch requests.
  8477  	NullFields []string `json:"-"`
  8478  }
  8479  
  8480  func (s *GoogleCloudIntegrationsV1alphaGetClientResponse) MarshalJSON() ([]byte, error) {
  8481  	type NoMethod GoogleCloudIntegrationsV1alphaGetClientResponse
  8482  	raw := NoMethod(*s)
  8483  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8484  }
  8485  
  8486  // GoogleCloudIntegrationsV1alphaIntParameterArray: This message only
  8487  // contains a field of integer array.
  8488  type GoogleCloudIntegrationsV1alphaIntParameterArray struct {
  8489  	// IntValues: Integer array.
  8490  	IntValues googleapi.Int64s `json:"intValues,omitempty"`
  8491  
  8492  	// ForceSendFields is a list of field names (e.g. "IntValues") to
  8493  	// unconditionally include in API requests. By default, fields with
  8494  	// empty or default values are omitted from API requests. However, any
  8495  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8496  	// sent to the server regardless of whether the field is empty or not.
  8497  	// This may be used to include empty fields in Patch requests.
  8498  	ForceSendFields []string `json:"-"`
  8499  
  8500  	// NullFields is a list of field names (e.g. "IntValues") to include in
  8501  	// API requests with the JSON null value. By default, fields with empty
  8502  	// values are omitted from API requests. However, any field with an
  8503  	// empty value appearing in NullFields will be sent to the server as
  8504  	// null. It is an error if a field in this list has a non-empty value.
  8505  	// This may be used to include null fields in Patch requests.
  8506  	NullFields []string `json:"-"`
  8507  }
  8508  
  8509  func (s *GoogleCloudIntegrationsV1alphaIntParameterArray) MarshalJSON() ([]byte, error) {
  8510  	type NoMethod GoogleCloudIntegrationsV1alphaIntParameterArray
  8511  	raw := NoMethod(*s)
  8512  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8513  }
  8514  
  8515  // GoogleCloudIntegrationsV1alphaIntegration: The integration
  8516  // definition.
  8517  type GoogleCloudIntegrationsV1alphaIntegration struct {
  8518  	// Active: Required. If any integration version is published.
  8519  	Active bool `json:"active,omitempty"`
  8520  
  8521  	// Description: Optional.
  8522  	Description string `json:"description,omitempty"`
  8523  
  8524  	// Name: Required. The resource name of the integration.
  8525  	Name string `json:"name,omitempty"`
  8526  
  8527  	// UpdateTime: Output only. Auto-generated.
  8528  	UpdateTime string `json:"updateTime,omitempty"`
  8529  
  8530  	// ForceSendFields is a list of field names (e.g. "Active") to
  8531  	// unconditionally include in API requests. By default, fields with
  8532  	// empty or default values are omitted from API requests. However, any
  8533  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8534  	// sent to the server regardless of whether the field is empty or not.
  8535  	// This may be used to include empty fields in Patch requests.
  8536  	ForceSendFields []string `json:"-"`
  8537  
  8538  	// NullFields is a list of field names (e.g. "Active") to include in API
  8539  	// requests with the JSON null value. By default, fields with empty
  8540  	// values are omitted from API requests. However, any field with an
  8541  	// empty value appearing in NullFields will be sent to the server as
  8542  	// null. It is an error if a field in this list has a non-empty value.
  8543  	// This may be used to include null fields in Patch requests.
  8544  	NullFields []string `json:"-"`
  8545  }
  8546  
  8547  func (s *GoogleCloudIntegrationsV1alphaIntegration) MarshalJSON() ([]byte, error) {
  8548  	type NoMethod GoogleCloudIntegrationsV1alphaIntegration
  8549  	raw := NoMethod(*s)
  8550  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8551  }
  8552  
  8553  // GoogleCloudIntegrationsV1alphaIntegrationAlertConfig: Message to be
  8554  // used to configure custom alerting in the {@code EventConfig} protos
  8555  // for an event.
  8556  type GoogleCloudIntegrationsV1alphaIntegrationAlertConfig struct {
  8557  	// AggregationPeriod: The period over which the metric value should be
  8558  	// aggregated and evaluated. Format is , where integer should be a
  8559  	// positive integer and unit should be one of (s,m,h,d,w) meaning
  8560  	// (second, minute, hour, day, week). For an EXPECTED_MIN threshold,
  8561  	// this aggregation_period must be lesser than 24 hours.
  8562  	AggregationPeriod string `json:"aggregationPeriod,omitempty"`
  8563  
  8564  	// AlertThreshold: For how many contiguous aggregation periods should
  8565  	// the expected min or max be violated for the alert to be fired.
  8566  	AlertThreshold int64 `json:"alertThreshold,omitempty"`
  8567  
  8568  	// DisableAlert: Set to false by default. When set to true, the metrics
  8569  	// are not aggregated or pushed to Monarch for this integration alert.
  8570  	DisableAlert bool `json:"disableAlert,omitempty"`
  8571  
  8572  	// DisplayName: Name of the alert. This will be displayed in the alert
  8573  	// subject. If set, this name should be unique within the scope of the
  8574  	// integration.
  8575  	DisplayName string `json:"displayName,omitempty"`
  8576  
  8577  	// DurationThreshold: Should be specified only for *AVERAGE_DURATION and
  8578  	// *PERCENTILE_DURATION metrics. This member should be used to specify
  8579  	// what duration value the metrics should exceed for the alert to
  8580  	// trigger.
  8581  	DurationThreshold string `json:"durationThreshold,omitempty"`
  8582  
  8583  	// MetricType: The type of metric.
  8584  	//
  8585  	// Possible values:
  8586  	//   "METRIC_TYPE_UNSPECIFIED" - The default value. Metric type should
  8587  	// always be set to one of the other non-default values, otherwise it
  8588  	// will result in an INVALID_ARGUMENT error.
  8589  	//   "EVENT_ERROR_RATE" - Specifies alerting on the rate of errors for
  8590  	// the enclosing integration.
  8591  	//   "EVENT_WARNING_RATE" - Specifies alerting on the rate of warnings
  8592  	// for the enclosing integration. Warnings use the same enum values as
  8593  	// errors.
  8594  	//   "TASK_ERROR_RATE" - Specifies alerting on the rate of errors for
  8595  	// any task in the enclosing integration.
  8596  	//   "TASK_WARNING_RATE" - Specifies alerting on the rate of warnings
  8597  	// for any task in the enclosing integration.
  8598  	//   "TASK_RATE" - Specifies alerting on the rate of executions over all
  8599  	// tasks in the enclosing integration.
  8600  	//   "EVENT_RATE" - Specifies alerting on the number of events executed
  8601  	// in the given aggregation_period.
  8602  	//   "EVENT_AVERAGE_DURATION" - Specifies alerting on the average
  8603  	// duration of executions for this integration.
  8604  	//   "EVENT_PERCENTILE_DURATION" - Specifies alerting on the duration
  8605  	// value of a particular percentile of integration executions. E.g. If
  8606  	// 10% or more of the integration executions have durations above 5
  8607  	// seconds, alert.
  8608  	//   "TASK_AVERAGE_DURATION" - Specifies alerting on the average
  8609  	// duration of any task in the enclosing integration,
  8610  	//   "TASK_PERCENTILE_DURATION" - Specifies alerting on the duration
  8611  	// value of a particular percentile of any task executions within the
  8612  	// enclosing integration. E.g. If 10% or more of the task executions in
  8613  	// the integration have durations above 5 seconds, alert.
  8614  	MetricType string `json:"metricType,omitempty"`
  8615  
  8616  	// OnlyFinalAttempt: For either events or tasks, depending on the type
  8617  	// of alert, count only final attempts, not retries.
  8618  	OnlyFinalAttempt bool `json:"onlyFinalAttempt,omitempty"`
  8619  
  8620  	// ThresholdType: The threshold type, whether lower(expected_min) or
  8621  	// upper(expected_max), for which this alert is being configured. If
  8622  	// value falls below expected_min or exceeds expected_max, an alert will
  8623  	// be fired.
  8624  	//
  8625  	// Possible values:
  8626  	//   "THRESHOLD_TYPE_UNSPECIFIED" - Default.
  8627  	//   "EXPECTED_MIN" - Note that this field will only trigger alerts if
  8628  	// the integration specifying it runs at least once in 24 hours (which
  8629  	// is our in-memory retention period for monarch streams). Also note
  8630  	// that `aggregation_period` for this alert configuration must be less
  8631  	// than 24 hours. Min value threshold.
  8632  	//   "EXPECTED_MAX" - Max value threshold.
  8633  	ThresholdType string `json:"thresholdType,omitempty"`
  8634  
  8635  	// ThresholdValue: The metric value, above or below which the alert
  8636  	// should be triggered.
  8637  	ThresholdValue *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue `json:"thresholdValue,omitempty"`
  8638  
  8639  	// ForceSendFields is a list of field names (e.g. "AggregationPeriod")
  8640  	// to unconditionally include in API requests. By default, fields with
  8641  	// empty or default values are omitted from API requests. However, any
  8642  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8643  	// sent to the server regardless of whether the field is empty or not.
  8644  	// This may be used to include empty fields in Patch requests.
  8645  	ForceSendFields []string `json:"-"`
  8646  
  8647  	// NullFields is a list of field names (e.g. "AggregationPeriod") to
  8648  	// include in API requests with the JSON null value. By default, fields
  8649  	// with empty values are omitted from API requests. However, any field
  8650  	// with an empty value appearing in NullFields will be sent to the
  8651  	// server as null. It is an error if a field in this list has a
  8652  	// non-empty value. This may be used to include null fields in Patch
  8653  	// requests.
  8654  	NullFields []string `json:"-"`
  8655  }
  8656  
  8657  func (s *GoogleCloudIntegrationsV1alphaIntegrationAlertConfig) MarshalJSON() ([]byte, error) {
  8658  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationAlertConfig
  8659  	raw := NoMethod(*s)
  8660  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8661  }
  8662  
  8663  // GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue:
  8664  // The threshold value of the metric, above or below which the alert
  8665  // should be triggered. See EventAlertConfig or TaskAlertConfig for the
  8666  // different alert metric types in each case. For the *RATE metrics, one
  8667  // or both of these fields may be set. Zero is the default value and can
  8668  // be left at that. For *PERCENTILE_DURATION metrics, one or both of
  8669  // these fields may be set, and also, the duration threshold value
  8670  // should be specified in the threshold_duration_ms member below. For
  8671  // *AVERAGE_DURATION metrics, these fields should not be set at all. A
  8672  // different member, threshold_duration_ms, must be set in the
  8673  // EventAlertConfig or the TaskAlertConfig.
  8674  type GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue struct {
  8675  	// Absolute: Absolute value threshold.
  8676  	Absolute int64 `json:"absolute,omitempty,string"`
  8677  
  8678  	// Percentage: Percentage threshold.
  8679  	Percentage int64 `json:"percentage,omitempty"`
  8680  
  8681  	// ForceSendFields is a list of field names (e.g. "Absolute") to
  8682  	// unconditionally include in API requests. By default, fields with
  8683  	// empty or default values are omitted from API requests. However, any
  8684  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8685  	// sent to the server regardless of whether the field is empty or not.
  8686  	// This may be used to include empty fields in Patch requests.
  8687  	ForceSendFields []string `json:"-"`
  8688  
  8689  	// NullFields is a list of field names (e.g. "Absolute") to include in
  8690  	// API requests with the JSON null value. By default, fields with empty
  8691  	// values are omitted from API requests. However, any field with an
  8692  	// empty value appearing in NullFields will be sent to the server as
  8693  	// null. It is an error if a field in this list has a non-empty value.
  8694  	// This may be used to include null fields in Patch requests.
  8695  	NullFields []string `json:"-"`
  8696  }
  8697  
  8698  func (s *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue) MarshalJSON() ([]byte, error) {
  8699  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue
  8700  	raw := NoMethod(*s)
  8701  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8702  }
  8703  
  8704  // GoogleCloudIntegrationsV1alphaIntegrationBundleConfig: This proto
  8705  // holds the core runner data in the bundle task. It is not expected to
  8706  // be directly edited by the user. Instead, a default value will be
  8707  // provided at the task creation time.
  8708  type GoogleCloudIntegrationsV1alphaIntegrationBundleConfig struct {
  8709  	// Integrations: A bundle of integrations that can be executed by the
  8710  	// task at runtime.
  8711  	Integrations []string `json:"integrations,omitempty"`
  8712  
  8713  	// ServiceAccount: Output only. The service account created and owned by
  8714  	// IP and added to the customers GCP project.
  8715  	ServiceAccount string `json:"serviceAccount,omitempty"`
  8716  
  8717  	// ForceSendFields is a list of field names (e.g. "Integrations") to
  8718  	// unconditionally include in API requests. By default, fields with
  8719  	// empty or default values are omitted from API requests. However, any
  8720  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8721  	// sent to the server regardless of whether the field is empty or not.
  8722  	// This may be used to include empty fields in Patch requests.
  8723  	ForceSendFields []string `json:"-"`
  8724  
  8725  	// NullFields is a list of field names (e.g. "Integrations") to include
  8726  	// in API requests with the JSON null value. By default, fields with
  8727  	// empty values are omitted from API requests. However, any field with
  8728  	// an empty value appearing in NullFields will be sent to the server as
  8729  	// null. It is an error if a field in this list has a non-empty value.
  8730  	// This may be used to include null fields in Patch requests.
  8731  	NullFields []string `json:"-"`
  8732  }
  8733  
  8734  func (s *GoogleCloudIntegrationsV1alphaIntegrationBundleConfig) MarshalJSON() ([]byte, error) {
  8735  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationBundleConfig
  8736  	raw := NoMethod(*s)
  8737  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8738  }
  8739  
  8740  // GoogleCloudIntegrationsV1alphaIntegrationParameter: Integration
  8741  // Parameter is defined in the integration config and are used to
  8742  // provide information about data types of the expected parameters and
  8743  // provide any default values if needed. They can also be used to add
  8744  // custom attributes. These are static in nature and should not be used
  8745  // for dynamic event definition.
  8746  type GoogleCloudIntegrationsV1alphaIntegrationParameter struct {
  8747  	// DataType: Type of the parameter.
  8748  	//
  8749  	// Possible values:
  8750  	//   "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED" - Unspecified.
  8751  	//   "STRING_VALUE" - String.
  8752  	//   "INT_VALUE" - Integer.
  8753  	//   "DOUBLE_VALUE" - Double Number.
  8754  	//   "BOOLEAN_VALUE" - Boolean.
  8755  	//   "STRING_ARRAY" - String Array.
  8756  	//   "INT_ARRAY" - Integer Array.
  8757  	//   "DOUBLE_ARRAY" - Double Number Array.
  8758  	//   "BOOLEAN_ARRAY" - Boolean Array.
  8759  	//   "JSON_VALUE" - Json.
  8760  	//   "PROTO_VALUE" - Proto Value (Internal use only).
  8761  	//   "PROTO_ARRAY" - Proto Array (Internal use only).
  8762  	DataType string `json:"dataType,omitempty"`
  8763  
  8764  	// DefaultValue: Default values for the defined keys. Each value can
  8765  	// either be string, int, double or any proto message or a serialized
  8766  	// object.
  8767  	DefaultValue *GoogleCloudIntegrationsV1alphaValueType `json:"defaultValue,omitempty"`
  8768  
  8769  	// DisplayName: The name (without prefix) to be displayed in the UI for
  8770  	// this parameter. E.g. if the key is "foo.bar.myName", then the name
  8771  	// would be "myName".
  8772  	DisplayName string `json:"displayName,omitempty"`
  8773  
  8774  	// InputOutputType: Specifies the input/output type for the parameter.
  8775  	//
  8776  	// Possible values:
  8777  	//   "IN_OUT_TYPE_UNSPECIFIED" - Default.
  8778  	//   "IN" - Input parameters for the integration. EventBus validates
  8779  	// that these parameters exist in the integrations before execution.
  8780  	//   "OUT" - Output Parameters for the integration. EventBus will only
  8781  	// return the integration parameters tagged with OUT in the response
  8782  	// back.
  8783  	//   "IN_OUT" - Input and Output Parameters. These can be used as both
  8784  	// input and output. EventBus will validate for the existence of these
  8785  	// parameters before execution and will also return this parameter back
  8786  	// in the response.
  8787  	InputOutputType string `json:"inputOutputType,omitempty"`
  8788  
  8789  	// IsTransient: Whether this parameter is a transient parameter.
  8790  	IsTransient bool `json:"isTransient,omitempty"`
  8791  
  8792  	// JsonSchema: This schema will be used to validate runtime JSON-typed
  8793  	// values of this parameter.
  8794  	JsonSchema string `json:"jsonSchema,omitempty"`
  8795  
  8796  	// Key: Key is used to retrieve the corresponding parameter value. This
  8797  	// should be unique for a given fired event. These parameters must be
  8798  	// predefined in the integration definition.
  8799  	Key string `json:"key,omitempty"`
  8800  
  8801  	// Producer: The identifier of the node (TaskConfig/TriggerConfig) this
  8802  	// parameter was produced by, if it is a transient param or a copy of an
  8803  	// input param.
  8804  	Producer string `json:"producer,omitempty"`
  8805  
  8806  	// Searchable: Searchable in the execution log or not.
  8807  	Searchable bool `json:"searchable,omitempty"`
  8808  
  8809  	// ForceSendFields is a list of field names (e.g. "DataType") to
  8810  	// unconditionally include in API requests. By default, fields with
  8811  	// empty or default values are omitted from API requests. However, any
  8812  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8813  	// sent to the server regardless of whether the field is empty or not.
  8814  	// This may be used to include empty fields in Patch requests.
  8815  	ForceSendFields []string `json:"-"`
  8816  
  8817  	// NullFields is a list of field names (e.g. "DataType") to include in
  8818  	// API requests with the JSON null value. By default, fields with empty
  8819  	// values are omitted from API requests. However, any field with an
  8820  	// empty value appearing in NullFields will be sent to the server as
  8821  	// null. It is an error if a field in this list has a non-empty value.
  8822  	// This may be used to include null fields in Patch requests.
  8823  	NullFields []string `json:"-"`
  8824  }
  8825  
  8826  func (s *GoogleCloudIntegrationsV1alphaIntegrationParameter) MarshalJSON() ([]byte, error) {
  8827  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationParameter
  8828  	raw := NoMethod(*s)
  8829  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8830  }
  8831  
  8832  // GoogleCloudIntegrationsV1alphaIntegrationVersion: The integration
  8833  // version definition.
  8834  type GoogleCloudIntegrationsV1alphaIntegrationVersion struct {
  8835  	// CreateTime: Output only. Auto-generated.
  8836  	CreateTime string `json:"createTime,omitempty"`
  8837  
  8838  	// DatabasePersistencePolicy: Optional. Flag to disable database
  8839  	// persistence for execution data, including event execution info,
  8840  	// execution export info, execution metadata index and execution param
  8841  	// index.
  8842  	//
  8843  	// Possible values:
  8844  	//   "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED" - Enables persistence for
  8845  	// all execution data.
  8846  	//   "DATABASE_PERSISTENCE_DISABLED" - Disables persistence for all
  8847  	// execution data.
  8848  	DatabasePersistencePolicy string `json:"databasePersistencePolicy,omitempty"`
  8849  
  8850  	// Description: Optional. The integration description.
  8851  	Description string `json:"description,omitempty"`
  8852  
  8853  	// IntegrationParameters: Optional. Parameters that are expected to be
  8854  	// passed to the integration when an event is triggered. This consists
  8855  	// of all the parameters that are expected in the integration execution.
  8856  	// This gives the user the ability to provide default values, add
  8857  	// information like PII and also provide data types of each parameter.
  8858  	IntegrationParameters []*GoogleCloudIntegrationsV1alphaIntegrationParameter `json:"integrationParameters,omitempty"`
  8859  
  8860  	// IntegrationParametersInternal: Optional. Parameters that are expected
  8861  	// to be passed to the integration when an event is triggered. This
  8862  	// consists of all the parameters that are expected in the integration
  8863  	// execution. This gives the user the ability to provide default values,
  8864  	// add information like PII and also provide data types of each
  8865  	// parameter.
  8866  	IntegrationParametersInternal *EnterpriseCrmFrontendsEventbusProtoWorkflowParameters `json:"integrationParametersInternal,omitempty"`
  8867  
  8868  	// LastModifierEmail: Optional. The last modifier's email address.
  8869  	// Generated based on the End User Credentials/LOAS role of the user
  8870  	// making the call.
  8871  	LastModifierEmail string `json:"lastModifierEmail,omitempty"`
  8872  
  8873  	// LockHolder: Optional. The edit lock holder's email address. Generated
  8874  	// based on the End User Credentials/LOAS role of the user making the
  8875  	// call.
  8876  	LockHolder string `json:"lockHolder,omitempty"`
  8877  
  8878  	// Name: Output only. Auto-generated primary key.
  8879  	Name string `json:"name,omitempty"`
  8880  
  8881  	// Origin: Optional. The origin that indicates where this integration is
  8882  	// coming from.
  8883  	//
  8884  	// Possible values:
  8885  	//   "UNSPECIFIED"
  8886  	//   "UI" - Workflow is being created via event bus UI.
  8887  	//   "PIPER_V2" - User checked in this workflow in Piper as v2 textproto
  8888  	// format and we synced it into spanner.
  8889  	//   "PIPER_V3" - User checked in this workflow in piper as v3 textproto
  8890  	// format and we synced it into spanner.
  8891  	//   "APPLICATION_IP_PROVISIONING" - Workflow is being created via
  8892  	// Standalone IP Provisioning
  8893  	Origin string `json:"origin,omitempty"`
  8894  
  8895  	// ParentTemplateId: Optional. The id of the template which was used to
  8896  	// create this integration_version.
  8897  	ParentTemplateId string `json:"parentTemplateId,omitempty"`
  8898  
  8899  	// SnapshotNumber: Optional. An increasing sequence that is set when a
  8900  	// new snapshot is created. The last created snapshot can be identified
  8901  	// by [workflow_name, org_id latest(snapshot_number)]. However, last
  8902  	// created snapshot need not be same as the HEAD. So users should always
  8903  	// use "HEAD" tag to identify the head.
  8904  	SnapshotNumber int64 `json:"snapshotNumber,omitempty,string"`
  8905  
  8906  	// State: Output only. User should not set it as an input.
  8907  	//
  8908  	// Possible values:
  8909  	//   "INTEGRATION_STATE_UNSPECIFIED" - Default.
  8910  	//   "DRAFT" - Draft.
  8911  	//   "ACTIVE" - Active.
  8912  	//   "ARCHIVED" - Archived.
  8913  	//   "SNAPSHOT" - Snapshot.
  8914  	State string `json:"state,omitempty"`
  8915  
  8916  	// Status: Output only. Generated by eventbus. User should not set it as
  8917  	// an input.
  8918  	//
  8919  	// Possible values:
  8920  	//   "UNKNOWN"
  8921  	//   "DRAFT"
  8922  	//   "ACTIVE"
  8923  	//   "ARCHIVED"
  8924  	//   "SNAPSHOT"
  8925  	Status string `json:"status,omitempty"`
  8926  
  8927  	// TaskConfigs: Optional. Task configuration for the integration. It's
  8928  	// optional, but the integration doesn't do anything without
  8929  	// task_configs.
  8930  	TaskConfigs []*GoogleCloudIntegrationsV1alphaTaskConfig `json:"taskConfigs,omitempty"`
  8931  
  8932  	// TaskConfigsInternal: Optional. Task configuration for the
  8933  	// integration. It's optional, but the integration doesn't do anything
  8934  	// without task_configs.
  8935  	TaskConfigsInternal []*EnterpriseCrmFrontendsEventbusProtoTaskConfig `json:"taskConfigsInternal,omitempty"`
  8936  
  8937  	// Teardown: Optional. Contains a graph of tasks that will be executed
  8938  	// before putting the event in a terminal state
  8939  	// (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar
  8940  	// to "finally" in code.
  8941  	Teardown *EnterpriseCrmEventbusProtoTeardown `json:"teardown,omitempty"`
  8942  
  8943  	// TriggerConfigs: Optional. Trigger configurations.
  8944  	TriggerConfigs []*GoogleCloudIntegrationsV1alphaTriggerConfig `json:"triggerConfigs,omitempty"`
  8945  
  8946  	// TriggerConfigsInternal: Optional. Trigger configurations.
  8947  	TriggerConfigsInternal []*EnterpriseCrmFrontendsEventbusProtoTriggerConfig `json:"triggerConfigsInternal,omitempty"`
  8948  
  8949  	// UpdateTime: Output only. Auto-generated.
  8950  	UpdateTime string `json:"updateTime,omitempty"`
  8951  
  8952  	// UserLabel: Optional. A user-defined label that annotates an
  8953  	// integration version. Typically, this is only set when the integration
  8954  	// version is created.
  8955  	UserLabel string `json:"userLabel,omitempty"`
  8956  
  8957  	// ServerResponse contains the HTTP response code and headers from the
  8958  	// server.
  8959  	googleapi.ServerResponse `json:"-"`
  8960  
  8961  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  8962  	// unconditionally include in API requests. By default, fields with
  8963  	// empty or default values are omitted from API requests. However, any
  8964  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8965  	// sent to the server regardless of whether the field is empty or not.
  8966  	// This may be used to include empty fields in Patch requests.
  8967  	ForceSendFields []string `json:"-"`
  8968  
  8969  	// NullFields is a list of field names (e.g. "CreateTime") to include in
  8970  	// API requests with the JSON null value. By default, fields with empty
  8971  	// values are omitted from API requests. However, any field with an
  8972  	// empty value appearing in NullFields will be sent to the server as
  8973  	// null. It is an error if a field in this list has a non-empty value.
  8974  	// This may be used to include null fields in Patch requests.
  8975  	NullFields []string `json:"-"`
  8976  }
  8977  
  8978  func (s *GoogleCloudIntegrationsV1alphaIntegrationVersion) MarshalJSON() ([]byte, error) {
  8979  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationVersion
  8980  	raw := NoMethod(*s)
  8981  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8982  }
  8983  
  8984  // GoogleCloudIntegrationsV1alphaJwt: Represents JSON web token(JWT),
  8985  // which is a compact, URL-safe means of representing claims to be
  8986  // transferred between two parties, enabling the claims to be digitally
  8987  // signed or integrity protected.
  8988  type GoogleCloudIntegrationsV1alphaJwt struct {
  8989  	// Jwt: The token calculated by the header, payload and signature.
  8990  	Jwt string `json:"jwt,omitempty"`
  8991  
  8992  	// JwtHeader: Identifies which algorithm is used to generate the
  8993  	// signature.
  8994  	JwtHeader string `json:"jwtHeader,omitempty"`
  8995  
  8996  	// JwtPayload: Contains a set of claims. The JWT specification defines
  8997  	// seven Registered Claim Names which are the standard fields commonly
  8998  	// included in tokens. Custom claims are usually also included,
  8999  	// depending on the purpose of the token.
  9000  	JwtPayload string `json:"jwtPayload,omitempty"`
  9001  
  9002  	// Secret: User's pre-shared secret to sign the token.
  9003  	Secret string `json:"secret,omitempty"`
  9004  
  9005  	// ForceSendFields is a list of field names (e.g. "Jwt") to
  9006  	// unconditionally include in API requests. By default, fields with
  9007  	// empty or default values are omitted from API requests. However, any
  9008  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9009  	// sent to the server regardless of whether the field is empty or not.
  9010  	// This may be used to include empty fields in Patch requests.
  9011  	ForceSendFields []string `json:"-"`
  9012  
  9013  	// NullFields is a list of field names (e.g. "Jwt") to include in API
  9014  	// requests with the JSON null value. By default, fields with empty
  9015  	// values are omitted from API requests. However, any field with an
  9016  	// empty value appearing in NullFields will be sent to the server as
  9017  	// null. It is an error if a field in this list has a non-empty value.
  9018  	// This may be used to include null fields in Patch requests.
  9019  	NullFields []string `json:"-"`
  9020  }
  9021  
  9022  func (s *GoogleCloudIntegrationsV1alphaJwt) MarshalJSON() ([]byte, error) {
  9023  	type NoMethod GoogleCloudIntegrationsV1alphaJwt
  9024  	raw := NoMethod(*s)
  9025  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9026  }
  9027  
  9028  // GoogleCloudIntegrationsV1alphaLiftSuspensionRequest: Request for lift
  9029  // Suspension
  9030  type GoogleCloudIntegrationsV1alphaLiftSuspensionRequest struct {
  9031  	// SuspensionResult: User passed in suspension result and will be used
  9032  	// to control workflow execution branching behavior by setting up
  9033  	// corresponnding edge condition with suspension result. For example, if
  9034  	// you want to lift the suspension, you can pass "Approved", or if you
  9035  	// want to reject the suspension and terminate workfloe execution, you
  9036  	// can pass "Rejected" and terminate the workflow execution with
  9037  	// configuring the edge condition.
  9038  	SuspensionResult string `json:"suspensionResult,omitempty"`
  9039  
  9040  	// ForceSendFields is a list of field names (e.g. "SuspensionResult") to
  9041  	// unconditionally include in API requests. By default, fields with
  9042  	// empty or default values are omitted from API requests. However, any
  9043  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9044  	// sent to the server regardless of whether the field is empty or not.
  9045  	// This may be used to include empty fields in Patch requests.
  9046  	ForceSendFields []string `json:"-"`
  9047  
  9048  	// NullFields is a list of field names (e.g. "SuspensionResult") to
  9049  	// include in API requests with the JSON null value. By default, fields
  9050  	// with empty values are omitted from API requests. However, any field
  9051  	// with an empty value appearing in NullFields will be sent to the
  9052  	// server as null. It is an error if a field in this list has a
  9053  	// non-empty value. This may be used to include null fields in Patch
  9054  	// requests.
  9055  	NullFields []string `json:"-"`
  9056  }
  9057  
  9058  func (s *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) MarshalJSON() ([]byte, error) {
  9059  	type NoMethod GoogleCloudIntegrationsV1alphaLiftSuspensionRequest
  9060  	raw := NoMethod(*s)
  9061  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9062  }
  9063  
  9064  // GoogleCloudIntegrationsV1alphaLiftSuspensionResponse: Response of
  9065  // lift Suspense
  9066  type GoogleCloudIntegrationsV1alphaLiftSuspensionResponse struct {
  9067  	// EventExecutionInfoId: Execution Id that will be returned
  9068  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  9069  
  9070  	// ServerResponse contains the HTTP response code and headers from the
  9071  	// server.
  9072  	googleapi.ServerResponse `json:"-"`
  9073  
  9074  	// ForceSendFields is a list of field names (e.g.
  9075  	// "EventExecutionInfoId") to unconditionally include in API requests.
  9076  	// By default, fields with empty or default values are omitted from API
  9077  	// requests. However, any non-pointer, non-interface field appearing in
  9078  	// ForceSendFields will be sent to the server regardless of whether the
  9079  	// field is empty or not. This may be used to include empty fields in
  9080  	// Patch requests.
  9081  	ForceSendFields []string `json:"-"`
  9082  
  9083  	// NullFields is a list of field names (e.g. "EventExecutionInfoId") to
  9084  	// include in API requests with the JSON null value. By default, fields
  9085  	// with empty values are omitted from API requests. However, any field
  9086  	// with an empty value appearing in NullFields will be sent to the
  9087  	// server as null. It is an error if a field in this list has a
  9088  	// non-empty value. This may be used to include null fields in Patch
  9089  	// requests.
  9090  	NullFields []string `json:"-"`
  9091  }
  9092  
  9093  func (s *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse) MarshalJSON() ([]byte, error) {
  9094  	type NoMethod GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
  9095  	raw := NoMethod(*s)
  9096  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9097  }
  9098  
  9099  // GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest: Request
  9100  // for LinkAppsScriptProject rpc call.
  9101  type GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest struct {
  9102  	// ScriptId: The id of the Apps Script project to be linked.
  9103  	ScriptId string `json:"scriptId,omitempty"`
  9104  
  9105  	// ForceSendFields is a list of field names (e.g. "ScriptId") to
  9106  	// unconditionally include in API requests. By default, fields with
  9107  	// empty or default values are omitted from API requests. However, any
  9108  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9109  	// sent to the server regardless of whether the field is empty or not.
  9110  	// This may be used to include empty fields in Patch requests.
  9111  	ForceSendFields []string `json:"-"`
  9112  
  9113  	// NullFields is a list of field names (e.g. "ScriptId") to include in
  9114  	// API requests with the JSON null value. By default, fields with empty
  9115  	// values are omitted from API requests. However, any field with an
  9116  	// empty value appearing in NullFields will be sent to the server as
  9117  	// null. It is an error if a field in this list has a non-empty value.
  9118  	// This may be used to include null fields in Patch requests.
  9119  	NullFields []string `json:"-"`
  9120  }
  9121  
  9122  func (s *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest) MarshalJSON() ([]byte, error) {
  9123  	type NoMethod GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest
  9124  	raw := NoMethod(*s)
  9125  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9126  }
  9127  
  9128  // GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse: Response
  9129  // for LinkAppsScriptProject rpc call.
  9130  type GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse struct {
  9131  	// ScriptId: The id of the linked Apps Script project.
  9132  	ScriptId string `json:"scriptId,omitempty"`
  9133  
  9134  	// ServerResponse contains the HTTP response code and headers from the
  9135  	// server.
  9136  	googleapi.ServerResponse `json:"-"`
  9137  
  9138  	// ForceSendFields is a list of field names (e.g. "ScriptId") to
  9139  	// unconditionally include in API requests. By default, fields with
  9140  	// empty or default values are omitted from API requests. However, any
  9141  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9142  	// sent to the server regardless of whether the field is empty or not.
  9143  	// This may be used to include empty fields in Patch requests.
  9144  	ForceSendFields []string `json:"-"`
  9145  
  9146  	// NullFields is a list of field names (e.g. "ScriptId") to include in
  9147  	// API requests with the JSON null value. By default, fields with empty
  9148  	// values are omitted from API requests. However, any field with an
  9149  	// empty value appearing in NullFields will be sent to the server as
  9150  	// null. It is an error if a field in this list has a non-empty value.
  9151  	// This may be used to include null fields in Patch requests.
  9152  	NullFields []string `json:"-"`
  9153  }
  9154  
  9155  func (s *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse) MarshalJSON() ([]byte, error) {
  9156  	type NoMethod GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse
  9157  	raw := NoMethod(*s)
  9158  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9159  }
  9160  
  9161  // GoogleCloudIntegrationsV1alphaListAuthConfigsResponse: Response to
  9162  // list AuthConfigs.
  9163  type GoogleCloudIntegrationsV1alphaListAuthConfigsResponse struct {
  9164  	// AuthConfigs: The list of AuthConfigs retrieved.
  9165  	AuthConfigs []*GoogleCloudIntegrationsV1alphaAuthConfig `json:"authConfigs,omitempty"`
  9166  
  9167  	// NextPageToken: The token used to retrieve the next page of results.
  9168  	NextPageToken string `json:"nextPageToken,omitempty"`
  9169  
  9170  	// ServerResponse contains the HTTP response code and headers from the
  9171  	// server.
  9172  	googleapi.ServerResponse `json:"-"`
  9173  
  9174  	// ForceSendFields is a list of field names (e.g. "AuthConfigs") to
  9175  	// unconditionally include in API requests. By default, fields with
  9176  	// empty or default values are omitted from API requests. However, any
  9177  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9178  	// sent to the server regardless of whether the field is empty or not.
  9179  	// This may be used to include empty fields in Patch requests.
  9180  	ForceSendFields []string `json:"-"`
  9181  
  9182  	// NullFields is a list of field names (e.g. "AuthConfigs") to include
  9183  	// in API requests with the JSON null value. By default, fields with
  9184  	// empty values are omitted from API requests. However, any field with
  9185  	// an empty value appearing in NullFields will be sent to the server as
  9186  	// null. It is an error if a field in this list has a non-empty value.
  9187  	// This may be used to include null fields in Patch requests.
  9188  	NullFields []string `json:"-"`
  9189  }
  9190  
  9191  func (s *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse) MarshalJSON() ([]byte, error) {
  9192  	type NoMethod GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
  9193  	raw := NoMethod(*s)
  9194  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9195  }
  9196  
  9197  // GoogleCloudIntegrationsV1alphaListCertificatesResponse: Response to
  9198  // list Certificates.
  9199  type GoogleCloudIntegrationsV1alphaListCertificatesResponse struct {
  9200  	// Certificates: The list of Certificates retrieved.
  9201  	Certificates []*GoogleCloudIntegrationsV1alphaCertificate `json:"certificates,omitempty"`
  9202  
  9203  	// NextPageToken: The token used to retrieve the next page of results.
  9204  	NextPageToken string `json:"nextPageToken,omitempty"`
  9205  
  9206  	// ServerResponse contains the HTTP response code and headers from the
  9207  	// server.
  9208  	googleapi.ServerResponse `json:"-"`
  9209  
  9210  	// ForceSendFields is a list of field names (e.g. "Certificates") to
  9211  	// unconditionally include in API requests. By default, fields with
  9212  	// empty or default values are omitted from API requests. However, any
  9213  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9214  	// sent to the server regardless of whether the field is empty or not.
  9215  	// This may be used to include empty fields in Patch requests.
  9216  	ForceSendFields []string `json:"-"`
  9217  
  9218  	// NullFields is a list of field names (e.g. "Certificates") to include
  9219  	// in API requests with the JSON null value. By default, fields with
  9220  	// empty values are omitted from API requests. However, any field with
  9221  	// an empty value appearing in NullFields will be sent to the server as
  9222  	// null. It is an error if a field in this list has a non-empty value.
  9223  	// This may be used to include null fields in Patch requests.
  9224  	NullFields []string `json:"-"`
  9225  }
  9226  
  9227  func (s *GoogleCloudIntegrationsV1alphaListCertificatesResponse) MarshalJSON() ([]byte, error) {
  9228  	type NoMethod GoogleCloudIntegrationsV1alphaListCertificatesResponse
  9229  	raw := NoMethod(*s)
  9230  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9231  }
  9232  
  9233  // GoogleCloudIntegrationsV1alphaListConnectionsResponse: Response
  9234  // containing Connections listed by region.
  9235  type GoogleCloudIntegrationsV1alphaListConnectionsResponse struct {
  9236  	// Connections: Connections.
  9237  	Connections []*GoogleCloudConnectorsV1Connection `json:"connections,omitempty"`
  9238  
  9239  	// NextPageToken: Next page token.
  9240  	NextPageToken string `json:"nextPageToken,omitempty"`
  9241  
  9242  	// ServerResponse contains the HTTP response code and headers from the
  9243  	// server.
  9244  	googleapi.ServerResponse `json:"-"`
  9245  
  9246  	// ForceSendFields is a list of field names (e.g. "Connections") to
  9247  	// unconditionally include in API requests. By default, fields with
  9248  	// empty or default values are omitted from API requests. However, any
  9249  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9250  	// sent to the server regardless of whether the field is empty or not.
  9251  	// This may be used to include empty fields in Patch requests.
  9252  	ForceSendFields []string `json:"-"`
  9253  
  9254  	// NullFields is a list of field names (e.g. "Connections") to include
  9255  	// in API requests with the JSON null value. By default, fields with
  9256  	// empty values are omitted from API requests. However, any field with
  9257  	// an empty value appearing in NullFields will be sent to the server as
  9258  	// null. It is an error if a field in this list has a non-empty value.
  9259  	// This may be used to include null fields in Patch requests.
  9260  	NullFields []string `json:"-"`
  9261  }
  9262  
  9263  func (s *GoogleCloudIntegrationsV1alphaListConnectionsResponse) MarshalJSON() ([]byte, error) {
  9264  	type NoMethod GoogleCloudIntegrationsV1alphaListConnectionsResponse
  9265  	raw := NoMethod(*s)
  9266  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9267  }
  9268  
  9269  // GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse:
  9270  // Response for listing the integration execution snapshot.
  9271  type GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse struct {
  9272  	// ExecutionSnapshots: Required. The detailed information for the
  9273  	// execution snapshot.
  9274  	ExecutionSnapshots []*EnterpriseCrmEventbusProtoEventExecutionSnapshot `json:"executionSnapshots,omitempty"`
  9275  
  9276  	// NextPageToken: The token returned in the previous response.
  9277  	NextPageToken string `json:"nextPageToken,omitempty"`
  9278  
  9279  	// ServerResponse contains the HTTP response code and headers from the
  9280  	// server.
  9281  	googleapi.ServerResponse `json:"-"`
  9282  
  9283  	// ForceSendFields is a list of field names (e.g. "ExecutionSnapshots")
  9284  	// to unconditionally include in API requests. By default, fields with
  9285  	// empty or default values are omitted from API requests. However, any
  9286  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9287  	// sent to the server regardless of whether the field is empty or not.
  9288  	// This may be used to include empty fields in Patch requests.
  9289  	ForceSendFields []string `json:"-"`
  9290  
  9291  	// NullFields is a list of field names (e.g. "ExecutionSnapshots") to
  9292  	// include in API requests with the JSON null value. By default, fields
  9293  	// with empty values are omitted from API requests. However, any field
  9294  	// with an empty value appearing in NullFields will be sent to the
  9295  	// server as null. It is an error if a field in this list has a
  9296  	// non-empty value. This may be used to include null fields in Patch
  9297  	// requests.
  9298  	NullFields []string `json:"-"`
  9299  }
  9300  
  9301  func (s *GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse) MarshalJSON() ([]byte, error) {
  9302  	type NoMethod GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse
  9303  	raw := NoMethod(*s)
  9304  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9305  }
  9306  
  9307  // GoogleCloudIntegrationsV1alphaListExecutionsResponse: Response for
  9308  // listing the integration execution data.
  9309  type GoogleCloudIntegrationsV1alphaListExecutionsResponse struct {
  9310  	// ExecutionInfos: Required. The detailed information of requested
  9311  	// executions.
  9312  	ExecutionInfos []*EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo `json:"executionInfos,omitempty"`
  9313  
  9314  	// Executions: The detailed information of requested executions
  9315  	Executions []*GoogleCloudIntegrationsV1alphaExecution `json:"executions,omitempty"`
  9316  
  9317  	// NextPageToken: The token used to retrieve the next page results.
  9318  	NextPageToken string `json:"nextPageToken,omitempty"`
  9319  
  9320  	// ServerResponse contains the HTTP response code and headers from the
  9321  	// server.
  9322  	googleapi.ServerResponse `json:"-"`
  9323  
  9324  	// ForceSendFields is a list of field names (e.g. "ExecutionInfos") to
  9325  	// unconditionally include in API requests. By default, fields with
  9326  	// empty or default values are omitted from API requests. However, any
  9327  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9328  	// sent to the server regardless of whether the field is empty or not.
  9329  	// This may be used to include empty fields in Patch requests.
  9330  	ForceSendFields []string `json:"-"`
  9331  
  9332  	// NullFields is a list of field names (e.g. "ExecutionInfos") to
  9333  	// include in API requests with the JSON null value. By default, fields
  9334  	// with empty values are omitted from API requests. However, any field
  9335  	// with an empty value appearing in NullFields will be sent to the
  9336  	// server as null. It is an error if a field in this list has a
  9337  	// non-empty value. This may be used to include null fields in Patch
  9338  	// requests.
  9339  	NullFields []string `json:"-"`
  9340  }
  9341  
  9342  func (s *GoogleCloudIntegrationsV1alphaListExecutionsResponse) MarshalJSON() ([]byte, error) {
  9343  	type NoMethod GoogleCloudIntegrationsV1alphaListExecutionsResponse
  9344  	raw := NoMethod(*s)
  9345  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9346  }
  9347  
  9348  // GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse:
  9349  // Response for ListIntegrationVersions.
  9350  type GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse struct {
  9351  	// IntegrationVersions: The integrations which match the request.
  9352  	IntegrationVersions []*GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersions,omitempty"`
  9353  
  9354  	// NextPageToken: A token, which can be sent as `page_token` to retrieve
  9355  	// the next page. If this field is omitted, there are no subsequent
  9356  	// pages.
  9357  	NextPageToken string `json:"nextPageToken,omitempty"`
  9358  
  9359  	// NoPermission: Whether the user has no permission on the version or
  9360  	// not.
  9361  	NoPermission bool `json:"noPermission,omitempty"`
  9362  
  9363  	// ServerResponse contains the HTTP response code and headers from the
  9364  	// server.
  9365  	googleapi.ServerResponse `json:"-"`
  9366  
  9367  	// ForceSendFields is a list of field names (e.g. "IntegrationVersions")
  9368  	// to unconditionally include in API requests. By default, fields with
  9369  	// empty or default values are omitted from API requests. However, any
  9370  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9371  	// sent to the server regardless of whether the field is empty or not.
  9372  	// This may be used to include empty fields in Patch requests.
  9373  	ForceSendFields []string `json:"-"`
  9374  
  9375  	// NullFields is a list of field names (e.g. "IntegrationVersions") to
  9376  	// include in API requests with the JSON null value. By default, fields
  9377  	// with empty values are omitted from API requests. However, any field
  9378  	// with an empty value appearing in NullFields will be sent to the
  9379  	// server as null. It is an error if a field in this list has a
  9380  	// non-empty value. This may be used to include null fields in Patch
  9381  	// requests.
  9382  	NullFields []string `json:"-"`
  9383  }
  9384  
  9385  func (s *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse) MarshalJSON() ([]byte, error) {
  9386  	type NoMethod GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse
  9387  	raw := NoMethod(*s)
  9388  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9389  }
  9390  
  9391  // GoogleCloudIntegrationsV1alphaListIntegrationsResponse: Response for
  9392  // ListIntegrations.
  9393  type GoogleCloudIntegrationsV1alphaListIntegrationsResponse struct {
  9394  	// Integrations: The integrations which match the request.
  9395  	Integrations []*GoogleCloudIntegrationsV1alphaIntegration `json:"integrations,omitempty"`
  9396  
  9397  	// NextPageToken: The next page token for the response.
  9398  	NextPageToken string `json:"nextPageToken,omitempty"`
  9399  
  9400  	// ServerResponse contains the HTTP response code and headers from the
  9401  	// server.
  9402  	googleapi.ServerResponse `json:"-"`
  9403  
  9404  	// ForceSendFields is a list of field names (e.g. "Integrations") to
  9405  	// unconditionally include in API requests. By default, fields with
  9406  	// empty or default values are omitted from API requests. However, any
  9407  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9408  	// sent to the server regardless of whether the field is empty or not.
  9409  	// This may be used to include empty fields in Patch requests.
  9410  	ForceSendFields []string `json:"-"`
  9411  
  9412  	// NullFields is a list of field names (e.g. "Integrations") to include
  9413  	// in API requests with the JSON null value. By default, fields with
  9414  	// empty values are omitted from API requests. However, any field with
  9415  	// an empty value appearing in NullFields will be sent to the server as
  9416  	// null. It is an error if a field in this list has a non-empty value.
  9417  	// This may be used to include null fields in Patch requests.
  9418  	NullFields []string `json:"-"`
  9419  }
  9420  
  9421  func (s *GoogleCloudIntegrationsV1alphaListIntegrationsResponse) MarshalJSON() ([]byte, error) {
  9422  	type NoMethod GoogleCloudIntegrationsV1alphaListIntegrationsResponse
  9423  	raw := NoMethod(*s)
  9424  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9425  }
  9426  
  9427  // GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse:
  9428  // Response for listing RuntimeActionSchemas for a specific Connection.
  9429  type GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse struct {
  9430  	// NextPageToken: Next page token.
  9431  	NextPageToken string `json:"nextPageToken,omitempty"`
  9432  
  9433  	// RuntimeActionSchemas: Runtime action schemas.
  9434  	RuntimeActionSchemas []*GoogleCloudIntegrationsV1alphaRuntimeActionSchema `json:"runtimeActionSchemas,omitempty"`
  9435  
  9436  	// ServerResponse contains the HTTP response code and headers from the
  9437  	// server.
  9438  	googleapi.ServerResponse `json:"-"`
  9439  
  9440  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9441  	// unconditionally include in API requests. By default, fields with
  9442  	// empty or default values are omitted from API requests. However, any
  9443  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9444  	// sent to the server regardless of whether the field is empty or not.
  9445  	// This may be used to include empty fields in Patch requests.
  9446  	ForceSendFields []string `json:"-"`
  9447  
  9448  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9449  	// in API requests with the JSON null value. By default, fields with
  9450  	// empty values are omitted from API requests. However, any field with
  9451  	// an empty value appearing in NullFields will be sent to the server as
  9452  	// null. It is an error if a field in this list has a non-empty value.
  9453  	// This may be used to include null fields in Patch requests.
  9454  	NullFields []string `json:"-"`
  9455  }
  9456  
  9457  func (s *GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse) MarshalJSON() ([]byte, error) {
  9458  	type NoMethod GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse
  9459  	raw := NoMethod(*s)
  9460  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9461  }
  9462  
  9463  // GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse:
  9464  // Response for listing RuntimeEntitySchemas for a specific Connection.
  9465  type GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse struct {
  9466  	// NextPageToken: Next page token.
  9467  	NextPageToken string `json:"nextPageToken,omitempty"`
  9468  
  9469  	// RuntimeEntitySchemas: Runtime entity schemas.
  9470  	RuntimeEntitySchemas []*GoogleCloudIntegrationsV1alphaRuntimeEntitySchema `json:"runtimeEntitySchemas,omitempty"`
  9471  
  9472  	// ServerResponse contains the HTTP response code and headers from the
  9473  	// server.
  9474  	googleapi.ServerResponse `json:"-"`
  9475  
  9476  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9477  	// unconditionally include in API requests. By default, fields with
  9478  	// empty or default values are omitted from API requests. However, any
  9479  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9480  	// sent to the server regardless of whether the field is empty or not.
  9481  	// This may be used to include empty fields in Patch requests.
  9482  	ForceSendFields []string `json:"-"`
  9483  
  9484  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9485  	// in API requests with the JSON null value. By default, fields with
  9486  	// empty values are omitted from API requests. However, any field with
  9487  	// an empty value appearing in NullFields will be sent to the server as
  9488  	// null. It is an error if a field in this list has a non-empty value.
  9489  	// This may be used to include null fields in Patch requests.
  9490  	NullFields []string `json:"-"`
  9491  }
  9492  
  9493  func (s *GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse) MarshalJSON() ([]byte, error) {
  9494  	type NoMethod GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse
  9495  	raw := NoMethod(*s)
  9496  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9497  }
  9498  
  9499  // GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse: Response to
  9500  // list SfdcChannels.
  9501  type GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse struct {
  9502  	// NextPageToken: The token used to retrieve the next page of results.
  9503  	NextPageToken string `json:"nextPageToken,omitempty"`
  9504  
  9505  	// SfdcChannels: The list of SfdcChannels retrieved.
  9506  	SfdcChannels []*GoogleCloudIntegrationsV1alphaSfdcChannel `json:"sfdcChannels,omitempty"`
  9507  
  9508  	// ServerResponse contains the HTTP response code and headers from the
  9509  	// server.
  9510  	googleapi.ServerResponse `json:"-"`
  9511  
  9512  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9513  	// unconditionally include in API requests. By default, fields with
  9514  	// empty or default values are omitted from API requests. However, any
  9515  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9516  	// sent to the server regardless of whether the field is empty or not.
  9517  	// This may be used to include empty fields in Patch requests.
  9518  	ForceSendFields []string `json:"-"`
  9519  
  9520  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9521  	// in API requests with the JSON null value. By default, fields with
  9522  	// empty values are omitted from API requests. However, any field with
  9523  	// an empty value appearing in NullFields will be sent to the server as
  9524  	// null. It is an error if a field in this list has a non-empty value.
  9525  	// This may be used to include null fields in Patch requests.
  9526  	NullFields []string `json:"-"`
  9527  }
  9528  
  9529  func (s *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse) MarshalJSON() ([]byte, error) {
  9530  	type NoMethod GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
  9531  	raw := NoMethod(*s)
  9532  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9533  }
  9534  
  9535  // GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse: Response to
  9536  // list SfdcInstances.
  9537  type GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse struct {
  9538  	// NextPageToken: The token used to retrieve the next page of results.
  9539  	NextPageToken string `json:"nextPageToken,omitempty"`
  9540  
  9541  	// SfdcInstances: The list of SfdcInstances retrieved.
  9542  	SfdcInstances []*GoogleCloudIntegrationsV1alphaSfdcInstance `json:"sfdcInstances,omitempty"`
  9543  
  9544  	// ServerResponse contains the HTTP response code and headers from the
  9545  	// server.
  9546  	googleapi.ServerResponse `json:"-"`
  9547  
  9548  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9549  	// unconditionally include in API requests. By default, fields with
  9550  	// empty or default values are omitted from API requests. However, any
  9551  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9552  	// sent to the server regardless of whether the field is empty or not.
  9553  	// This may be used to include empty fields in Patch requests.
  9554  	ForceSendFields []string `json:"-"`
  9555  
  9556  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9557  	// in API requests with the JSON null value. By default, fields with
  9558  	// empty values are omitted from API requests. However, any field with
  9559  	// an empty value appearing in NullFields will be sent to the server as
  9560  	// null. It is an error if a field in this list has a non-empty value.
  9561  	// This may be used to include null fields in Patch requests.
  9562  	NullFields []string `json:"-"`
  9563  }
  9564  
  9565  func (s *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse) MarshalJSON() ([]byte, error) {
  9566  	type NoMethod GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
  9567  	raw := NoMethod(*s)
  9568  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9569  }
  9570  
  9571  // GoogleCloudIntegrationsV1alphaListSuspensionsResponse: Response for
  9572  // Suspensions.ListSuspensions.
  9573  type GoogleCloudIntegrationsV1alphaListSuspensionsResponse struct {
  9574  	// NextPageToken: Token to retrieve the next page of results.
  9575  	NextPageToken string `json:"nextPageToken,omitempty"`
  9576  
  9577  	// Suspensions: The suspensions for the relevant execution which the
  9578  	// caller has permissions to view and resolve.
  9579  	Suspensions []*GoogleCloudIntegrationsV1alphaSuspension `json:"suspensions,omitempty"`
  9580  
  9581  	// ServerResponse contains the HTTP response code and headers from the
  9582  	// server.
  9583  	googleapi.ServerResponse `json:"-"`
  9584  
  9585  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9586  	// unconditionally include in API requests. By default, fields with
  9587  	// empty or default values are omitted from API requests. However, any
  9588  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9589  	// sent to the server regardless of whether the field is empty or not.
  9590  	// This may be used to include empty fields in Patch requests.
  9591  	ForceSendFields []string `json:"-"`
  9592  
  9593  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9594  	// in API requests with the JSON null value. By default, fields with
  9595  	// empty values are omitted from API requests. However, any field with
  9596  	// an empty value appearing in NullFields will be sent to the server as
  9597  	// null. It is an error if a field in this list has a non-empty value.
  9598  	// This may be used to include null fields in Patch requests.
  9599  	NullFields []string `json:"-"`
  9600  }
  9601  
  9602  func (s *GoogleCloudIntegrationsV1alphaListSuspensionsResponse) MarshalJSON() ([]byte, error) {
  9603  	type NoMethod GoogleCloudIntegrationsV1alphaListSuspensionsResponse
  9604  	raw := NoMethod(*s)
  9605  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9606  }
  9607  
  9608  // GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse: This is a UI
  9609  // only method and will be moved away. Response for ListTaskEntities.
  9610  type GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse struct {
  9611  	// TaskEntities: The list of the tasks.
  9612  	TaskEntities []*EnterpriseCrmFrontendsEventbusProtoTaskEntity `json:"taskEntities,omitempty"`
  9613  
  9614  	// ServerResponse contains the HTTP response code and headers from the
  9615  	// server.
  9616  	googleapi.ServerResponse `json:"-"`
  9617  
  9618  	// ForceSendFields is a list of field names (e.g. "TaskEntities") to
  9619  	// unconditionally include in API requests. By default, fields with
  9620  	// empty or default values are omitted from API requests. However, any
  9621  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9622  	// sent to the server regardless of whether the field is empty or not.
  9623  	// This may be used to include empty fields in Patch requests.
  9624  	ForceSendFields []string `json:"-"`
  9625  
  9626  	// NullFields is a list of field names (e.g. "TaskEntities") to include
  9627  	// in API requests with the JSON null value. By default, fields with
  9628  	// empty values are omitted from API requests. However, any field with
  9629  	// an empty value appearing in NullFields will be sent to the server as
  9630  	// null. It is an error if a field in this list has a non-empty value.
  9631  	// This may be used to include null fields in Patch requests.
  9632  	NullFields []string `json:"-"`
  9633  }
  9634  
  9635  func (s *GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse) MarshalJSON() ([]byte, error) {
  9636  	type NoMethod GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse
  9637  	raw := NoMethod(*s)
  9638  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9639  }
  9640  
  9641  // GoogleCloudIntegrationsV1alphaNextTask: The task that is next in line
  9642  // to be executed, if the condition specified evaluated to true.
  9643  type GoogleCloudIntegrationsV1alphaNextTask struct {
  9644  	// Condition: Standard filter expression for this task to become an
  9645  	// eligible next task.
  9646  	Condition string `json:"condition,omitempty"`
  9647  
  9648  	// Description: User-provided description intended to give additional
  9649  	// business context about the task.
  9650  	Description string `json:"description,omitempty"`
  9651  
  9652  	// DisplayName: User-provided label that is attached to this edge in the
  9653  	// UI.
  9654  	DisplayName string `json:"displayName,omitempty"`
  9655  
  9656  	// TaskConfigId: ID of the next task.
  9657  	TaskConfigId string `json:"taskConfigId,omitempty"`
  9658  
  9659  	// TaskId: Task number of the next task.
  9660  	TaskId string `json:"taskId,omitempty"`
  9661  
  9662  	// ForceSendFields is a list of field names (e.g. "Condition") to
  9663  	// unconditionally include in API requests. By default, fields with
  9664  	// empty or default values are omitted from API requests. However, any
  9665  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9666  	// sent to the server regardless of whether the field is empty or not.
  9667  	// This may be used to include empty fields in Patch requests.
  9668  	ForceSendFields []string `json:"-"`
  9669  
  9670  	// NullFields is a list of field names (e.g. "Condition") to include in
  9671  	// API requests with the JSON null value. By default, fields with empty
  9672  	// values are omitted from API requests. However, any field with an
  9673  	// empty value appearing in NullFields will be sent to the server as
  9674  	// null. It is an error if a field in this list has a non-empty value.
  9675  	// This may be used to include null fields in Patch requests.
  9676  	NullFields []string `json:"-"`
  9677  }
  9678  
  9679  func (s *GoogleCloudIntegrationsV1alphaNextTask) MarshalJSON() ([]byte, error) {
  9680  	type NoMethod GoogleCloudIntegrationsV1alphaNextTask
  9681  	raw := NoMethod(*s)
  9682  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9683  }
  9684  
  9685  // GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode: The OAuth Type
  9686  // where the client sends request with the client id and requested
  9687  // scopes to auth endpoint. User sees a consent screen and auth code is
  9688  // received at specified redirect url afterwards. The auth code is then
  9689  // combined with the client id and secret and sent to the token endpoint
  9690  // in exchange for the access and refresh token. The refresh token can
  9691  // be used to fetch new access tokens.
  9692  type GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode struct {
  9693  	// AccessToken: The access token received from the token endpoint.
  9694  	AccessToken *GoogleCloudIntegrationsV1alphaAccessToken `json:"accessToken,omitempty"`
  9695  
  9696  	// ApplyReauthPolicy: Indicates if the user has opted in Google Reauth
  9697  	// Policy. If opted in, the refresh token will be valid for 20 hours,
  9698  	// after which time users must re-authenticate in order to obtain a new
  9699  	// one.
  9700  	ApplyReauthPolicy bool `json:"applyReauthPolicy,omitempty"`
  9701  
  9702  	// AuthCode: The Auth Code that is used to initially retrieve the access
  9703  	// token.
  9704  	AuthCode string `json:"authCode,omitempty"`
  9705  
  9706  	// AuthEndpoint: The auth url endpoint to send the auth code request to.
  9707  	AuthEndpoint string `json:"authEndpoint,omitempty"`
  9708  
  9709  	// AuthParams: The auth parameters sent along with the auth code
  9710  	// request.
  9711  	AuthParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"authParams,omitempty"`
  9712  
  9713  	// ClientId: The client's id.
  9714  	ClientId string `json:"clientId,omitempty"`
  9715  
  9716  	// ClientSecret: The client's secret.
  9717  	ClientSecret string `json:"clientSecret,omitempty"`
  9718  
  9719  	// RequestType: Represent how to pass parameters to fetch access token
  9720  	//
  9721  	// Possible values:
  9722  	//   "REQUEST_TYPE_UNSPECIFIED" - Unspecified request type
  9723  	//   "REQUEST_BODY" - To pass all the parameters in post body.
  9724  	//   "QUERY_PARAMETERS" - To pass all the parameters as a part of query
  9725  	// parameter.
  9726  	//   "ENCODED_HEADER" - To pass client id and client secret as base 64
  9727  	// encoding of client_id:client_password and rest parameters in post
  9728  	// body.
  9729  	RequestType string `json:"requestType,omitempty"`
  9730  
  9731  	// Scope: A space-delimited list of requested scope permissions.
  9732  	Scope string `json:"scope,omitempty"`
  9733  
  9734  	// TokenEndpoint: The token url endpoint to send the token request to.
  9735  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  9736  
  9737  	// TokenParams: The token parameters sent along with the token request.
  9738  	TokenParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"tokenParams,omitempty"`
  9739  
  9740  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  9741  	// unconditionally include in API requests. By default, fields with
  9742  	// empty or default values are omitted from API requests. However, any
  9743  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9744  	// sent to the server regardless of whether the field is empty or not.
  9745  	// This may be used to include empty fields in Patch requests.
  9746  	ForceSendFields []string `json:"-"`
  9747  
  9748  	// NullFields is a list of field names (e.g. "AccessToken") to include
  9749  	// in API requests with the JSON null value. By default, fields with
  9750  	// empty values are omitted from API requests. However, any field with
  9751  	// an empty value appearing in NullFields will be sent to the server as
  9752  	// null. It is an error if a field in this list has a non-empty value.
  9753  	// This may be used to include null fields in Patch requests.
  9754  	NullFields []string `json:"-"`
  9755  }
  9756  
  9757  func (s *GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode) MarshalJSON() ([]byte, error) {
  9758  	type NoMethod GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode
  9759  	raw := NoMethod(*s)
  9760  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9761  }
  9762  
  9763  // GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials: For client
  9764  // credentials grant, the client sends a POST request with grant_type as
  9765  // 'client_credentials' to the authorization server. The authorization
  9766  // server will respond with a JSON object containing the access token.
  9767  type GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials struct {
  9768  	// AccessToken: Access token fetched from the authorization server.
  9769  	AccessToken *GoogleCloudIntegrationsV1alphaAccessToken `json:"accessToken,omitempty"`
  9770  
  9771  	// ClientId: The client's ID.
  9772  	ClientId string `json:"clientId,omitempty"`
  9773  
  9774  	// ClientSecret: The client's secret.
  9775  	ClientSecret string `json:"clientSecret,omitempty"`
  9776  
  9777  	// RequestType: Represent how to pass parameters to fetch access token
  9778  	//
  9779  	// Possible values:
  9780  	//   "REQUEST_TYPE_UNSPECIFIED" - Unspecified request type
  9781  	//   "REQUEST_BODY" - To pass all the parameters in post body.
  9782  	//   "QUERY_PARAMETERS" - To pass all the parameters as a part of query
  9783  	// parameter.
  9784  	//   "ENCODED_HEADER" - To pass client id and client secret as base 64
  9785  	// encoding of client_id:client_password and rest parameters in post
  9786  	// body.
  9787  	RequestType string `json:"requestType,omitempty"`
  9788  
  9789  	// Scope: A space-delimited list of requested scope permissions.
  9790  	Scope string `json:"scope,omitempty"`
  9791  
  9792  	// TokenEndpoint: The token endpoint is used by the client to obtain an
  9793  	// access token by presenting its authorization grant or refresh token.
  9794  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  9795  
  9796  	// TokenParams: Token parameters for the auth request.
  9797  	TokenParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"tokenParams,omitempty"`
  9798  
  9799  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  9800  	// unconditionally include in API requests. By default, fields with
  9801  	// empty or default values are omitted from API requests. However, any
  9802  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9803  	// sent to the server regardless of whether the field is empty or not.
  9804  	// This may be used to include empty fields in Patch requests.
  9805  	ForceSendFields []string `json:"-"`
  9806  
  9807  	// NullFields is a list of field names (e.g. "AccessToken") to include
  9808  	// in API requests with the JSON null value. By default, fields with
  9809  	// empty values are omitted from API requests. However, any field with
  9810  	// an empty value appearing in NullFields will be sent to the server as
  9811  	// null. It is an error if a field in this list has a non-empty value.
  9812  	// This may be used to include null fields in Patch requests.
  9813  	NullFields []string `json:"-"`
  9814  }
  9815  
  9816  func (s *GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials) MarshalJSON() ([]byte, error) {
  9817  	type NoMethod GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials
  9818  	raw := NoMethod(*s)
  9819  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9820  }
  9821  
  9822  // GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials: For
  9823  // resource owner credentials grant, the client will ask the user for
  9824  // their authorization credentials (ususally a username and password)
  9825  // and send a POST request to the authorization server. The
  9826  // authorization server will respond with a JSON object containing the
  9827  // access token.
  9828  type GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials struct {
  9829  	// AccessToken: Access token fetched from the authorization server.
  9830  	AccessToken *GoogleCloudIntegrationsV1alphaAccessToken `json:"accessToken,omitempty"`
  9831  
  9832  	// ClientId: The client's ID.
  9833  	ClientId string `json:"clientId,omitempty"`
  9834  
  9835  	// ClientSecret: The client's secret.
  9836  	ClientSecret string `json:"clientSecret,omitempty"`
  9837  
  9838  	// Password: The user's password.
  9839  	Password string `json:"password,omitempty"`
  9840  
  9841  	// RequestType: Represent how to pass parameters to fetch access token
  9842  	//
  9843  	// Possible values:
  9844  	//   "REQUEST_TYPE_UNSPECIFIED" - Unspecified request type
  9845  	//   "REQUEST_BODY" - To pass all the parameters in post body.
  9846  	//   "QUERY_PARAMETERS" - To pass all the parameters as a part of query
  9847  	// parameter.
  9848  	//   "ENCODED_HEADER" - To pass client id and client secret as base 64
  9849  	// encoding of client_id:client_password and rest parameters in post
  9850  	// body.
  9851  	RequestType string `json:"requestType,omitempty"`
  9852  
  9853  	// Scope: A space-delimited list of requested scope permissions.
  9854  	Scope string `json:"scope,omitempty"`
  9855  
  9856  	// TokenEndpoint: The token endpoint is used by the client to obtain an
  9857  	// access token by presenting its authorization grant or refresh token.
  9858  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  9859  
  9860  	// TokenParams: Token parameters for the auth request.
  9861  	TokenParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"tokenParams,omitempty"`
  9862  
  9863  	// Username: The user's username.
  9864  	Username string `json:"username,omitempty"`
  9865  
  9866  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  9867  	// unconditionally include in API requests. By default, fields with
  9868  	// empty or default values are omitted from API requests. However, any
  9869  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9870  	// sent to the server regardless of whether the field is empty or not.
  9871  	// This may be used to include empty fields in Patch requests.
  9872  	ForceSendFields []string `json:"-"`
  9873  
  9874  	// NullFields is a list of field names (e.g. "AccessToken") to include
  9875  	// in API requests with the JSON null value. By default, fields with
  9876  	// empty values are omitted from API requests. However, any field with
  9877  	// an empty value appearing in NullFields will be sent to the server as
  9878  	// null. It is an error if a field in this list has a non-empty value.
  9879  	// This may be used to include null fields in Patch requests.
  9880  	NullFields []string `json:"-"`
  9881  }
  9882  
  9883  func (s *GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials) MarshalJSON() ([]byte, error) {
  9884  	type NoMethod GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials
  9885  	raw := NoMethod(*s)
  9886  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9887  }
  9888  
  9889  // GoogleCloudIntegrationsV1alphaOidcToken: OIDC Token
  9890  type GoogleCloudIntegrationsV1alphaOidcToken struct {
  9891  	// Audience: Audience to be used when generating OIDC token. The
  9892  	// audience claim identifies the recipients that the JWT is intended
  9893  	// for.
  9894  	Audience string `json:"audience,omitempty"`
  9895  
  9896  	// ServiceAccountEmail: The service account email to be used as the
  9897  	// identity for the token.
  9898  	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
  9899  
  9900  	// Token: ID token obtained for the service account
  9901  	Token string `json:"token,omitempty"`
  9902  
  9903  	// TokenExpireTime: The approximate time until the token retrieved is
  9904  	// valid.
  9905  	TokenExpireTime string `json:"tokenExpireTime,omitempty"`
  9906  
  9907  	// ForceSendFields is a list of field names (e.g. "Audience") to
  9908  	// unconditionally include in API requests. By default, fields with
  9909  	// empty or default values are omitted from API requests. However, any
  9910  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9911  	// sent to the server regardless of whether the field is empty or not.
  9912  	// This may be used to include empty fields in Patch requests.
  9913  	ForceSendFields []string `json:"-"`
  9914  
  9915  	// NullFields is a list of field names (e.g. "Audience") to include in
  9916  	// API requests with the JSON null value. By default, fields with empty
  9917  	// values are omitted from API requests. However, any field with an
  9918  	// empty value appearing in NullFields will be sent to the server as
  9919  	// null. It is an error if a field in this list has a non-empty value.
  9920  	// This may be used to include null fields in Patch requests.
  9921  	NullFields []string `json:"-"`
  9922  }
  9923  
  9924  func (s *GoogleCloudIntegrationsV1alphaOidcToken) MarshalJSON() ([]byte, error) {
  9925  	type NoMethod GoogleCloudIntegrationsV1alphaOidcToken
  9926  	raw := NoMethod(*s)
  9927  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9928  }
  9929  
  9930  // GoogleCloudIntegrationsV1alphaParameterMap: A generic multi-map that
  9931  // holds key value pairs. They keys and values can be of any type,
  9932  // unless specified.
  9933  type GoogleCloudIntegrationsV1alphaParameterMap struct {
  9934  	// Entries: A list of parameter map entries.
  9935  	Entries []*GoogleCloudIntegrationsV1alphaParameterMapEntry `json:"entries,omitempty"`
  9936  
  9937  	// KeyType: Option to specify key type for all entries of the map. If
  9938  	// provided then field types for all entries must conform to this.
  9939  	//
  9940  	// Possible values:
  9941  	//   "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED" - Unspecified.
  9942  	//   "STRING_VALUE" - String.
  9943  	//   "INT_VALUE" - Integer.
  9944  	//   "DOUBLE_VALUE" - Double Number.
  9945  	//   "BOOLEAN_VALUE" - Boolean.
  9946  	//   "STRING_ARRAY" - String Array.
  9947  	//   "INT_ARRAY" - Integer Array.
  9948  	//   "DOUBLE_ARRAY" - Double Number Array.
  9949  	//   "BOOLEAN_ARRAY" - Boolean Array.
  9950  	//   "JSON_VALUE" - Json.
  9951  	//   "PROTO_VALUE" - Proto Value (Internal use only).
  9952  	//   "PROTO_ARRAY" - Proto Array (Internal use only).
  9953  	KeyType string `json:"keyType,omitempty"`
  9954  
  9955  	// ValueType: Option to specify value type for all entries of the map.
  9956  	// If provided then field types for all entries must conform to this.
  9957  	//
  9958  	// Possible values:
  9959  	//   "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED" - Unspecified.
  9960  	//   "STRING_VALUE" - String.
  9961  	//   "INT_VALUE" - Integer.
  9962  	//   "DOUBLE_VALUE" - Double Number.
  9963  	//   "BOOLEAN_VALUE" - Boolean.
  9964  	//   "STRING_ARRAY" - String Array.
  9965  	//   "INT_ARRAY" - Integer Array.
  9966  	//   "DOUBLE_ARRAY" - Double Number Array.
  9967  	//   "BOOLEAN_ARRAY" - Boolean Array.
  9968  	//   "JSON_VALUE" - Json.
  9969  	//   "PROTO_VALUE" - Proto Value (Internal use only).
  9970  	//   "PROTO_ARRAY" - Proto Array (Internal use only).
  9971  	ValueType string `json:"valueType,omitempty"`
  9972  
  9973  	// ForceSendFields is a list of field names (e.g. "Entries") to
  9974  	// unconditionally include in API requests. By default, fields with
  9975  	// empty or default values are omitted from API requests. However, any
  9976  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9977  	// sent to the server regardless of whether the field is empty or not.
  9978  	// This may be used to include empty fields in Patch requests.
  9979  	ForceSendFields []string `json:"-"`
  9980  
  9981  	// NullFields is a list of field names (e.g. "Entries") to include in
  9982  	// API requests with the JSON null value. By default, fields with empty
  9983  	// values are omitted from API requests. However, any field with an
  9984  	// empty value appearing in NullFields will be sent to the server as
  9985  	// null. It is an error if a field in this list has a non-empty value.
  9986  	// This may be used to include null fields in Patch requests.
  9987  	NullFields []string `json:"-"`
  9988  }
  9989  
  9990  func (s *GoogleCloudIntegrationsV1alphaParameterMap) MarshalJSON() ([]byte, error) {
  9991  	type NoMethod GoogleCloudIntegrationsV1alphaParameterMap
  9992  	raw := NoMethod(*s)
  9993  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9994  }
  9995  
  9996  // GoogleCloudIntegrationsV1alphaParameterMapEntry: Entry is a pair of
  9997  // key and value.
  9998  type GoogleCloudIntegrationsV1alphaParameterMapEntry struct {
  9999  	// Key: Key of the map entry.
 10000  	Key *GoogleCloudIntegrationsV1alphaParameterMapField `json:"key,omitempty"`
 10001  
 10002  	// Value: Value of the map entry.
 10003  	Value *GoogleCloudIntegrationsV1alphaParameterMapField `json:"value,omitempty"`
 10004  
 10005  	// ForceSendFields is a list of field names (e.g. "Key") to
 10006  	// unconditionally include in API requests. By default, fields with
 10007  	// empty or default values are omitted from API requests. However, any
 10008  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10009  	// sent to the server regardless of whether the field is empty or not.
 10010  	// This may be used to include empty fields in Patch requests.
 10011  	ForceSendFields []string `json:"-"`
 10012  
 10013  	// NullFields is a list of field names (e.g. "Key") to include in API
 10014  	// requests with the JSON null value. By default, fields with empty
 10015  	// values are omitted from API requests. However, any field with an
 10016  	// empty value appearing in NullFields will be sent to the server as
 10017  	// null. It is an error if a field in this list has a non-empty value.
 10018  	// This may be used to include null fields in Patch requests.
 10019  	NullFields []string `json:"-"`
 10020  }
 10021  
 10022  func (s *GoogleCloudIntegrationsV1alphaParameterMapEntry) MarshalJSON() ([]byte, error) {
 10023  	type NoMethod GoogleCloudIntegrationsV1alphaParameterMapEntry
 10024  	raw := NoMethod(*s)
 10025  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10026  }
 10027  
 10028  // GoogleCloudIntegrationsV1alphaParameterMapField: Field represents
 10029  // either the key or value in an entry.
 10030  type GoogleCloudIntegrationsV1alphaParameterMapField struct {
 10031  	// LiteralValue: Passing a literal value.
 10032  	LiteralValue *GoogleCloudIntegrationsV1alphaValueType `json:"literalValue,omitempty"`
 10033  
 10034  	// ReferenceKey: Referencing one of the Integration variables.
 10035  	ReferenceKey string `json:"referenceKey,omitempty"`
 10036  
 10037  	// ForceSendFields is a list of field names (e.g. "LiteralValue") to
 10038  	// unconditionally include in API requests. By default, fields with
 10039  	// empty or default values are omitted from API requests. However, any
 10040  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10041  	// sent to the server regardless of whether the field is empty or not.
 10042  	// This may be used to include empty fields in Patch requests.
 10043  	ForceSendFields []string `json:"-"`
 10044  
 10045  	// NullFields is a list of field names (e.g. "LiteralValue") to include
 10046  	// in API requests with the JSON null value. By default, fields with
 10047  	// empty values are omitted from API requests. However, any field with
 10048  	// an empty value appearing in NullFields will be sent to the server as
 10049  	// null. It is an error if a field in this list has a non-empty value.
 10050  	// This may be used to include null fields in Patch requests.
 10051  	NullFields []string `json:"-"`
 10052  }
 10053  
 10054  func (s *GoogleCloudIntegrationsV1alphaParameterMapField) MarshalJSON() ([]byte, error) {
 10055  	type NoMethod GoogleCloudIntegrationsV1alphaParameterMapField
 10056  	raw := NoMethod(*s)
 10057  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10058  }
 10059  
 10060  // GoogleCloudIntegrationsV1alphaProjectProperties: Metadata information
 10061  // for the given project
 10062  type GoogleCloudIntegrationsV1alphaProjectProperties struct {
 10063  	// IpEnablementState: An enum value of what the enablement state is for
 10064  	// the given project
 10065  	//
 10066  	// Possible values:
 10067  	//   "IP_ENABLEMENT_STATE_UNSPECIFIED" - The client enablement status is
 10068  	// unspecified
 10069  	//   "IP_ENABLEMENT_STATE_STANDALONE" - The client is enabled on
 10070  	// Standalone IP
 10071  	//   "IP_ENABLEMENT_STATE_APIGEE" - The client is enabled on Apigee
 10072  	//   "IP_ENABLEMENT_STATE_APIGEE_ENTITLED" - The client is entitled for
 10073  	// Apigee but not enabled
 10074  	IpEnablementState string `json:"ipEnablementState,omitempty"`
 10075  
 10076  	// ProvisionedRegions: A list of provisioned regions on the current
 10077  	// project
 10078  	ProvisionedRegions []string `json:"provisionedRegions,omitempty"`
 10079  
 10080  	// ForceSendFields is a list of field names (e.g. "IpEnablementState")
 10081  	// to unconditionally include in API requests. By default, fields with
 10082  	// empty or default values are omitted from API requests. However, any
 10083  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10084  	// sent to the server regardless of whether the field is empty or not.
 10085  	// This may be used to include empty fields in Patch requests.
 10086  	ForceSendFields []string `json:"-"`
 10087  
 10088  	// NullFields is a list of field names (e.g. "IpEnablementState") to
 10089  	// include in API requests with the JSON null value. By default, fields
 10090  	// with empty values are omitted from API requests. However, any field
 10091  	// with an empty value appearing in NullFields will be sent to the
 10092  	// server as null. It is an error if a field in this list has a
 10093  	// non-empty value. This may be used to include null fields in Patch
 10094  	// requests.
 10095  	NullFields []string `json:"-"`
 10096  }
 10097  
 10098  func (s *GoogleCloudIntegrationsV1alphaProjectProperties) MarshalJSON() ([]byte, error) {
 10099  	type NoMethod GoogleCloudIntegrationsV1alphaProjectProperties
 10100  	raw := NoMethod(*s)
 10101  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10102  }
 10103  
 10104  // GoogleCloudIntegrationsV1alphaProvisionClientRequest: Request for the
 10105  // Provision rpc
 10106  type GoogleCloudIntegrationsV1alphaProvisionClientRequest struct {
 10107  	// CloudKmsConfig: Required. Required: Cloud KMS config for AuthModule
 10108  	// to encrypt/decrypt credentials.
 10109  	CloudKmsConfig *GoogleCloudIntegrationsV1alphaCloudKmsConfig `json:"cloudKmsConfig,omitempty"`
 10110  
 10111  	// CreateSampleWorkflows: Optional. Indicates if sample workflow should
 10112  	// be created along with provisioning
 10113  	CreateSampleWorkflows bool `json:"createSampleWorkflows,omitempty"`
 10114  
 10115  	// ForceSendFields is a list of field names (e.g. "CloudKmsConfig") to
 10116  	// unconditionally include in API requests. By default, fields with
 10117  	// empty or default values are omitted from API requests. However, any
 10118  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10119  	// sent to the server regardless of whether the field is empty or not.
 10120  	// This may be used to include empty fields in Patch requests.
 10121  	ForceSendFields []string `json:"-"`
 10122  
 10123  	// NullFields is a list of field names (e.g. "CloudKmsConfig") to
 10124  	// include in API requests with the JSON null value. By default, fields
 10125  	// with empty values are omitted from API requests. However, any field
 10126  	// with an empty value appearing in NullFields will be sent to the
 10127  	// server as null. It is an error if a field in this list has a
 10128  	// non-empty value. This may be used to include null fields in Patch
 10129  	// requests.
 10130  	NullFields []string `json:"-"`
 10131  }
 10132  
 10133  func (s *GoogleCloudIntegrationsV1alphaProvisionClientRequest) MarshalJSON() ([]byte, error) {
 10134  	type NoMethod GoogleCloudIntegrationsV1alphaProvisionClientRequest
 10135  	raw := NoMethod(*s)
 10136  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10137  }
 10138  
 10139  // GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest:
 10140  // Request for PublishIntegrationVersion.
 10141  type GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest struct {
 10142  }
 10143  
 10144  // GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse:
 10145  // Response for PublishIntegrationVersion.
 10146  type GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse struct {
 10147  	// ServerResponse contains the HTTP response code and headers from the
 10148  	// server.
 10149  	googleapi.ServerResponse `json:"-"`
 10150  }
 10151  
 10152  // GoogleCloudIntegrationsV1alphaResolveSuspensionRequest: Request for
 10153  // [Suspensions.ResolveSuspensions].
 10154  type GoogleCloudIntegrationsV1alphaResolveSuspensionRequest struct {
 10155  	// Suspension: Suspension, containing the event_execution_info_id,
 10156  	// task_id, and state to set on the corresponding suspension record.
 10157  	Suspension *GoogleCloudIntegrationsV1alphaSuspension `json:"suspension,omitempty"`
 10158  
 10159  	// ForceSendFields is a list of field names (e.g. "Suspension") to
 10160  	// unconditionally include in API requests. By default, fields with
 10161  	// empty or default values are omitted from API requests. However, any
 10162  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10163  	// sent to the server regardless of whether the field is empty or not.
 10164  	// This may be used to include empty fields in Patch requests.
 10165  	ForceSendFields []string `json:"-"`
 10166  
 10167  	// NullFields is a list of field names (e.g. "Suspension") to include in
 10168  	// API requests with the JSON null value. By default, fields with empty
 10169  	// values are omitted from API requests. However, any field with an
 10170  	// empty value appearing in NullFields will be sent to the server as
 10171  	// null. It is an error if a field in this list has a non-empty value.
 10172  	// This may be used to include null fields in Patch requests.
 10173  	NullFields []string `json:"-"`
 10174  }
 10175  
 10176  func (s *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) MarshalJSON() ([]byte, error) {
 10177  	type NoMethod GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
 10178  	raw := NoMethod(*s)
 10179  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10180  }
 10181  
 10182  // GoogleCloudIntegrationsV1alphaResolveSuspensionResponse: Response for
 10183  // Suspensions.ResolveSuspensions.
 10184  type GoogleCloudIntegrationsV1alphaResolveSuspensionResponse struct {
 10185  	// ServerResponse contains the HTTP response code and headers from the
 10186  	// server.
 10187  	googleapi.ServerResponse `json:"-"`
 10188  }
 10189  
 10190  // GoogleCloudIntegrationsV1alphaRuntimeActionSchema: Metadata of an
 10191  // action, including schemas for its inputs and outputs.
 10192  type GoogleCloudIntegrationsV1alphaRuntimeActionSchema struct {
 10193  	// Action: Name of the action.
 10194  	Action string `json:"action,omitempty"`
 10195  
 10196  	// InputSchema: Input parameter schema for the action.
 10197  	InputSchema string `json:"inputSchema,omitempty"`
 10198  
 10199  	// OutputSchema: Output parameter schema for the action.
 10200  	OutputSchema string `json:"outputSchema,omitempty"`
 10201  
 10202  	// ForceSendFields is a list of field names (e.g. "Action") to
 10203  	// unconditionally include in API requests. By default, fields with
 10204  	// empty or default values are omitted from API requests. However, any
 10205  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10206  	// sent to the server regardless of whether the field is empty or not.
 10207  	// This may be used to include empty fields in Patch requests.
 10208  	ForceSendFields []string `json:"-"`
 10209  
 10210  	// NullFields is a list of field names (e.g. "Action") to include in API
 10211  	// requests with the JSON null value. By default, fields with empty
 10212  	// values are omitted from API requests. However, any field with an
 10213  	// empty value appearing in NullFields will be sent to the server as
 10214  	// null. It is an error if a field in this list has a non-empty value.
 10215  	// This may be used to include null fields in Patch requests.
 10216  	NullFields []string `json:"-"`
 10217  }
 10218  
 10219  func (s *GoogleCloudIntegrationsV1alphaRuntimeActionSchema) MarshalJSON() ([]byte, error) {
 10220  	type NoMethod GoogleCloudIntegrationsV1alphaRuntimeActionSchema
 10221  	raw := NoMethod(*s)
 10222  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10223  }
 10224  
 10225  // GoogleCloudIntegrationsV1alphaRuntimeEntitySchema: Metadata of an
 10226  // entity, including a schema for its properties.
 10227  type GoogleCloudIntegrationsV1alphaRuntimeEntitySchema struct {
 10228  	// ArrayFieldSchema: The above schema, but for an array of the
 10229  	// associated entity.
 10230  	ArrayFieldSchema string `json:"arrayFieldSchema,omitempty"`
 10231  
 10232  	// Entity: Name of the entity.
 10233  	Entity string `json:"entity,omitempty"`
 10234  
 10235  	// FieldSchema: List of fields in the entity.
 10236  	FieldSchema string `json:"fieldSchema,omitempty"`
 10237  
 10238  	// ForceSendFields is a list of field names (e.g. "ArrayFieldSchema") to
 10239  	// unconditionally include in API requests. By default, fields with
 10240  	// empty or default values are omitted from API requests. However, any
 10241  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10242  	// sent to the server regardless of whether the field is empty or not.
 10243  	// This may be used to include empty fields in Patch requests.
 10244  	ForceSendFields []string `json:"-"`
 10245  
 10246  	// NullFields is a list of field names (e.g. "ArrayFieldSchema") to
 10247  	// include in API requests with the JSON null value. By default, fields
 10248  	// with empty values are omitted from API requests. However, any field
 10249  	// with an empty value appearing in NullFields will be sent to the
 10250  	// server as null. It is an error if a field in this list has a
 10251  	// non-empty value. This may be used to include null fields in Patch
 10252  	// requests.
 10253  	NullFields []string `json:"-"`
 10254  }
 10255  
 10256  func (s *GoogleCloudIntegrationsV1alphaRuntimeEntitySchema) MarshalJSON() ([]byte, error) {
 10257  	type NoMethod GoogleCloudIntegrationsV1alphaRuntimeEntitySchema
 10258  	raw := NoMethod(*s)
 10259  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10260  }
 10261  
 10262  // GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest: The
 10263  // request for scheduling an integration.
 10264  type GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest struct {
 10265  	// InputParameters: Optional. Input parameters used by integration
 10266  	// execution.
 10267  	InputParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"inputParameters,omitempty"`
 10268  
 10269  	// ParameterEntries: Parameters are a part of Event and can be used to
 10270  	// communicate between different tasks that are part of the same
 10271  	// integration execution.
 10272  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
 10273  
 10274  	// Parameters: Passed in as parameters to each integration execution.
 10275  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
 10276  
 10277  	// RequestId: This is used to de-dup incoming request: if the duplicate
 10278  	// request was detected, the response from the previous execution is
 10279  	// returned.
 10280  	RequestId string `json:"requestId,omitempty"`
 10281  
 10282  	// ScheduleTime: The time that the integration should be executed. If
 10283  	// the time is less or equal to the current time, the integration is
 10284  	// executed immediately.
 10285  	ScheduleTime string `json:"scheduleTime,omitempty"`
 10286  
 10287  	// TriggerId: Matched against all {@link TriggerConfig}s across all
 10288  	// integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)
 10289  	TriggerId string `json:"triggerId,omitempty"`
 10290  
 10291  	// ForceSendFields is a list of field names (e.g. "InputParameters") to
 10292  	// unconditionally include in API requests. By default, fields with
 10293  	// empty or default values are omitted from API requests. However, any
 10294  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10295  	// sent to the server regardless of whether the field is empty or not.
 10296  	// This may be used to include empty fields in Patch requests.
 10297  	ForceSendFields []string `json:"-"`
 10298  
 10299  	// NullFields is a list of field names (e.g. "InputParameters") to
 10300  	// include in API requests with the JSON null value. By default, fields
 10301  	// with empty values are omitted from API requests. However, any field
 10302  	// with an empty value appearing in NullFields will be sent to the
 10303  	// server as null. It is an error if a field in this list has a
 10304  	// non-empty value. This may be used to include null fields in Patch
 10305  	// requests.
 10306  	NullFields []string `json:"-"`
 10307  }
 10308  
 10309  func (s *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) MarshalJSON() ([]byte, error) {
 10310  	type NoMethod GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
 10311  	raw := NoMethod(*s)
 10312  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10313  }
 10314  
 10315  // GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse: The
 10316  // response for executing an integration.
 10317  type GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse struct {
 10318  	// ExecutionInfoIds: The execution info id for the executed
 10319  	// integrations.
 10320  	ExecutionInfoIds []string `json:"executionInfoIds,omitempty"`
 10321  
 10322  	// ServerResponse contains the HTTP response code and headers from the
 10323  	// server.
 10324  	googleapi.ServerResponse `json:"-"`
 10325  
 10326  	// ForceSendFields is a list of field names (e.g. "ExecutionInfoIds") to
 10327  	// unconditionally include in API requests. By default, fields with
 10328  	// empty or default values are omitted from API requests. However, any
 10329  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10330  	// sent to the server regardless of whether the field is empty or not.
 10331  	// This may be used to include empty fields in Patch requests.
 10332  	ForceSendFields []string `json:"-"`
 10333  
 10334  	// NullFields is a list of field names (e.g. "ExecutionInfoIds") to
 10335  	// include in API requests with the JSON null value. By default, fields
 10336  	// with empty values are omitted from API requests. However, any field
 10337  	// with an empty value appearing in NullFields will be sent to the
 10338  	// server as null. It is an error if a field in this list has a
 10339  	// non-empty value. This may be used to include null fields in Patch
 10340  	// requests.
 10341  	NullFields []string `json:"-"`
 10342  }
 10343  
 10344  func (s *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse) MarshalJSON() ([]byte, error) {
 10345  	type NoMethod GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse
 10346  	raw := NoMethod(*s)
 10347  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10348  }
 10349  
 10350  // GoogleCloudIntegrationsV1alphaServiceAccountCredentials: Represents
 10351  // the service account which can be used to generate access token for
 10352  // authenticating the service call.
 10353  type GoogleCloudIntegrationsV1alphaServiceAccountCredentials struct {
 10354  	// Scope: A space-delimited list of requested scope permissions.
 10355  	Scope string `json:"scope,omitempty"`
 10356  
 10357  	// ServiceAccount: Name of the service account that has the permission
 10358  	// to make the request.
 10359  	ServiceAccount string `json:"serviceAccount,omitempty"`
 10360  
 10361  	// ForceSendFields is a list of field names (e.g. "Scope") to
 10362  	// unconditionally include in API requests. By default, fields with
 10363  	// empty or default values are omitted from API requests. However, any
 10364  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10365  	// sent to the server regardless of whether the field is empty or not.
 10366  	// This may be used to include empty fields in Patch requests.
 10367  	ForceSendFields []string `json:"-"`
 10368  
 10369  	// NullFields is a list of field names (e.g. "Scope") to include in API
 10370  	// requests with the JSON null value. By default, fields with empty
 10371  	// values are omitted from API requests. However, any field with an
 10372  	// empty value appearing in NullFields will be sent to the server as
 10373  	// null. It is an error if a field in this list has a non-empty value.
 10374  	// This may be used to include null fields in Patch requests.
 10375  	NullFields []string `json:"-"`
 10376  }
 10377  
 10378  func (s *GoogleCloudIntegrationsV1alphaServiceAccountCredentials) MarshalJSON() ([]byte, error) {
 10379  	type NoMethod GoogleCloudIntegrationsV1alphaServiceAccountCredentials
 10380  	raw := NoMethod(*s)
 10381  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10382  }
 10383  
 10384  // GoogleCloudIntegrationsV1alphaSfdcChannel: The SfdcChannel that
 10385  // points to a CDC or Platform Event Channel.
 10386  type GoogleCloudIntegrationsV1alphaSfdcChannel struct {
 10387  	// ChannelTopic: The Channel topic defined by salesforce once an channel
 10388  	// is opened
 10389  	ChannelTopic string `json:"channelTopic,omitempty"`
 10390  
 10391  	// CreateTime: Output only. Time when the channel is created
 10392  	CreateTime string `json:"createTime,omitempty"`
 10393  
 10394  	// DeleteTime: Output only. Time when the channel was deleted. Empty if
 10395  	// not deleted.
 10396  	DeleteTime string `json:"deleteTime,omitempty"`
 10397  
 10398  	// Description: The description for this channel
 10399  	Description string `json:"description,omitempty"`
 10400  
 10401  	// DisplayName: Client level unique name/alias to easily reference a
 10402  	// channel.
 10403  	DisplayName string `json:"displayName,omitempty"`
 10404  
 10405  	// IsActive: Indicated if a channel has any active integrations
 10406  	// referencing it. Set to false when the channel is created, and set to
 10407  	// true if there is any integration published with the channel
 10408  	// configured in it.
 10409  	IsActive bool `json:"isActive,omitempty"`
 10410  
 10411  	// LastReplayId: Last sfdc messsage replay id for channel
 10412  	LastReplayId string `json:"lastReplayId,omitempty"`
 10413  
 10414  	// Name: Resource name of the SFDC channel
 10415  	// projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/
 10416  	// sfdcChannels/{sfdc_channel}.
 10417  	Name string `json:"name,omitempty"`
 10418  
 10419  	// UpdateTime: Output only. Time when the channel was last updated
 10420  	UpdateTime string `json:"updateTime,omitempty"`
 10421  
 10422  	// ServerResponse contains the HTTP response code and headers from the
 10423  	// server.
 10424  	googleapi.ServerResponse `json:"-"`
 10425  
 10426  	// ForceSendFields is a list of field names (e.g. "ChannelTopic") to
 10427  	// unconditionally include in API requests. By default, fields with
 10428  	// empty or default values are omitted from API requests. However, any
 10429  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10430  	// sent to the server regardless of whether the field is empty or not.
 10431  	// This may be used to include empty fields in Patch requests.
 10432  	ForceSendFields []string `json:"-"`
 10433  
 10434  	// NullFields is a list of field names (e.g. "ChannelTopic") to include
 10435  	// in API requests with the JSON null value. By default, fields with
 10436  	// empty values are omitted from API requests. However, any field with
 10437  	// an empty value appearing in NullFields will be sent to the server as
 10438  	// null. It is an error if a field in this list has a non-empty value.
 10439  	// This may be used to include null fields in Patch requests.
 10440  	NullFields []string `json:"-"`
 10441  }
 10442  
 10443  func (s *GoogleCloudIntegrationsV1alphaSfdcChannel) MarshalJSON() ([]byte, error) {
 10444  	type NoMethod GoogleCloudIntegrationsV1alphaSfdcChannel
 10445  	raw := NoMethod(*s)
 10446  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10447  }
 10448  
 10449  // GoogleCloudIntegrationsV1alphaSfdcInstance: The SfdcInstance resource
 10450  // use to hold channels and connection config data.
 10451  type GoogleCloudIntegrationsV1alphaSfdcInstance struct {
 10452  	// AuthConfigId: A list of AuthConfigs that can be tried to open the
 10453  	// channel to SFDC
 10454  	AuthConfigId []string `json:"authConfigId,omitempty"`
 10455  
 10456  	// CreateTime: Output only. Time when the instance is created
 10457  	CreateTime string `json:"createTime,omitempty"`
 10458  
 10459  	// DeleteTime: Output only. Time when the instance was deleted. Empty if
 10460  	// not deleted.
 10461  	DeleteTime string `json:"deleteTime,omitempty"`
 10462  
 10463  	// Description: A description of the sfdc instance.
 10464  	Description string `json:"description,omitempty"`
 10465  
 10466  	// DisplayName: User selected unique name/alias to easily reference an
 10467  	// instance.
 10468  	DisplayName string `json:"displayName,omitempty"`
 10469  
 10470  	// Name: Resource name of the SFDC instance
 10471  	// projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
 10472  	Name string `json:"name,omitempty"`
 10473  
 10474  	// ServiceAuthority: URL used for API calls after authentication (the
 10475  	// login authority is configured within the referenced AuthConfig).
 10476  	ServiceAuthority string `json:"serviceAuthority,omitempty"`
 10477  
 10478  	// SfdcOrgId: The SFDC Org Id. This is defined in salesforce.
 10479  	SfdcOrgId string `json:"sfdcOrgId,omitempty"`
 10480  
 10481  	// UpdateTime: Output only. Time when the instance was last updated
 10482  	UpdateTime string `json:"updateTime,omitempty"`
 10483  
 10484  	// ServerResponse contains the HTTP response code and headers from the
 10485  	// server.
 10486  	googleapi.ServerResponse `json:"-"`
 10487  
 10488  	// ForceSendFields is a list of field names (e.g. "AuthConfigId") to
 10489  	// unconditionally include in API requests. By default, fields with
 10490  	// empty or default values are omitted from API requests. However, any
 10491  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10492  	// sent to the server regardless of whether the field is empty or not.
 10493  	// This may be used to include empty fields in Patch requests.
 10494  	ForceSendFields []string `json:"-"`
 10495  
 10496  	// NullFields is a list of field names (e.g. "AuthConfigId") to include
 10497  	// in API requests with the JSON null value. By default, fields with
 10498  	// empty values are omitted from API requests. However, any field with
 10499  	// an empty value appearing in NullFields will be sent to the server as
 10500  	// null. It is an error if a field in this list has a non-empty value.
 10501  	// This may be used to include null fields in Patch requests.
 10502  	NullFields []string `json:"-"`
 10503  }
 10504  
 10505  func (s *GoogleCloudIntegrationsV1alphaSfdcInstance) MarshalJSON() ([]byte, error) {
 10506  	type NoMethod GoogleCloudIntegrationsV1alphaSfdcInstance
 10507  	raw := NoMethod(*s)
 10508  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10509  }
 10510  
 10511  // GoogleCloudIntegrationsV1alphaStringParameterArray: This message only
 10512  // contains a field of string array.
 10513  type GoogleCloudIntegrationsV1alphaStringParameterArray struct {
 10514  	// StringValues: String array.
 10515  	StringValues []string `json:"stringValues,omitempty"`
 10516  
 10517  	// ForceSendFields is a list of field names (e.g. "StringValues") to
 10518  	// unconditionally include in API requests. By default, fields with
 10519  	// empty or default values are omitted from API requests. However, any
 10520  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10521  	// sent to the server regardless of whether the field is empty or not.
 10522  	// This may be used to include empty fields in Patch requests.
 10523  	ForceSendFields []string `json:"-"`
 10524  
 10525  	// NullFields is a list of field names (e.g. "StringValues") to include
 10526  	// in API requests with the JSON null value. By default, fields with
 10527  	// empty values are omitted from API requests. However, any field with
 10528  	// an empty value appearing in NullFields will be sent to the server as
 10529  	// null. It is an error if a field in this list has a non-empty value.
 10530  	// This may be used to include null fields in Patch requests.
 10531  	NullFields []string `json:"-"`
 10532  }
 10533  
 10534  func (s *GoogleCloudIntegrationsV1alphaStringParameterArray) MarshalJSON() ([]byte, error) {
 10535  	type NoMethod GoogleCloudIntegrationsV1alphaStringParameterArray
 10536  	raw := NoMethod(*s)
 10537  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10538  }
 10539  
 10540  // GoogleCloudIntegrationsV1alphaSuccessPolicy: Policy that dictates the
 10541  // behavior for the task after it completes successfully.
 10542  type GoogleCloudIntegrationsV1alphaSuccessPolicy struct {
 10543  	// FinalState: State to which the execution snapshot status will be set
 10544  	// if the task succeeds.
 10545  	//
 10546  	// Possible values:
 10547  	//   "FINAL_STATE_UNSPECIFIED" - UNSPECIFIED.
 10548  	//   "SUCCEEDED" - The default behavior, where successful tasks will be
 10549  	// marked as SUCCEEDED.
 10550  	//   "SUSPENDED" - Sets the state to SUSPENDED after executing. This is
 10551  	// required for SuspensionTask; event execution will continue once the
 10552  	// user calls ResolveSuspensions with the event_execution_info_id and
 10553  	// the task number.
 10554  	FinalState string `json:"finalState,omitempty"`
 10555  
 10556  	// ForceSendFields is a list of field names (e.g. "FinalState") to
 10557  	// unconditionally include in API requests. By default, fields with
 10558  	// empty or default values are omitted from API requests. However, any
 10559  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10560  	// sent to the server regardless of whether the field is empty or not.
 10561  	// This may be used to include empty fields in Patch requests.
 10562  	ForceSendFields []string `json:"-"`
 10563  
 10564  	// NullFields is a list of field names (e.g. "FinalState") to include in
 10565  	// API requests with the JSON null value. By default, fields with empty
 10566  	// values are omitted from API requests. However, any field with an
 10567  	// empty value appearing in NullFields will be sent to the server as
 10568  	// null. It is an error if a field in this list has a non-empty value.
 10569  	// This may be used to include null fields in Patch requests.
 10570  	NullFields []string `json:"-"`
 10571  }
 10572  
 10573  func (s *GoogleCloudIntegrationsV1alphaSuccessPolicy) MarshalJSON() ([]byte, error) {
 10574  	type NoMethod GoogleCloudIntegrationsV1alphaSuccessPolicy
 10575  	raw := NoMethod(*s)
 10576  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10577  }
 10578  
 10579  // GoogleCloudIntegrationsV1alphaSuspension: A record representing a
 10580  // suspension.
 10581  type GoogleCloudIntegrationsV1alphaSuspension struct {
 10582  	// ApprovalConfig: Controls the notifications and approval permissions
 10583  	// for this suspension.
 10584  	ApprovalConfig *GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig `json:"approvalConfig,omitempty"`
 10585  
 10586  	// Audit: Metadata pertaining to the resolution of this suspension.
 10587  	Audit *GoogleCloudIntegrationsV1alphaSuspensionAudit `json:"audit,omitempty"`
 10588  
 10589  	// CreateTime: Output only. Auto-generated.
 10590  	CreateTime string `json:"createTime,omitempty"`
 10591  
 10592  	// EventExecutionInfoId: Required. ID of the associated execution.
 10593  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
 10594  
 10595  	// Integration: Required. The name of the originating integration.
 10596  	Integration string `json:"integration,omitempty"`
 10597  
 10598  	// LastModifyTime: Output only. Auto-generated.
 10599  	LastModifyTime string `json:"lastModifyTime,omitempty"`
 10600  
 10601  	// Name: Resource name for suspensions suspension/{suspension_id}
 10602  	Name string `json:"name,omitempty"`
 10603  
 10604  	// State: Required. State of this suspension, indicating what action a
 10605  	// resolver has taken.
 10606  	//
 10607  	// Possible values:
 10608  	//   "RESOLUTION_STATE_UNSPECIFIED" - Unset state.
 10609  	//   "PENDING" - The suspension has not yet been resolved.
 10610  	//   "REJECTED" - The resolver has rejected the suspension.
 10611  	//   "LIFTED" - The resolver has lifted the suspension.
 10612  	State string `json:"state,omitempty"`
 10613  
 10614  	// SuspensionConfig: Controls the notifications and resolver permissions
 10615  	// for this suspension.
 10616  	SuspensionConfig *EnterpriseCrmEventbusProtoSuspensionConfig `json:"suspensionConfig,omitempty"`
 10617  
 10618  	// TaskId: Required. Task id of the associated SuspensionTask.
 10619  	TaskId string `json:"taskId,omitempty"`
 10620  
 10621  	// ForceSendFields is a list of field names (e.g. "ApprovalConfig") to
 10622  	// unconditionally include in API requests. By default, fields with
 10623  	// empty or default values are omitted from API requests. However, any
 10624  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10625  	// sent to the server regardless of whether the field is empty or not.
 10626  	// This may be used to include empty fields in Patch requests.
 10627  	ForceSendFields []string `json:"-"`
 10628  
 10629  	// NullFields is a list of field names (e.g. "ApprovalConfig") to
 10630  	// include in API requests with the JSON null value. By default, fields
 10631  	// with empty values are omitted from API requests. However, any field
 10632  	// with an empty value appearing in NullFields will be sent to the
 10633  	// server as null. It is an error if a field in this list has a
 10634  	// non-empty value. This may be used to include null fields in Patch
 10635  	// requests.
 10636  	NullFields []string `json:"-"`
 10637  }
 10638  
 10639  func (s *GoogleCloudIntegrationsV1alphaSuspension) MarshalJSON() ([]byte, error) {
 10640  	type NoMethod GoogleCloudIntegrationsV1alphaSuspension
 10641  	raw := NoMethod(*s)
 10642  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10643  }
 10644  
 10645  // GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig:
 10646  // Configurations for approving the Suspension.
 10647  type GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig struct {
 10648  	// CustomMessage: Information to provide for recipients.
 10649  	CustomMessage string `json:"customMessage,omitempty"`
 10650  
 10651  	// EmailAddresses: Email addresses to send approval request to.
 10652  	EmailAddresses []string `json:"emailAddresses,omitempty"`
 10653  
 10654  	// Expiration: Indicates the next steps when no external actions happen
 10655  	// on the suspension.
 10656  	Expiration *GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration `json:"expiration,omitempty"`
 10657  
 10658  	// ForceSendFields is a list of field names (e.g. "CustomMessage") to
 10659  	// unconditionally include in API requests. By default, fields with
 10660  	// empty or default values are omitted from API requests. However, any
 10661  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10662  	// sent to the server regardless of whether the field is empty or not.
 10663  	// This may be used to include empty fields in Patch requests.
 10664  	ForceSendFields []string `json:"-"`
 10665  
 10666  	// NullFields is a list of field names (e.g. "CustomMessage") to include
 10667  	// in API requests with the JSON null value. By default, fields with
 10668  	// empty values are omitted from API requests. However, any field with
 10669  	// an empty value appearing in NullFields will be sent to the server as
 10670  	// null. It is an error if a field in this list has a non-empty value.
 10671  	// This may be used to include null fields in Patch requests.
 10672  	NullFields []string `json:"-"`
 10673  }
 10674  
 10675  func (s *GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig) MarshalJSON() ([]byte, error) {
 10676  	type NoMethod GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
 10677  	raw := NoMethod(*s)
 10678  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10679  }
 10680  
 10681  // GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration:
 10682  // Expiration configs for the approval request.
 10683  type GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration struct {
 10684  	// ExpireTime: Output only. Time after which the suspension expires, if
 10685  	// no action taken.
 10686  	ExpireTime string `json:"expireTime,omitempty"`
 10687  
 10688  	// LiftWhenExpired: Whether the suspension will be REJECTED or LIFTED
 10689  	// upon expiration. REJECTED is the default behavior.
 10690  	LiftWhenExpired bool `json:"liftWhenExpired,omitempty"`
 10691  
 10692  	// RemindTime: Time after the previous suspension action reminder, if
 10693  	// any, is sent using the selected notification option, for a suspension
 10694  	// which is still PENDING_UNSPECIFIED.
 10695  	RemindTime string `json:"remindTime,omitempty"`
 10696  
 10697  	// ForceSendFields is a list of field names (e.g. "ExpireTime") to
 10698  	// unconditionally include in API requests. By default, fields with
 10699  	// empty or default values are omitted from API requests. However, any
 10700  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10701  	// sent to the server regardless of whether the field is empty or not.
 10702  	// This may be used to include empty fields in Patch requests.
 10703  	ForceSendFields []string `json:"-"`
 10704  
 10705  	// NullFields is a list of field names (e.g. "ExpireTime") to include in
 10706  	// API requests with the JSON null value. By default, fields with empty
 10707  	// values are omitted from API requests. However, any field with an
 10708  	// empty value appearing in NullFields will be sent to the server as
 10709  	// null. It is an error if a field in this list has a non-empty value.
 10710  	// This may be used to include null fields in Patch requests.
 10711  	NullFields []string `json:"-"`
 10712  }
 10713  
 10714  func (s *GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration) MarshalJSON() ([]byte, error) {
 10715  	type NoMethod GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
 10716  	raw := NoMethod(*s)
 10717  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10718  }
 10719  
 10720  // GoogleCloudIntegrationsV1alphaSuspensionAudit: Contains when and by
 10721  // whom the suspension was resolved.
 10722  type GoogleCloudIntegrationsV1alphaSuspensionAudit struct {
 10723  	// ResolveTime: Time at which this suspension was resolved.
 10724  	ResolveTime string `json:"resolveTime,omitempty"`
 10725  
 10726  	// Resolver: Email address of the person who resolved this suspension.
 10727  	Resolver string `json:"resolver,omitempty"`
 10728  
 10729  	// ForceSendFields is a list of field names (e.g. "ResolveTime") to
 10730  	// unconditionally include in API requests. By default, fields with
 10731  	// empty or default values are omitted from API requests. However, any
 10732  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10733  	// sent to the server regardless of whether the field is empty or not.
 10734  	// This may be used to include empty fields in Patch requests.
 10735  	ForceSendFields []string `json:"-"`
 10736  
 10737  	// NullFields is a list of field names (e.g. "ResolveTime") to include
 10738  	// in API requests with the JSON null value. By default, fields with
 10739  	// empty values are omitted from API requests. However, any field with
 10740  	// an empty value appearing in NullFields will be sent to the server as
 10741  	// null. It is an error if a field in this list has a non-empty value.
 10742  	// This may be used to include null fields in Patch requests.
 10743  	NullFields []string `json:"-"`
 10744  }
 10745  
 10746  func (s *GoogleCloudIntegrationsV1alphaSuspensionAudit) MarshalJSON() ([]byte, error) {
 10747  	type NoMethod GoogleCloudIntegrationsV1alphaSuspensionAudit
 10748  	raw := NoMethod(*s)
 10749  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10750  }
 10751  
 10752  // GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest: Request for
 10753  // TakeoverEditLock.
 10754  type GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest struct {
 10755  }
 10756  
 10757  // GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse: Response for
 10758  // TakeoverEditLock.
 10759  type GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse struct {
 10760  	// IntegrationVersion: Version after the lock is acquired by the new
 10761  	// user.
 10762  	IntegrationVersion *GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersion,omitempty"`
 10763  
 10764  	// ServerResponse contains the HTTP response code and headers from the
 10765  	// server.
 10766  	googleapi.ServerResponse `json:"-"`
 10767  
 10768  	// ForceSendFields is a list of field names (e.g. "IntegrationVersion")
 10769  	// to unconditionally include in API requests. By default, fields with
 10770  	// empty or default values are omitted from API requests. However, any
 10771  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10772  	// sent to the server regardless of whether the field is empty or not.
 10773  	// This may be used to include empty fields in Patch requests.
 10774  	ForceSendFields []string `json:"-"`
 10775  
 10776  	// NullFields is a list of field names (e.g. "IntegrationVersion") to
 10777  	// include in API requests with the JSON null value. By default, fields
 10778  	// with empty values are omitted from API requests. However, any field
 10779  	// with an empty value appearing in NullFields will be sent to the
 10780  	// server as null. It is an error if a field in this list has a
 10781  	// non-empty value. This may be used to include null fields in Patch
 10782  	// requests.
 10783  	NullFields []string `json:"-"`
 10784  }
 10785  
 10786  func (s *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse) MarshalJSON() ([]byte, error) {
 10787  	type NoMethod GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse
 10788  	raw := NoMethod(*s)
 10789  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10790  }
 10791  
 10792  // GoogleCloudIntegrationsV1alphaTaskConfig: The task configuration
 10793  // details. This is not the implementation of Task. There might be
 10794  // multiple TaskConfigs for the same Task.
 10795  type GoogleCloudIntegrationsV1alphaTaskConfig struct {
 10796  	// Description: Optional. User-provided description intended to give
 10797  	// additional business context about the task.
 10798  	Description string `json:"description,omitempty"`
 10799  
 10800  	// DisplayName: Optional. User-provided label that is attached to this
 10801  	// TaskConfig in the UI.
 10802  	DisplayName string `json:"displayName,omitempty"`
 10803  
 10804  	// FailurePolicy: Optional. Determines the number of times the task will
 10805  	// be retried on failure and with what retry strategy. This is
 10806  	// applicable for asynchronous calls to Eventbus alone (Post To Queue,
 10807  	// Schedule etc.).
 10808  	FailurePolicy *GoogleCloudIntegrationsV1alphaFailurePolicy `json:"failurePolicy,omitempty"`
 10809  
 10810  	// JsonValidationOption: Optional. If set, overrides the option
 10811  	// configured in the Task implementation class.
 10812  	//
 10813  	// Possible values:
 10814  	//   "JSON_VALIDATION_OPTION_UNSPECIFIED" - As per the default behavior,
 10815  	// no validation will be run. Will not override any option set in a
 10816  	// Task.
 10817  	//   "SKIP" - Do not run any validation against JSON schemas.
 10818  	//   "PRE_EXECUTION" - Validate all potential input JSON parameters
 10819  	// against schemas specified in IntegrationParameter.
 10820  	//   "POST_EXECUTION" - Validate all potential output JSON parameters
 10821  	// against schemas specified in IntegrationParameter.
 10822  	//   "PRE_POST_EXECUTION" - Perform both PRE_EXECUTION and
 10823  	// POST_EXECUTION validations.
 10824  	JsonValidationOption string `json:"jsonValidationOption,omitempty"`
 10825  
 10826  	// NextTasks: Optional. The set of tasks that are next in line to be
 10827  	// executed as per the execution graph defined for the parent event,
 10828  	// specified by `event_config_id`. Each of these next tasks are executed
 10829  	// only if the condition associated with them evaluates to true.
 10830  	NextTasks []*GoogleCloudIntegrationsV1alphaNextTask `json:"nextTasks,omitempty"`
 10831  
 10832  	// NextTasksExecutionPolicy: Optional. The policy dictating the
 10833  	// execution of the next set of tasks for the current task.
 10834  	//
 10835  	// Possible values:
 10836  	//   "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED" - Default.
 10837  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
 10838  	// associated condition.
 10839  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
 10840  	// associated condition.
 10841  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
 10842  
 10843  	// Parameters: Optional. The customized parameters the user can pass to
 10844  	// this task.
 10845  	Parameters map[string]GoogleCloudIntegrationsV1alphaEventParameter `json:"parameters,omitempty"`
 10846  
 10847  	// SuccessPolicy: Optional. Determines what action to take upon
 10848  	// successful task completion.
 10849  	SuccessPolicy *GoogleCloudIntegrationsV1alphaSuccessPolicy `json:"successPolicy,omitempty"`
 10850  
 10851  	// SynchronousCallFailurePolicy: Optional. Determines the number of
 10852  	// times the task will be retried on failure and with what retry
 10853  	// strategy. This is applicable for synchronous calls to Eventbus alone
 10854  	// (Post).
 10855  	SynchronousCallFailurePolicy *GoogleCloudIntegrationsV1alphaFailurePolicy `json:"synchronousCallFailurePolicy,omitempty"`
 10856  
 10857  	// Task: Optional. The name for the task.
 10858  	Task string `json:"task,omitempty"`
 10859  
 10860  	// TaskExecutionStrategy: Optional. The policy dictating the execution
 10861  	// strategy of this task.
 10862  	//
 10863  	// Possible values:
 10864  	//   "TASK_EXECUTION_STRATEGY_UNSPECIFIED" - Default. If the strategy is
 10865  	// not set explicitly, it will default to `WHEN_ALL_SUCCEED`.
 10866  	//   "WHEN_ALL_SUCCEED" - Wait until all of its previous tasks finished
 10867  	// execution, then verify at least one of the edge conditions is met,
 10868  	// and execute if possible. This should be considered as
 10869  	// WHEN_ALL_TASKS_SUCCEED.
 10870  	//   "WHEN_ANY_SUCCEED" - Start execution as long as any of its previous
 10871  	// tasks finished execution and the corresponding edge condition is met
 10872  	// (since we will execute if only that succeeding edge condition is
 10873  	// met).
 10874  	//   "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" - Wait until all of its
 10875  	// previous tasks finished execution, then verify the all edge
 10876  	// conditions are met and execute if possible.
 10877  	TaskExecutionStrategy string `json:"taskExecutionStrategy,omitempty"`
 10878  
 10879  	// TaskId: Required. The identifier of this task within its parent event
 10880  	// config, specified by the client. This should be unique among all the
 10881  	// tasks belong to the same event config. We use this field as the
 10882  	// identifier to find next tasks (via field `next_tasks.task_id`).
 10883  	TaskId string `json:"taskId,omitempty"`
 10884  
 10885  	// TaskTemplate: Optional. Used to define task-template name if task is
 10886  	// of type task-template
 10887  	TaskTemplate string `json:"taskTemplate,omitempty"`
 10888  
 10889  	// ForceSendFields is a list of field names (e.g. "Description") to
 10890  	// unconditionally include in API requests. By default, fields with
 10891  	// empty or default values are omitted from API requests. However, any
 10892  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10893  	// sent to the server regardless of whether the field is empty or not.
 10894  	// This may be used to include empty fields in Patch requests.
 10895  	ForceSendFields []string `json:"-"`
 10896  
 10897  	// NullFields is a list of field names (e.g. "Description") to include
 10898  	// in API requests with the JSON null value. By default, fields with
 10899  	// empty values are omitted from API requests. However, any field with
 10900  	// an empty value appearing in NullFields will be sent to the server as
 10901  	// null. It is an error if a field in this list has a non-empty value.
 10902  	// This may be used to include null fields in Patch requests.
 10903  	NullFields []string `json:"-"`
 10904  }
 10905  
 10906  func (s *GoogleCloudIntegrationsV1alphaTaskConfig) MarshalJSON() ([]byte, error) {
 10907  	type NoMethod GoogleCloudIntegrationsV1alphaTaskConfig
 10908  	raw := NoMethod(*s)
 10909  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10910  }
 10911  
 10912  // GoogleCloudIntegrationsV1alphaTaskExecutionDetails: Contains the
 10913  // details of the execution of this task.
 10914  type GoogleCloudIntegrationsV1alphaTaskExecutionDetails struct {
 10915  	// TaskAttemptStats: Status for the current task execution attempt.
 10916  	TaskAttemptStats []*GoogleCloudIntegrationsV1alphaAttemptStats `json:"taskAttemptStats,omitempty"`
 10917  
 10918  	// TaskExecutionState: The execution state of this task.
 10919  	//
 10920  	// Possible values:
 10921  	//   "TASK_EXECUTION_STATE_UNSPECIFIED" - Default value.
 10922  	//   "PENDING_EXECUTION" - Task is waiting for its precondition tasks to
 10923  	// finish to start the execution.
 10924  	//   "IN_PROCESS" - Task is under processing.
 10925  	//   "SUCCEED" - Task execution successfully finished. There's no more
 10926  	// change after this state.
 10927  	//   "FAILED" - Task execution failed. There's no more change after this
 10928  	// state.
 10929  	//   "FATAL" - Task execution failed and cause the whole event execution
 10930  	// to fail immediately. There's no more change after this state.
 10931  	//   "RETRY_ON_HOLD" - Task execution failed and waiting for retry.
 10932  	//   "SKIPPED" - Task execution skipped. This happens when its
 10933  	// precondition wasn't met, or the event execution been canceled before
 10934  	// reach to the task. There's no more changes after this state.
 10935  	//   "CANCELLED" - Task execution canceled when in progress. This
 10936  	// happens when event execution been canceled or any other task fall in
 10937  	// fatal state.
 10938  	//   "PENDING_ROLLBACK" - Task is waiting for its dependency tasks'
 10939  	// rollback to finish to start its rollback.
 10940  	//   "ROLLBACK_IN_PROCESS" - Task is rolling back.
 10941  	//   "ROLLEDBACK" - Task is rolled back. This is the state we will set
 10942  	// regardless of rollback succeeding or failing.
 10943  	//   "SUSPENDED" - Task is a SuspensionTask which has executed once,
 10944  	// creating a pending suspension.
 10945  	TaskExecutionState string `json:"taskExecutionState,omitempty"`
 10946  
 10947  	// TaskNumber: Pointer to the task config it used for execution.
 10948  	TaskNumber string `json:"taskNumber,omitempty"`
 10949  
 10950  	// ForceSendFields is a list of field names (e.g. "TaskAttemptStats") to
 10951  	// unconditionally include in API requests. By default, fields with
 10952  	// empty or default values are omitted from API requests. However, any
 10953  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10954  	// sent to the server regardless of whether the field is empty or not.
 10955  	// This may be used to include empty fields in Patch requests.
 10956  	ForceSendFields []string `json:"-"`
 10957  
 10958  	// NullFields is a list of field names (e.g. "TaskAttemptStats") to
 10959  	// include in API requests with the JSON null value. By default, fields
 10960  	// with empty values are omitted from API requests. However, any field
 10961  	// with an empty value appearing in NullFields will be sent to the
 10962  	// server as null. It is an error if a field in this list has a
 10963  	// non-empty value. This may be used to include null fields in Patch
 10964  	// requests.
 10965  	NullFields []string `json:"-"`
 10966  }
 10967  
 10968  func (s *GoogleCloudIntegrationsV1alphaTaskExecutionDetails) MarshalJSON() ([]byte, error) {
 10969  	type NoMethod GoogleCloudIntegrationsV1alphaTaskExecutionDetails
 10970  	raw := NoMethod(*s)
 10971  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10972  }
 10973  
 10974  // GoogleCloudIntegrationsV1alphaTestIntegrationsRequest: The request
 10975  // for testing an integration.
 10976  type GoogleCloudIntegrationsV1alphaTestIntegrationsRequest struct {
 10977  	// ClientId: Required. This is used to identify the client on whose
 10978  	// behalf the event will be executed.
 10979  	ClientId string `json:"clientId,omitempty"`
 10980  
 10981  	// DeadlineSecondsTime: Optional. custom deadline of the rpc
 10982  	DeadlineSecondsTime string `json:"deadlineSecondsTime,omitempty"`
 10983  
 10984  	// InputParameters: Optional. Input parameters used during integration
 10985  	// execution.
 10986  	InputParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"inputParameters,omitempty"`
 10987  
 10988  	// IntegrationVersion: Required. integration config to execute the
 10989  	// workflow
 10990  	IntegrationVersion *GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersion,omitempty"`
 10991  
 10992  	// Parameters: Optional. Passed in as parameters to each integration
 10993  	// execution.
 10994  	Parameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"parameters,omitempty"`
 10995  
 10996  	// TestMode: Optional. Can be specified in the event request, otherwise
 10997  	// false (default). If true, enables tasks with condition "test_mode =
 10998  	// true". If false, disables tasks with condition "test_mode = true" if
 10999  	// global test mode (set by platform) is also false {@link
 11000  	// EventBusConfig}.
 11001  	TestMode bool `json:"testMode,omitempty"`
 11002  
 11003  	// TriggerId: Required. The trigger id of the integration trigger
 11004  	// config. If both trigger_id and client_id is present, the integration
 11005  	// is executed from the start tasks provided by the matching trigger
 11006  	// config otherwise it is executed from the default start tasks.
 11007  	TriggerId string `json:"triggerId,omitempty"`
 11008  
 11009  	// ForceSendFields is a list of field names (e.g. "ClientId") to
 11010  	// unconditionally include in API requests. By default, fields with
 11011  	// empty or default values are omitted from API requests. However, any
 11012  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11013  	// sent to the server regardless of whether the field is empty or not.
 11014  	// This may be used to include empty fields in Patch requests.
 11015  	ForceSendFields []string `json:"-"`
 11016  
 11017  	// NullFields is a list of field names (e.g. "ClientId") to include in
 11018  	// API requests with the JSON null value. By default, fields with empty
 11019  	// values are omitted from API requests. However, any field with an
 11020  	// empty value appearing in NullFields will be sent to the server as
 11021  	// null. It is an error if a field in this list has a non-empty value.
 11022  	// This may be used to include null fields in Patch requests.
 11023  	NullFields []string `json:"-"`
 11024  }
 11025  
 11026  func (s *GoogleCloudIntegrationsV1alphaTestIntegrationsRequest) MarshalJSON() ([]byte, error) {
 11027  	type NoMethod GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
 11028  	raw := NoMethod(*s)
 11029  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11030  }
 11031  
 11032  // GoogleCloudIntegrationsV1alphaTestIntegrationsResponse: The response
 11033  // for testing an integration.
 11034  type GoogleCloudIntegrationsV1alphaTestIntegrationsResponse struct {
 11035  	// EventParameters: Details for the integration that were executed.
 11036  	EventParameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"eventParameters,omitempty"`
 11037  
 11038  	// ExecutionFailed: Is true if any execution in the integration failed.
 11039  	// False otherwise.
 11040  	ExecutionFailed bool `json:"executionFailed,omitempty"`
 11041  
 11042  	// ExecutionId: The id of the execution corresponding to this run of
 11043  	// integration.
 11044  	ExecutionId string `json:"executionId,omitempty"`
 11045  
 11046  	// ParameterEntries: Parameters are a part of Event and can be used to
 11047  	// communicate between different tasks that are part of the same
 11048  	// integration execution.
 11049  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
 11050  
 11051  	// Parameters: Optional. Parameters are a part of Event and can be used
 11052  	// to communicate between different tasks that are part of the same
 11053  	// integration execution.
 11054  	Parameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"parameters,omitempty"`
 11055  
 11056  	// ServerResponse contains the HTTP response code and headers from the
 11057  	// server.
 11058  	googleapi.ServerResponse `json:"-"`
 11059  
 11060  	// ForceSendFields is a list of field names (e.g. "EventParameters") to
 11061  	// unconditionally include in API requests. By default, fields with
 11062  	// empty or default values are omitted from API requests. However, any
 11063  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11064  	// sent to the server regardless of whether the field is empty or not.
 11065  	// This may be used to include empty fields in Patch requests.
 11066  	ForceSendFields []string `json:"-"`
 11067  
 11068  	// NullFields is a list of field names (e.g. "EventParameters") to
 11069  	// include in API requests with the JSON null value. By default, fields
 11070  	// with empty values are omitted from API requests. However, any field
 11071  	// with an empty value appearing in NullFields will be sent to the
 11072  	// server as null. It is an error if a field in this list has a
 11073  	// non-empty value. This may be used to include null fields in Patch
 11074  	// requests.
 11075  	NullFields []string `json:"-"`
 11076  }
 11077  
 11078  func (s *GoogleCloudIntegrationsV1alphaTestIntegrationsResponse) MarshalJSON() ([]byte, error) {
 11079  	type NoMethod GoogleCloudIntegrationsV1alphaTestIntegrationsResponse
 11080  	raw := NoMethod(*s)
 11081  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11082  }
 11083  
 11084  // GoogleCloudIntegrationsV1alphaTriggerConfig: Configuration detail of
 11085  // a trigger.
 11086  type GoogleCloudIntegrationsV1alphaTriggerConfig struct {
 11087  	// AlertConfig: Optional. An alert threshold configuration for the
 11088  	// [trigger + client + integration] tuple. If these values are not
 11089  	// specified in the trigger config, default values will be populated by
 11090  	// the system. Note that there must be exactly one alert threshold
 11091  	// configured per [client + trigger + integration] when published.
 11092  	AlertConfig []*GoogleCloudIntegrationsV1alphaIntegrationAlertConfig `json:"alertConfig,omitempty"`
 11093  
 11094  	// CloudSchedulerConfig: Optional. Cloud Scheduler Trigger related
 11095  	// metadata
 11096  	CloudSchedulerConfig *GoogleCloudIntegrationsV1alphaCloudSchedulerConfig `json:"cloudSchedulerConfig,omitempty"`
 11097  
 11098  	// Description: Optional. User-provided description intended to give
 11099  	// additional business context about the task.
 11100  	Description string `json:"description,omitempty"`
 11101  
 11102  	// Label: Optional. The user created label for a particular trigger.
 11103  	Label string `json:"label,omitempty"`
 11104  
 11105  	// NextTasksExecutionPolicy: Optional. Dictates how next tasks will be
 11106  	// executed.
 11107  	//
 11108  	// Possible values:
 11109  	//   "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED" - Default.
 11110  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
 11111  	// associated condition.
 11112  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
 11113  	// associated condition.
 11114  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
 11115  
 11116  	// Properties: Optional. Configurable properties of the trigger, not to
 11117  	// be confused with integration parameters. E.g. "name" is a property
 11118  	// for API triggers and "subscription" is a property for Pub/sub
 11119  	// triggers.
 11120  	Properties map[string]string `json:"properties,omitempty"`
 11121  
 11122  	// StartTasks: Optional. Set of tasks numbers from where the integration
 11123  	// execution is started by this trigger. If this is empty, then
 11124  	// integration is executed with default start tasks. In the list of
 11125  	// start tasks, none of two tasks can have direct ancestor-descendant
 11126  	// relationships (i.e. in a same integration execution graph).
 11127  	StartTasks []*GoogleCloudIntegrationsV1alphaNextTask `json:"startTasks,omitempty"`
 11128  
 11129  	// TriggerId: Optional. The backend trigger ID.
 11130  	TriggerId string `json:"triggerId,omitempty"`
 11131  
 11132  	// TriggerNumber: Required. A number to uniquely identify each trigger
 11133  	// config within the integration on UI.
 11134  	TriggerNumber string `json:"triggerNumber,omitempty"`
 11135  
 11136  	// TriggerType: Optional. Type of trigger
 11137  	//
 11138  	// Possible values:
 11139  	//   "TRIGGER_TYPE_UNSPECIFIED" - Unknown.
 11140  	//   "CRON" - Trigger by scheduled time.
 11141  	//   "API" - Trigger by API call.
 11142  	//   "SFDC_CHANNEL" - Trigger by Salesforce Channel.
 11143  	//   "CLOUD_PUBSUB_EXTERNAL" - Trigger by Pub/Sub external.
 11144  	//   "SFDC_CDC_CHANNEL" - SFDC Channel Trigger for CDC.
 11145  	//   "CLOUD_SCHEDULER" - Trigger by Cloud Scheduler job.
 11146  	TriggerType string `json:"triggerType,omitempty"`
 11147  
 11148  	// ForceSendFields is a list of field names (e.g. "AlertConfig") to
 11149  	// unconditionally include in API requests. By default, fields with
 11150  	// empty or default values are omitted from API requests. However, any
 11151  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11152  	// sent to the server regardless of whether the field is empty or not.
 11153  	// This may be used to include empty fields in Patch requests.
 11154  	ForceSendFields []string `json:"-"`
 11155  
 11156  	// NullFields is a list of field names (e.g. "AlertConfig") to include
 11157  	// in API requests with the JSON null value. By default, fields with
 11158  	// empty values are omitted from API requests. However, any field with
 11159  	// an empty value appearing in NullFields will be sent to the server as
 11160  	// null. It is an error if a field in this list has a non-empty value.
 11161  	// This may be used to include null fields in Patch requests.
 11162  	NullFields []string `json:"-"`
 11163  }
 11164  
 11165  func (s *GoogleCloudIntegrationsV1alphaTriggerConfig) MarshalJSON() ([]byte, error) {
 11166  	type NoMethod GoogleCloudIntegrationsV1alphaTriggerConfig
 11167  	raw := NoMethod(*s)
 11168  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11169  }
 11170  
 11171  // GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest:
 11172  // Request for UnpublishIntegrationVersion.
 11173  type GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest struct {
 11174  }
 11175  
 11176  // GoogleCloudIntegrationsV1alphaUpdateBundleRequest: THIS METHOD WILL
 11177  // BE MOVED TO A SEPARATE SERVICE. Request message for Bundle update
 11178  type GoogleCloudIntegrationsV1alphaUpdateBundleRequest struct {
 11179  	// Config: It contains the updated bundle data
 11180  	Config *GoogleCloudIntegrationsV1alphaIntegrationBundleConfig `json:"config,omitempty"`
 11181  
 11182  	// ForceSendFields is a list of field names (e.g. "Config") to
 11183  	// unconditionally include in API requests. By default, fields with
 11184  	// empty or default values are omitted from API requests. However, any
 11185  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11186  	// sent to the server regardless of whether the field is empty or not.
 11187  	// This may be used to include empty fields in Patch requests.
 11188  	ForceSendFields []string `json:"-"`
 11189  
 11190  	// NullFields is a list of field names (e.g. "Config") to include in API
 11191  	// requests with the JSON null value. By default, fields with empty
 11192  	// values are omitted from API requests. However, any field with an
 11193  	// empty value appearing in NullFields will be sent to the server as
 11194  	// null. It is an error if a field in this list has a non-empty value.
 11195  	// This may be used to include null fields in Patch requests.
 11196  	NullFields []string `json:"-"`
 11197  }
 11198  
 11199  func (s *GoogleCloudIntegrationsV1alphaUpdateBundleRequest) MarshalJSON() ([]byte, error) {
 11200  	type NoMethod GoogleCloudIntegrationsV1alphaUpdateBundleRequest
 11201  	raw := NoMethod(*s)
 11202  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11203  }
 11204  
 11205  // GoogleCloudIntegrationsV1alphaUpdateBundleResponse: Response message
 11206  // for Bundle update
 11207  type GoogleCloudIntegrationsV1alphaUpdateBundleResponse struct {
 11208  	// Config: Contains updated bundle config
 11209  	Config *GoogleCloudIntegrationsV1alphaIntegrationBundleConfig `json:"config,omitempty"`
 11210  
 11211  	// ServerResponse contains the HTTP response code and headers from the
 11212  	// server.
 11213  	googleapi.ServerResponse `json:"-"`
 11214  
 11215  	// ForceSendFields is a list of field names (e.g. "Config") to
 11216  	// unconditionally include in API requests. By default, fields with
 11217  	// empty or default values are omitted from API requests. However, any
 11218  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11219  	// sent to the server regardless of whether the field is empty or not.
 11220  	// This may be used to include empty fields in Patch requests.
 11221  	ForceSendFields []string `json:"-"`
 11222  
 11223  	// NullFields is a list of field names (e.g. "Config") to include in API
 11224  	// requests with the JSON null value. By default, fields with empty
 11225  	// values are omitted from API requests. However, any field with an
 11226  	// empty value appearing in NullFields will be sent to the server as
 11227  	// null. It is an error if a field in this list has a non-empty value.
 11228  	// This may be used to include null fields in Patch requests.
 11229  	NullFields []string `json:"-"`
 11230  }
 11231  
 11232  func (s *GoogleCloudIntegrationsV1alphaUpdateBundleResponse) MarshalJSON() ([]byte, error) {
 11233  	type NoMethod GoogleCloudIntegrationsV1alphaUpdateBundleResponse
 11234  	raw := NoMethod(*s)
 11235  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11236  }
 11237  
 11238  // GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest:
 11239  // Request for UploadIntegrationVersion.
 11240  type GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest struct {
 11241  	// Content: The textproto of the integration_version.
 11242  	Content string `json:"content,omitempty"`
 11243  
 11244  	// FileFormat: File format for upload request.
 11245  	//
 11246  	// Possible values:
 11247  	//   "FILE_FORMAT_UNSPECIFIED" - Unspecified file format
 11248  	//   "JSON" - JSON File Format
 11249  	//   "YAML" - YAML File Format
 11250  	FileFormat string `json:"fileFormat,omitempty"`
 11251  
 11252  	// ForceSendFields is a list of field names (e.g. "Content") to
 11253  	// unconditionally include in API requests. By default, fields with
 11254  	// empty or default values are omitted from API requests. However, any
 11255  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11256  	// sent to the server regardless of whether the field is empty or not.
 11257  	// This may be used to include empty fields in Patch requests.
 11258  	ForceSendFields []string `json:"-"`
 11259  
 11260  	// NullFields is a list of field names (e.g. "Content") to include in
 11261  	// API requests with the JSON null value. By default, fields with empty
 11262  	// values are omitted from API requests. However, any field with an
 11263  	// empty value appearing in NullFields will be sent to the server as
 11264  	// null. It is an error if a field in this list has a non-empty value.
 11265  	// This may be used to include null fields in Patch requests.
 11266  	NullFields []string `json:"-"`
 11267  }
 11268  
 11269  func (s *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) MarshalJSON() ([]byte, error) {
 11270  	type NoMethod GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
 11271  	raw := NoMethod(*s)
 11272  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11273  }
 11274  
 11275  // GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse:
 11276  // Response for UploadIntegrationVersion.
 11277  type GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse struct {
 11278  	// IntegrationVersion: The uploaded integration.
 11279  	IntegrationVersion *GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersion,omitempty"`
 11280  
 11281  	// ServerResponse contains the HTTP response code and headers from the
 11282  	// server.
 11283  	googleapi.ServerResponse `json:"-"`
 11284  
 11285  	// ForceSendFields is a list of field names (e.g. "IntegrationVersion")
 11286  	// to unconditionally include in API requests. By default, fields with
 11287  	// empty or default values are omitted from API requests. However, any
 11288  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11289  	// sent to the server regardless of whether the field is empty or not.
 11290  	// This may be used to include empty fields in Patch requests.
 11291  	ForceSendFields []string `json:"-"`
 11292  
 11293  	// NullFields is a list of field names (e.g. "IntegrationVersion") to
 11294  	// include in API requests with the JSON null value. By default, fields
 11295  	// with empty values are omitted from API requests. However, any field
 11296  	// with an empty value appearing in NullFields will be sent to the
 11297  	// server as null. It is an error if a field in this list has a
 11298  	// non-empty value. This may be used to include null fields in Patch
 11299  	// requests.
 11300  	NullFields []string `json:"-"`
 11301  }
 11302  
 11303  func (s *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse) MarshalJSON() ([]byte, error) {
 11304  	type NoMethod GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
 11305  	raw := NoMethod(*s)
 11306  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11307  }
 11308  
 11309  // GoogleCloudIntegrationsV1alphaUsernameAndPassword: Username and
 11310  // password pair.
 11311  type GoogleCloudIntegrationsV1alphaUsernameAndPassword struct {
 11312  	// Password: Password to be used
 11313  	Password string `json:"password,omitempty"`
 11314  
 11315  	// Username: Username to be used
 11316  	Username string `json:"username,omitempty"`
 11317  
 11318  	// ForceSendFields is a list of field names (e.g. "Password") to
 11319  	// unconditionally include in API requests. By default, fields with
 11320  	// empty or default values are omitted from API requests. However, any
 11321  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11322  	// sent to the server regardless of whether the field is empty or not.
 11323  	// This may be used to include empty fields in Patch requests.
 11324  	ForceSendFields []string `json:"-"`
 11325  
 11326  	// NullFields is a list of field names (e.g. "Password") to include in
 11327  	// API requests with the JSON null value. By default, fields with empty
 11328  	// values are omitted from API requests. However, any field with an
 11329  	// empty value appearing in NullFields will be sent to the server as
 11330  	// null. It is an error if a field in this list has a non-empty value.
 11331  	// This may be used to include null fields in Patch requests.
 11332  	NullFields []string `json:"-"`
 11333  }
 11334  
 11335  func (s *GoogleCloudIntegrationsV1alphaUsernameAndPassword) MarshalJSON() ([]byte, error) {
 11336  	type NoMethod GoogleCloudIntegrationsV1alphaUsernameAndPassword
 11337  	raw := NoMethod(*s)
 11338  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11339  }
 11340  
 11341  // GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest:
 11342  // Request for ValidateIntegrationVersion.
 11343  type GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest struct {
 11344  }
 11345  
 11346  // GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse:
 11347  // Response for ValidateIntegrationVersion.
 11348  type GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse struct {
 11349  	// ServerResponse contains the HTTP response code and headers from the
 11350  	// server.
 11351  	googleapi.ServerResponse `json:"-"`
 11352  }
 11353  
 11354  // GoogleCloudIntegrationsV1alphaValueType: The type of the parameter.
 11355  type GoogleCloudIntegrationsV1alphaValueType struct {
 11356  	// BooleanArray: Boolean Array.
 11357  	BooleanArray *GoogleCloudIntegrationsV1alphaBooleanParameterArray `json:"booleanArray,omitempty"`
 11358  
 11359  	// BooleanValue: Boolean.
 11360  	BooleanValue bool `json:"booleanValue,omitempty"`
 11361  
 11362  	// DoubleArray: Double Number Array.
 11363  	DoubleArray *GoogleCloudIntegrationsV1alphaDoubleParameterArray `json:"doubleArray,omitempty"`
 11364  
 11365  	// DoubleValue: Double Number.
 11366  	DoubleValue float64 `json:"doubleValue,omitempty"`
 11367  
 11368  	// IntArray: Integer Array.
 11369  	IntArray *GoogleCloudIntegrationsV1alphaIntParameterArray `json:"intArray,omitempty"`
 11370  
 11371  	// IntValue: Integer.
 11372  	IntValue int64 `json:"intValue,omitempty,string"`
 11373  
 11374  	// JsonValue: Json.
 11375  	JsonValue string `json:"jsonValue,omitempty"`
 11376  
 11377  	// StringArray: String Array.
 11378  	StringArray *GoogleCloudIntegrationsV1alphaStringParameterArray `json:"stringArray,omitempty"`
 11379  
 11380  	// StringValue: String.
 11381  	StringValue string `json:"stringValue,omitempty"`
 11382  
 11383  	// ForceSendFields is a list of field names (e.g. "BooleanArray") to
 11384  	// unconditionally include in API requests. By default, fields with
 11385  	// empty or default values are omitted from API requests. However, any
 11386  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11387  	// sent to the server regardless of whether the field is empty or not.
 11388  	// This may be used to include empty fields in Patch requests.
 11389  	ForceSendFields []string `json:"-"`
 11390  
 11391  	// NullFields is a list of field names (e.g. "BooleanArray") to include
 11392  	// in API requests with the JSON null value. By default, fields with
 11393  	// empty values are omitted from API requests. However, any field with
 11394  	// an empty value appearing in NullFields will be sent to the server as
 11395  	// null. It is an error if a field in this list has a non-empty value.
 11396  	// This may be used to include null fields in Patch requests.
 11397  	NullFields []string `json:"-"`
 11398  }
 11399  
 11400  func (s *GoogleCloudIntegrationsV1alphaValueType) MarshalJSON() ([]byte, error) {
 11401  	type NoMethod GoogleCloudIntegrationsV1alphaValueType
 11402  	raw := NoMethod(*s)
 11403  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11404  }
 11405  
 11406  func (s *GoogleCloudIntegrationsV1alphaValueType) UnmarshalJSON(data []byte) error {
 11407  	type NoMethod GoogleCloudIntegrationsV1alphaValueType
 11408  	var s1 struct {
 11409  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
 11410  		*NoMethod
 11411  	}
 11412  	s1.NoMethod = (*NoMethod)(s)
 11413  	if err := json.Unmarshal(data, &s1); err != nil {
 11414  		return err
 11415  	}
 11416  	s.DoubleValue = float64(s1.DoubleValue)
 11417  	return nil
 11418  }
 11419  
 11420  // GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest: Use
 11421  // this request to post all workflows associated with a given trigger
 11422  // id. Next available id: 10
 11423  type GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest struct {
 11424  	// ClientId: Optional. If the client id is provided, then the
 11425  	// combination of trigger id and client id is matched across all the
 11426  	// workflows. If the client id is not provided, then workflows with
 11427  	// matching trigger id are executed for each client id in the {@link
 11428  	// TriggerConfig}. For Api Trigger, the client id is required and will
 11429  	// be validated against the allowed clients.
 11430  	ClientId string `json:"clientId,omitempty"`
 11431  
 11432  	// IgnoreErrorIfNoActiveWorkflow: Optional. Flag to determine whether
 11433  	// clients would suppress a warning when no ACTIVE workflows are not
 11434  	// found. If this flag is set to be true, an error will not be thrown if
 11435  	// the requested trigger_id or client_id is not found in any ACTIVE
 11436  	// workflow. Otherwise, the error is always thrown. The flag is set to
 11437  	// be false by default.
 11438  	IgnoreErrorIfNoActiveWorkflow bool `json:"ignoreErrorIfNoActiveWorkflow,omitempty"`
 11439  
 11440  	// Parameters: Passed in as parameters to each workflow execution.
 11441  	// Optional.
 11442  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
 11443  
 11444  	// Priority: The request priority this request should be processed at.
 11445  	// For internal users:
 11446  	//
 11447  	// Possible values:
 11448  	//   "UNSPCIFIED" - Unspecified
 11449  	//   "SHEDDABLE" - Frequent partial and occasional full unavailability
 11450  	// is expected and not pageable. * Requests to this band will be shed
 11451  	// before all other requests. * This is the default for async calls sent
 11452  	// from batch jobs.
 11453  	//   "SHEDDABLE_PLUS" - Partial unavailability is expected and is not
 11454  	// necessarily pageable. * Requests to this band will be shed before any
 11455  	// critical traffic. * This is the default for async calls sent from
 11456  	// production jobs.
 11457  	//   "CRITICAL" - Any outage is a pageable event. * During a production
 11458  	// outage requests in this band will only be shed before CRITICAL_PLUS.
 11459  	// * This is the default for sync calls sent from production jobs.
 11460  	//   "CRITICAL_PLUS" - Any outage is a pageable event. * The guideline
 11461  	// is for < 10% of requests to a service to be in this band. * During a
 11462  	// production outage requests in this band will be prioritized above all
 11463  	// others. * Opt-in to CRITICAL_PLUS when your workflow triggers by
 11464  	// human.
 11465  	Priority string `json:"priority,omitempty"`
 11466  
 11467  	// RequestId: Optional. This is used to de-dup incoming request: if the
 11468  	// duplicate request was detected, the response from the previous
 11469  	// execution is returned. Must have no more than 36 characters and
 11470  	// contain only alphanumeric characters and hyphens.
 11471  	RequestId string `json:"requestId,omitempty"`
 11472  
 11473  	// ScheduledTime: Optional. Time in milliseconds since epoch when the
 11474  	// given event would be scheduled.
 11475  	ScheduledTime int64 `json:"scheduledTime,omitempty,string"`
 11476  
 11477  	// TestMode: Optional. Sets test mode in {@link
 11478  	// enterprise/crm/eventbus/event_message.proto}.
 11479  	TestMode bool `json:"testMode,omitempty"`
 11480  
 11481  	// TriggerId: Matched against all {@link TriggerConfig}s across all
 11482  	// workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.
 11483  	TriggerId string `json:"triggerId,omitempty"`
 11484  
 11485  	// WorkflowName: Optional. If provided, the workflow_name is used to
 11486  	// filter all the matched workflows having same trigger_id+client_id. A
 11487  	// combination of trigger_id, client_id and workflow_name identifies a
 11488  	// unique workflow.
 11489  	WorkflowName string `json:"workflowName,omitempty"`
 11490  
 11491  	// ForceSendFields is a list of field names (e.g. "ClientId") to
 11492  	// unconditionally include in API requests. By default, fields with
 11493  	// empty or default values are omitted from API requests. However, any
 11494  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11495  	// sent to the server regardless of whether the field is empty or not.
 11496  	// This may be used to include empty fields in Patch requests.
 11497  	ForceSendFields []string `json:"-"`
 11498  
 11499  	// NullFields is a list of field names (e.g. "ClientId") to include in
 11500  	// API requests with the JSON null value. By default, fields with empty
 11501  	// values are omitted from API requests. However, any field with an
 11502  	// empty value appearing in NullFields will be sent to the server as
 11503  	// null. It is an error if a field in this list has a non-empty value.
 11504  	// This may be used to include null fields in Patch requests.
 11505  	NullFields []string `json:"-"`
 11506  }
 11507  
 11508  func (s *GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest) MarshalJSON() ([]byte, error) {
 11509  	type NoMethod GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest
 11510  	raw := NoMethod(*s)
 11511  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11512  }
 11513  
 11514  // GoogleProtobufEmpty: A generic empty message that you can re-use to
 11515  // avoid defining duplicated empty messages in your APIs. A typical
 11516  // example is to use it as the request or the response type of an API
 11517  // method. For instance: service Foo { rpc Bar(google.protobuf.Empty)
 11518  // returns (google.protobuf.Empty); }
 11519  type GoogleProtobufEmpty struct {
 11520  	// ServerResponse contains the HTTP response code and headers from the
 11521  	// server.
 11522  	googleapi.ServerResponse `json:"-"`
 11523  }
 11524  
 11525  // method id "integrations.callback.generateToken":
 11526  
 11527  type CallbackGenerateTokenCall struct {
 11528  	s            *Service
 11529  	urlParams_   gensupport.URLParams
 11530  	ifNoneMatch_ string
 11531  	ctx_         context.Context
 11532  	header_      http.Header
 11533  }
 11534  
 11535  // GenerateToken: Receives the auth code and auth config id to combine
 11536  // that with the client id and secret to retrieve access tokens from the
 11537  // token endpoint. Returns either a success or error message when it's
 11538  // done.
 11539  func (r *CallbackService) GenerateToken() *CallbackGenerateTokenCall {
 11540  	c := &CallbackGenerateTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11541  	return c
 11542  }
 11543  
 11544  // Code sets the optional parameter "code": The auth code for the given
 11545  // request
 11546  func (c *CallbackGenerateTokenCall) Code(code string) *CallbackGenerateTokenCall {
 11547  	c.urlParams_.Set("code", code)
 11548  	return c
 11549  }
 11550  
 11551  // GcpProjectId sets the optional parameter "gcpProjectId": The gcp
 11552  // project id of the request
 11553  func (c *CallbackGenerateTokenCall) GcpProjectId(gcpProjectId string) *CallbackGenerateTokenCall {
 11554  	c.urlParams_.Set("gcpProjectId", gcpProjectId)
 11555  	return c
 11556  }
 11557  
 11558  // Product sets the optional parameter "product": Which product sends
 11559  // the request
 11560  //
 11561  // Possible values:
 11562  //
 11563  //	"UNSPECIFIED_PRODUCT"
 11564  //	"IP"
 11565  //	"APIGEE"
 11566  //	"SECURITY"
 11567  func (c *CallbackGenerateTokenCall) Product(product string) *CallbackGenerateTokenCall {
 11568  	c.urlParams_.Set("product", product)
 11569  	return c
 11570  }
 11571  
 11572  // RedirectUri sets the optional parameter "redirectUri": Redirect uri
 11573  // of the auth code request
 11574  func (c *CallbackGenerateTokenCall) RedirectUri(redirectUri string) *CallbackGenerateTokenCall {
 11575  	c.urlParams_.Set("redirectUri", redirectUri)
 11576  	return c
 11577  }
 11578  
 11579  // State sets the optional parameter "state": The auth config id for the
 11580  // given request
 11581  func (c *CallbackGenerateTokenCall) State(state string) *CallbackGenerateTokenCall {
 11582  	c.urlParams_.Set("state", state)
 11583  	return c
 11584  }
 11585  
 11586  // Fields allows partial responses to be retrieved. See
 11587  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11588  // for more information.
 11589  func (c *CallbackGenerateTokenCall) Fields(s ...googleapi.Field) *CallbackGenerateTokenCall {
 11590  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11591  	return c
 11592  }
 11593  
 11594  // IfNoneMatch sets the optional parameter which makes the operation
 11595  // fail if the object's ETag matches the given value. This is useful for
 11596  // getting updates only after the object has changed since the last
 11597  // request. Use googleapi.IsNotModified to check whether the response
 11598  // error from Do is the result of In-None-Match.
 11599  func (c *CallbackGenerateTokenCall) IfNoneMatch(entityTag string) *CallbackGenerateTokenCall {
 11600  	c.ifNoneMatch_ = entityTag
 11601  	return c
 11602  }
 11603  
 11604  // Context sets the context to be used in this call's Do method. Any
 11605  // pending HTTP request will be aborted if the provided context is
 11606  // canceled.
 11607  func (c *CallbackGenerateTokenCall) Context(ctx context.Context) *CallbackGenerateTokenCall {
 11608  	c.ctx_ = ctx
 11609  	return c
 11610  }
 11611  
 11612  // Header returns an http.Header that can be modified by the caller to
 11613  // add HTTP headers to the request.
 11614  func (c *CallbackGenerateTokenCall) Header() http.Header {
 11615  	if c.header_ == nil {
 11616  		c.header_ = make(http.Header)
 11617  	}
 11618  	return c.header_
 11619  }
 11620  
 11621  func (c *CallbackGenerateTokenCall) doRequest(alt string) (*http.Response, error) {
 11622  	reqHeaders := make(http.Header)
 11623  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 11624  	for k, v := range c.header_ {
 11625  		reqHeaders[k] = v
 11626  	}
 11627  	reqHeaders.Set("User-Agent", c.s.userAgent())
 11628  	if c.ifNoneMatch_ != "" {
 11629  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11630  	}
 11631  	var body io.Reader = nil
 11632  	c.urlParams_.Set("alt", alt)
 11633  	c.urlParams_.Set("prettyPrint", "false")
 11634  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/callback:generateToken")
 11635  	urls += "?" + c.urlParams_.Encode()
 11636  	req, err := http.NewRequest("GET", urls, body)
 11637  	if err != nil {
 11638  		return nil, err
 11639  	}
 11640  	req.Header = reqHeaders
 11641  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11642  }
 11643  
 11644  // Do executes the "integrations.callback.generateToken" call.
 11645  // Exactly one of *GoogleCloudIntegrationsV1alphaGenerateTokenResponse
 11646  // or error will be non-nil. Any non-2xx status code is an error.
 11647  // Response headers are in either
 11648  // *GoogleCloudIntegrationsV1alphaGenerateTokenResponse.ServerResponse.He
 11649  // ader or (if a response was returned at all) in
 11650  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11651  // whether the returned error was because http.StatusNotModified was
 11652  // returned.
 11653  func (c *CallbackGenerateTokenCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaGenerateTokenResponse, error) {
 11654  	gensupport.SetOptions(c.urlParams_, opts...)
 11655  	res, err := c.doRequest("json")
 11656  	if res != nil && res.StatusCode == http.StatusNotModified {
 11657  		if res.Body != nil {
 11658  			res.Body.Close()
 11659  		}
 11660  		return nil, gensupport.WrapError(&googleapi.Error{
 11661  			Code:   res.StatusCode,
 11662  			Header: res.Header,
 11663  		})
 11664  	}
 11665  	if err != nil {
 11666  		return nil, err
 11667  	}
 11668  	defer googleapi.CloseBody(res)
 11669  	if err := googleapi.CheckResponse(res); err != nil {
 11670  		return nil, gensupport.WrapError(err)
 11671  	}
 11672  	ret := &GoogleCloudIntegrationsV1alphaGenerateTokenResponse{
 11673  		ServerResponse: googleapi.ServerResponse{
 11674  			Header:         res.Header,
 11675  			HTTPStatusCode: res.StatusCode,
 11676  		},
 11677  	}
 11678  	target := &ret
 11679  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11680  		return nil, err
 11681  	}
 11682  	return ret, nil
 11683  	// {
 11684  	//   "description": "Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.",
 11685  	//   "flatPath": "v1/callback:generateToken",
 11686  	//   "httpMethod": "GET",
 11687  	//   "id": "integrations.callback.generateToken",
 11688  	//   "parameterOrder": [],
 11689  	//   "parameters": {
 11690  	//     "code": {
 11691  	//       "description": "The auth code for the given request",
 11692  	//       "location": "query",
 11693  	//       "type": "string"
 11694  	//     },
 11695  	//     "gcpProjectId": {
 11696  	//       "description": "The gcp project id of the request",
 11697  	//       "location": "query",
 11698  	//       "type": "string"
 11699  	//     },
 11700  	//     "product": {
 11701  	//       "description": "Which product sends the request",
 11702  	//       "enum": [
 11703  	//         "UNSPECIFIED_PRODUCT",
 11704  	//         "IP",
 11705  	//         "APIGEE",
 11706  	//         "SECURITY"
 11707  	//       ],
 11708  	//       "enumDescriptions": [
 11709  	//         "",
 11710  	//         "",
 11711  	//         "",
 11712  	//         ""
 11713  	//       ],
 11714  	//       "location": "query",
 11715  	//       "type": "string"
 11716  	//     },
 11717  	//     "redirectUri": {
 11718  	//       "description": "Redirect uri of the auth code request",
 11719  	//       "location": "query",
 11720  	//       "type": "string"
 11721  	//     },
 11722  	//     "state": {
 11723  	//       "description": "The auth config id for the given request",
 11724  	//       "location": "query",
 11725  	//       "type": "string"
 11726  	//     }
 11727  	//   },
 11728  	//   "path": "v1/callback:generateToken",
 11729  	//   "response": {
 11730  	//     "$ref": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse"
 11731  	//   },
 11732  	//   "scopes": [
 11733  	//     "https://www.googleapis.com/auth/cloud-platform"
 11734  	//   ]
 11735  	// }
 11736  
 11737  }
 11738  
 11739  // method id "integrations.connectorPlatformRegions.enumerate":
 11740  
 11741  type ConnectorPlatformRegionsEnumerateCall struct {
 11742  	s            *Service
 11743  	urlParams_   gensupport.URLParams
 11744  	ifNoneMatch_ string
 11745  	ctx_         context.Context
 11746  	header_      http.Header
 11747  }
 11748  
 11749  // Enumerate: Enumerates the regions for which Connector Platform is
 11750  // provisioned.
 11751  func (r *ConnectorPlatformRegionsService) Enumerate() *ConnectorPlatformRegionsEnumerateCall {
 11752  	c := &ConnectorPlatformRegionsEnumerateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11753  	return c
 11754  }
 11755  
 11756  // Fields allows partial responses to be retrieved. See
 11757  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11758  // for more information.
 11759  func (c *ConnectorPlatformRegionsEnumerateCall) Fields(s ...googleapi.Field) *ConnectorPlatformRegionsEnumerateCall {
 11760  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11761  	return c
 11762  }
 11763  
 11764  // IfNoneMatch sets the optional parameter which makes the operation
 11765  // fail if the object's ETag matches the given value. This is useful for
 11766  // getting updates only after the object has changed since the last
 11767  // request. Use googleapi.IsNotModified to check whether the response
 11768  // error from Do is the result of In-None-Match.
 11769  func (c *ConnectorPlatformRegionsEnumerateCall) IfNoneMatch(entityTag string) *ConnectorPlatformRegionsEnumerateCall {
 11770  	c.ifNoneMatch_ = entityTag
 11771  	return c
 11772  }
 11773  
 11774  // Context sets the context to be used in this call's Do method. Any
 11775  // pending HTTP request will be aborted if the provided context is
 11776  // canceled.
 11777  func (c *ConnectorPlatformRegionsEnumerateCall) Context(ctx context.Context) *ConnectorPlatformRegionsEnumerateCall {
 11778  	c.ctx_ = ctx
 11779  	return c
 11780  }
 11781  
 11782  // Header returns an http.Header that can be modified by the caller to
 11783  // add HTTP headers to the request.
 11784  func (c *ConnectorPlatformRegionsEnumerateCall) Header() http.Header {
 11785  	if c.header_ == nil {
 11786  		c.header_ = make(http.Header)
 11787  	}
 11788  	return c.header_
 11789  }
 11790  
 11791  func (c *ConnectorPlatformRegionsEnumerateCall) doRequest(alt string) (*http.Response, error) {
 11792  	reqHeaders := make(http.Header)
 11793  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 11794  	for k, v := range c.header_ {
 11795  		reqHeaders[k] = v
 11796  	}
 11797  	reqHeaders.Set("User-Agent", c.s.userAgent())
 11798  	if c.ifNoneMatch_ != "" {
 11799  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11800  	}
 11801  	var body io.Reader = nil
 11802  	c.urlParams_.Set("alt", alt)
 11803  	c.urlParams_.Set("prettyPrint", "false")
 11804  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/connectorPlatformRegions:enumerate")
 11805  	urls += "?" + c.urlParams_.Encode()
 11806  	req, err := http.NewRequest("GET", urls, body)
 11807  	if err != nil {
 11808  		return nil, err
 11809  	}
 11810  	req.Header = reqHeaders
 11811  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11812  }
 11813  
 11814  // Do executes the "integrations.connectorPlatformRegions.enumerate" call.
 11815  // Exactly one of
 11816  // *GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespon
 11817  // se or error will be non-nil. Any non-2xx status code is an error.
 11818  // Response headers are in either
 11819  // *GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespon
 11820  // se.ServerResponse.Header or (if a response was returned at all) in
 11821  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11822  // whether the returned error was because http.StatusNotModified was
 11823  // returned.
 11824  func (c *ConnectorPlatformRegionsEnumerateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse, error) {
 11825  	gensupport.SetOptions(c.urlParams_, opts...)
 11826  	res, err := c.doRequest("json")
 11827  	if res != nil && res.StatusCode == http.StatusNotModified {
 11828  		if res.Body != nil {
 11829  			res.Body.Close()
 11830  		}
 11831  		return nil, gensupport.WrapError(&googleapi.Error{
 11832  			Code:   res.StatusCode,
 11833  			Header: res.Header,
 11834  		})
 11835  	}
 11836  	if err != nil {
 11837  		return nil, err
 11838  	}
 11839  	defer googleapi.CloseBody(res)
 11840  	if err := googleapi.CheckResponse(res); err != nil {
 11841  		return nil, gensupport.WrapError(err)
 11842  	}
 11843  	ret := &GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse{
 11844  		ServerResponse: googleapi.ServerResponse{
 11845  			Header:         res.Header,
 11846  			HTTPStatusCode: res.StatusCode,
 11847  		},
 11848  	}
 11849  	target := &ret
 11850  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11851  		return nil, err
 11852  	}
 11853  	return ret, nil
 11854  	// {
 11855  	//   "description": "Enumerates the regions for which Connector Platform is provisioned.",
 11856  	//   "flatPath": "v1/connectorPlatformRegions:enumerate",
 11857  	//   "httpMethod": "GET",
 11858  	//   "id": "integrations.connectorPlatformRegions.enumerate",
 11859  	//   "parameterOrder": [],
 11860  	//   "parameters": {},
 11861  	//   "path": "v1/connectorPlatformRegions:enumerate",
 11862  	//   "response": {
 11863  	//     "$ref": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse"
 11864  	//   },
 11865  	//   "scopes": [
 11866  	//     "https://www.googleapis.com/auth/cloud-platform"
 11867  	//   ]
 11868  	// }
 11869  
 11870  }
 11871  
 11872  // method id "integrations.projects.getClientmetadata":
 11873  
 11874  type ProjectsGetClientmetadataCall struct {
 11875  	s            *Service
 11876  	parent       string
 11877  	urlParams_   gensupport.URLParams
 11878  	ifNoneMatch_ string
 11879  	ctx_         context.Context
 11880  	header_      http.Header
 11881  }
 11882  
 11883  // GetClientmetadata: Gets the metadata info for the requested client
 11884  //
 11885  // - parent: Required: The ID of the GCP Project to be provisioned.
 11886  func (r *ProjectsService) GetClientmetadata(parent string) *ProjectsGetClientmetadataCall {
 11887  	c := &ProjectsGetClientmetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11888  	c.parent = parent
 11889  	return c
 11890  }
 11891  
 11892  // Fields allows partial responses to be retrieved. See
 11893  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11894  // for more information.
 11895  func (c *ProjectsGetClientmetadataCall) Fields(s ...googleapi.Field) *ProjectsGetClientmetadataCall {
 11896  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11897  	return c
 11898  }
 11899  
 11900  // IfNoneMatch sets the optional parameter which makes the operation
 11901  // fail if the object's ETag matches the given value. This is useful for
 11902  // getting updates only after the object has changed since the last
 11903  // request. Use googleapi.IsNotModified to check whether the response
 11904  // error from Do is the result of In-None-Match.
 11905  func (c *ProjectsGetClientmetadataCall) IfNoneMatch(entityTag string) *ProjectsGetClientmetadataCall {
 11906  	c.ifNoneMatch_ = entityTag
 11907  	return c
 11908  }
 11909  
 11910  // Context sets the context to be used in this call's Do method. Any
 11911  // pending HTTP request will be aborted if the provided context is
 11912  // canceled.
 11913  func (c *ProjectsGetClientmetadataCall) Context(ctx context.Context) *ProjectsGetClientmetadataCall {
 11914  	c.ctx_ = ctx
 11915  	return c
 11916  }
 11917  
 11918  // Header returns an http.Header that can be modified by the caller to
 11919  // add HTTP headers to the request.
 11920  func (c *ProjectsGetClientmetadataCall) Header() http.Header {
 11921  	if c.header_ == nil {
 11922  		c.header_ = make(http.Header)
 11923  	}
 11924  	return c.header_
 11925  }
 11926  
 11927  func (c *ProjectsGetClientmetadataCall) doRequest(alt string) (*http.Response, error) {
 11928  	reqHeaders := make(http.Header)
 11929  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 11930  	for k, v := range c.header_ {
 11931  		reqHeaders[k] = v
 11932  	}
 11933  	reqHeaders.Set("User-Agent", c.s.userAgent())
 11934  	if c.ifNoneMatch_ != "" {
 11935  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11936  	}
 11937  	var body io.Reader = nil
 11938  	c.urlParams_.Set("alt", alt)
 11939  	c.urlParams_.Set("prettyPrint", "false")
 11940  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/clientmetadata")
 11941  	urls += "?" + c.urlParams_.Encode()
 11942  	req, err := http.NewRequest("GET", urls, body)
 11943  	if err != nil {
 11944  		return nil, err
 11945  	}
 11946  	req.Header = reqHeaders
 11947  	googleapi.Expand(req.URL, map[string]string{
 11948  		"parent": c.parent,
 11949  	})
 11950  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11951  }
 11952  
 11953  // Do executes the "integrations.projects.getClientmetadata" call.
 11954  // Exactly one of
 11955  // *GoogleCloudIntegrationsV1alphaGetClientMetadataResponse or error
 11956  // will be non-nil. Any non-2xx status code is an error. Response
 11957  // headers are in either
 11958  // *GoogleCloudIntegrationsV1alphaGetClientMetadataResponse.ServerRespons
 11959  // e.Header or (if a response was returned at all) in
 11960  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11961  // whether the returned error was because http.StatusNotModified was
 11962  // returned.
 11963  func (c *ProjectsGetClientmetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaGetClientMetadataResponse, error) {
 11964  	gensupport.SetOptions(c.urlParams_, opts...)
 11965  	res, err := c.doRequest("json")
 11966  	if res != nil && res.StatusCode == http.StatusNotModified {
 11967  		if res.Body != nil {
 11968  			res.Body.Close()
 11969  		}
 11970  		return nil, gensupport.WrapError(&googleapi.Error{
 11971  			Code:   res.StatusCode,
 11972  			Header: res.Header,
 11973  		})
 11974  	}
 11975  	if err != nil {
 11976  		return nil, err
 11977  	}
 11978  	defer googleapi.CloseBody(res)
 11979  	if err := googleapi.CheckResponse(res); err != nil {
 11980  		return nil, gensupport.WrapError(err)
 11981  	}
 11982  	ret := &GoogleCloudIntegrationsV1alphaGetClientMetadataResponse{
 11983  		ServerResponse: googleapi.ServerResponse{
 11984  			Header:         res.Header,
 11985  			HTTPStatusCode: res.StatusCode,
 11986  		},
 11987  	}
 11988  	target := &ret
 11989  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11990  		return nil, err
 11991  	}
 11992  	return ret, nil
 11993  	// {
 11994  	//   "description": "Gets the metadata info for the requested client",
 11995  	//   "flatPath": "v1/projects/{projectsId}/clientmetadata",
 11996  	//   "httpMethod": "GET",
 11997  	//   "id": "integrations.projects.getClientmetadata",
 11998  	//   "parameterOrder": [
 11999  	//     "parent"
 12000  	//   ],
 12001  	//   "parameters": {
 12002  	//     "parent": {
 12003  	//       "description": "Required. Required: The ID of the GCP Project to be provisioned.",
 12004  	//       "location": "path",
 12005  	//       "pattern": "^projects/[^/]+$",
 12006  	//       "required": true,
 12007  	//       "type": "string"
 12008  	//     }
 12009  	//   },
 12010  	//   "path": "v1/{+parent}/clientmetadata",
 12011  	//   "response": {
 12012  	//     "$ref": "GoogleCloudIntegrationsV1alphaGetClientMetadataResponse"
 12013  	//   },
 12014  	//   "scopes": [
 12015  	//     "https://www.googleapis.com/auth/cloud-platform"
 12016  	//   ]
 12017  	// }
 12018  
 12019  }
 12020  
 12021  // method id "integrations.projects.locations.getClients":
 12022  
 12023  type ProjectsLocationsGetClientsCall struct {
 12024  	s            *Service
 12025  	parent       string
 12026  	urlParams_   gensupport.URLParams
 12027  	ifNoneMatch_ string
 12028  	ctx_         context.Context
 12029  	header_      http.Header
 12030  }
 12031  
 12032  // GetClients: Gets the client configuration for the given project and
 12033  // location resource name
 12034  //
 12035  // - parent: Required: The ID of the GCP Project to be provisioned.
 12036  func (r *ProjectsLocationsService) GetClients(parent string) *ProjectsLocationsGetClientsCall {
 12037  	c := &ProjectsLocationsGetClientsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12038  	c.parent = parent
 12039  	return c
 12040  }
 12041  
 12042  // Fields allows partial responses to be retrieved. See
 12043  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12044  // for more information.
 12045  func (c *ProjectsLocationsGetClientsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetClientsCall {
 12046  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12047  	return c
 12048  }
 12049  
 12050  // IfNoneMatch sets the optional parameter which makes the operation
 12051  // fail if the object's ETag matches the given value. This is useful for
 12052  // getting updates only after the object has changed since the last
 12053  // request. Use googleapi.IsNotModified to check whether the response
 12054  // error from Do is the result of In-None-Match.
 12055  func (c *ProjectsLocationsGetClientsCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetClientsCall {
 12056  	c.ifNoneMatch_ = entityTag
 12057  	return c
 12058  }
 12059  
 12060  // Context sets the context to be used in this call's Do method. Any
 12061  // pending HTTP request will be aborted if the provided context is
 12062  // canceled.
 12063  func (c *ProjectsLocationsGetClientsCall) Context(ctx context.Context) *ProjectsLocationsGetClientsCall {
 12064  	c.ctx_ = ctx
 12065  	return c
 12066  }
 12067  
 12068  // Header returns an http.Header that can be modified by the caller to
 12069  // add HTTP headers to the request.
 12070  func (c *ProjectsLocationsGetClientsCall) Header() http.Header {
 12071  	if c.header_ == nil {
 12072  		c.header_ = make(http.Header)
 12073  	}
 12074  	return c.header_
 12075  }
 12076  
 12077  func (c *ProjectsLocationsGetClientsCall) doRequest(alt string) (*http.Response, error) {
 12078  	reqHeaders := make(http.Header)
 12079  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12080  	for k, v := range c.header_ {
 12081  		reqHeaders[k] = v
 12082  	}
 12083  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12084  	if c.ifNoneMatch_ != "" {
 12085  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 12086  	}
 12087  	var body io.Reader = nil
 12088  	c.urlParams_.Set("alt", alt)
 12089  	c.urlParams_.Set("prettyPrint", "false")
 12090  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/clients")
 12091  	urls += "?" + c.urlParams_.Encode()
 12092  	req, err := http.NewRequest("GET", urls, body)
 12093  	if err != nil {
 12094  		return nil, err
 12095  	}
 12096  	req.Header = reqHeaders
 12097  	googleapi.Expand(req.URL, map[string]string{
 12098  		"parent": c.parent,
 12099  	})
 12100  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12101  }
 12102  
 12103  // Do executes the "integrations.projects.locations.getClients" call.
 12104  // Exactly one of *GoogleCloudIntegrationsV1alphaGetClientResponse or
 12105  // error will be non-nil. Any non-2xx status code is an error. Response
 12106  // headers are in either
 12107  // *GoogleCloudIntegrationsV1alphaGetClientResponse.ServerResponse.Header
 12108  //
 12109  //	or (if a response was returned at all) in
 12110  //
 12111  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12112  // whether the returned error was because http.StatusNotModified was
 12113  // returned.
 12114  func (c *ProjectsLocationsGetClientsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaGetClientResponse, error) {
 12115  	gensupport.SetOptions(c.urlParams_, opts...)
 12116  	res, err := c.doRequest("json")
 12117  	if res != nil && res.StatusCode == http.StatusNotModified {
 12118  		if res.Body != nil {
 12119  			res.Body.Close()
 12120  		}
 12121  		return nil, gensupport.WrapError(&googleapi.Error{
 12122  			Code:   res.StatusCode,
 12123  			Header: res.Header,
 12124  		})
 12125  	}
 12126  	if err != nil {
 12127  		return nil, err
 12128  	}
 12129  	defer googleapi.CloseBody(res)
 12130  	if err := googleapi.CheckResponse(res); err != nil {
 12131  		return nil, gensupport.WrapError(err)
 12132  	}
 12133  	ret := &GoogleCloudIntegrationsV1alphaGetClientResponse{
 12134  		ServerResponse: googleapi.ServerResponse{
 12135  			Header:         res.Header,
 12136  			HTTPStatusCode: res.StatusCode,
 12137  		},
 12138  	}
 12139  	target := &ret
 12140  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12141  		return nil, err
 12142  	}
 12143  	return ret, nil
 12144  	// {
 12145  	//   "description": "Gets the client configuration for the given project and location resource name",
 12146  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients",
 12147  	//   "httpMethod": "GET",
 12148  	//   "id": "integrations.projects.locations.getClients",
 12149  	//   "parameterOrder": [
 12150  	//     "parent"
 12151  	//   ],
 12152  	//   "parameters": {
 12153  	//     "parent": {
 12154  	//       "description": "Required. Required: The ID of the GCP Project to be provisioned.",
 12155  	//       "location": "path",
 12156  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12157  	//       "required": true,
 12158  	//       "type": "string"
 12159  	//     }
 12160  	//   },
 12161  	//   "path": "v1/{+parent}/clients",
 12162  	//   "response": {
 12163  	//     "$ref": "GoogleCloudIntegrationsV1alphaGetClientResponse"
 12164  	//   },
 12165  	//   "scopes": [
 12166  	//     "https://www.googleapis.com/auth/cloud-platform"
 12167  	//   ]
 12168  	// }
 12169  
 12170  }
 12171  
 12172  // method id "integrations.projects.locations.listTaskEntities":
 12173  
 12174  type ProjectsLocationsListTaskEntitiesCall struct {
 12175  	s            *Service
 12176  	parent       string
 12177  	urlParams_   gensupport.URLParams
 12178  	ifNoneMatch_ string
 12179  	ctx_         context.Context
 12180  	header_      http.Header
 12181  }
 12182  
 12183  // ListTaskEntities: This is a UI only method and will be moved away.
 12184  // Returns a list of common tasks.
 12185  //
 12186  //   - parent: The location resource of the request. This is not going to
 12187  //     be used but preserve the field for future.
 12188  func (r *ProjectsLocationsService) ListTaskEntities(parent string) *ProjectsLocationsListTaskEntitiesCall {
 12189  	c := &ProjectsLocationsListTaskEntitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12190  	c.parent = parent
 12191  	return c
 12192  }
 12193  
 12194  // Fields allows partial responses to be retrieved. See
 12195  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12196  // for more information.
 12197  func (c *ProjectsLocationsListTaskEntitiesCall) Fields(s ...googleapi.Field) *ProjectsLocationsListTaskEntitiesCall {
 12198  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12199  	return c
 12200  }
 12201  
 12202  // IfNoneMatch sets the optional parameter which makes the operation
 12203  // fail if the object's ETag matches the given value. This is useful for
 12204  // getting updates only after the object has changed since the last
 12205  // request. Use googleapi.IsNotModified to check whether the response
 12206  // error from Do is the result of In-None-Match.
 12207  func (c *ProjectsLocationsListTaskEntitiesCall) IfNoneMatch(entityTag string) *ProjectsLocationsListTaskEntitiesCall {
 12208  	c.ifNoneMatch_ = entityTag
 12209  	return c
 12210  }
 12211  
 12212  // Context sets the context to be used in this call's Do method. Any
 12213  // pending HTTP request will be aborted if the provided context is
 12214  // canceled.
 12215  func (c *ProjectsLocationsListTaskEntitiesCall) Context(ctx context.Context) *ProjectsLocationsListTaskEntitiesCall {
 12216  	c.ctx_ = ctx
 12217  	return c
 12218  }
 12219  
 12220  // Header returns an http.Header that can be modified by the caller to
 12221  // add HTTP headers to the request.
 12222  func (c *ProjectsLocationsListTaskEntitiesCall) Header() http.Header {
 12223  	if c.header_ == nil {
 12224  		c.header_ = make(http.Header)
 12225  	}
 12226  	return c.header_
 12227  }
 12228  
 12229  func (c *ProjectsLocationsListTaskEntitiesCall) doRequest(alt string) (*http.Response, error) {
 12230  	reqHeaders := make(http.Header)
 12231  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12232  	for k, v := range c.header_ {
 12233  		reqHeaders[k] = v
 12234  	}
 12235  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12236  	if c.ifNoneMatch_ != "" {
 12237  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 12238  	}
 12239  	var body io.Reader = nil
 12240  	c.urlParams_.Set("alt", alt)
 12241  	c.urlParams_.Set("prettyPrint", "false")
 12242  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}:listTaskEntities")
 12243  	urls += "?" + c.urlParams_.Encode()
 12244  	req, err := http.NewRequest("GET", urls, body)
 12245  	if err != nil {
 12246  		return nil, err
 12247  	}
 12248  	req.Header = reqHeaders
 12249  	googleapi.Expand(req.URL, map[string]string{
 12250  		"parent": c.parent,
 12251  	})
 12252  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12253  }
 12254  
 12255  // Do executes the "integrations.projects.locations.listTaskEntities" call.
 12256  // Exactly one of
 12257  // *GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse or error will
 12258  // be non-nil. Any non-2xx status code is an error. Response headers are
 12259  // in either
 12260  // *GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse.ServerResponse
 12261  // .Header or (if a response was returned at all) in
 12262  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12263  // whether the returned error was because http.StatusNotModified was
 12264  // returned.
 12265  func (c *ProjectsLocationsListTaskEntitiesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse, error) {
 12266  	gensupport.SetOptions(c.urlParams_, opts...)
 12267  	res, err := c.doRequest("json")
 12268  	if res != nil && res.StatusCode == http.StatusNotModified {
 12269  		if res.Body != nil {
 12270  			res.Body.Close()
 12271  		}
 12272  		return nil, gensupport.WrapError(&googleapi.Error{
 12273  			Code:   res.StatusCode,
 12274  			Header: res.Header,
 12275  		})
 12276  	}
 12277  	if err != nil {
 12278  		return nil, err
 12279  	}
 12280  	defer googleapi.CloseBody(res)
 12281  	if err := googleapi.CheckResponse(res); err != nil {
 12282  		return nil, gensupport.WrapError(err)
 12283  	}
 12284  	ret := &GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse{
 12285  		ServerResponse: googleapi.ServerResponse{
 12286  			Header:         res.Header,
 12287  			HTTPStatusCode: res.StatusCode,
 12288  		},
 12289  	}
 12290  	target := &ret
 12291  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12292  		return nil, err
 12293  	}
 12294  	return ret, nil
 12295  	// {
 12296  	//   "description": "This is a UI only method and will be moved away. Returns a list of common tasks.",
 12297  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:listTaskEntities",
 12298  	//   "httpMethod": "GET",
 12299  	//   "id": "integrations.projects.locations.listTaskEntities",
 12300  	//   "parameterOrder": [
 12301  	//     "parent"
 12302  	//   ],
 12303  	//   "parameters": {
 12304  	//     "parent": {
 12305  	//       "description": "Required. The location resource of the request. This is not going to be used but preserve the field for future.",
 12306  	//       "location": "path",
 12307  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12308  	//       "required": true,
 12309  	//       "type": "string"
 12310  	//     }
 12311  	//   },
 12312  	//   "path": "v1/{+parent}:listTaskEntities",
 12313  	//   "response": {
 12314  	//     "$ref": "GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse"
 12315  	//   },
 12316  	//   "scopes": [
 12317  	//     "https://www.googleapis.com/auth/cloud-platform"
 12318  	//   ]
 12319  	// }
 12320  
 12321  }
 12322  
 12323  // method id "integrations.projects.locations.appsScriptProjects.create":
 12324  
 12325  type ProjectsLocationsAppsScriptProjectsCreateCall struct {
 12326  	s                                                            *Service
 12327  	parent                                                       string
 12328  	googlecloudintegrationsv1alphacreateappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest
 12329  	urlParams_                                                   gensupport.URLParams
 12330  	ctx_                                                         context.Context
 12331  	header_                                                      http.Header
 12332  }
 12333  
 12334  // Create: Creates an Apps Script project.
 12335  //
 12336  // - parent: The project that the executed integration belongs to.
 12337  func (r *ProjectsLocationsAppsScriptProjectsService) Create(parent string, googlecloudintegrationsv1alphacreateappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest) *ProjectsLocationsAppsScriptProjectsCreateCall {
 12338  	c := &ProjectsLocationsAppsScriptProjectsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12339  	c.parent = parent
 12340  	c.googlecloudintegrationsv1alphacreateappsscriptprojectrequest = googlecloudintegrationsv1alphacreateappsscriptprojectrequest
 12341  	return c
 12342  }
 12343  
 12344  // Fields allows partial responses to be retrieved. See
 12345  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12346  // for more information.
 12347  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAppsScriptProjectsCreateCall {
 12348  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12349  	return c
 12350  }
 12351  
 12352  // Context sets the context to be used in this call's Do method. Any
 12353  // pending HTTP request will be aborted if the provided context is
 12354  // canceled.
 12355  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Context(ctx context.Context) *ProjectsLocationsAppsScriptProjectsCreateCall {
 12356  	c.ctx_ = ctx
 12357  	return c
 12358  }
 12359  
 12360  // Header returns an http.Header that can be modified by the caller to
 12361  // add HTTP headers to the request.
 12362  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Header() http.Header {
 12363  	if c.header_ == nil {
 12364  		c.header_ = make(http.Header)
 12365  	}
 12366  	return c.header_
 12367  }
 12368  
 12369  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) doRequest(alt string) (*http.Response, error) {
 12370  	reqHeaders := make(http.Header)
 12371  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12372  	for k, v := range c.header_ {
 12373  		reqHeaders[k] = v
 12374  	}
 12375  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12376  	var body io.Reader = nil
 12377  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacreateappsscriptprojectrequest)
 12378  	if err != nil {
 12379  		return nil, err
 12380  	}
 12381  	reqHeaders.Set("Content-Type", "application/json")
 12382  	c.urlParams_.Set("alt", alt)
 12383  	c.urlParams_.Set("prettyPrint", "false")
 12384  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/appsScriptProjects")
 12385  	urls += "?" + c.urlParams_.Encode()
 12386  	req, err := http.NewRequest("POST", urls, body)
 12387  	if err != nil {
 12388  		return nil, err
 12389  	}
 12390  	req.Header = reqHeaders
 12391  	googleapi.Expand(req.URL, map[string]string{
 12392  		"parent": c.parent,
 12393  	})
 12394  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12395  }
 12396  
 12397  // Do executes the "integrations.projects.locations.appsScriptProjects.create" call.
 12398  // Exactly one of
 12399  // *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse or
 12400  // error will be non-nil. Any non-2xx status code is an error. Response
 12401  // headers are in either
 12402  // *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse.ServerR
 12403  // esponse.Header or (if a response was returned at all) in
 12404  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12405  // whether the returned error was because http.StatusNotModified was
 12406  // returned.
 12407  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse, error) {
 12408  	gensupport.SetOptions(c.urlParams_, opts...)
 12409  	res, err := c.doRequest("json")
 12410  	if res != nil && res.StatusCode == http.StatusNotModified {
 12411  		if res.Body != nil {
 12412  			res.Body.Close()
 12413  		}
 12414  		return nil, gensupport.WrapError(&googleapi.Error{
 12415  			Code:   res.StatusCode,
 12416  			Header: res.Header,
 12417  		})
 12418  	}
 12419  	if err != nil {
 12420  		return nil, err
 12421  	}
 12422  	defer googleapi.CloseBody(res)
 12423  	if err := googleapi.CheckResponse(res); err != nil {
 12424  		return nil, gensupport.WrapError(err)
 12425  	}
 12426  	ret := &GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse{
 12427  		ServerResponse: googleapi.ServerResponse{
 12428  			Header:         res.Header,
 12429  			HTTPStatusCode: res.StatusCode,
 12430  		},
 12431  	}
 12432  	target := &ret
 12433  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12434  		return nil, err
 12435  	}
 12436  	return ret, nil
 12437  	// {
 12438  	//   "description": "Creates an Apps Script project.",
 12439  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appsScriptProjects",
 12440  	//   "httpMethod": "POST",
 12441  	//   "id": "integrations.projects.locations.appsScriptProjects.create",
 12442  	//   "parameterOrder": [
 12443  	//     "parent"
 12444  	//   ],
 12445  	//   "parameters": {
 12446  	//     "parent": {
 12447  	//       "description": "Required. The project that the executed integration belongs to.",
 12448  	//       "location": "path",
 12449  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12450  	//       "required": true,
 12451  	//       "type": "string"
 12452  	//     }
 12453  	//   },
 12454  	//   "path": "v1/{+parent}/appsScriptProjects",
 12455  	//   "request": {
 12456  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest"
 12457  	//   },
 12458  	//   "response": {
 12459  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse"
 12460  	//   },
 12461  	//   "scopes": [
 12462  	//     "https://www.googleapis.com/auth/cloud-platform"
 12463  	//   ]
 12464  	// }
 12465  
 12466  }
 12467  
 12468  // method id "integrations.projects.locations.appsScriptProjects.link":
 12469  
 12470  type ProjectsLocationsAppsScriptProjectsLinkCall struct {
 12471  	s                                                          *Service
 12472  	parent                                                     string
 12473  	googlecloudintegrationsv1alphalinkappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest
 12474  	urlParams_                                                 gensupport.URLParams
 12475  	ctx_                                                       context.Context
 12476  	header_                                                    http.Header
 12477  }
 12478  
 12479  // Link: Links a existing Apps Script project.
 12480  //
 12481  // - parent: The project that the executed integration belongs to.
 12482  func (r *ProjectsLocationsAppsScriptProjectsService) Link(parent string, googlecloudintegrationsv1alphalinkappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest) *ProjectsLocationsAppsScriptProjectsLinkCall {
 12483  	c := &ProjectsLocationsAppsScriptProjectsLinkCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12484  	c.parent = parent
 12485  	c.googlecloudintegrationsv1alphalinkappsscriptprojectrequest = googlecloudintegrationsv1alphalinkappsscriptprojectrequest
 12486  	return c
 12487  }
 12488  
 12489  // Fields allows partial responses to be retrieved. See
 12490  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12491  // for more information.
 12492  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Fields(s ...googleapi.Field) *ProjectsLocationsAppsScriptProjectsLinkCall {
 12493  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12494  	return c
 12495  }
 12496  
 12497  // Context sets the context to be used in this call's Do method. Any
 12498  // pending HTTP request will be aborted if the provided context is
 12499  // canceled.
 12500  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Context(ctx context.Context) *ProjectsLocationsAppsScriptProjectsLinkCall {
 12501  	c.ctx_ = ctx
 12502  	return c
 12503  }
 12504  
 12505  // Header returns an http.Header that can be modified by the caller to
 12506  // add HTTP headers to the request.
 12507  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Header() http.Header {
 12508  	if c.header_ == nil {
 12509  		c.header_ = make(http.Header)
 12510  	}
 12511  	return c.header_
 12512  }
 12513  
 12514  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) doRequest(alt string) (*http.Response, error) {
 12515  	reqHeaders := make(http.Header)
 12516  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12517  	for k, v := range c.header_ {
 12518  		reqHeaders[k] = v
 12519  	}
 12520  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12521  	var body io.Reader = nil
 12522  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphalinkappsscriptprojectrequest)
 12523  	if err != nil {
 12524  		return nil, err
 12525  	}
 12526  	reqHeaders.Set("Content-Type", "application/json")
 12527  	c.urlParams_.Set("alt", alt)
 12528  	c.urlParams_.Set("prettyPrint", "false")
 12529  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/appsScriptProjects:link")
 12530  	urls += "?" + c.urlParams_.Encode()
 12531  	req, err := http.NewRequest("POST", urls, body)
 12532  	if err != nil {
 12533  		return nil, err
 12534  	}
 12535  	req.Header = reqHeaders
 12536  	googleapi.Expand(req.URL, map[string]string{
 12537  		"parent": c.parent,
 12538  	})
 12539  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12540  }
 12541  
 12542  // Do executes the "integrations.projects.locations.appsScriptProjects.link" call.
 12543  // Exactly one of
 12544  // *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse or error
 12545  // will be non-nil. Any non-2xx status code is an error. Response
 12546  // headers are in either
 12547  // *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse.ServerRes
 12548  // ponse.Header or (if a response was returned at all) in
 12549  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12550  // whether the returned error was because http.StatusNotModified was
 12551  // returned.
 12552  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse, error) {
 12553  	gensupport.SetOptions(c.urlParams_, opts...)
 12554  	res, err := c.doRequest("json")
 12555  	if res != nil && res.StatusCode == http.StatusNotModified {
 12556  		if res.Body != nil {
 12557  			res.Body.Close()
 12558  		}
 12559  		return nil, gensupport.WrapError(&googleapi.Error{
 12560  			Code:   res.StatusCode,
 12561  			Header: res.Header,
 12562  		})
 12563  	}
 12564  	if err != nil {
 12565  		return nil, err
 12566  	}
 12567  	defer googleapi.CloseBody(res)
 12568  	if err := googleapi.CheckResponse(res); err != nil {
 12569  		return nil, gensupport.WrapError(err)
 12570  	}
 12571  	ret := &GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse{
 12572  		ServerResponse: googleapi.ServerResponse{
 12573  			Header:         res.Header,
 12574  			HTTPStatusCode: res.StatusCode,
 12575  		},
 12576  	}
 12577  	target := &ret
 12578  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12579  		return nil, err
 12580  	}
 12581  	return ret, nil
 12582  	// {
 12583  	//   "description": "Links a existing Apps Script project.",
 12584  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appsScriptProjects:link",
 12585  	//   "httpMethod": "POST",
 12586  	//   "id": "integrations.projects.locations.appsScriptProjects.link",
 12587  	//   "parameterOrder": [
 12588  	//     "parent"
 12589  	//   ],
 12590  	//   "parameters": {
 12591  	//     "parent": {
 12592  	//       "description": "Required. The project that the executed integration belongs to.",
 12593  	//       "location": "path",
 12594  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12595  	//       "required": true,
 12596  	//       "type": "string"
 12597  	//     }
 12598  	//   },
 12599  	//   "path": "v1/{+parent}/appsScriptProjects:link",
 12600  	//   "request": {
 12601  	//     "$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest"
 12602  	//   },
 12603  	//   "response": {
 12604  	//     "$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse"
 12605  	//   },
 12606  	//   "scopes": [
 12607  	//     "https://www.googleapis.com/auth/cloud-platform"
 12608  	//   ]
 12609  	// }
 12610  
 12611  }
 12612  
 12613  // method id "integrations.projects.locations.authConfigs.create":
 12614  
 12615  type ProjectsLocationsAuthConfigsCreateCall struct {
 12616  	s                                        *Service
 12617  	parent                                   string
 12618  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 12619  	urlParams_                               gensupport.URLParams
 12620  	ctx_                                     context.Context
 12621  	header_                                  http.Header
 12622  }
 12623  
 12624  // Create: Creates an auth config record. Fetch corresponding
 12625  // credentials for specific auth types, e.g. access token for OAuth 2.0,
 12626  // JWT token for JWT. Encrypt the auth config with Cloud KMS and store
 12627  // the encrypted credentials in Spanner. Returns the encrypted auth
 12628  // config.
 12629  //
 12630  // - parent: "projects/{project}/locations/{location}" format.
 12631  func (r *ProjectsLocationsAuthConfigsService) Create(parent string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsAuthConfigsCreateCall {
 12632  	c := &ProjectsLocationsAuthConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12633  	c.parent = parent
 12634  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 12635  	return c
 12636  }
 12637  
 12638  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 12639  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 12640  // in PEM format. This string must include the begin header and end
 12641  // footer lines. For example, -----BEGIN CERTIFICATE-----
 12642  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 12643  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 12644  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 12645  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 12646  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 12647  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 12648  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 12649  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 12650  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 12651  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 12652  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 12653  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 12654  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 12655  func (c *ProjectsLocationsAuthConfigsCreateCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsAuthConfigsCreateCall {
 12656  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 12657  	return c
 12658  }
 12659  
 12660  // ClientCertificatePassphrase sets the optional parameter
 12661  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 12662  // private key is not encrypted. Note that 'passphrase' is not the
 12663  // password for web server, but an extra layer of security to protected
 12664  // private key.
 12665  func (c *ProjectsLocationsAuthConfigsCreateCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsAuthConfigsCreateCall {
 12666  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 12667  	return c
 12668  }
 12669  
 12670  // ClientCertificateSslCertificate sets the optional parameter
 12671  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 12672  // PEM format. This string must include the begin header and end footer
 12673  // lines. For example, -----BEGIN CERTIFICATE-----
 12674  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 12675  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 12676  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 12677  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 12678  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 12679  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 12680  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 12681  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 12682  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 12683  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 12684  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 12685  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 12686  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 12687  func (c *ProjectsLocationsAuthConfigsCreateCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsAuthConfigsCreateCall {
 12688  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 12689  	return c
 12690  }
 12691  
 12692  // Fields allows partial responses to be retrieved. See
 12693  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12694  // for more information.
 12695  func (c *ProjectsLocationsAuthConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsCreateCall {
 12696  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12697  	return c
 12698  }
 12699  
 12700  // Context sets the context to be used in this call's Do method. Any
 12701  // pending HTTP request will be aborted if the provided context is
 12702  // canceled.
 12703  func (c *ProjectsLocationsAuthConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsCreateCall {
 12704  	c.ctx_ = ctx
 12705  	return c
 12706  }
 12707  
 12708  // Header returns an http.Header that can be modified by the caller to
 12709  // add HTTP headers to the request.
 12710  func (c *ProjectsLocationsAuthConfigsCreateCall) Header() http.Header {
 12711  	if c.header_ == nil {
 12712  		c.header_ = make(http.Header)
 12713  	}
 12714  	return c.header_
 12715  }
 12716  
 12717  func (c *ProjectsLocationsAuthConfigsCreateCall) doRequest(alt string) (*http.Response, error) {
 12718  	reqHeaders := make(http.Header)
 12719  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12720  	for k, v := range c.header_ {
 12721  		reqHeaders[k] = v
 12722  	}
 12723  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12724  	var body io.Reader = nil
 12725  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 12726  	if err != nil {
 12727  		return nil, err
 12728  	}
 12729  	reqHeaders.Set("Content-Type", "application/json")
 12730  	c.urlParams_.Set("alt", alt)
 12731  	c.urlParams_.Set("prettyPrint", "false")
 12732  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/authConfigs")
 12733  	urls += "?" + c.urlParams_.Encode()
 12734  	req, err := http.NewRequest("POST", urls, body)
 12735  	if err != nil {
 12736  		return nil, err
 12737  	}
 12738  	req.Header = reqHeaders
 12739  	googleapi.Expand(req.URL, map[string]string{
 12740  		"parent": c.parent,
 12741  	})
 12742  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12743  }
 12744  
 12745  // Do executes the "integrations.projects.locations.authConfigs.create" call.
 12746  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 12747  // will be non-nil. Any non-2xx status code is an error. Response
 12748  // headers are in either
 12749  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 12750  // (if a response was returned at all) in
 12751  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12752  // whether the returned error was because http.StatusNotModified was
 12753  // returned.
 12754  func (c *ProjectsLocationsAuthConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 12755  	gensupport.SetOptions(c.urlParams_, opts...)
 12756  	res, err := c.doRequest("json")
 12757  	if res != nil && res.StatusCode == http.StatusNotModified {
 12758  		if res.Body != nil {
 12759  			res.Body.Close()
 12760  		}
 12761  		return nil, gensupport.WrapError(&googleapi.Error{
 12762  			Code:   res.StatusCode,
 12763  			Header: res.Header,
 12764  		})
 12765  	}
 12766  	if err != nil {
 12767  		return nil, err
 12768  	}
 12769  	defer googleapi.CloseBody(res)
 12770  	if err := googleapi.CheckResponse(res); err != nil {
 12771  		return nil, gensupport.WrapError(err)
 12772  	}
 12773  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 12774  		ServerResponse: googleapi.ServerResponse{
 12775  			Header:         res.Header,
 12776  			HTTPStatusCode: res.StatusCode,
 12777  		},
 12778  	}
 12779  	target := &ret
 12780  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12781  		return nil, err
 12782  	}
 12783  	return ret, nil
 12784  	// {
 12785  	//   "description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.",
 12786  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs",
 12787  	//   "httpMethod": "POST",
 12788  	//   "id": "integrations.projects.locations.authConfigs.create",
 12789  	//   "parameterOrder": [
 12790  	//     "parent"
 12791  	//   ],
 12792  	//   "parameters": {
 12793  	//     "clientCertificate.encryptedPrivateKey": {
 12794  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 12795  	//       "location": "query",
 12796  	//       "type": "string"
 12797  	//     },
 12798  	//     "clientCertificate.passphrase": {
 12799  	//       "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.",
 12800  	//       "location": "query",
 12801  	//       "type": "string"
 12802  	//     },
 12803  	//     "clientCertificate.sslCertificate": {
 12804  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 12805  	//       "location": "query",
 12806  	//       "type": "string"
 12807  	//     },
 12808  	//     "parent": {
 12809  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 12810  	//       "location": "path",
 12811  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12812  	//       "required": true,
 12813  	//       "type": "string"
 12814  	//     }
 12815  	//   },
 12816  	//   "path": "v1/{+parent}/authConfigs",
 12817  	//   "request": {
 12818  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 12819  	//   },
 12820  	//   "response": {
 12821  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 12822  	//   },
 12823  	//   "scopes": [
 12824  	//     "https://www.googleapis.com/auth/cloud-platform"
 12825  	//   ]
 12826  	// }
 12827  
 12828  }
 12829  
 12830  // method id "integrations.projects.locations.authConfigs.delete":
 12831  
 12832  type ProjectsLocationsAuthConfigsDeleteCall struct {
 12833  	s          *Service
 12834  	name       string
 12835  	urlParams_ gensupport.URLParams
 12836  	ctx_       context.Context
 12837  	header_    http.Header
 12838  }
 12839  
 12840  // Delete: Deletes an auth config.
 12841  //
 12842  // - name: The name that is associated with the AuthConfig.
 12843  func (r *ProjectsLocationsAuthConfigsService) Delete(name string) *ProjectsLocationsAuthConfigsDeleteCall {
 12844  	c := &ProjectsLocationsAuthConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12845  	c.name = name
 12846  	return c
 12847  }
 12848  
 12849  // Fields allows partial responses to be retrieved. See
 12850  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12851  // for more information.
 12852  func (c *ProjectsLocationsAuthConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsDeleteCall {
 12853  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12854  	return c
 12855  }
 12856  
 12857  // Context sets the context to be used in this call's Do method. Any
 12858  // pending HTTP request will be aborted if the provided context is
 12859  // canceled.
 12860  func (c *ProjectsLocationsAuthConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsDeleteCall {
 12861  	c.ctx_ = ctx
 12862  	return c
 12863  }
 12864  
 12865  // Header returns an http.Header that can be modified by the caller to
 12866  // add HTTP headers to the request.
 12867  func (c *ProjectsLocationsAuthConfigsDeleteCall) Header() http.Header {
 12868  	if c.header_ == nil {
 12869  		c.header_ = make(http.Header)
 12870  	}
 12871  	return c.header_
 12872  }
 12873  
 12874  func (c *ProjectsLocationsAuthConfigsDeleteCall) doRequest(alt string) (*http.Response, error) {
 12875  	reqHeaders := make(http.Header)
 12876  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12877  	for k, v := range c.header_ {
 12878  		reqHeaders[k] = v
 12879  	}
 12880  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12881  	var body io.Reader = nil
 12882  	c.urlParams_.Set("alt", alt)
 12883  	c.urlParams_.Set("prettyPrint", "false")
 12884  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 12885  	urls += "?" + c.urlParams_.Encode()
 12886  	req, err := http.NewRequest("DELETE", urls, body)
 12887  	if err != nil {
 12888  		return nil, err
 12889  	}
 12890  	req.Header = reqHeaders
 12891  	googleapi.Expand(req.URL, map[string]string{
 12892  		"name": c.name,
 12893  	})
 12894  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12895  }
 12896  
 12897  // Do executes the "integrations.projects.locations.authConfigs.delete" call.
 12898  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 12899  // non-2xx status code is an error. Response headers are in either
 12900  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 12901  // returned at all) in error.(*googleapi.Error).Header. Use
 12902  // googleapi.IsNotModified to check whether the returned error was
 12903  // because http.StatusNotModified was returned.
 12904  func (c *ProjectsLocationsAuthConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 12905  	gensupport.SetOptions(c.urlParams_, opts...)
 12906  	res, err := c.doRequest("json")
 12907  	if res != nil && res.StatusCode == http.StatusNotModified {
 12908  		if res.Body != nil {
 12909  			res.Body.Close()
 12910  		}
 12911  		return nil, gensupport.WrapError(&googleapi.Error{
 12912  			Code:   res.StatusCode,
 12913  			Header: res.Header,
 12914  		})
 12915  	}
 12916  	if err != nil {
 12917  		return nil, err
 12918  	}
 12919  	defer googleapi.CloseBody(res)
 12920  	if err := googleapi.CheckResponse(res); err != nil {
 12921  		return nil, gensupport.WrapError(err)
 12922  	}
 12923  	ret := &GoogleProtobufEmpty{
 12924  		ServerResponse: googleapi.ServerResponse{
 12925  			Header:         res.Header,
 12926  			HTTPStatusCode: res.StatusCode,
 12927  		},
 12928  	}
 12929  	target := &ret
 12930  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12931  		return nil, err
 12932  	}
 12933  	return ret, nil
 12934  	// {
 12935  	//   "description": "Deletes an auth config.",
 12936  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}",
 12937  	//   "httpMethod": "DELETE",
 12938  	//   "id": "integrations.projects.locations.authConfigs.delete",
 12939  	//   "parameterOrder": [
 12940  	//     "name"
 12941  	//   ],
 12942  	//   "parameters": {
 12943  	//     "name": {
 12944  	//       "description": "Required. The name that is associated with the AuthConfig.",
 12945  	//       "location": "path",
 12946  	//       "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$",
 12947  	//       "required": true,
 12948  	//       "type": "string"
 12949  	//     }
 12950  	//   },
 12951  	//   "path": "v1/{+name}",
 12952  	//   "response": {
 12953  	//     "$ref": "GoogleProtobufEmpty"
 12954  	//   },
 12955  	//   "scopes": [
 12956  	//     "https://www.googleapis.com/auth/cloud-platform"
 12957  	//   ]
 12958  	// }
 12959  
 12960  }
 12961  
 12962  // method id "integrations.projects.locations.authConfigs.get":
 12963  
 12964  type ProjectsLocationsAuthConfigsGetCall struct {
 12965  	s            *Service
 12966  	name         string
 12967  	urlParams_   gensupport.URLParams
 12968  	ifNoneMatch_ string
 12969  	ctx_         context.Context
 12970  	header_      http.Header
 12971  }
 12972  
 12973  // Get: Gets a complete auth config. If the auth config doesn't exist,
 12974  // Code.NOT_FOUND exception will be thrown. Returns the decrypted auth
 12975  // config.
 12976  //
 12977  // - name: The name that is associated with the AuthConfig.
 12978  func (r *ProjectsLocationsAuthConfigsService) Get(name string) *ProjectsLocationsAuthConfigsGetCall {
 12979  	c := &ProjectsLocationsAuthConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12980  	c.name = name
 12981  	return c
 12982  }
 12983  
 12984  // Fields allows partial responses to be retrieved. See
 12985  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12986  // for more information.
 12987  func (c *ProjectsLocationsAuthConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsGetCall {
 12988  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12989  	return c
 12990  }
 12991  
 12992  // IfNoneMatch sets the optional parameter which makes the operation
 12993  // fail if the object's ETag matches the given value. This is useful for
 12994  // getting updates only after the object has changed since the last
 12995  // request. Use googleapi.IsNotModified to check whether the response
 12996  // error from Do is the result of In-None-Match.
 12997  func (c *ProjectsLocationsAuthConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthConfigsGetCall {
 12998  	c.ifNoneMatch_ = entityTag
 12999  	return c
 13000  }
 13001  
 13002  // Context sets the context to be used in this call's Do method. Any
 13003  // pending HTTP request will be aborted if the provided context is
 13004  // canceled.
 13005  func (c *ProjectsLocationsAuthConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsGetCall {
 13006  	c.ctx_ = ctx
 13007  	return c
 13008  }
 13009  
 13010  // Header returns an http.Header that can be modified by the caller to
 13011  // add HTTP headers to the request.
 13012  func (c *ProjectsLocationsAuthConfigsGetCall) Header() http.Header {
 13013  	if c.header_ == nil {
 13014  		c.header_ = make(http.Header)
 13015  	}
 13016  	return c.header_
 13017  }
 13018  
 13019  func (c *ProjectsLocationsAuthConfigsGetCall) doRequest(alt string) (*http.Response, error) {
 13020  	reqHeaders := make(http.Header)
 13021  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13022  	for k, v := range c.header_ {
 13023  		reqHeaders[k] = v
 13024  	}
 13025  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13026  	if c.ifNoneMatch_ != "" {
 13027  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13028  	}
 13029  	var body io.Reader = nil
 13030  	c.urlParams_.Set("alt", alt)
 13031  	c.urlParams_.Set("prettyPrint", "false")
 13032  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 13033  	urls += "?" + c.urlParams_.Encode()
 13034  	req, err := http.NewRequest("GET", urls, body)
 13035  	if err != nil {
 13036  		return nil, err
 13037  	}
 13038  	req.Header = reqHeaders
 13039  	googleapi.Expand(req.URL, map[string]string{
 13040  		"name": c.name,
 13041  	})
 13042  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13043  }
 13044  
 13045  // Do executes the "integrations.projects.locations.authConfigs.get" call.
 13046  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 13047  // will be non-nil. Any non-2xx status code is an error. Response
 13048  // headers are in either
 13049  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 13050  // (if a response was returned at all) in
 13051  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13052  // whether the returned error was because http.StatusNotModified was
 13053  // returned.
 13054  func (c *ProjectsLocationsAuthConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 13055  	gensupport.SetOptions(c.urlParams_, opts...)
 13056  	res, err := c.doRequest("json")
 13057  	if res != nil && res.StatusCode == http.StatusNotModified {
 13058  		if res.Body != nil {
 13059  			res.Body.Close()
 13060  		}
 13061  		return nil, gensupport.WrapError(&googleapi.Error{
 13062  			Code:   res.StatusCode,
 13063  			Header: res.Header,
 13064  		})
 13065  	}
 13066  	if err != nil {
 13067  		return nil, err
 13068  	}
 13069  	defer googleapi.CloseBody(res)
 13070  	if err := googleapi.CheckResponse(res); err != nil {
 13071  		return nil, gensupport.WrapError(err)
 13072  	}
 13073  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 13074  		ServerResponse: googleapi.ServerResponse{
 13075  			Header:         res.Header,
 13076  			HTTPStatusCode: res.StatusCode,
 13077  		},
 13078  	}
 13079  	target := &ret
 13080  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13081  		return nil, err
 13082  	}
 13083  	return ret, nil
 13084  	// {
 13085  	//   "description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.",
 13086  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}",
 13087  	//   "httpMethod": "GET",
 13088  	//   "id": "integrations.projects.locations.authConfigs.get",
 13089  	//   "parameterOrder": [
 13090  	//     "name"
 13091  	//   ],
 13092  	//   "parameters": {
 13093  	//     "name": {
 13094  	//       "description": "Required. The name that is associated with the AuthConfig.",
 13095  	//       "location": "path",
 13096  	//       "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$",
 13097  	//       "required": true,
 13098  	//       "type": "string"
 13099  	//     }
 13100  	//   },
 13101  	//   "path": "v1/{+name}",
 13102  	//   "response": {
 13103  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 13104  	//   },
 13105  	//   "scopes": [
 13106  	//     "https://www.googleapis.com/auth/cloud-platform"
 13107  	//   ]
 13108  	// }
 13109  
 13110  }
 13111  
 13112  // method id "integrations.projects.locations.authConfigs.list":
 13113  
 13114  type ProjectsLocationsAuthConfigsListCall struct {
 13115  	s            *Service
 13116  	parent       string
 13117  	urlParams_   gensupport.URLParams
 13118  	ifNoneMatch_ string
 13119  	ctx_         context.Context
 13120  	header_      http.Header
 13121  }
 13122  
 13123  // List: Lists all auth configs that match the filter. Restrict to auth
 13124  // configs belong to the current client only.
 13125  //
 13126  // - parent: The client, which owns this collection of AuthConfigs.
 13127  func (r *ProjectsLocationsAuthConfigsService) List(parent string) *ProjectsLocationsAuthConfigsListCall {
 13128  	c := &ProjectsLocationsAuthConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13129  	c.parent = parent
 13130  	return c
 13131  }
 13132  
 13133  // Filter sets the optional parameter "filter": Filtering as supported
 13134  // in
 13135  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 13136  func (c *ProjectsLocationsAuthConfigsListCall) Filter(filter string) *ProjectsLocationsAuthConfigsListCall {
 13137  	c.urlParams_.Set("filter", filter)
 13138  	return c
 13139  }
 13140  
 13141  // PageSize sets the optional parameter "pageSize": The size of entries
 13142  // in the response. If unspecified, defaults to 100.
 13143  func (c *ProjectsLocationsAuthConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsAuthConfigsListCall {
 13144  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 13145  	return c
 13146  }
 13147  
 13148  // PageToken sets the optional parameter "pageToken": The token returned
 13149  // in the previous response.
 13150  func (c *ProjectsLocationsAuthConfigsListCall) PageToken(pageToken string) *ProjectsLocationsAuthConfigsListCall {
 13151  	c.urlParams_.Set("pageToken", pageToken)
 13152  	return c
 13153  }
 13154  
 13155  // ReadMask sets the optional parameter "readMask": The mask which
 13156  // specifies fields that need to be returned in the AuthConfig's
 13157  // response.
 13158  func (c *ProjectsLocationsAuthConfigsListCall) ReadMask(readMask string) *ProjectsLocationsAuthConfigsListCall {
 13159  	c.urlParams_.Set("readMask", readMask)
 13160  	return c
 13161  }
 13162  
 13163  // Fields allows partial responses to be retrieved. See
 13164  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13165  // for more information.
 13166  func (c *ProjectsLocationsAuthConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsListCall {
 13167  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13168  	return c
 13169  }
 13170  
 13171  // IfNoneMatch sets the optional parameter which makes the operation
 13172  // fail if the object's ETag matches the given value. This is useful for
 13173  // getting updates only after the object has changed since the last
 13174  // request. Use googleapi.IsNotModified to check whether the response
 13175  // error from Do is the result of In-None-Match.
 13176  func (c *ProjectsLocationsAuthConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthConfigsListCall {
 13177  	c.ifNoneMatch_ = entityTag
 13178  	return c
 13179  }
 13180  
 13181  // Context sets the context to be used in this call's Do method. Any
 13182  // pending HTTP request will be aborted if the provided context is
 13183  // canceled.
 13184  func (c *ProjectsLocationsAuthConfigsListCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsListCall {
 13185  	c.ctx_ = ctx
 13186  	return c
 13187  }
 13188  
 13189  // Header returns an http.Header that can be modified by the caller to
 13190  // add HTTP headers to the request.
 13191  func (c *ProjectsLocationsAuthConfigsListCall) Header() http.Header {
 13192  	if c.header_ == nil {
 13193  		c.header_ = make(http.Header)
 13194  	}
 13195  	return c.header_
 13196  }
 13197  
 13198  func (c *ProjectsLocationsAuthConfigsListCall) doRequest(alt string) (*http.Response, error) {
 13199  	reqHeaders := make(http.Header)
 13200  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13201  	for k, v := range c.header_ {
 13202  		reqHeaders[k] = v
 13203  	}
 13204  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13205  	if c.ifNoneMatch_ != "" {
 13206  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13207  	}
 13208  	var body io.Reader = nil
 13209  	c.urlParams_.Set("alt", alt)
 13210  	c.urlParams_.Set("prettyPrint", "false")
 13211  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/authConfigs")
 13212  	urls += "?" + c.urlParams_.Encode()
 13213  	req, err := http.NewRequest("GET", urls, body)
 13214  	if err != nil {
 13215  		return nil, err
 13216  	}
 13217  	req.Header = reqHeaders
 13218  	googleapi.Expand(req.URL, map[string]string{
 13219  		"parent": c.parent,
 13220  	})
 13221  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13222  }
 13223  
 13224  // Do executes the "integrations.projects.locations.authConfigs.list" call.
 13225  // Exactly one of *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
 13226  // or error will be non-nil. Any non-2xx status code is an error.
 13227  // Response headers are in either
 13228  // *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse.ServerResponse.
 13229  // Header or (if a response was returned at all) in
 13230  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13231  // whether the returned error was because http.StatusNotModified was
 13232  // returned.
 13233  func (c *ProjectsLocationsAuthConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse, error) {
 13234  	gensupport.SetOptions(c.urlParams_, opts...)
 13235  	res, err := c.doRequest("json")
 13236  	if res != nil && res.StatusCode == http.StatusNotModified {
 13237  		if res.Body != nil {
 13238  			res.Body.Close()
 13239  		}
 13240  		return nil, gensupport.WrapError(&googleapi.Error{
 13241  			Code:   res.StatusCode,
 13242  			Header: res.Header,
 13243  		})
 13244  	}
 13245  	if err != nil {
 13246  		return nil, err
 13247  	}
 13248  	defer googleapi.CloseBody(res)
 13249  	if err := googleapi.CheckResponse(res); err != nil {
 13250  		return nil, gensupport.WrapError(err)
 13251  	}
 13252  	ret := &GoogleCloudIntegrationsV1alphaListAuthConfigsResponse{
 13253  		ServerResponse: googleapi.ServerResponse{
 13254  			Header:         res.Header,
 13255  			HTTPStatusCode: res.StatusCode,
 13256  		},
 13257  	}
 13258  	target := &ret
 13259  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13260  		return nil, err
 13261  	}
 13262  	return ret, nil
 13263  	// {
 13264  	//   "description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.",
 13265  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs",
 13266  	//   "httpMethod": "GET",
 13267  	//   "id": "integrations.projects.locations.authConfigs.list",
 13268  	//   "parameterOrder": [
 13269  	//     "parent"
 13270  	//   ],
 13271  	//   "parameters": {
 13272  	//     "filter": {
 13273  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 13274  	//       "location": "query",
 13275  	//       "type": "string"
 13276  	//     },
 13277  	//     "pageSize": {
 13278  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 13279  	//       "format": "int32",
 13280  	//       "location": "query",
 13281  	//       "type": "integer"
 13282  	//     },
 13283  	//     "pageToken": {
 13284  	//       "description": "The token returned in the previous response.",
 13285  	//       "location": "query",
 13286  	//       "type": "string"
 13287  	//     },
 13288  	//     "parent": {
 13289  	//       "description": "Required. The client, which owns this collection of AuthConfigs.",
 13290  	//       "location": "path",
 13291  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 13292  	//       "required": true,
 13293  	//       "type": "string"
 13294  	//     },
 13295  	//     "readMask": {
 13296  	//       "description": "The mask which specifies fields that need to be returned in the AuthConfig's response.",
 13297  	//       "format": "google-fieldmask",
 13298  	//       "location": "query",
 13299  	//       "type": "string"
 13300  	//     }
 13301  	//   },
 13302  	//   "path": "v1/{+parent}/authConfigs",
 13303  	//   "response": {
 13304  	//     "$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse"
 13305  	//   },
 13306  	//   "scopes": [
 13307  	//     "https://www.googleapis.com/auth/cloud-platform"
 13308  	//   ]
 13309  	// }
 13310  
 13311  }
 13312  
 13313  // Pages invokes f for each page of results.
 13314  // A non-nil error returned from f will halt the iteration.
 13315  // The provided context supersedes any context provided to the Context method.
 13316  func (c *ProjectsLocationsAuthConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse) error) error {
 13317  	c.ctx_ = ctx
 13318  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 13319  	for {
 13320  		x, err := c.Do()
 13321  		if err != nil {
 13322  			return err
 13323  		}
 13324  		if err := f(x); err != nil {
 13325  			return err
 13326  		}
 13327  		if x.NextPageToken == "" {
 13328  			return nil
 13329  		}
 13330  		c.PageToken(x.NextPageToken)
 13331  	}
 13332  }
 13333  
 13334  // method id "integrations.projects.locations.authConfigs.patch":
 13335  
 13336  type ProjectsLocationsAuthConfigsPatchCall struct {
 13337  	s                                        *Service
 13338  	name                                     string
 13339  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 13340  	urlParams_                               gensupport.URLParams
 13341  	ctx_                                     context.Context
 13342  	header_                                  http.Header
 13343  }
 13344  
 13345  // Patch: Updates an auth config. If credential is updated, fetch the
 13346  // encrypted auth config from Spanner, decrypt with Cloud KMS key,
 13347  // update the credential fields, re-encrypt with Cloud KMS key and
 13348  // update the Spanner record. For other fields, directly update the
 13349  // Spanner record. Returns the encrypted auth config.
 13350  //
 13351  //   - name: Resource name of the SFDC instance
 13352  //     projects/{project}/locations/{location}/authConfigs/{authConfig}.
 13353  func (r *ProjectsLocationsAuthConfigsService) Patch(name string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsAuthConfigsPatchCall {
 13354  	c := &ProjectsLocationsAuthConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13355  	c.name = name
 13356  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 13357  	return c
 13358  }
 13359  
 13360  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 13361  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 13362  // in PEM format. This string must include the begin header and end
 13363  // footer lines. For example, -----BEGIN CERTIFICATE-----
 13364  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 13365  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 13366  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 13367  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 13368  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 13369  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 13370  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 13371  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 13372  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 13373  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 13374  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 13375  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 13376  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 13377  func (c *ProjectsLocationsAuthConfigsPatchCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsAuthConfigsPatchCall {
 13378  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 13379  	return c
 13380  }
 13381  
 13382  // ClientCertificatePassphrase sets the optional parameter
 13383  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 13384  // private key is not encrypted. Note that 'passphrase' is not the
 13385  // password for web server, but an extra layer of security to protected
 13386  // private key.
 13387  func (c *ProjectsLocationsAuthConfigsPatchCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsAuthConfigsPatchCall {
 13388  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 13389  	return c
 13390  }
 13391  
 13392  // ClientCertificateSslCertificate sets the optional parameter
 13393  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 13394  // PEM format. This string must include the begin header and end footer
 13395  // lines. For example, -----BEGIN CERTIFICATE-----
 13396  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 13397  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 13398  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 13399  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 13400  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 13401  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 13402  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 13403  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 13404  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 13405  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 13406  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 13407  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 13408  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 13409  func (c *ProjectsLocationsAuthConfigsPatchCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsAuthConfigsPatchCall {
 13410  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 13411  	return c
 13412  }
 13413  
 13414  // UpdateMask sets the optional parameter "updateMask": Field mask
 13415  // specifying the fields in the above AuthConfig that have been modified
 13416  // and need to be updated.
 13417  func (c *ProjectsLocationsAuthConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAuthConfigsPatchCall {
 13418  	c.urlParams_.Set("updateMask", updateMask)
 13419  	return c
 13420  }
 13421  
 13422  // Fields allows partial responses to be retrieved. See
 13423  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13424  // for more information.
 13425  func (c *ProjectsLocationsAuthConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsPatchCall {
 13426  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13427  	return c
 13428  }
 13429  
 13430  // Context sets the context to be used in this call's Do method. Any
 13431  // pending HTTP request will be aborted if the provided context is
 13432  // canceled.
 13433  func (c *ProjectsLocationsAuthConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsPatchCall {
 13434  	c.ctx_ = ctx
 13435  	return c
 13436  }
 13437  
 13438  // Header returns an http.Header that can be modified by the caller to
 13439  // add HTTP headers to the request.
 13440  func (c *ProjectsLocationsAuthConfigsPatchCall) Header() http.Header {
 13441  	if c.header_ == nil {
 13442  		c.header_ = make(http.Header)
 13443  	}
 13444  	return c.header_
 13445  }
 13446  
 13447  func (c *ProjectsLocationsAuthConfigsPatchCall) doRequest(alt string) (*http.Response, error) {
 13448  	reqHeaders := make(http.Header)
 13449  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13450  	for k, v := range c.header_ {
 13451  		reqHeaders[k] = v
 13452  	}
 13453  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13454  	var body io.Reader = nil
 13455  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 13456  	if err != nil {
 13457  		return nil, err
 13458  	}
 13459  	reqHeaders.Set("Content-Type", "application/json")
 13460  	c.urlParams_.Set("alt", alt)
 13461  	c.urlParams_.Set("prettyPrint", "false")
 13462  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 13463  	urls += "?" + c.urlParams_.Encode()
 13464  	req, err := http.NewRequest("PATCH", urls, body)
 13465  	if err != nil {
 13466  		return nil, err
 13467  	}
 13468  	req.Header = reqHeaders
 13469  	googleapi.Expand(req.URL, map[string]string{
 13470  		"name": c.name,
 13471  	})
 13472  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13473  }
 13474  
 13475  // Do executes the "integrations.projects.locations.authConfigs.patch" call.
 13476  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 13477  // will be non-nil. Any non-2xx status code is an error. Response
 13478  // headers are in either
 13479  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 13480  // (if a response was returned at all) in
 13481  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13482  // whether the returned error was because http.StatusNotModified was
 13483  // returned.
 13484  func (c *ProjectsLocationsAuthConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 13485  	gensupport.SetOptions(c.urlParams_, opts...)
 13486  	res, err := c.doRequest("json")
 13487  	if res != nil && res.StatusCode == http.StatusNotModified {
 13488  		if res.Body != nil {
 13489  			res.Body.Close()
 13490  		}
 13491  		return nil, gensupport.WrapError(&googleapi.Error{
 13492  			Code:   res.StatusCode,
 13493  			Header: res.Header,
 13494  		})
 13495  	}
 13496  	if err != nil {
 13497  		return nil, err
 13498  	}
 13499  	defer googleapi.CloseBody(res)
 13500  	if err := googleapi.CheckResponse(res); err != nil {
 13501  		return nil, gensupport.WrapError(err)
 13502  	}
 13503  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 13504  		ServerResponse: googleapi.ServerResponse{
 13505  			Header:         res.Header,
 13506  			HTTPStatusCode: res.StatusCode,
 13507  		},
 13508  	}
 13509  	target := &ret
 13510  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13511  		return nil, err
 13512  	}
 13513  	return ret, nil
 13514  	// {
 13515  	//   "description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.",
 13516  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}",
 13517  	//   "httpMethod": "PATCH",
 13518  	//   "id": "integrations.projects.locations.authConfigs.patch",
 13519  	//   "parameterOrder": [
 13520  	//     "name"
 13521  	//   ],
 13522  	//   "parameters": {
 13523  	//     "clientCertificate.encryptedPrivateKey": {
 13524  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 13525  	//       "location": "query",
 13526  	//       "type": "string"
 13527  	//     },
 13528  	//     "clientCertificate.passphrase": {
 13529  	//       "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.",
 13530  	//       "location": "query",
 13531  	//       "type": "string"
 13532  	//     },
 13533  	//     "clientCertificate.sslCertificate": {
 13534  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 13535  	//       "location": "query",
 13536  	//       "type": "string"
 13537  	//     },
 13538  	//     "name": {
 13539  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.",
 13540  	//       "location": "path",
 13541  	//       "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$",
 13542  	//       "required": true,
 13543  	//       "type": "string"
 13544  	//     },
 13545  	//     "updateMask": {
 13546  	//       "description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.",
 13547  	//       "format": "google-fieldmask",
 13548  	//       "location": "query",
 13549  	//       "type": "string"
 13550  	//     }
 13551  	//   },
 13552  	//   "path": "v1/{+name}",
 13553  	//   "request": {
 13554  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 13555  	//   },
 13556  	//   "response": {
 13557  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 13558  	//   },
 13559  	//   "scopes": [
 13560  	//     "https://www.googleapis.com/auth/cloud-platform"
 13561  	//   ]
 13562  	// }
 13563  
 13564  }
 13565  
 13566  // method id "integrations.projects.locations.certificates.create":
 13567  
 13568  type ProjectsLocationsCertificatesCreateCall struct {
 13569  	s                                         *Service
 13570  	parent                                    string
 13571  	googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate
 13572  	urlParams_                                gensupport.URLParams
 13573  	ctx_                                      context.Context
 13574  	header_                                   http.Header
 13575  }
 13576  
 13577  // Create: Creates a new certificate. The certificate will be registered
 13578  // to the trawler service and will be encrypted using cloud KMS and
 13579  // stored in Spanner Returns the certificate.
 13580  //
 13581  // - parent: "projects/{project}/locations/{location}" format.
 13582  func (r *ProjectsLocationsCertificatesService) Create(parent string, googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate) *ProjectsLocationsCertificatesCreateCall {
 13583  	c := &ProjectsLocationsCertificatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13584  	c.parent = parent
 13585  	c.googlecloudintegrationsv1alphacertificate = googlecloudintegrationsv1alphacertificate
 13586  	return c
 13587  }
 13588  
 13589  // Fields allows partial responses to be retrieved. See
 13590  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13591  // for more information.
 13592  func (c *ProjectsLocationsCertificatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesCreateCall {
 13593  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13594  	return c
 13595  }
 13596  
 13597  // Context sets the context to be used in this call's Do method. Any
 13598  // pending HTTP request will be aborted if the provided context is
 13599  // canceled.
 13600  func (c *ProjectsLocationsCertificatesCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificatesCreateCall {
 13601  	c.ctx_ = ctx
 13602  	return c
 13603  }
 13604  
 13605  // Header returns an http.Header that can be modified by the caller to
 13606  // add HTTP headers to the request.
 13607  func (c *ProjectsLocationsCertificatesCreateCall) Header() http.Header {
 13608  	if c.header_ == nil {
 13609  		c.header_ = make(http.Header)
 13610  	}
 13611  	return c.header_
 13612  }
 13613  
 13614  func (c *ProjectsLocationsCertificatesCreateCall) doRequest(alt string) (*http.Response, error) {
 13615  	reqHeaders := make(http.Header)
 13616  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13617  	for k, v := range c.header_ {
 13618  		reqHeaders[k] = v
 13619  	}
 13620  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13621  	var body io.Reader = nil
 13622  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacertificate)
 13623  	if err != nil {
 13624  		return nil, err
 13625  	}
 13626  	reqHeaders.Set("Content-Type", "application/json")
 13627  	c.urlParams_.Set("alt", alt)
 13628  	c.urlParams_.Set("prettyPrint", "false")
 13629  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/certificates")
 13630  	urls += "?" + c.urlParams_.Encode()
 13631  	req, err := http.NewRequest("POST", urls, body)
 13632  	if err != nil {
 13633  		return nil, err
 13634  	}
 13635  	req.Header = reqHeaders
 13636  	googleapi.Expand(req.URL, map[string]string{
 13637  		"parent": c.parent,
 13638  	})
 13639  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13640  }
 13641  
 13642  // Do executes the "integrations.projects.locations.certificates.create" call.
 13643  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 13644  // will be non-nil. Any non-2xx status code is an error. Response
 13645  // headers are in either
 13646  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 13647  // (if a response was returned at all) in
 13648  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13649  // whether the returned error was because http.StatusNotModified was
 13650  // returned.
 13651  func (c *ProjectsLocationsCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 13652  	gensupport.SetOptions(c.urlParams_, opts...)
 13653  	res, err := c.doRequest("json")
 13654  	if res != nil && res.StatusCode == http.StatusNotModified {
 13655  		if res.Body != nil {
 13656  			res.Body.Close()
 13657  		}
 13658  		return nil, gensupport.WrapError(&googleapi.Error{
 13659  			Code:   res.StatusCode,
 13660  			Header: res.Header,
 13661  		})
 13662  	}
 13663  	if err != nil {
 13664  		return nil, err
 13665  	}
 13666  	defer googleapi.CloseBody(res)
 13667  	if err := googleapi.CheckResponse(res); err != nil {
 13668  		return nil, gensupport.WrapError(err)
 13669  	}
 13670  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 13671  		ServerResponse: googleapi.ServerResponse{
 13672  			Header:         res.Header,
 13673  			HTTPStatusCode: res.StatusCode,
 13674  		},
 13675  	}
 13676  	target := &ret
 13677  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13678  		return nil, err
 13679  	}
 13680  	return ret, nil
 13681  	// {
 13682  	//   "description": "Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.",
 13683  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates",
 13684  	//   "httpMethod": "POST",
 13685  	//   "id": "integrations.projects.locations.certificates.create",
 13686  	//   "parameterOrder": [
 13687  	//     "parent"
 13688  	//   ],
 13689  	//   "parameters": {
 13690  	//     "parent": {
 13691  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 13692  	//       "location": "path",
 13693  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 13694  	//       "required": true,
 13695  	//       "type": "string"
 13696  	//     }
 13697  	//   },
 13698  	//   "path": "v1/{+parent}/certificates",
 13699  	//   "request": {
 13700  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 13701  	//   },
 13702  	//   "response": {
 13703  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 13704  	//   },
 13705  	//   "scopes": [
 13706  	//     "https://www.googleapis.com/auth/cloud-platform"
 13707  	//   ]
 13708  	// }
 13709  
 13710  }
 13711  
 13712  // method id "integrations.projects.locations.certificates.delete":
 13713  
 13714  type ProjectsLocationsCertificatesDeleteCall struct {
 13715  	s          *Service
 13716  	name       string
 13717  	urlParams_ gensupport.URLParams
 13718  	ctx_       context.Context
 13719  	header_    http.Header
 13720  }
 13721  
 13722  // Delete: Delete a certificate
 13723  //
 13724  // - name: The name that is associated with the Certificate.
 13725  func (r *ProjectsLocationsCertificatesService) Delete(name string) *ProjectsLocationsCertificatesDeleteCall {
 13726  	c := &ProjectsLocationsCertificatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13727  	c.name = name
 13728  	return c
 13729  }
 13730  
 13731  // Fields allows partial responses to be retrieved. See
 13732  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13733  // for more information.
 13734  func (c *ProjectsLocationsCertificatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesDeleteCall {
 13735  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13736  	return c
 13737  }
 13738  
 13739  // Context sets the context to be used in this call's Do method. Any
 13740  // pending HTTP request will be aborted if the provided context is
 13741  // canceled.
 13742  func (c *ProjectsLocationsCertificatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificatesDeleteCall {
 13743  	c.ctx_ = ctx
 13744  	return c
 13745  }
 13746  
 13747  // Header returns an http.Header that can be modified by the caller to
 13748  // add HTTP headers to the request.
 13749  func (c *ProjectsLocationsCertificatesDeleteCall) Header() http.Header {
 13750  	if c.header_ == nil {
 13751  		c.header_ = make(http.Header)
 13752  	}
 13753  	return c.header_
 13754  }
 13755  
 13756  func (c *ProjectsLocationsCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) {
 13757  	reqHeaders := make(http.Header)
 13758  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13759  	for k, v := range c.header_ {
 13760  		reqHeaders[k] = v
 13761  	}
 13762  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13763  	var body io.Reader = nil
 13764  	c.urlParams_.Set("alt", alt)
 13765  	c.urlParams_.Set("prettyPrint", "false")
 13766  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 13767  	urls += "?" + c.urlParams_.Encode()
 13768  	req, err := http.NewRequest("DELETE", urls, body)
 13769  	if err != nil {
 13770  		return nil, err
 13771  	}
 13772  	req.Header = reqHeaders
 13773  	googleapi.Expand(req.URL, map[string]string{
 13774  		"name": c.name,
 13775  	})
 13776  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13777  }
 13778  
 13779  // Do executes the "integrations.projects.locations.certificates.delete" call.
 13780  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 13781  // non-2xx status code is an error. Response headers are in either
 13782  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 13783  // returned at all) in error.(*googleapi.Error).Header. Use
 13784  // googleapi.IsNotModified to check whether the returned error was
 13785  // because http.StatusNotModified was returned.
 13786  func (c *ProjectsLocationsCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 13787  	gensupport.SetOptions(c.urlParams_, opts...)
 13788  	res, err := c.doRequest("json")
 13789  	if res != nil && res.StatusCode == http.StatusNotModified {
 13790  		if res.Body != nil {
 13791  			res.Body.Close()
 13792  		}
 13793  		return nil, gensupport.WrapError(&googleapi.Error{
 13794  			Code:   res.StatusCode,
 13795  			Header: res.Header,
 13796  		})
 13797  	}
 13798  	if err != nil {
 13799  		return nil, err
 13800  	}
 13801  	defer googleapi.CloseBody(res)
 13802  	if err := googleapi.CheckResponse(res); err != nil {
 13803  		return nil, gensupport.WrapError(err)
 13804  	}
 13805  	ret := &GoogleProtobufEmpty{
 13806  		ServerResponse: googleapi.ServerResponse{
 13807  			Header:         res.Header,
 13808  			HTTPStatusCode: res.StatusCode,
 13809  		},
 13810  	}
 13811  	target := &ret
 13812  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13813  		return nil, err
 13814  	}
 13815  	return ret, nil
 13816  	// {
 13817  	//   "description": "Delete a certificate",
 13818  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}",
 13819  	//   "httpMethod": "DELETE",
 13820  	//   "id": "integrations.projects.locations.certificates.delete",
 13821  	//   "parameterOrder": [
 13822  	//     "name"
 13823  	//   ],
 13824  	//   "parameters": {
 13825  	//     "name": {
 13826  	//       "description": "Required. The name that is associated with the Certificate.",
 13827  	//       "location": "path",
 13828  	//       "pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$",
 13829  	//       "required": true,
 13830  	//       "type": "string"
 13831  	//     }
 13832  	//   },
 13833  	//   "path": "v1/{+name}",
 13834  	//   "response": {
 13835  	//     "$ref": "GoogleProtobufEmpty"
 13836  	//   },
 13837  	//   "scopes": [
 13838  	//     "https://www.googleapis.com/auth/cloud-platform"
 13839  	//   ]
 13840  	// }
 13841  
 13842  }
 13843  
 13844  // method id "integrations.projects.locations.certificates.get":
 13845  
 13846  type ProjectsLocationsCertificatesGetCall struct {
 13847  	s            *Service
 13848  	name         string
 13849  	urlParams_   gensupport.URLParams
 13850  	ifNoneMatch_ string
 13851  	ctx_         context.Context
 13852  	header_      http.Header
 13853  }
 13854  
 13855  // Get: Get a certificates in the specified project.
 13856  //
 13857  //   - name: The certificate to retrieve. Format:
 13858  //     projects/{project}/locations/{location}/certificates/{certificate}.
 13859  func (r *ProjectsLocationsCertificatesService) Get(name string) *ProjectsLocationsCertificatesGetCall {
 13860  	c := &ProjectsLocationsCertificatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13861  	c.name = name
 13862  	return c
 13863  }
 13864  
 13865  // Fields allows partial responses to be retrieved. See
 13866  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13867  // for more information.
 13868  func (c *ProjectsLocationsCertificatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesGetCall {
 13869  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13870  	return c
 13871  }
 13872  
 13873  // IfNoneMatch sets the optional parameter which makes the operation
 13874  // fail if the object's ETag matches the given value. This is useful for
 13875  // getting updates only after the object has changed since the last
 13876  // request. Use googleapi.IsNotModified to check whether the response
 13877  // error from Do is the result of In-None-Match.
 13878  func (c *ProjectsLocationsCertificatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificatesGetCall {
 13879  	c.ifNoneMatch_ = entityTag
 13880  	return c
 13881  }
 13882  
 13883  // Context sets the context to be used in this call's Do method. Any
 13884  // pending HTTP request will be aborted if the provided context is
 13885  // canceled.
 13886  func (c *ProjectsLocationsCertificatesGetCall) Context(ctx context.Context) *ProjectsLocationsCertificatesGetCall {
 13887  	c.ctx_ = ctx
 13888  	return c
 13889  }
 13890  
 13891  // Header returns an http.Header that can be modified by the caller to
 13892  // add HTTP headers to the request.
 13893  func (c *ProjectsLocationsCertificatesGetCall) Header() http.Header {
 13894  	if c.header_ == nil {
 13895  		c.header_ = make(http.Header)
 13896  	}
 13897  	return c.header_
 13898  }
 13899  
 13900  func (c *ProjectsLocationsCertificatesGetCall) doRequest(alt string) (*http.Response, error) {
 13901  	reqHeaders := make(http.Header)
 13902  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13903  	for k, v := range c.header_ {
 13904  		reqHeaders[k] = v
 13905  	}
 13906  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13907  	if c.ifNoneMatch_ != "" {
 13908  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13909  	}
 13910  	var body io.Reader = nil
 13911  	c.urlParams_.Set("alt", alt)
 13912  	c.urlParams_.Set("prettyPrint", "false")
 13913  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 13914  	urls += "?" + c.urlParams_.Encode()
 13915  	req, err := http.NewRequest("GET", urls, body)
 13916  	if err != nil {
 13917  		return nil, err
 13918  	}
 13919  	req.Header = reqHeaders
 13920  	googleapi.Expand(req.URL, map[string]string{
 13921  		"name": c.name,
 13922  	})
 13923  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13924  }
 13925  
 13926  // Do executes the "integrations.projects.locations.certificates.get" call.
 13927  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 13928  // will be non-nil. Any non-2xx status code is an error. Response
 13929  // headers are in either
 13930  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 13931  // (if a response was returned at all) in
 13932  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13933  // whether the returned error was because http.StatusNotModified was
 13934  // returned.
 13935  func (c *ProjectsLocationsCertificatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 13936  	gensupport.SetOptions(c.urlParams_, opts...)
 13937  	res, err := c.doRequest("json")
 13938  	if res != nil && res.StatusCode == http.StatusNotModified {
 13939  		if res.Body != nil {
 13940  			res.Body.Close()
 13941  		}
 13942  		return nil, gensupport.WrapError(&googleapi.Error{
 13943  			Code:   res.StatusCode,
 13944  			Header: res.Header,
 13945  		})
 13946  	}
 13947  	if err != nil {
 13948  		return nil, err
 13949  	}
 13950  	defer googleapi.CloseBody(res)
 13951  	if err := googleapi.CheckResponse(res); err != nil {
 13952  		return nil, gensupport.WrapError(err)
 13953  	}
 13954  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 13955  		ServerResponse: googleapi.ServerResponse{
 13956  			Header:         res.Header,
 13957  			HTTPStatusCode: res.StatusCode,
 13958  		},
 13959  	}
 13960  	target := &ret
 13961  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13962  		return nil, err
 13963  	}
 13964  	return ret, nil
 13965  	// {
 13966  	//   "description": "Get a certificates in the specified project.",
 13967  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}",
 13968  	//   "httpMethod": "GET",
 13969  	//   "id": "integrations.projects.locations.certificates.get",
 13970  	//   "parameterOrder": [
 13971  	//     "name"
 13972  	//   ],
 13973  	//   "parameters": {
 13974  	//     "name": {
 13975  	//       "description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}",
 13976  	//       "location": "path",
 13977  	//       "pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$",
 13978  	//       "required": true,
 13979  	//       "type": "string"
 13980  	//     }
 13981  	//   },
 13982  	//   "path": "v1/{+name}",
 13983  	//   "response": {
 13984  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 13985  	//   },
 13986  	//   "scopes": [
 13987  	//     "https://www.googleapis.com/auth/cloud-platform"
 13988  	//   ]
 13989  	// }
 13990  
 13991  }
 13992  
 13993  // method id "integrations.projects.locations.certificates.list":
 13994  
 13995  type ProjectsLocationsCertificatesListCall struct {
 13996  	s            *Service
 13997  	parent       string
 13998  	urlParams_   gensupport.URLParams
 13999  	ifNoneMatch_ string
 14000  	ctx_         context.Context
 14001  	header_      http.Header
 14002  }
 14003  
 14004  // List: List all the certificates that match the filter. Restrict to
 14005  // certificate of current client only.
 14006  //
 14007  // - parent: The client, which owns this collection of Certificates.
 14008  func (r *ProjectsLocationsCertificatesService) List(parent string) *ProjectsLocationsCertificatesListCall {
 14009  	c := &ProjectsLocationsCertificatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14010  	c.parent = parent
 14011  	return c
 14012  }
 14013  
 14014  // Filter sets the optional parameter "filter": Filtering as supported
 14015  // in
 14016  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 14017  func (c *ProjectsLocationsCertificatesListCall) Filter(filter string) *ProjectsLocationsCertificatesListCall {
 14018  	c.urlParams_.Set("filter", filter)
 14019  	return c
 14020  }
 14021  
 14022  // PageSize sets the optional parameter "pageSize": The size of entries
 14023  // in the response. If unspecified, defaults to 100.
 14024  func (c *ProjectsLocationsCertificatesListCall) PageSize(pageSize int64) *ProjectsLocationsCertificatesListCall {
 14025  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 14026  	return c
 14027  }
 14028  
 14029  // PageToken sets the optional parameter "pageToken": The token returned
 14030  // in the previous response.
 14031  func (c *ProjectsLocationsCertificatesListCall) PageToken(pageToken string) *ProjectsLocationsCertificatesListCall {
 14032  	c.urlParams_.Set("pageToken", pageToken)
 14033  	return c
 14034  }
 14035  
 14036  // ReadMask sets the optional parameter "readMask": The mask which
 14037  // specifies fields that need to be returned in the Certificate's
 14038  // response.
 14039  func (c *ProjectsLocationsCertificatesListCall) ReadMask(readMask string) *ProjectsLocationsCertificatesListCall {
 14040  	c.urlParams_.Set("readMask", readMask)
 14041  	return c
 14042  }
 14043  
 14044  // Fields allows partial responses to be retrieved. See
 14045  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14046  // for more information.
 14047  func (c *ProjectsLocationsCertificatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesListCall {
 14048  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14049  	return c
 14050  }
 14051  
 14052  // IfNoneMatch sets the optional parameter which makes the operation
 14053  // fail if the object's ETag matches the given value. This is useful for
 14054  // getting updates only after the object has changed since the last
 14055  // request. Use googleapi.IsNotModified to check whether the response
 14056  // error from Do is the result of In-None-Match.
 14057  func (c *ProjectsLocationsCertificatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificatesListCall {
 14058  	c.ifNoneMatch_ = entityTag
 14059  	return c
 14060  }
 14061  
 14062  // Context sets the context to be used in this call's Do method. Any
 14063  // pending HTTP request will be aborted if the provided context is
 14064  // canceled.
 14065  func (c *ProjectsLocationsCertificatesListCall) Context(ctx context.Context) *ProjectsLocationsCertificatesListCall {
 14066  	c.ctx_ = ctx
 14067  	return c
 14068  }
 14069  
 14070  // Header returns an http.Header that can be modified by the caller to
 14071  // add HTTP headers to the request.
 14072  func (c *ProjectsLocationsCertificatesListCall) Header() http.Header {
 14073  	if c.header_ == nil {
 14074  		c.header_ = make(http.Header)
 14075  	}
 14076  	return c.header_
 14077  }
 14078  
 14079  func (c *ProjectsLocationsCertificatesListCall) doRequest(alt string) (*http.Response, error) {
 14080  	reqHeaders := make(http.Header)
 14081  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14082  	for k, v := range c.header_ {
 14083  		reqHeaders[k] = v
 14084  	}
 14085  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14086  	if c.ifNoneMatch_ != "" {
 14087  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 14088  	}
 14089  	var body io.Reader = nil
 14090  	c.urlParams_.Set("alt", alt)
 14091  	c.urlParams_.Set("prettyPrint", "false")
 14092  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/certificates")
 14093  	urls += "?" + c.urlParams_.Encode()
 14094  	req, err := http.NewRequest("GET", urls, body)
 14095  	if err != nil {
 14096  		return nil, err
 14097  	}
 14098  	req.Header = reqHeaders
 14099  	googleapi.Expand(req.URL, map[string]string{
 14100  		"parent": c.parent,
 14101  	})
 14102  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14103  }
 14104  
 14105  // Do executes the "integrations.projects.locations.certificates.list" call.
 14106  // Exactly one of
 14107  // *GoogleCloudIntegrationsV1alphaListCertificatesResponse or error will
 14108  // be non-nil. Any non-2xx status code is an error. Response headers are
 14109  // in either
 14110  // *GoogleCloudIntegrationsV1alphaListCertificatesResponse.ServerResponse
 14111  // .Header or (if a response was returned at all) in
 14112  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14113  // whether the returned error was because http.StatusNotModified was
 14114  // returned.
 14115  func (c *ProjectsLocationsCertificatesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListCertificatesResponse, error) {
 14116  	gensupport.SetOptions(c.urlParams_, opts...)
 14117  	res, err := c.doRequest("json")
 14118  	if res != nil && res.StatusCode == http.StatusNotModified {
 14119  		if res.Body != nil {
 14120  			res.Body.Close()
 14121  		}
 14122  		return nil, gensupport.WrapError(&googleapi.Error{
 14123  			Code:   res.StatusCode,
 14124  			Header: res.Header,
 14125  		})
 14126  	}
 14127  	if err != nil {
 14128  		return nil, err
 14129  	}
 14130  	defer googleapi.CloseBody(res)
 14131  	if err := googleapi.CheckResponse(res); err != nil {
 14132  		return nil, gensupport.WrapError(err)
 14133  	}
 14134  	ret := &GoogleCloudIntegrationsV1alphaListCertificatesResponse{
 14135  		ServerResponse: googleapi.ServerResponse{
 14136  			Header:         res.Header,
 14137  			HTTPStatusCode: res.StatusCode,
 14138  		},
 14139  	}
 14140  	target := &ret
 14141  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14142  		return nil, err
 14143  	}
 14144  	return ret, nil
 14145  	// {
 14146  	//   "description": "List all the certificates that match the filter. Restrict to certificate of current client only.",
 14147  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates",
 14148  	//   "httpMethod": "GET",
 14149  	//   "id": "integrations.projects.locations.certificates.list",
 14150  	//   "parameterOrder": [
 14151  	//     "parent"
 14152  	//   ],
 14153  	//   "parameters": {
 14154  	//     "filter": {
 14155  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 14156  	//       "location": "query",
 14157  	//       "type": "string"
 14158  	//     },
 14159  	//     "pageSize": {
 14160  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 14161  	//       "format": "int32",
 14162  	//       "location": "query",
 14163  	//       "type": "integer"
 14164  	//     },
 14165  	//     "pageToken": {
 14166  	//       "description": "The token returned in the previous response.",
 14167  	//       "location": "query",
 14168  	//       "type": "string"
 14169  	//     },
 14170  	//     "parent": {
 14171  	//       "description": "Required. The client, which owns this collection of Certificates.",
 14172  	//       "location": "path",
 14173  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 14174  	//       "required": true,
 14175  	//       "type": "string"
 14176  	//     },
 14177  	//     "readMask": {
 14178  	//       "description": "The mask which specifies fields that need to be returned in the Certificate's response.",
 14179  	//       "format": "google-fieldmask",
 14180  	//       "location": "query",
 14181  	//       "type": "string"
 14182  	//     }
 14183  	//   },
 14184  	//   "path": "v1/{+parent}/certificates",
 14185  	//   "response": {
 14186  	//     "$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse"
 14187  	//   },
 14188  	//   "scopes": [
 14189  	//     "https://www.googleapis.com/auth/cloud-platform"
 14190  	//   ]
 14191  	// }
 14192  
 14193  }
 14194  
 14195  // Pages invokes f for each page of results.
 14196  // A non-nil error returned from f will halt the iteration.
 14197  // The provided context supersedes any context provided to the Context method.
 14198  func (c *ProjectsLocationsCertificatesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListCertificatesResponse) error) error {
 14199  	c.ctx_ = ctx
 14200  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 14201  	for {
 14202  		x, err := c.Do()
 14203  		if err != nil {
 14204  			return err
 14205  		}
 14206  		if err := f(x); err != nil {
 14207  			return err
 14208  		}
 14209  		if x.NextPageToken == "" {
 14210  			return nil
 14211  		}
 14212  		c.PageToken(x.NextPageToken)
 14213  	}
 14214  }
 14215  
 14216  // method id "integrations.projects.locations.certificates.patch":
 14217  
 14218  type ProjectsLocationsCertificatesPatchCall struct {
 14219  	s                                         *Service
 14220  	name                                      string
 14221  	googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate
 14222  	urlParams_                                gensupport.URLParams
 14223  	ctx_                                      context.Context
 14224  	header_                                   http.Header
 14225  }
 14226  
 14227  // Patch: Updates the certificate by id. If new certificate file is
 14228  // updated, it will register with the trawler service, re-encrypt with
 14229  // cloud KMS and update the Spanner record. Other fields will directly
 14230  // update the Spanner record. Returns the Certificate.
 14231  //
 14232  // - name: Output only. Auto generated primary key.
 14233  func (r *ProjectsLocationsCertificatesService) Patch(name string, googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate) *ProjectsLocationsCertificatesPatchCall {
 14234  	c := &ProjectsLocationsCertificatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14235  	c.name = name
 14236  	c.googlecloudintegrationsv1alphacertificate = googlecloudintegrationsv1alphacertificate
 14237  	return c
 14238  }
 14239  
 14240  // UpdateMask sets the optional parameter "updateMask": Field mask
 14241  // specifying the fields in the above Certificate that have been
 14242  // modified and need to be updated.
 14243  func (c *ProjectsLocationsCertificatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificatesPatchCall {
 14244  	c.urlParams_.Set("updateMask", updateMask)
 14245  	return c
 14246  }
 14247  
 14248  // Fields allows partial responses to be retrieved. See
 14249  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14250  // for more information.
 14251  func (c *ProjectsLocationsCertificatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesPatchCall {
 14252  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14253  	return c
 14254  }
 14255  
 14256  // Context sets the context to be used in this call's Do method. Any
 14257  // pending HTTP request will be aborted if the provided context is
 14258  // canceled.
 14259  func (c *ProjectsLocationsCertificatesPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificatesPatchCall {
 14260  	c.ctx_ = ctx
 14261  	return c
 14262  }
 14263  
 14264  // Header returns an http.Header that can be modified by the caller to
 14265  // add HTTP headers to the request.
 14266  func (c *ProjectsLocationsCertificatesPatchCall) Header() http.Header {
 14267  	if c.header_ == nil {
 14268  		c.header_ = make(http.Header)
 14269  	}
 14270  	return c.header_
 14271  }
 14272  
 14273  func (c *ProjectsLocationsCertificatesPatchCall) doRequest(alt string) (*http.Response, error) {
 14274  	reqHeaders := make(http.Header)
 14275  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14276  	for k, v := range c.header_ {
 14277  		reqHeaders[k] = v
 14278  	}
 14279  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14280  	var body io.Reader = nil
 14281  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacertificate)
 14282  	if err != nil {
 14283  		return nil, err
 14284  	}
 14285  	reqHeaders.Set("Content-Type", "application/json")
 14286  	c.urlParams_.Set("alt", alt)
 14287  	c.urlParams_.Set("prettyPrint", "false")
 14288  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 14289  	urls += "?" + c.urlParams_.Encode()
 14290  	req, err := http.NewRequest("PATCH", urls, body)
 14291  	if err != nil {
 14292  		return nil, err
 14293  	}
 14294  	req.Header = reqHeaders
 14295  	googleapi.Expand(req.URL, map[string]string{
 14296  		"name": c.name,
 14297  	})
 14298  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14299  }
 14300  
 14301  // Do executes the "integrations.projects.locations.certificates.patch" call.
 14302  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 14303  // will be non-nil. Any non-2xx status code is an error. Response
 14304  // headers are in either
 14305  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 14306  // (if a response was returned at all) in
 14307  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14308  // whether the returned error was because http.StatusNotModified was
 14309  // returned.
 14310  func (c *ProjectsLocationsCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 14311  	gensupport.SetOptions(c.urlParams_, opts...)
 14312  	res, err := c.doRequest("json")
 14313  	if res != nil && res.StatusCode == http.StatusNotModified {
 14314  		if res.Body != nil {
 14315  			res.Body.Close()
 14316  		}
 14317  		return nil, gensupport.WrapError(&googleapi.Error{
 14318  			Code:   res.StatusCode,
 14319  			Header: res.Header,
 14320  		})
 14321  	}
 14322  	if err != nil {
 14323  		return nil, err
 14324  	}
 14325  	defer googleapi.CloseBody(res)
 14326  	if err := googleapi.CheckResponse(res); err != nil {
 14327  		return nil, gensupport.WrapError(err)
 14328  	}
 14329  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 14330  		ServerResponse: googleapi.ServerResponse{
 14331  			Header:         res.Header,
 14332  			HTTPStatusCode: res.StatusCode,
 14333  		},
 14334  	}
 14335  	target := &ret
 14336  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14337  		return nil, err
 14338  	}
 14339  	return ret, nil
 14340  	// {
 14341  	//   "description": "Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.",
 14342  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}",
 14343  	//   "httpMethod": "PATCH",
 14344  	//   "id": "integrations.projects.locations.certificates.patch",
 14345  	//   "parameterOrder": [
 14346  	//     "name"
 14347  	//   ],
 14348  	//   "parameters": {
 14349  	//     "name": {
 14350  	//       "description": "Output only. Auto generated primary key",
 14351  	//       "location": "path",
 14352  	//       "pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$",
 14353  	//       "required": true,
 14354  	//       "type": "string"
 14355  	//     },
 14356  	//     "updateMask": {
 14357  	//       "description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.",
 14358  	//       "format": "google-fieldmask",
 14359  	//       "location": "query",
 14360  	//       "type": "string"
 14361  	//     }
 14362  	//   },
 14363  	//   "path": "v1/{+name}",
 14364  	//   "request": {
 14365  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 14366  	//   },
 14367  	//   "response": {
 14368  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 14369  	//   },
 14370  	//   "scopes": [
 14371  	//     "https://www.googleapis.com/auth/cloud-platform"
 14372  	//   ]
 14373  	// }
 14374  
 14375  }
 14376  
 14377  // method id "integrations.projects.locations.clients.deprovision":
 14378  
 14379  type ProjectsLocationsClientsDeprovisionCall struct {
 14380  	s                                                      *Service
 14381  	parent                                                 string
 14382  	googlecloudintegrationsv1alphadeprovisionclientrequest *GoogleCloudIntegrationsV1alphaDeprovisionClientRequest
 14383  	urlParams_                                             gensupport.URLParams
 14384  	ctx_                                                   context.Context
 14385  	header_                                                http.Header
 14386  }
 14387  
 14388  // Deprovision: Perform the deprovisioning steps to disable a user GCP
 14389  // project to use IP and purge all related data in a wipeout-compliant
 14390  // way.
 14391  //
 14392  // - parent: Required: The ID of the GCP Project to be deprovisioned.
 14393  func (r *ProjectsLocationsClientsService) Deprovision(parent string, googlecloudintegrationsv1alphadeprovisionclientrequest *GoogleCloudIntegrationsV1alphaDeprovisionClientRequest) *ProjectsLocationsClientsDeprovisionCall {
 14394  	c := &ProjectsLocationsClientsDeprovisionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14395  	c.parent = parent
 14396  	c.googlecloudintegrationsv1alphadeprovisionclientrequest = googlecloudintegrationsv1alphadeprovisionclientrequest
 14397  	return c
 14398  }
 14399  
 14400  // Fields allows partial responses to be retrieved. See
 14401  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14402  // for more information.
 14403  func (c *ProjectsLocationsClientsDeprovisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsClientsDeprovisionCall {
 14404  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14405  	return c
 14406  }
 14407  
 14408  // Context sets the context to be used in this call's Do method. Any
 14409  // pending HTTP request will be aborted if the provided context is
 14410  // canceled.
 14411  func (c *ProjectsLocationsClientsDeprovisionCall) Context(ctx context.Context) *ProjectsLocationsClientsDeprovisionCall {
 14412  	c.ctx_ = ctx
 14413  	return c
 14414  }
 14415  
 14416  // Header returns an http.Header that can be modified by the caller to
 14417  // add HTTP headers to the request.
 14418  func (c *ProjectsLocationsClientsDeprovisionCall) Header() http.Header {
 14419  	if c.header_ == nil {
 14420  		c.header_ = make(http.Header)
 14421  	}
 14422  	return c.header_
 14423  }
 14424  
 14425  func (c *ProjectsLocationsClientsDeprovisionCall) doRequest(alt string) (*http.Response, error) {
 14426  	reqHeaders := make(http.Header)
 14427  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14428  	for k, v := range c.header_ {
 14429  		reqHeaders[k] = v
 14430  	}
 14431  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14432  	var body io.Reader = nil
 14433  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphadeprovisionclientrequest)
 14434  	if err != nil {
 14435  		return nil, err
 14436  	}
 14437  	reqHeaders.Set("Content-Type", "application/json")
 14438  	c.urlParams_.Set("alt", alt)
 14439  	c.urlParams_.Set("prettyPrint", "false")
 14440  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/clients:deprovision")
 14441  	urls += "?" + c.urlParams_.Encode()
 14442  	req, err := http.NewRequest("POST", urls, body)
 14443  	if err != nil {
 14444  		return nil, err
 14445  	}
 14446  	req.Header = reqHeaders
 14447  	googleapi.Expand(req.URL, map[string]string{
 14448  		"parent": c.parent,
 14449  	})
 14450  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14451  }
 14452  
 14453  // Do executes the "integrations.projects.locations.clients.deprovision" call.
 14454  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 14455  // non-2xx status code is an error. Response headers are in either
 14456  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 14457  // returned at all) in error.(*googleapi.Error).Header. Use
 14458  // googleapi.IsNotModified to check whether the returned error was
 14459  // because http.StatusNotModified was returned.
 14460  func (c *ProjectsLocationsClientsDeprovisionCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 14461  	gensupport.SetOptions(c.urlParams_, opts...)
 14462  	res, err := c.doRequest("json")
 14463  	if res != nil && res.StatusCode == http.StatusNotModified {
 14464  		if res.Body != nil {
 14465  			res.Body.Close()
 14466  		}
 14467  		return nil, gensupport.WrapError(&googleapi.Error{
 14468  			Code:   res.StatusCode,
 14469  			Header: res.Header,
 14470  		})
 14471  	}
 14472  	if err != nil {
 14473  		return nil, err
 14474  	}
 14475  	defer googleapi.CloseBody(res)
 14476  	if err := googleapi.CheckResponse(res); err != nil {
 14477  		return nil, gensupport.WrapError(err)
 14478  	}
 14479  	ret := &GoogleProtobufEmpty{
 14480  		ServerResponse: googleapi.ServerResponse{
 14481  			Header:         res.Header,
 14482  			HTTPStatusCode: res.StatusCode,
 14483  		},
 14484  	}
 14485  	target := &ret
 14486  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14487  		return nil, err
 14488  	}
 14489  	return ret, nil
 14490  	// {
 14491  	//   "description": "Perform the deprovisioning steps to disable a user GCP project to use IP and purge all related data in a wipeout-compliant way.",
 14492  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:deprovision",
 14493  	//   "httpMethod": "POST",
 14494  	//   "id": "integrations.projects.locations.clients.deprovision",
 14495  	//   "parameterOrder": [
 14496  	//     "parent"
 14497  	//   ],
 14498  	//   "parameters": {
 14499  	//     "parent": {
 14500  	//       "description": "Required. Required: The ID of the GCP Project to be deprovisioned.",
 14501  	//       "location": "path",
 14502  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 14503  	//       "required": true,
 14504  	//       "type": "string"
 14505  	//     }
 14506  	//   },
 14507  	//   "path": "v1/{+parent}/clients:deprovision",
 14508  	//   "request": {
 14509  	//     "$ref": "GoogleCloudIntegrationsV1alphaDeprovisionClientRequest"
 14510  	//   },
 14511  	//   "response": {
 14512  	//     "$ref": "GoogleProtobufEmpty"
 14513  	//   },
 14514  	//   "scopes": [
 14515  	//     "https://www.googleapis.com/auth/cloud-platform"
 14516  	//   ]
 14517  	// }
 14518  
 14519  }
 14520  
 14521  // method id "integrations.projects.locations.clients.provision":
 14522  
 14523  type ProjectsLocationsClientsProvisionCall struct {
 14524  	s                                                    *Service
 14525  	parent                                               string
 14526  	googlecloudintegrationsv1alphaprovisionclientrequest *GoogleCloudIntegrationsV1alphaProvisionClientRequest
 14527  	urlParams_                                           gensupport.URLParams
 14528  	ctx_                                                 context.Context
 14529  	header_                                              http.Header
 14530  }
 14531  
 14532  // Provision: Perform the provisioning steps to enable a user GCP
 14533  // project to use IP. If GCP project already registered on IP end via
 14534  // Apigee Integration, provisioning will fail.
 14535  //
 14536  // - parent: Required: The ID of the GCP Project to be provisioned.
 14537  func (r *ProjectsLocationsClientsService) Provision(parent string, googlecloudintegrationsv1alphaprovisionclientrequest *GoogleCloudIntegrationsV1alphaProvisionClientRequest) *ProjectsLocationsClientsProvisionCall {
 14538  	c := &ProjectsLocationsClientsProvisionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14539  	c.parent = parent
 14540  	c.googlecloudintegrationsv1alphaprovisionclientrequest = googlecloudintegrationsv1alphaprovisionclientrequest
 14541  	return c
 14542  }
 14543  
 14544  // Fields allows partial responses to be retrieved. See
 14545  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14546  // for more information.
 14547  func (c *ProjectsLocationsClientsProvisionCall) Fields(s ...googleapi.Field) *ProjectsLocationsClientsProvisionCall {
 14548  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14549  	return c
 14550  }
 14551  
 14552  // Context sets the context to be used in this call's Do method. Any
 14553  // pending HTTP request will be aborted if the provided context is
 14554  // canceled.
 14555  func (c *ProjectsLocationsClientsProvisionCall) Context(ctx context.Context) *ProjectsLocationsClientsProvisionCall {
 14556  	c.ctx_ = ctx
 14557  	return c
 14558  }
 14559  
 14560  // Header returns an http.Header that can be modified by the caller to
 14561  // add HTTP headers to the request.
 14562  func (c *ProjectsLocationsClientsProvisionCall) Header() http.Header {
 14563  	if c.header_ == nil {
 14564  		c.header_ = make(http.Header)
 14565  	}
 14566  	return c.header_
 14567  }
 14568  
 14569  func (c *ProjectsLocationsClientsProvisionCall) doRequest(alt string) (*http.Response, error) {
 14570  	reqHeaders := make(http.Header)
 14571  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14572  	for k, v := range c.header_ {
 14573  		reqHeaders[k] = v
 14574  	}
 14575  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14576  	var body io.Reader = nil
 14577  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaprovisionclientrequest)
 14578  	if err != nil {
 14579  		return nil, err
 14580  	}
 14581  	reqHeaders.Set("Content-Type", "application/json")
 14582  	c.urlParams_.Set("alt", alt)
 14583  	c.urlParams_.Set("prettyPrint", "false")
 14584  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/clients:provision")
 14585  	urls += "?" + c.urlParams_.Encode()
 14586  	req, err := http.NewRequest("POST", urls, body)
 14587  	if err != nil {
 14588  		return nil, err
 14589  	}
 14590  	req.Header = reqHeaders
 14591  	googleapi.Expand(req.URL, map[string]string{
 14592  		"parent": c.parent,
 14593  	})
 14594  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14595  }
 14596  
 14597  // Do executes the "integrations.projects.locations.clients.provision" call.
 14598  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 14599  // non-2xx status code is an error. Response headers are in either
 14600  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 14601  // returned at all) in error.(*googleapi.Error).Header. Use
 14602  // googleapi.IsNotModified to check whether the returned error was
 14603  // because http.StatusNotModified was returned.
 14604  func (c *ProjectsLocationsClientsProvisionCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 14605  	gensupport.SetOptions(c.urlParams_, opts...)
 14606  	res, err := c.doRequest("json")
 14607  	if res != nil && res.StatusCode == http.StatusNotModified {
 14608  		if res.Body != nil {
 14609  			res.Body.Close()
 14610  		}
 14611  		return nil, gensupport.WrapError(&googleapi.Error{
 14612  			Code:   res.StatusCode,
 14613  			Header: res.Header,
 14614  		})
 14615  	}
 14616  	if err != nil {
 14617  		return nil, err
 14618  	}
 14619  	defer googleapi.CloseBody(res)
 14620  	if err := googleapi.CheckResponse(res); err != nil {
 14621  		return nil, gensupport.WrapError(err)
 14622  	}
 14623  	ret := &GoogleProtobufEmpty{
 14624  		ServerResponse: googleapi.ServerResponse{
 14625  			Header:         res.Header,
 14626  			HTTPStatusCode: res.StatusCode,
 14627  		},
 14628  	}
 14629  	target := &ret
 14630  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14631  		return nil, err
 14632  	}
 14633  	return ret, nil
 14634  	// {
 14635  	//   "description": "Perform the provisioning steps to enable a user GCP project to use IP. If GCP project already registered on IP end via Apigee Integration, provisioning will fail.",
 14636  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:provision",
 14637  	//   "httpMethod": "POST",
 14638  	//   "id": "integrations.projects.locations.clients.provision",
 14639  	//   "parameterOrder": [
 14640  	//     "parent"
 14641  	//   ],
 14642  	//   "parameters": {
 14643  	//     "parent": {
 14644  	//       "description": "Required. Required: The ID of the GCP Project to be provisioned.",
 14645  	//       "location": "path",
 14646  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 14647  	//       "required": true,
 14648  	//       "type": "string"
 14649  	//     }
 14650  	//   },
 14651  	//   "path": "v1/{+parent}/clients:provision",
 14652  	//   "request": {
 14653  	//     "$ref": "GoogleCloudIntegrationsV1alphaProvisionClientRequest"
 14654  	//   },
 14655  	//   "response": {
 14656  	//     "$ref": "GoogleProtobufEmpty"
 14657  	//   },
 14658  	//   "scopes": [
 14659  	//     "https://www.googleapis.com/auth/cloud-platform"
 14660  	//   ]
 14661  	// }
 14662  
 14663  }
 14664  
 14665  // method id "integrations.projects.locations.cloudFunctions.create":
 14666  
 14667  type ProjectsLocationsCloudFunctionsCreateCall struct {
 14668  	s                                                        *Service
 14669  	parent                                                   string
 14670  	googlecloudintegrationsv1alphacreatecloudfunctionrequest *GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
 14671  	urlParams_                                               gensupport.URLParams
 14672  	ctx_                                                     context.Context
 14673  	header_                                                  http.Header
 14674  }
 14675  
 14676  // Create: Creates an cloud function project.
 14677  //
 14678  // - parent: The project that the executed integration belongs to.
 14679  func (r *ProjectsLocationsCloudFunctionsService) Create(parent string, googlecloudintegrationsv1alphacreatecloudfunctionrequest *GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest) *ProjectsLocationsCloudFunctionsCreateCall {
 14680  	c := &ProjectsLocationsCloudFunctionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14681  	c.parent = parent
 14682  	c.googlecloudintegrationsv1alphacreatecloudfunctionrequest = googlecloudintegrationsv1alphacreatecloudfunctionrequest
 14683  	return c
 14684  }
 14685  
 14686  // Fields allows partial responses to be retrieved. See
 14687  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14688  // for more information.
 14689  func (c *ProjectsLocationsCloudFunctionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudFunctionsCreateCall {
 14690  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14691  	return c
 14692  }
 14693  
 14694  // Context sets the context to be used in this call's Do method. Any
 14695  // pending HTTP request will be aborted if the provided context is
 14696  // canceled.
 14697  func (c *ProjectsLocationsCloudFunctionsCreateCall) Context(ctx context.Context) *ProjectsLocationsCloudFunctionsCreateCall {
 14698  	c.ctx_ = ctx
 14699  	return c
 14700  }
 14701  
 14702  // Header returns an http.Header that can be modified by the caller to
 14703  // add HTTP headers to the request.
 14704  func (c *ProjectsLocationsCloudFunctionsCreateCall) Header() http.Header {
 14705  	if c.header_ == nil {
 14706  		c.header_ = make(http.Header)
 14707  	}
 14708  	return c.header_
 14709  }
 14710  
 14711  func (c *ProjectsLocationsCloudFunctionsCreateCall) doRequest(alt string) (*http.Response, error) {
 14712  	reqHeaders := make(http.Header)
 14713  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14714  	for k, v := range c.header_ {
 14715  		reqHeaders[k] = v
 14716  	}
 14717  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14718  	var body io.Reader = nil
 14719  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacreatecloudfunctionrequest)
 14720  	if err != nil {
 14721  		return nil, err
 14722  	}
 14723  	reqHeaders.Set("Content-Type", "application/json")
 14724  	c.urlParams_.Set("alt", alt)
 14725  	c.urlParams_.Set("prettyPrint", "false")
 14726  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/cloudFunctions")
 14727  	urls += "?" + c.urlParams_.Encode()
 14728  	req, err := http.NewRequest("POST", urls, body)
 14729  	if err != nil {
 14730  		return nil, err
 14731  	}
 14732  	req.Header = reqHeaders
 14733  	googleapi.Expand(req.URL, map[string]string{
 14734  		"parent": c.parent,
 14735  	})
 14736  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14737  }
 14738  
 14739  // Do executes the "integrations.projects.locations.cloudFunctions.create" call.
 14740  // Exactly one of
 14741  // *GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse or error
 14742  // will be non-nil. Any non-2xx status code is an error. Response
 14743  // headers are in either
 14744  // *GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse.ServerRespo
 14745  // nse.Header or (if a response was returned at all) in
 14746  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14747  // whether the returned error was because http.StatusNotModified was
 14748  // returned.
 14749  func (c *ProjectsLocationsCloudFunctionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse, error) {
 14750  	gensupport.SetOptions(c.urlParams_, opts...)
 14751  	res, err := c.doRequest("json")
 14752  	if res != nil && res.StatusCode == http.StatusNotModified {
 14753  		if res.Body != nil {
 14754  			res.Body.Close()
 14755  		}
 14756  		return nil, gensupport.WrapError(&googleapi.Error{
 14757  			Code:   res.StatusCode,
 14758  			Header: res.Header,
 14759  		})
 14760  	}
 14761  	if err != nil {
 14762  		return nil, err
 14763  	}
 14764  	defer googleapi.CloseBody(res)
 14765  	if err := googleapi.CheckResponse(res); err != nil {
 14766  		return nil, gensupport.WrapError(err)
 14767  	}
 14768  	ret := &GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse{
 14769  		ServerResponse: googleapi.ServerResponse{
 14770  			Header:         res.Header,
 14771  			HTTPStatusCode: res.StatusCode,
 14772  		},
 14773  	}
 14774  	target := &ret
 14775  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14776  		return nil, err
 14777  	}
 14778  	return ret, nil
 14779  	// {
 14780  	//   "description": "Creates an cloud function project.",
 14781  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cloudFunctions",
 14782  	//   "httpMethod": "POST",
 14783  	//   "id": "integrations.projects.locations.cloudFunctions.create",
 14784  	//   "parameterOrder": [
 14785  	//     "parent"
 14786  	//   ],
 14787  	//   "parameters": {
 14788  	//     "parent": {
 14789  	//       "description": "Required. The project that the executed integration belongs to.",
 14790  	//       "location": "path",
 14791  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 14792  	//       "required": true,
 14793  	//       "type": "string"
 14794  	//     }
 14795  	//   },
 14796  	//   "path": "v1/{+parent}/cloudFunctions",
 14797  	//   "request": {
 14798  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest"
 14799  	//   },
 14800  	//   "response": {
 14801  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse"
 14802  	//   },
 14803  	//   "scopes": [
 14804  	//     "https://www.googleapis.com/auth/cloud-platform"
 14805  	//   ]
 14806  	// }
 14807  
 14808  }
 14809  
 14810  // method id "integrations.projects.locations.connections.getConnectionSchemaMetadata":
 14811  
 14812  type ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall struct {
 14813  	s            *Service
 14814  	name         string
 14815  	urlParams_   gensupport.URLParams
 14816  	ifNoneMatch_ string
 14817  	ctx_         context.Context
 14818  	header_      http.Header
 14819  }
 14820  
 14821  // GetConnectionSchemaMetadata: Lists the available entities and actions
 14822  // associated with a Connection.
 14823  //
 14824  //   - name: ConnectionSchemaMetadata name. Format:
 14825  //     projects/{project}/locations/{location}/connections/{connection}/con
 14826  //     nectionSchemaMetadata.
 14827  func (r *ProjectsLocationsConnectionsService) GetConnectionSchemaMetadata(name string) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 14828  	c := &ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14829  	c.name = name
 14830  	return c
 14831  }
 14832  
 14833  // Fields allows partial responses to be retrieved. See
 14834  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14835  // for more information.
 14836  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 14837  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14838  	return c
 14839  }
 14840  
 14841  // IfNoneMatch sets the optional parameter which makes the operation
 14842  // fail if the object's ETag matches the given value. This is useful for
 14843  // getting updates only after the object has changed since the last
 14844  // request. Use googleapi.IsNotModified to check whether the response
 14845  // error from Do is the result of In-None-Match.
 14846  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 14847  	c.ifNoneMatch_ = entityTag
 14848  	return c
 14849  }
 14850  
 14851  // Context sets the context to be used in this call's Do method. Any
 14852  // pending HTTP request will be aborted if the provided context is
 14853  // canceled.
 14854  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Context(ctx context.Context) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 14855  	c.ctx_ = ctx
 14856  	return c
 14857  }
 14858  
 14859  // Header returns an http.Header that can be modified by the caller to
 14860  // add HTTP headers to the request.
 14861  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Header() http.Header {
 14862  	if c.header_ == nil {
 14863  		c.header_ = make(http.Header)
 14864  	}
 14865  	return c.header_
 14866  }
 14867  
 14868  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) doRequest(alt string) (*http.Response, error) {
 14869  	reqHeaders := make(http.Header)
 14870  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14871  	for k, v := range c.header_ {
 14872  		reqHeaders[k] = v
 14873  	}
 14874  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14875  	if c.ifNoneMatch_ != "" {
 14876  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 14877  	}
 14878  	var body io.Reader = nil
 14879  	c.urlParams_.Set("alt", alt)
 14880  	c.urlParams_.Set("prettyPrint", "false")
 14881  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 14882  	urls += "?" + c.urlParams_.Encode()
 14883  	req, err := http.NewRequest("GET", urls, body)
 14884  	if err != nil {
 14885  		return nil, err
 14886  	}
 14887  	req.Header = reqHeaders
 14888  	googleapi.Expand(req.URL, map[string]string{
 14889  		"name": c.name,
 14890  	})
 14891  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14892  }
 14893  
 14894  // Do executes the "integrations.projects.locations.connections.getConnectionSchemaMetadata" call.
 14895  // Exactly one of
 14896  // *GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata or error will
 14897  // be non-nil. Any non-2xx status code is an error. Response headers are
 14898  // in either
 14899  // *GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata.ServerResponse
 14900  // .Header or (if a response was returned at all) in
 14901  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14902  // whether the returned error was because http.StatusNotModified was
 14903  // returned.
 14904  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata, error) {
 14905  	gensupport.SetOptions(c.urlParams_, opts...)
 14906  	res, err := c.doRequest("json")
 14907  	if res != nil && res.StatusCode == http.StatusNotModified {
 14908  		if res.Body != nil {
 14909  			res.Body.Close()
 14910  		}
 14911  		return nil, gensupport.WrapError(&googleapi.Error{
 14912  			Code:   res.StatusCode,
 14913  			Header: res.Header,
 14914  		})
 14915  	}
 14916  	if err != nil {
 14917  		return nil, err
 14918  	}
 14919  	defer googleapi.CloseBody(res)
 14920  	if err := googleapi.CheckResponse(res); err != nil {
 14921  		return nil, gensupport.WrapError(err)
 14922  	}
 14923  	ret := &GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata{
 14924  		ServerResponse: googleapi.ServerResponse{
 14925  			Header:         res.Header,
 14926  			HTTPStatusCode: res.StatusCode,
 14927  		},
 14928  	}
 14929  	target := &ret
 14930  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14931  		return nil, err
 14932  	}
 14933  	return ret, nil
 14934  	// {
 14935  	//   "description": "Lists the available entities and actions associated with a Connection.",
 14936  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata",
 14937  	//   "httpMethod": "GET",
 14938  	//   "id": "integrations.projects.locations.connections.getConnectionSchemaMetadata",
 14939  	//   "parameterOrder": [
 14940  	//     "name"
 14941  	//   ],
 14942  	//   "parameters": {
 14943  	//     "name": {
 14944  	//       "description": "Required. ConnectionSchemaMetadata name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata",
 14945  	//       "location": "path",
 14946  	//       "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$",
 14947  	//       "required": true,
 14948  	//       "type": "string"
 14949  	//     }
 14950  	//   },
 14951  	//   "path": "v1/{+name}",
 14952  	//   "response": {
 14953  	//     "$ref": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata"
 14954  	//   },
 14955  	//   "scopes": [
 14956  	//     "https://www.googleapis.com/auth/cloud-platform"
 14957  	//   ]
 14958  	// }
 14959  
 14960  }
 14961  
 14962  // method id "integrations.projects.locations.connections.list":
 14963  
 14964  type ProjectsLocationsConnectionsListCall struct {
 14965  	s            *Service
 14966  	parent       string
 14967  	urlParams_   gensupport.URLParams
 14968  	ifNoneMatch_ string
 14969  	ctx_         context.Context
 14970  	header_      http.Header
 14971  }
 14972  
 14973  // List: Lists Connections in a given project and location.
 14974  //
 14975  //   - parent: Parent resource of the Connection, of the form:
 14976  //     `projects/*/locations/*`.
 14977  func (r *ProjectsLocationsConnectionsService) List(parent string) *ProjectsLocationsConnectionsListCall {
 14978  	c := &ProjectsLocationsConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14979  	c.parent = parent
 14980  	return c
 14981  }
 14982  
 14983  // Filter sets the optional parameter "filter": Filter.
 14984  func (c *ProjectsLocationsConnectionsListCall) Filter(filter string) *ProjectsLocationsConnectionsListCall {
 14985  	c.urlParams_.Set("filter", filter)
 14986  	return c
 14987  }
 14988  
 14989  // OrderBy sets the optional parameter "orderBy": Order by parameters.
 14990  func (c *ProjectsLocationsConnectionsListCall) OrderBy(orderBy string) *ProjectsLocationsConnectionsListCall {
 14991  	c.urlParams_.Set("orderBy", orderBy)
 14992  	return c
 14993  }
 14994  
 14995  // PageSize sets the optional parameter "pageSize": Page size.
 14996  func (c *ProjectsLocationsConnectionsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectionsListCall {
 14997  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 14998  	return c
 14999  }
 15000  
 15001  // PageToken sets the optional parameter "pageToken": Page token.
 15002  func (c *ProjectsLocationsConnectionsListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsListCall {
 15003  	c.urlParams_.Set("pageToken", pageToken)
 15004  	return c
 15005  }
 15006  
 15007  // Fields allows partial responses to be retrieved. See
 15008  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15009  // for more information.
 15010  func (c *ProjectsLocationsConnectionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsListCall {
 15011  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15012  	return c
 15013  }
 15014  
 15015  // IfNoneMatch sets the optional parameter which makes the operation
 15016  // fail if the object's ETag matches the given value. This is useful for
 15017  // getting updates only after the object has changed since the last
 15018  // request. Use googleapi.IsNotModified to check whether the response
 15019  // error from Do is the result of In-None-Match.
 15020  func (c *ProjectsLocationsConnectionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsListCall {
 15021  	c.ifNoneMatch_ = entityTag
 15022  	return c
 15023  }
 15024  
 15025  // Context sets the context to be used in this call's Do method. Any
 15026  // pending HTTP request will be aborted if the provided context is
 15027  // canceled.
 15028  func (c *ProjectsLocationsConnectionsListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsListCall {
 15029  	c.ctx_ = ctx
 15030  	return c
 15031  }
 15032  
 15033  // Header returns an http.Header that can be modified by the caller to
 15034  // add HTTP headers to the request.
 15035  func (c *ProjectsLocationsConnectionsListCall) Header() http.Header {
 15036  	if c.header_ == nil {
 15037  		c.header_ = make(http.Header)
 15038  	}
 15039  	return c.header_
 15040  }
 15041  
 15042  func (c *ProjectsLocationsConnectionsListCall) doRequest(alt string) (*http.Response, error) {
 15043  	reqHeaders := make(http.Header)
 15044  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15045  	for k, v := range c.header_ {
 15046  		reqHeaders[k] = v
 15047  	}
 15048  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15049  	if c.ifNoneMatch_ != "" {
 15050  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 15051  	}
 15052  	var body io.Reader = nil
 15053  	c.urlParams_.Set("alt", alt)
 15054  	c.urlParams_.Set("prettyPrint", "false")
 15055  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/connections")
 15056  	urls += "?" + c.urlParams_.Encode()
 15057  	req, err := http.NewRequest("GET", urls, body)
 15058  	if err != nil {
 15059  		return nil, err
 15060  	}
 15061  	req.Header = reqHeaders
 15062  	googleapi.Expand(req.URL, map[string]string{
 15063  		"parent": c.parent,
 15064  	})
 15065  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15066  }
 15067  
 15068  // Do executes the "integrations.projects.locations.connections.list" call.
 15069  // Exactly one of *GoogleCloudIntegrationsV1alphaListConnectionsResponse
 15070  // or error will be non-nil. Any non-2xx status code is an error.
 15071  // Response headers are in either
 15072  // *GoogleCloudIntegrationsV1alphaListConnectionsResponse.ServerResponse.
 15073  // Header or (if a response was returned at all) in
 15074  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15075  // whether the returned error was because http.StatusNotModified was
 15076  // returned.
 15077  func (c *ProjectsLocationsConnectionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListConnectionsResponse, error) {
 15078  	gensupport.SetOptions(c.urlParams_, opts...)
 15079  	res, err := c.doRequest("json")
 15080  	if res != nil && res.StatusCode == http.StatusNotModified {
 15081  		if res.Body != nil {
 15082  			res.Body.Close()
 15083  		}
 15084  		return nil, gensupport.WrapError(&googleapi.Error{
 15085  			Code:   res.StatusCode,
 15086  			Header: res.Header,
 15087  		})
 15088  	}
 15089  	if err != nil {
 15090  		return nil, err
 15091  	}
 15092  	defer googleapi.CloseBody(res)
 15093  	if err := googleapi.CheckResponse(res); err != nil {
 15094  		return nil, gensupport.WrapError(err)
 15095  	}
 15096  	ret := &GoogleCloudIntegrationsV1alphaListConnectionsResponse{
 15097  		ServerResponse: googleapi.ServerResponse{
 15098  			Header:         res.Header,
 15099  			HTTPStatusCode: res.StatusCode,
 15100  		},
 15101  	}
 15102  	target := &ret
 15103  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15104  		return nil, err
 15105  	}
 15106  	return ret, nil
 15107  	// {
 15108  	//   "description": "Lists Connections in a given project and location.",
 15109  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections",
 15110  	//   "httpMethod": "GET",
 15111  	//   "id": "integrations.projects.locations.connections.list",
 15112  	//   "parameterOrder": [
 15113  	//     "parent"
 15114  	//   ],
 15115  	//   "parameters": {
 15116  	//     "filter": {
 15117  	//       "description": "Filter.",
 15118  	//       "location": "query",
 15119  	//       "type": "string"
 15120  	//     },
 15121  	//     "orderBy": {
 15122  	//       "description": "Order by parameters.",
 15123  	//       "location": "query",
 15124  	//       "type": "string"
 15125  	//     },
 15126  	//     "pageSize": {
 15127  	//       "description": "Page size.",
 15128  	//       "format": "int32",
 15129  	//       "location": "query",
 15130  	//       "type": "integer"
 15131  	//     },
 15132  	//     "pageToken": {
 15133  	//       "description": "Page token.",
 15134  	//       "location": "query",
 15135  	//       "type": "string"
 15136  	//     },
 15137  	//     "parent": {
 15138  	//       "description": "Required. Parent resource of the Connection, of the form: `projects/*/locations/*`",
 15139  	//       "location": "path",
 15140  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 15141  	//       "required": true,
 15142  	//       "type": "string"
 15143  	//     }
 15144  	//   },
 15145  	//   "path": "v1/{+parent}/connections",
 15146  	//   "response": {
 15147  	//     "$ref": "GoogleCloudIntegrationsV1alphaListConnectionsResponse"
 15148  	//   },
 15149  	//   "scopes": [
 15150  	//     "https://www.googleapis.com/auth/cloud-platform"
 15151  	//   ]
 15152  	// }
 15153  
 15154  }
 15155  
 15156  // Pages invokes f for each page of results.
 15157  // A non-nil error returned from f will halt the iteration.
 15158  // The provided context supersedes any context provided to the Context method.
 15159  func (c *ProjectsLocationsConnectionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListConnectionsResponse) error) error {
 15160  	c.ctx_ = ctx
 15161  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 15162  	for {
 15163  		x, err := c.Do()
 15164  		if err != nil {
 15165  			return err
 15166  		}
 15167  		if err := f(x); err != nil {
 15168  			return err
 15169  		}
 15170  		if x.NextPageToken == "" {
 15171  			return nil
 15172  		}
 15173  		c.PageToken(x.NextPageToken)
 15174  	}
 15175  }
 15176  
 15177  // method id "integrations.projects.locations.connections.runtimeActionSchemas.list":
 15178  
 15179  type ProjectsLocationsConnectionsRuntimeActionSchemasListCall struct {
 15180  	s            *Service
 15181  	parent       string
 15182  	urlParams_   gensupport.URLParams
 15183  	ifNoneMatch_ string
 15184  	ctx_         context.Context
 15185  	header_      http.Header
 15186  }
 15187  
 15188  // List: Lists the JSON schemas for the inputs and outputs of actions,
 15189  // filtered by action name.
 15190  //
 15191  //   - parent: Parent resource of RuntimeActionSchema. Format:
 15192  //     projects/{project}/locations/{location}/connections/{connection}.
 15193  func (r *ProjectsLocationsConnectionsRuntimeActionSchemasService) List(parent string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15194  	c := &ProjectsLocationsConnectionsRuntimeActionSchemasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15195  	c.parent = parent
 15196  	return c
 15197  }
 15198  
 15199  // Filter sets the optional parameter "filter": Filter. Only the action
 15200  // field with literal equality operator is supported.
 15201  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Filter(filter string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15202  	c.urlParams_.Set("filter", filter)
 15203  	return c
 15204  }
 15205  
 15206  // PageSize sets the optional parameter "pageSize": Page size.
 15207  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15208  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 15209  	return c
 15210  }
 15211  
 15212  // PageToken sets the optional parameter "pageToken": Page token.
 15213  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15214  	c.urlParams_.Set("pageToken", pageToken)
 15215  	return c
 15216  }
 15217  
 15218  // Fields allows partial responses to be retrieved. See
 15219  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15220  // for more information.
 15221  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15222  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15223  	return c
 15224  }
 15225  
 15226  // IfNoneMatch sets the optional parameter which makes the operation
 15227  // fail if the object's ETag matches the given value. This is useful for
 15228  // getting updates only after the object has changed since the last
 15229  // request. Use googleapi.IsNotModified to check whether the response
 15230  // error from Do is the result of In-None-Match.
 15231  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15232  	c.ifNoneMatch_ = entityTag
 15233  	return c
 15234  }
 15235  
 15236  // Context sets the context to be used in this call's Do method. Any
 15237  // pending HTTP request will be aborted if the provided context is
 15238  // canceled.
 15239  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 15240  	c.ctx_ = ctx
 15241  	return c
 15242  }
 15243  
 15244  // Header returns an http.Header that can be modified by the caller to
 15245  // add HTTP headers to the request.
 15246  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Header() http.Header {
 15247  	if c.header_ == nil {
 15248  		c.header_ = make(http.Header)
 15249  	}
 15250  	return c.header_
 15251  }
 15252  
 15253  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) doRequest(alt string) (*http.Response, error) {
 15254  	reqHeaders := make(http.Header)
 15255  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15256  	for k, v := range c.header_ {
 15257  		reqHeaders[k] = v
 15258  	}
 15259  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15260  	if c.ifNoneMatch_ != "" {
 15261  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 15262  	}
 15263  	var body io.Reader = nil
 15264  	c.urlParams_.Set("alt", alt)
 15265  	c.urlParams_.Set("prettyPrint", "false")
 15266  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/runtimeActionSchemas")
 15267  	urls += "?" + c.urlParams_.Encode()
 15268  	req, err := http.NewRequest("GET", urls, body)
 15269  	if err != nil {
 15270  		return nil, err
 15271  	}
 15272  	req.Header = reqHeaders
 15273  	googleapi.Expand(req.URL, map[string]string{
 15274  		"parent": c.parent,
 15275  	})
 15276  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15277  }
 15278  
 15279  // Do executes the "integrations.projects.locations.connections.runtimeActionSchemas.list" call.
 15280  // Exactly one of
 15281  // *GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse or
 15282  // error will be non-nil. Any non-2xx status code is an error. Response
 15283  // headers are in either
 15284  // *GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse.Server
 15285  // Response.Header or (if a response was returned at all) in
 15286  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15287  // whether the returned error was because http.StatusNotModified was
 15288  // returned.
 15289  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse, error) {
 15290  	gensupport.SetOptions(c.urlParams_, opts...)
 15291  	res, err := c.doRequest("json")
 15292  	if res != nil && res.StatusCode == http.StatusNotModified {
 15293  		if res.Body != nil {
 15294  			res.Body.Close()
 15295  		}
 15296  		return nil, gensupport.WrapError(&googleapi.Error{
 15297  			Code:   res.StatusCode,
 15298  			Header: res.Header,
 15299  		})
 15300  	}
 15301  	if err != nil {
 15302  		return nil, err
 15303  	}
 15304  	defer googleapi.CloseBody(res)
 15305  	if err := googleapi.CheckResponse(res); err != nil {
 15306  		return nil, gensupport.WrapError(err)
 15307  	}
 15308  	ret := &GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse{
 15309  		ServerResponse: googleapi.ServerResponse{
 15310  			Header:         res.Header,
 15311  			HTTPStatusCode: res.StatusCode,
 15312  		},
 15313  	}
 15314  	target := &ret
 15315  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15316  		return nil, err
 15317  	}
 15318  	return ret, nil
 15319  	// {
 15320  	//   "description": "Lists the JSON schemas for the inputs and outputs of actions, filtered by action name.",
 15321  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeActionSchemas",
 15322  	//   "httpMethod": "GET",
 15323  	//   "id": "integrations.projects.locations.connections.runtimeActionSchemas.list",
 15324  	//   "parameterOrder": [
 15325  	//     "parent"
 15326  	//   ],
 15327  	//   "parameters": {
 15328  	//     "filter": {
 15329  	//       "description": "Filter. Only the action field with literal equality operator is supported.",
 15330  	//       "location": "query",
 15331  	//       "type": "string"
 15332  	//     },
 15333  	//     "pageSize": {
 15334  	//       "description": "Page size.",
 15335  	//       "format": "int32",
 15336  	//       "location": "query",
 15337  	//       "type": "integer"
 15338  	//     },
 15339  	//     "pageToken": {
 15340  	//       "description": "Page token.",
 15341  	//       "location": "query",
 15342  	//       "type": "string"
 15343  	//     },
 15344  	//     "parent": {
 15345  	//       "description": "Required. Parent resource of RuntimeActionSchema. Format: projects/{project}/locations/{location}/connections/{connection}",
 15346  	//       "location": "path",
 15347  	//       "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
 15348  	//       "required": true,
 15349  	//       "type": "string"
 15350  	//     }
 15351  	//   },
 15352  	//   "path": "v1/{+parent}/runtimeActionSchemas",
 15353  	//   "response": {
 15354  	//     "$ref": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse"
 15355  	//   },
 15356  	//   "scopes": [
 15357  	//     "https://www.googleapis.com/auth/cloud-platform"
 15358  	//   ]
 15359  	// }
 15360  
 15361  }
 15362  
 15363  // Pages invokes f for each page of results.
 15364  // A non-nil error returned from f will halt the iteration.
 15365  // The provided context supersedes any context provided to the Context method.
 15366  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse) error) error {
 15367  	c.ctx_ = ctx
 15368  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 15369  	for {
 15370  		x, err := c.Do()
 15371  		if err != nil {
 15372  			return err
 15373  		}
 15374  		if err := f(x); err != nil {
 15375  			return err
 15376  		}
 15377  		if x.NextPageToken == "" {
 15378  			return nil
 15379  		}
 15380  		c.PageToken(x.NextPageToken)
 15381  	}
 15382  }
 15383  
 15384  // method id "integrations.projects.locations.connections.runtimeEntitySchemas.list":
 15385  
 15386  type ProjectsLocationsConnectionsRuntimeEntitySchemasListCall struct {
 15387  	s            *Service
 15388  	parent       string
 15389  	urlParams_   gensupport.URLParams
 15390  	ifNoneMatch_ string
 15391  	ctx_         context.Context
 15392  	header_      http.Header
 15393  }
 15394  
 15395  // List: Lists the JSON schemas for the properties of runtime entities,
 15396  // filtered by entity name.
 15397  //
 15398  //   - parent: Parent resource of RuntimeEntitySchema. Format:
 15399  //     projects/{project}/locations/{location}/connections/{connection}.
 15400  func (r *ProjectsLocationsConnectionsRuntimeEntitySchemasService) List(parent string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15401  	c := &ProjectsLocationsConnectionsRuntimeEntitySchemasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15402  	c.parent = parent
 15403  	return c
 15404  }
 15405  
 15406  // Filter sets the optional parameter "filter": Filter. Only the entity
 15407  // field with literal equality operator is supported.
 15408  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Filter(filter string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15409  	c.urlParams_.Set("filter", filter)
 15410  	return c
 15411  }
 15412  
 15413  // PageSize sets the optional parameter "pageSize": Page size.
 15414  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) PageSize(pageSize int64) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15415  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 15416  	return c
 15417  }
 15418  
 15419  // PageToken sets the optional parameter "pageToken": Page token.
 15420  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15421  	c.urlParams_.Set("pageToken", pageToken)
 15422  	return c
 15423  }
 15424  
 15425  // Fields allows partial responses to be retrieved. See
 15426  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15427  // for more information.
 15428  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15429  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15430  	return c
 15431  }
 15432  
 15433  // IfNoneMatch sets the optional parameter which makes the operation
 15434  // fail if the object's ETag matches the given value. This is useful for
 15435  // getting updates only after the object has changed since the last
 15436  // request. Use googleapi.IsNotModified to check whether the response
 15437  // error from Do is the result of In-None-Match.
 15438  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15439  	c.ifNoneMatch_ = entityTag
 15440  	return c
 15441  }
 15442  
 15443  // Context sets the context to be used in this call's Do method. Any
 15444  // pending HTTP request will be aborted if the provided context is
 15445  // canceled.
 15446  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 15447  	c.ctx_ = ctx
 15448  	return c
 15449  }
 15450  
 15451  // Header returns an http.Header that can be modified by the caller to
 15452  // add HTTP headers to the request.
 15453  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Header() http.Header {
 15454  	if c.header_ == nil {
 15455  		c.header_ = make(http.Header)
 15456  	}
 15457  	return c.header_
 15458  }
 15459  
 15460  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) doRequest(alt string) (*http.Response, error) {
 15461  	reqHeaders := make(http.Header)
 15462  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15463  	for k, v := range c.header_ {
 15464  		reqHeaders[k] = v
 15465  	}
 15466  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15467  	if c.ifNoneMatch_ != "" {
 15468  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 15469  	}
 15470  	var body io.Reader = nil
 15471  	c.urlParams_.Set("alt", alt)
 15472  	c.urlParams_.Set("prettyPrint", "false")
 15473  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/runtimeEntitySchemas")
 15474  	urls += "?" + c.urlParams_.Encode()
 15475  	req, err := http.NewRequest("GET", urls, body)
 15476  	if err != nil {
 15477  		return nil, err
 15478  	}
 15479  	req.Header = reqHeaders
 15480  	googleapi.Expand(req.URL, map[string]string{
 15481  		"parent": c.parent,
 15482  	})
 15483  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15484  }
 15485  
 15486  // Do executes the "integrations.projects.locations.connections.runtimeEntitySchemas.list" call.
 15487  // Exactly one of
 15488  // *GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse or
 15489  // error will be non-nil. Any non-2xx status code is an error. Response
 15490  // headers are in either
 15491  // *GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse.Server
 15492  // Response.Header or (if a response was returned at all) in
 15493  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15494  // whether the returned error was because http.StatusNotModified was
 15495  // returned.
 15496  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse, error) {
 15497  	gensupport.SetOptions(c.urlParams_, opts...)
 15498  	res, err := c.doRequest("json")
 15499  	if res != nil && res.StatusCode == http.StatusNotModified {
 15500  		if res.Body != nil {
 15501  			res.Body.Close()
 15502  		}
 15503  		return nil, gensupport.WrapError(&googleapi.Error{
 15504  			Code:   res.StatusCode,
 15505  			Header: res.Header,
 15506  		})
 15507  	}
 15508  	if err != nil {
 15509  		return nil, err
 15510  	}
 15511  	defer googleapi.CloseBody(res)
 15512  	if err := googleapi.CheckResponse(res); err != nil {
 15513  		return nil, gensupport.WrapError(err)
 15514  	}
 15515  	ret := &GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse{
 15516  		ServerResponse: googleapi.ServerResponse{
 15517  			Header:         res.Header,
 15518  			HTTPStatusCode: res.StatusCode,
 15519  		},
 15520  	}
 15521  	target := &ret
 15522  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15523  		return nil, err
 15524  	}
 15525  	return ret, nil
 15526  	// {
 15527  	//   "description": "Lists the JSON schemas for the properties of runtime entities, filtered by entity name.",
 15528  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeEntitySchemas",
 15529  	//   "httpMethod": "GET",
 15530  	//   "id": "integrations.projects.locations.connections.runtimeEntitySchemas.list",
 15531  	//   "parameterOrder": [
 15532  	//     "parent"
 15533  	//   ],
 15534  	//   "parameters": {
 15535  	//     "filter": {
 15536  	//       "description": "Filter. Only the entity field with literal equality operator is supported.",
 15537  	//       "location": "query",
 15538  	//       "type": "string"
 15539  	//     },
 15540  	//     "pageSize": {
 15541  	//       "description": "Page size.",
 15542  	//       "format": "int32",
 15543  	//       "location": "query",
 15544  	//       "type": "integer"
 15545  	//     },
 15546  	//     "pageToken": {
 15547  	//       "description": "Page token.",
 15548  	//       "location": "query",
 15549  	//       "type": "string"
 15550  	//     },
 15551  	//     "parent": {
 15552  	//       "description": "Required. Parent resource of RuntimeEntitySchema. Format: projects/{project}/locations/{location}/connections/{connection}",
 15553  	//       "location": "path",
 15554  	//       "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
 15555  	//       "required": true,
 15556  	//       "type": "string"
 15557  	//     }
 15558  	//   },
 15559  	//   "path": "v1/{+parent}/runtimeEntitySchemas",
 15560  	//   "response": {
 15561  	//     "$ref": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse"
 15562  	//   },
 15563  	//   "scopes": [
 15564  	//     "https://www.googleapis.com/auth/cloud-platform"
 15565  	//   ]
 15566  	// }
 15567  
 15568  }
 15569  
 15570  // Pages invokes f for each page of results.
 15571  // A non-nil error returned from f will halt the iteration.
 15572  // The provided context supersedes any context provided to the Context method.
 15573  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse) error) error {
 15574  	c.ctx_ = ctx
 15575  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 15576  	for {
 15577  		x, err := c.Do()
 15578  		if err != nil {
 15579  			return err
 15580  		}
 15581  		if err := f(x); err != nil {
 15582  			return err
 15583  		}
 15584  		if x.NextPageToken == "" {
 15585  			return nil
 15586  		}
 15587  		c.PageToken(x.NextPageToken)
 15588  	}
 15589  }
 15590  
 15591  // method id "integrations.projects.locations.integrations.delete":
 15592  
 15593  type ProjectsLocationsIntegrationsDeleteCall struct {
 15594  	s          *Service
 15595  	name       string
 15596  	urlParams_ gensupport.URLParams
 15597  	ctx_       context.Context
 15598  	header_    http.Header
 15599  }
 15600  
 15601  // Delete: Delete the selected integration and all versions inside
 15602  //
 15603  // - name: The location resource of the request.
 15604  func (r *ProjectsLocationsIntegrationsService) Delete(name string) *ProjectsLocationsIntegrationsDeleteCall {
 15605  	c := &ProjectsLocationsIntegrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15606  	c.name = name
 15607  	return c
 15608  }
 15609  
 15610  // Fields allows partial responses to be retrieved. See
 15611  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15612  // for more information.
 15613  func (c *ProjectsLocationsIntegrationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsDeleteCall {
 15614  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15615  	return c
 15616  }
 15617  
 15618  // Context sets the context to be used in this call's Do method. Any
 15619  // pending HTTP request will be aborted if the provided context is
 15620  // canceled.
 15621  func (c *ProjectsLocationsIntegrationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsDeleteCall {
 15622  	c.ctx_ = ctx
 15623  	return c
 15624  }
 15625  
 15626  // Header returns an http.Header that can be modified by the caller to
 15627  // add HTTP headers to the request.
 15628  func (c *ProjectsLocationsIntegrationsDeleteCall) Header() http.Header {
 15629  	if c.header_ == nil {
 15630  		c.header_ = make(http.Header)
 15631  	}
 15632  	return c.header_
 15633  }
 15634  
 15635  func (c *ProjectsLocationsIntegrationsDeleteCall) doRequest(alt string) (*http.Response, error) {
 15636  	reqHeaders := make(http.Header)
 15637  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15638  	for k, v := range c.header_ {
 15639  		reqHeaders[k] = v
 15640  	}
 15641  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15642  	var body io.Reader = nil
 15643  	c.urlParams_.Set("alt", alt)
 15644  	c.urlParams_.Set("prettyPrint", "false")
 15645  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 15646  	urls += "?" + c.urlParams_.Encode()
 15647  	req, err := http.NewRequest("DELETE", urls, body)
 15648  	if err != nil {
 15649  		return nil, err
 15650  	}
 15651  	req.Header = reqHeaders
 15652  	googleapi.Expand(req.URL, map[string]string{
 15653  		"name": c.name,
 15654  	})
 15655  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15656  }
 15657  
 15658  // Do executes the "integrations.projects.locations.integrations.delete" call.
 15659  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 15660  // non-2xx status code is an error. Response headers are in either
 15661  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 15662  // returned at all) in error.(*googleapi.Error).Header. Use
 15663  // googleapi.IsNotModified to check whether the returned error was
 15664  // because http.StatusNotModified was returned.
 15665  func (c *ProjectsLocationsIntegrationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 15666  	gensupport.SetOptions(c.urlParams_, opts...)
 15667  	res, err := c.doRequest("json")
 15668  	if res != nil && res.StatusCode == http.StatusNotModified {
 15669  		if res.Body != nil {
 15670  			res.Body.Close()
 15671  		}
 15672  		return nil, gensupport.WrapError(&googleapi.Error{
 15673  			Code:   res.StatusCode,
 15674  			Header: res.Header,
 15675  		})
 15676  	}
 15677  	if err != nil {
 15678  		return nil, err
 15679  	}
 15680  	defer googleapi.CloseBody(res)
 15681  	if err := googleapi.CheckResponse(res); err != nil {
 15682  		return nil, gensupport.WrapError(err)
 15683  	}
 15684  	ret := &GoogleProtobufEmpty{
 15685  		ServerResponse: googleapi.ServerResponse{
 15686  			Header:         res.Header,
 15687  			HTTPStatusCode: res.StatusCode,
 15688  		},
 15689  	}
 15690  	target := &ret
 15691  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15692  		return nil, err
 15693  	}
 15694  	return ret, nil
 15695  	// {
 15696  	//   "description": "Delete the selected integration and all versions inside",
 15697  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}",
 15698  	//   "httpMethod": "DELETE",
 15699  	//   "id": "integrations.projects.locations.integrations.delete",
 15700  	//   "parameterOrder": [
 15701  	//     "name"
 15702  	//   ],
 15703  	//   "parameters": {
 15704  	//     "name": {
 15705  	//       "description": "Required. The location resource of the request.",
 15706  	//       "location": "path",
 15707  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 15708  	//       "required": true,
 15709  	//       "type": "string"
 15710  	//     }
 15711  	//   },
 15712  	//   "path": "v1/{+name}",
 15713  	//   "response": {
 15714  	//     "$ref": "GoogleProtobufEmpty"
 15715  	//   },
 15716  	//   "scopes": [
 15717  	//     "https://www.googleapis.com/auth/cloud-platform"
 15718  	//   ]
 15719  	// }
 15720  
 15721  }
 15722  
 15723  // method id "integrations.projects.locations.integrations.execute":
 15724  
 15725  type ProjectsLocationsIntegrationsExecuteCall struct {
 15726  	s                                                        *Service
 15727  	name                                                     string
 15728  	googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest
 15729  	urlParams_                                               gensupport.URLParams
 15730  	ctx_                                                     context.Context
 15731  	header_                                                  http.Header
 15732  }
 15733  
 15734  // Execute: Executes integrations synchronously by passing the trigger
 15735  // id in the request body. The request is not returned until the
 15736  // requested executions are either fulfilled or experienced an error. If
 15737  // the integration name is not specified (passing `-`), all of the
 15738  // associated integration under the given trigger_id will be executed.
 15739  // Otherwise only the specified integration for the given `trigger_id`
 15740  // is executed. This is helpful for execution the integration from UI.
 15741  //
 15742  // - name: The integration resource name.
 15743  func (r *ProjectsLocationsIntegrationsService) Execute(name string, googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) *ProjectsLocationsIntegrationsExecuteCall {
 15744  	c := &ProjectsLocationsIntegrationsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15745  	c.name = name
 15746  	c.googlecloudintegrationsv1alphaexecuteintegrationsrequest = googlecloudintegrationsv1alphaexecuteintegrationsrequest
 15747  	return c
 15748  }
 15749  
 15750  // Fields allows partial responses to be retrieved. See
 15751  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15752  // for more information.
 15753  func (c *ProjectsLocationsIntegrationsExecuteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecuteCall {
 15754  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15755  	return c
 15756  }
 15757  
 15758  // Context sets the context to be used in this call's Do method. Any
 15759  // pending HTTP request will be aborted if the provided context is
 15760  // canceled.
 15761  func (c *ProjectsLocationsIntegrationsExecuteCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecuteCall {
 15762  	c.ctx_ = ctx
 15763  	return c
 15764  }
 15765  
 15766  // Header returns an http.Header that can be modified by the caller to
 15767  // add HTTP headers to the request.
 15768  func (c *ProjectsLocationsIntegrationsExecuteCall) Header() http.Header {
 15769  	if c.header_ == nil {
 15770  		c.header_ = make(http.Header)
 15771  	}
 15772  	return c.header_
 15773  }
 15774  
 15775  func (c *ProjectsLocationsIntegrationsExecuteCall) doRequest(alt string) (*http.Response, error) {
 15776  	reqHeaders := make(http.Header)
 15777  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15778  	for k, v := range c.header_ {
 15779  		reqHeaders[k] = v
 15780  	}
 15781  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15782  	var body io.Reader = nil
 15783  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaexecuteintegrationsrequest)
 15784  	if err != nil {
 15785  		return nil, err
 15786  	}
 15787  	reqHeaders.Set("Content-Type", "application/json")
 15788  	c.urlParams_.Set("alt", alt)
 15789  	c.urlParams_.Set("prettyPrint", "false")
 15790  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:execute")
 15791  	urls += "?" + c.urlParams_.Encode()
 15792  	req, err := http.NewRequest("POST", urls, body)
 15793  	if err != nil {
 15794  		return nil, err
 15795  	}
 15796  	req.Header = reqHeaders
 15797  	googleapi.Expand(req.URL, map[string]string{
 15798  		"name": c.name,
 15799  	})
 15800  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15801  }
 15802  
 15803  // Do executes the "integrations.projects.locations.integrations.execute" call.
 15804  // Exactly one of
 15805  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse or error
 15806  // will be non-nil. Any non-2xx status code is an error. Response
 15807  // headers are in either
 15808  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse.ServerRespo
 15809  // nse.Header or (if a response was returned at all) in
 15810  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15811  // whether the returned error was because http.StatusNotModified was
 15812  // returned.
 15813  func (c *ProjectsLocationsIntegrationsExecuteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse, error) {
 15814  	gensupport.SetOptions(c.urlParams_, opts...)
 15815  	res, err := c.doRequest("json")
 15816  	if res != nil && res.StatusCode == http.StatusNotModified {
 15817  		if res.Body != nil {
 15818  			res.Body.Close()
 15819  		}
 15820  		return nil, gensupport.WrapError(&googleapi.Error{
 15821  			Code:   res.StatusCode,
 15822  			Header: res.Header,
 15823  		})
 15824  	}
 15825  	if err != nil {
 15826  		return nil, err
 15827  	}
 15828  	defer googleapi.CloseBody(res)
 15829  	if err := googleapi.CheckResponse(res); err != nil {
 15830  		return nil, gensupport.WrapError(err)
 15831  	}
 15832  	ret := &GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse{
 15833  		ServerResponse: googleapi.ServerResponse{
 15834  			Header:         res.Header,
 15835  			HTTPStatusCode: res.StatusCode,
 15836  		},
 15837  	}
 15838  	target := &ret
 15839  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15840  		return nil, err
 15841  	}
 15842  	return ret, nil
 15843  	// {
 15844  	//   "description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.",
 15845  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:execute",
 15846  	//   "httpMethod": "POST",
 15847  	//   "id": "integrations.projects.locations.integrations.execute",
 15848  	//   "parameterOrder": [
 15849  	//     "name"
 15850  	//   ],
 15851  	//   "parameters": {
 15852  	//     "name": {
 15853  	//       "description": "Required. The integration resource name.",
 15854  	//       "location": "path",
 15855  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 15856  	//       "required": true,
 15857  	//       "type": "string"
 15858  	//     }
 15859  	//   },
 15860  	//   "path": "v1/{+name}:execute",
 15861  	//   "request": {
 15862  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest"
 15863  	//   },
 15864  	//   "response": {
 15865  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse"
 15866  	//   },
 15867  	//   "scopes": [
 15868  	//     "https://www.googleapis.com/auth/cloud-platform"
 15869  	//   ]
 15870  	// }
 15871  
 15872  }
 15873  
 15874  // method id "integrations.projects.locations.integrations.list":
 15875  
 15876  type ProjectsLocationsIntegrationsListCall struct {
 15877  	s            *Service
 15878  	parent       string
 15879  	urlParams_   gensupport.URLParams
 15880  	ifNoneMatch_ string
 15881  	ctx_         context.Context
 15882  	header_      http.Header
 15883  }
 15884  
 15885  // List: Returns the list of all integrations in the specified project.
 15886  //
 15887  //   - parent: Project and location from which the integrations should be
 15888  //     listed. Format: projects/{project}.
 15889  func (r *ProjectsLocationsIntegrationsService) List(parent string) *ProjectsLocationsIntegrationsListCall {
 15890  	c := &ProjectsLocationsIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15891  	c.parent = parent
 15892  	return c
 15893  }
 15894  
 15895  // Filter sets the optional parameter "filter": Filter on fields of
 15896  // IntegrationVersion. Fields can be compared with literal values by use
 15897  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 15898  // >=" (greater than or equal to), "<=" (less than or equal to), and
 15899  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 15900  // are written using NOT, AND, and OR keywords. For example,
 15901  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 15902  // Filtering cannot be performed on repeated fields like `task_config`.
 15903  func (c *ProjectsLocationsIntegrationsListCall) Filter(filter string) *ProjectsLocationsIntegrationsListCall {
 15904  	c.urlParams_.Set("filter", filter)
 15905  	return c
 15906  }
 15907  
 15908  // OrderBy sets the optional parameter "orderBy": The results would be
 15909  // returned in order you specified here. Supported sort keys are:
 15910  // Descending sort order by "last_modified_time", "created_time",
 15911  // "snapshot_number". Ascending sort order by the integration name.
 15912  func (c *ProjectsLocationsIntegrationsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsListCall {
 15913  	c.urlParams_.Set("orderBy", orderBy)
 15914  	return c
 15915  }
 15916  
 15917  // PageSize sets the optional parameter "pageSize": The page size for
 15918  // the resquest.
 15919  func (c *ProjectsLocationsIntegrationsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsListCall {
 15920  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 15921  	return c
 15922  }
 15923  
 15924  // PageToken sets the optional parameter "pageToken": The page token for
 15925  // the resquest.
 15926  func (c *ProjectsLocationsIntegrationsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsListCall {
 15927  	c.urlParams_.Set("pageToken", pageToken)
 15928  	return c
 15929  }
 15930  
 15931  // Fields allows partial responses to be retrieved. See
 15932  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15933  // for more information.
 15934  func (c *ProjectsLocationsIntegrationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsListCall {
 15935  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15936  	return c
 15937  }
 15938  
 15939  // IfNoneMatch sets the optional parameter which makes the operation
 15940  // fail if the object's ETag matches the given value. This is useful for
 15941  // getting updates only after the object has changed since the last
 15942  // request. Use googleapi.IsNotModified to check whether the response
 15943  // error from Do is the result of In-None-Match.
 15944  func (c *ProjectsLocationsIntegrationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsListCall {
 15945  	c.ifNoneMatch_ = entityTag
 15946  	return c
 15947  }
 15948  
 15949  // Context sets the context to be used in this call's Do method. Any
 15950  // pending HTTP request will be aborted if the provided context is
 15951  // canceled.
 15952  func (c *ProjectsLocationsIntegrationsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsListCall {
 15953  	c.ctx_ = ctx
 15954  	return c
 15955  }
 15956  
 15957  // Header returns an http.Header that can be modified by the caller to
 15958  // add HTTP headers to the request.
 15959  func (c *ProjectsLocationsIntegrationsListCall) Header() http.Header {
 15960  	if c.header_ == nil {
 15961  		c.header_ = make(http.Header)
 15962  	}
 15963  	return c.header_
 15964  }
 15965  
 15966  func (c *ProjectsLocationsIntegrationsListCall) doRequest(alt string) (*http.Response, error) {
 15967  	reqHeaders := make(http.Header)
 15968  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15969  	for k, v := range c.header_ {
 15970  		reqHeaders[k] = v
 15971  	}
 15972  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15973  	if c.ifNoneMatch_ != "" {
 15974  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 15975  	}
 15976  	var body io.Reader = nil
 15977  	c.urlParams_.Set("alt", alt)
 15978  	c.urlParams_.Set("prettyPrint", "false")
 15979  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/integrations")
 15980  	urls += "?" + c.urlParams_.Encode()
 15981  	req, err := http.NewRequest("GET", urls, body)
 15982  	if err != nil {
 15983  		return nil, err
 15984  	}
 15985  	req.Header = reqHeaders
 15986  	googleapi.Expand(req.URL, map[string]string{
 15987  		"parent": c.parent,
 15988  	})
 15989  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15990  }
 15991  
 15992  // Do executes the "integrations.projects.locations.integrations.list" call.
 15993  // Exactly one of
 15994  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse or error will
 15995  // be non-nil. Any non-2xx status code is an error. Response headers are
 15996  // in either
 15997  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse.ServerResponse
 15998  // .Header or (if a response was returned at all) in
 15999  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16000  // whether the returned error was because http.StatusNotModified was
 16001  // returned.
 16002  func (c *ProjectsLocationsIntegrationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationsResponse, error) {
 16003  	gensupport.SetOptions(c.urlParams_, opts...)
 16004  	res, err := c.doRequest("json")
 16005  	if res != nil && res.StatusCode == http.StatusNotModified {
 16006  		if res.Body != nil {
 16007  			res.Body.Close()
 16008  		}
 16009  		return nil, gensupport.WrapError(&googleapi.Error{
 16010  			Code:   res.StatusCode,
 16011  			Header: res.Header,
 16012  		})
 16013  	}
 16014  	if err != nil {
 16015  		return nil, err
 16016  	}
 16017  	defer googleapi.CloseBody(res)
 16018  	if err := googleapi.CheckResponse(res); err != nil {
 16019  		return nil, gensupport.WrapError(err)
 16020  	}
 16021  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationsResponse{
 16022  		ServerResponse: googleapi.ServerResponse{
 16023  			Header:         res.Header,
 16024  			HTTPStatusCode: res.StatusCode,
 16025  		},
 16026  	}
 16027  	target := &ret
 16028  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16029  		return nil, err
 16030  	}
 16031  	return ret, nil
 16032  	// {
 16033  	//   "description": "Returns the list of all integrations in the specified project.",
 16034  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations",
 16035  	//   "httpMethod": "GET",
 16036  	//   "id": "integrations.projects.locations.integrations.list",
 16037  	//   "parameterOrder": [
 16038  	//     "parent"
 16039  	//   ],
 16040  	//   "parameters": {
 16041  	//     "filter": {
 16042  	//       "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \"\u003e\" (greater), \"\u003c\" (less than), \u003e=\" (greater than or equal to), \"\u003c=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.",
 16043  	//       "location": "query",
 16044  	//       "type": "string"
 16045  	//     },
 16046  	//     "orderBy": {
 16047  	//       "description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.",
 16048  	//       "location": "query",
 16049  	//       "type": "string"
 16050  	//     },
 16051  	//     "pageSize": {
 16052  	//       "description": "The page size for the resquest.",
 16053  	//       "format": "int32",
 16054  	//       "location": "query",
 16055  	//       "type": "integer"
 16056  	//     },
 16057  	//     "pageToken": {
 16058  	//       "description": "The page token for the resquest.",
 16059  	//       "location": "query",
 16060  	//       "type": "string"
 16061  	//     },
 16062  	//     "parent": {
 16063  	//       "description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}",
 16064  	//       "location": "path",
 16065  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 16066  	//       "required": true,
 16067  	//       "type": "string"
 16068  	//     }
 16069  	//   },
 16070  	//   "path": "v1/{+parent}/integrations",
 16071  	//   "response": {
 16072  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse"
 16073  	//   },
 16074  	//   "scopes": [
 16075  	//     "https://www.googleapis.com/auth/cloud-platform"
 16076  	//   ]
 16077  	// }
 16078  
 16079  }
 16080  
 16081  // Pages invokes f for each page of results.
 16082  // A non-nil error returned from f will halt the iteration.
 16083  // The provided context supersedes any context provided to the Context method.
 16084  func (c *ProjectsLocationsIntegrationsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationsResponse) error) error {
 16085  	c.ctx_ = ctx
 16086  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 16087  	for {
 16088  		x, err := c.Do()
 16089  		if err != nil {
 16090  			return err
 16091  		}
 16092  		if err := f(x); err != nil {
 16093  			return err
 16094  		}
 16095  		if x.NextPageToken == "" {
 16096  			return nil
 16097  		}
 16098  		c.PageToken(x.NextPageToken)
 16099  	}
 16100  }
 16101  
 16102  // method id "integrations.projects.locations.integrations.schedule":
 16103  
 16104  type ProjectsLocationsIntegrationsScheduleCall struct {
 16105  	s                                                         *Service
 16106  	name                                                      string
 16107  	googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
 16108  	urlParams_                                                gensupport.URLParams
 16109  	ctx_                                                      context.Context
 16110  	header_                                                   http.Header
 16111  }
 16112  
 16113  // Schedule: Schedules an integration for execution by passing the
 16114  // trigger id and the scheduled time in the request body.
 16115  //
 16116  // - name: The integration resource name.
 16117  func (r *ProjectsLocationsIntegrationsService) Schedule(name string, googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) *ProjectsLocationsIntegrationsScheduleCall {
 16118  	c := &ProjectsLocationsIntegrationsScheduleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16119  	c.name = name
 16120  	c.googlecloudintegrationsv1alphascheduleintegrationsrequest = googlecloudintegrationsv1alphascheduleintegrationsrequest
 16121  	return c
 16122  }
 16123  
 16124  // Fields allows partial responses to be retrieved. See
 16125  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16126  // for more information.
 16127  func (c *ProjectsLocationsIntegrationsScheduleCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsScheduleCall {
 16128  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16129  	return c
 16130  }
 16131  
 16132  // Context sets the context to be used in this call's Do method. Any
 16133  // pending HTTP request will be aborted if the provided context is
 16134  // canceled.
 16135  func (c *ProjectsLocationsIntegrationsScheduleCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsScheduleCall {
 16136  	c.ctx_ = ctx
 16137  	return c
 16138  }
 16139  
 16140  // Header returns an http.Header that can be modified by the caller to
 16141  // add HTTP headers to the request.
 16142  func (c *ProjectsLocationsIntegrationsScheduleCall) Header() http.Header {
 16143  	if c.header_ == nil {
 16144  		c.header_ = make(http.Header)
 16145  	}
 16146  	return c.header_
 16147  }
 16148  
 16149  func (c *ProjectsLocationsIntegrationsScheduleCall) doRequest(alt string) (*http.Response, error) {
 16150  	reqHeaders := make(http.Header)
 16151  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16152  	for k, v := range c.header_ {
 16153  		reqHeaders[k] = v
 16154  	}
 16155  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16156  	var body io.Reader = nil
 16157  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphascheduleintegrationsrequest)
 16158  	if err != nil {
 16159  		return nil, err
 16160  	}
 16161  	reqHeaders.Set("Content-Type", "application/json")
 16162  	c.urlParams_.Set("alt", alt)
 16163  	c.urlParams_.Set("prettyPrint", "false")
 16164  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:schedule")
 16165  	urls += "?" + c.urlParams_.Encode()
 16166  	req, err := http.NewRequest("POST", urls, body)
 16167  	if err != nil {
 16168  		return nil, err
 16169  	}
 16170  	req.Header = reqHeaders
 16171  	googleapi.Expand(req.URL, map[string]string{
 16172  		"name": c.name,
 16173  	})
 16174  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16175  }
 16176  
 16177  // Do executes the "integrations.projects.locations.integrations.schedule" call.
 16178  // Exactly one of
 16179  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse or error
 16180  // will be non-nil. Any non-2xx status code is an error. Response
 16181  // headers are in either
 16182  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse.ServerResp
 16183  // onse.Header or (if a response was returned at all) in
 16184  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16185  // whether the returned error was because http.StatusNotModified was
 16186  // returned.
 16187  func (c *ProjectsLocationsIntegrationsScheduleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse, error) {
 16188  	gensupport.SetOptions(c.urlParams_, opts...)
 16189  	res, err := c.doRequest("json")
 16190  	if res != nil && res.StatusCode == http.StatusNotModified {
 16191  		if res.Body != nil {
 16192  			res.Body.Close()
 16193  		}
 16194  		return nil, gensupport.WrapError(&googleapi.Error{
 16195  			Code:   res.StatusCode,
 16196  			Header: res.Header,
 16197  		})
 16198  	}
 16199  	if err != nil {
 16200  		return nil, err
 16201  	}
 16202  	defer googleapi.CloseBody(res)
 16203  	if err := googleapi.CheckResponse(res); err != nil {
 16204  		return nil, gensupport.WrapError(err)
 16205  	}
 16206  	ret := &GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse{
 16207  		ServerResponse: googleapi.ServerResponse{
 16208  			Header:         res.Header,
 16209  			HTTPStatusCode: res.StatusCode,
 16210  		},
 16211  	}
 16212  	target := &ret
 16213  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16214  		return nil, err
 16215  	}
 16216  	return ret, nil
 16217  	// {
 16218  	//   "description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.",
 16219  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:schedule",
 16220  	//   "httpMethod": "POST",
 16221  	//   "id": "integrations.projects.locations.integrations.schedule",
 16222  	//   "parameterOrder": [
 16223  	//     "name"
 16224  	//   ],
 16225  	//   "parameters": {
 16226  	//     "name": {
 16227  	//       "description": "The integration resource name.",
 16228  	//       "location": "path",
 16229  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 16230  	//       "required": true,
 16231  	//       "type": "string"
 16232  	//     }
 16233  	//   },
 16234  	//   "path": "v1/{+name}:schedule",
 16235  	//   "request": {
 16236  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest"
 16237  	//   },
 16238  	//   "response": {
 16239  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse"
 16240  	//   },
 16241  	//   "scopes": [
 16242  	//     "https://www.googleapis.com/auth/cloud-platform"
 16243  	//   ]
 16244  	// }
 16245  
 16246  }
 16247  
 16248  // method id "integrations.projects.locations.integrations.test":
 16249  
 16250  type ProjectsLocationsIntegrationsTestCall struct {
 16251  	s                                                     *Service
 16252  	name                                                  string
 16253  	googlecloudintegrationsv1alphatestintegrationsrequest *GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
 16254  	urlParams_                                            gensupport.URLParams
 16255  	ctx_                                                  context.Context
 16256  	header_                                               http.Header
 16257  }
 16258  
 16259  // Test: Execute the integration in draft state
 16260  //
 16261  // - name: Output only. Auto-generated primary key.
 16262  func (r *ProjectsLocationsIntegrationsService) Test(name string, googlecloudintegrationsv1alphatestintegrationsrequest *GoogleCloudIntegrationsV1alphaTestIntegrationsRequest) *ProjectsLocationsIntegrationsTestCall {
 16263  	c := &ProjectsLocationsIntegrationsTestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16264  	c.name = name
 16265  	c.googlecloudintegrationsv1alphatestintegrationsrequest = googlecloudintegrationsv1alphatestintegrationsrequest
 16266  	return c
 16267  }
 16268  
 16269  // Fields allows partial responses to be retrieved. See
 16270  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16271  // for more information.
 16272  func (c *ProjectsLocationsIntegrationsTestCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsTestCall {
 16273  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16274  	return c
 16275  }
 16276  
 16277  // Context sets the context to be used in this call's Do method. Any
 16278  // pending HTTP request will be aborted if the provided context is
 16279  // canceled.
 16280  func (c *ProjectsLocationsIntegrationsTestCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsTestCall {
 16281  	c.ctx_ = ctx
 16282  	return c
 16283  }
 16284  
 16285  // Header returns an http.Header that can be modified by the caller to
 16286  // add HTTP headers to the request.
 16287  func (c *ProjectsLocationsIntegrationsTestCall) Header() http.Header {
 16288  	if c.header_ == nil {
 16289  		c.header_ = make(http.Header)
 16290  	}
 16291  	return c.header_
 16292  }
 16293  
 16294  func (c *ProjectsLocationsIntegrationsTestCall) doRequest(alt string) (*http.Response, error) {
 16295  	reqHeaders := make(http.Header)
 16296  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16297  	for k, v := range c.header_ {
 16298  		reqHeaders[k] = v
 16299  	}
 16300  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16301  	var body io.Reader = nil
 16302  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphatestintegrationsrequest)
 16303  	if err != nil {
 16304  		return nil, err
 16305  	}
 16306  	reqHeaders.Set("Content-Type", "application/json")
 16307  	c.urlParams_.Set("alt", alt)
 16308  	c.urlParams_.Set("prettyPrint", "false")
 16309  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:test")
 16310  	urls += "?" + c.urlParams_.Encode()
 16311  	req, err := http.NewRequest("POST", urls, body)
 16312  	if err != nil {
 16313  		return nil, err
 16314  	}
 16315  	req.Header = reqHeaders
 16316  	googleapi.Expand(req.URL, map[string]string{
 16317  		"name": c.name,
 16318  	})
 16319  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16320  }
 16321  
 16322  // Do executes the "integrations.projects.locations.integrations.test" call.
 16323  // Exactly one of
 16324  // *GoogleCloudIntegrationsV1alphaTestIntegrationsResponse or error will
 16325  // be non-nil. Any non-2xx status code is an error. Response headers are
 16326  // in either
 16327  // *GoogleCloudIntegrationsV1alphaTestIntegrationsResponse.ServerResponse
 16328  // .Header or (if a response was returned at all) in
 16329  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16330  // whether the returned error was because http.StatusNotModified was
 16331  // returned.
 16332  func (c *ProjectsLocationsIntegrationsTestCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaTestIntegrationsResponse, error) {
 16333  	gensupport.SetOptions(c.urlParams_, opts...)
 16334  	res, err := c.doRequest("json")
 16335  	if res != nil && res.StatusCode == http.StatusNotModified {
 16336  		if res.Body != nil {
 16337  			res.Body.Close()
 16338  		}
 16339  		return nil, gensupport.WrapError(&googleapi.Error{
 16340  			Code:   res.StatusCode,
 16341  			Header: res.Header,
 16342  		})
 16343  	}
 16344  	if err != nil {
 16345  		return nil, err
 16346  	}
 16347  	defer googleapi.CloseBody(res)
 16348  	if err := googleapi.CheckResponse(res); err != nil {
 16349  		return nil, gensupport.WrapError(err)
 16350  	}
 16351  	ret := &GoogleCloudIntegrationsV1alphaTestIntegrationsResponse{
 16352  		ServerResponse: googleapi.ServerResponse{
 16353  			Header:         res.Header,
 16354  			HTTPStatusCode: res.StatusCode,
 16355  		},
 16356  	}
 16357  	target := &ret
 16358  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16359  		return nil, err
 16360  	}
 16361  	return ret, nil
 16362  	// {
 16363  	//   "description": "Execute the integration in draft state",
 16364  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:test",
 16365  	//   "httpMethod": "POST",
 16366  	//   "id": "integrations.projects.locations.integrations.test",
 16367  	//   "parameterOrder": [
 16368  	//     "name"
 16369  	//   ],
 16370  	//   "parameters": {
 16371  	//     "name": {
 16372  	//       "description": "Output only. Auto-generated primary key.",
 16373  	//       "location": "path",
 16374  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 16375  	//       "required": true,
 16376  	//       "type": "string"
 16377  	//     }
 16378  	//   },
 16379  	//   "path": "v1/{+name}:test",
 16380  	//   "request": {
 16381  	//     "$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsRequest"
 16382  	//   },
 16383  	//   "response": {
 16384  	//     "$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsResponse"
 16385  	//   },
 16386  	//   "scopes": [
 16387  	//     "https://www.googleapis.com/auth/cloud-platform"
 16388  	//   ]
 16389  	// }
 16390  
 16391  }
 16392  
 16393  // method id "integrations.projects.locations.integrations.executions.download":
 16394  
 16395  type ProjectsLocationsIntegrationsExecutionsDownloadCall struct {
 16396  	s            *Service
 16397  	name         string
 16398  	urlParams_   gensupport.URLParams
 16399  	ifNoneMatch_ string
 16400  	ctx_         context.Context
 16401  	header_      http.Header
 16402  }
 16403  
 16404  // Download: Download the execution.
 16405  //
 16406  //   - name: The execution resource name. Format:
 16407  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 16408  //     tegrations/{integration_id}/executions/{execution_id}.
 16409  func (r *ProjectsLocationsIntegrationsExecutionsService) Download(name string) *ProjectsLocationsIntegrationsExecutionsDownloadCall {
 16410  	c := &ProjectsLocationsIntegrationsExecutionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16411  	c.name = name
 16412  	return c
 16413  }
 16414  
 16415  // Fields allows partial responses to be retrieved. See
 16416  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16417  // for more information.
 16418  func (c *ProjectsLocationsIntegrationsExecutionsDownloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsDownloadCall {
 16419  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16420  	return c
 16421  }
 16422  
 16423  // IfNoneMatch sets the optional parameter which makes the operation
 16424  // fail if the object's ETag matches the given value. This is useful for
 16425  // getting updates only after the object has changed since the last
 16426  // request. Use googleapi.IsNotModified to check whether the response
 16427  // error from Do is the result of In-None-Match.
 16428  func (c *ProjectsLocationsIntegrationsExecutionsDownloadCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsDownloadCall {
 16429  	c.ifNoneMatch_ = entityTag
 16430  	return c
 16431  }
 16432  
 16433  // Context sets the context to be used in this call's Do method. Any
 16434  // pending HTTP request will be aborted if the provided context is
 16435  // canceled.
 16436  func (c *ProjectsLocationsIntegrationsExecutionsDownloadCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsDownloadCall {
 16437  	c.ctx_ = ctx
 16438  	return c
 16439  }
 16440  
 16441  // Header returns an http.Header that can be modified by the caller to
 16442  // add HTTP headers to the request.
 16443  func (c *ProjectsLocationsIntegrationsExecutionsDownloadCall) Header() http.Header {
 16444  	if c.header_ == nil {
 16445  		c.header_ = make(http.Header)
 16446  	}
 16447  	return c.header_
 16448  }
 16449  
 16450  func (c *ProjectsLocationsIntegrationsExecutionsDownloadCall) doRequest(alt string) (*http.Response, error) {
 16451  	reqHeaders := make(http.Header)
 16452  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16453  	for k, v := range c.header_ {
 16454  		reqHeaders[k] = v
 16455  	}
 16456  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16457  	if c.ifNoneMatch_ != "" {
 16458  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 16459  	}
 16460  	var body io.Reader = nil
 16461  	c.urlParams_.Set("alt", alt)
 16462  	c.urlParams_.Set("prettyPrint", "false")
 16463  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:download")
 16464  	urls += "?" + c.urlParams_.Encode()
 16465  	req, err := http.NewRequest("GET", urls, body)
 16466  	if err != nil {
 16467  		return nil, err
 16468  	}
 16469  	req.Header = reqHeaders
 16470  	googleapi.Expand(req.URL, map[string]string{
 16471  		"name": c.name,
 16472  	})
 16473  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16474  }
 16475  
 16476  // Do executes the "integrations.projects.locations.integrations.executions.download" call.
 16477  // Exactly one of
 16478  // *GoogleCloudIntegrationsV1alphaDownloadExecutionResponse or error
 16479  // will be non-nil. Any non-2xx status code is an error. Response
 16480  // headers are in either
 16481  // *GoogleCloudIntegrationsV1alphaDownloadExecutionResponse.ServerRespons
 16482  // e.Header or (if a response was returned at all) in
 16483  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16484  // whether the returned error was because http.StatusNotModified was
 16485  // returned.
 16486  func (c *ProjectsLocationsIntegrationsExecutionsDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDownloadExecutionResponse, error) {
 16487  	gensupport.SetOptions(c.urlParams_, opts...)
 16488  	res, err := c.doRequest("json")
 16489  	if res != nil && res.StatusCode == http.StatusNotModified {
 16490  		if res.Body != nil {
 16491  			res.Body.Close()
 16492  		}
 16493  		return nil, gensupport.WrapError(&googleapi.Error{
 16494  			Code:   res.StatusCode,
 16495  			Header: res.Header,
 16496  		})
 16497  	}
 16498  	if err != nil {
 16499  		return nil, err
 16500  	}
 16501  	defer googleapi.CloseBody(res)
 16502  	if err := googleapi.CheckResponse(res); err != nil {
 16503  		return nil, gensupport.WrapError(err)
 16504  	}
 16505  	ret := &GoogleCloudIntegrationsV1alphaDownloadExecutionResponse{
 16506  		ServerResponse: googleapi.ServerResponse{
 16507  			Header:         res.Header,
 16508  			HTTPStatusCode: res.StatusCode,
 16509  		},
 16510  	}
 16511  	target := &ret
 16512  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16513  		return nil, err
 16514  	}
 16515  	return ret, nil
 16516  	// {
 16517  	//   "description": "Download the execution.",
 16518  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}:download",
 16519  	//   "httpMethod": "GET",
 16520  	//   "id": "integrations.projects.locations.integrations.executions.download",
 16521  	//   "parameterOrder": [
 16522  	//     "name"
 16523  	//   ],
 16524  	//   "parameters": {
 16525  	//     "name": {
 16526  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 16527  	//       "location": "path",
 16528  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$",
 16529  	//       "required": true,
 16530  	//       "type": "string"
 16531  	//     }
 16532  	//   },
 16533  	//   "path": "v1/{+name}:download",
 16534  	//   "response": {
 16535  	//     "$ref": "GoogleCloudIntegrationsV1alphaDownloadExecutionResponse"
 16536  	//   },
 16537  	//   "scopes": [
 16538  	//     "https://www.googleapis.com/auth/cloud-platform"
 16539  	//   ]
 16540  	// }
 16541  
 16542  }
 16543  
 16544  // method id "integrations.projects.locations.integrations.executions.get":
 16545  
 16546  type ProjectsLocationsIntegrationsExecutionsGetCall struct {
 16547  	s            *Service
 16548  	name         string
 16549  	urlParams_   gensupport.URLParams
 16550  	ifNoneMatch_ string
 16551  	ctx_         context.Context
 16552  	header_      http.Header
 16553  }
 16554  
 16555  // Get: Get an execution in the specified project.
 16556  //
 16557  //   - name: The execution resource name. Format:
 16558  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 16559  //     tegrations/{integration_id}/executions/{execution_id}.
 16560  func (r *ProjectsLocationsIntegrationsExecutionsService) Get(name string) *ProjectsLocationsIntegrationsExecutionsGetCall {
 16561  	c := &ProjectsLocationsIntegrationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16562  	c.name = name
 16563  	return c
 16564  }
 16565  
 16566  // Fields allows partial responses to be retrieved. See
 16567  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16568  // for more information.
 16569  func (c *ProjectsLocationsIntegrationsExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsGetCall {
 16570  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16571  	return c
 16572  }
 16573  
 16574  // IfNoneMatch sets the optional parameter which makes the operation
 16575  // fail if the object's ETag matches the given value. This is useful for
 16576  // getting updates only after the object has changed since the last
 16577  // request. Use googleapi.IsNotModified to check whether the response
 16578  // error from Do is the result of In-None-Match.
 16579  func (c *ProjectsLocationsIntegrationsExecutionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsGetCall {
 16580  	c.ifNoneMatch_ = entityTag
 16581  	return c
 16582  }
 16583  
 16584  // Context sets the context to be used in this call's Do method. Any
 16585  // pending HTTP request will be aborted if the provided context is
 16586  // canceled.
 16587  func (c *ProjectsLocationsIntegrationsExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsGetCall {
 16588  	c.ctx_ = ctx
 16589  	return c
 16590  }
 16591  
 16592  // Header returns an http.Header that can be modified by the caller to
 16593  // add HTTP headers to the request.
 16594  func (c *ProjectsLocationsIntegrationsExecutionsGetCall) Header() http.Header {
 16595  	if c.header_ == nil {
 16596  		c.header_ = make(http.Header)
 16597  	}
 16598  	return c.header_
 16599  }
 16600  
 16601  func (c *ProjectsLocationsIntegrationsExecutionsGetCall) doRequest(alt string) (*http.Response, error) {
 16602  	reqHeaders := make(http.Header)
 16603  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16604  	for k, v := range c.header_ {
 16605  		reqHeaders[k] = v
 16606  	}
 16607  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16608  	if c.ifNoneMatch_ != "" {
 16609  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 16610  	}
 16611  	var body io.Reader = nil
 16612  	c.urlParams_.Set("alt", alt)
 16613  	c.urlParams_.Set("prettyPrint", "false")
 16614  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 16615  	urls += "?" + c.urlParams_.Encode()
 16616  	req, err := http.NewRequest("GET", urls, body)
 16617  	if err != nil {
 16618  		return nil, err
 16619  	}
 16620  	req.Header = reqHeaders
 16621  	googleapi.Expand(req.URL, map[string]string{
 16622  		"name": c.name,
 16623  	})
 16624  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16625  }
 16626  
 16627  // Do executes the "integrations.projects.locations.integrations.executions.get" call.
 16628  // Exactly one of *GoogleCloudIntegrationsV1alphaExecution or error will
 16629  // be non-nil. Any non-2xx status code is an error. Response headers are
 16630  // in either
 16631  // *GoogleCloudIntegrationsV1alphaExecution.ServerResponse.Header or (if
 16632  // a response was returned at all) in error.(*googleapi.Error).Header.
 16633  // Use googleapi.IsNotModified to check whether the returned error was
 16634  // because http.StatusNotModified was returned.
 16635  func (c *ProjectsLocationsIntegrationsExecutionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecution, error) {
 16636  	gensupport.SetOptions(c.urlParams_, opts...)
 16637  	res, err := c.doRequest("json")
 16638  	if res != nil && res.StatusCode == http.StatusNotModified {
 16639  		if res.Body != nil {
 16640  			res.Body.Close()
 16641  		}
 16642  		return nil, gensupport.WrapError(&googleapi.Error{
 16643  			Code:   res.StatusCode,
 16644  			Header: res.Header,
 16645  		})
 16646  	}
 16647  	if err != nil {
 16648  		return nil, err
 16649  	}
 16650  	defer googleapi.CloseBody(res)
 16651  	if err := googleapi.CheckResponse(res); err != nil {
 16652  		return nil, gensupport.WrapError(err)
 16653  	}
 16654  	ret := &GoogleCloudIntegrationsV1alphaExecution{
 16655  		ServerResponse: googleapi.ServerResponse{
 16656  			Header:         res.Header,
 16657  			HTTPStatusCode: res.StatusCode,
 16658  		},
 16659  	}
 16660  	target := &ret
 16661  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16662  		return nil, err
 16663  	}
 16664  	return ret, nil
 16665  	// {
 16666  	//   "description": "Get an execution in the specified project.",
 16667  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}",
 16668  	//   "httpMethod": "GET",
 16669  	//   "id": "integrations.projects.locations.integrations.executions.get",
 16670  	//   "parameterOrder": [
 16671  	//     "name"
 16672  	//   ],
 16673  	//   "parameters": {
 16674  	//     "name": {
 16675  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 16676  	//       "location": "path",
 16677  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$",
 16678  	//       "required": true,
 16679  	//       "type": "string"
 16680  	//     }
 16681  	//   },
 16682  	//   "path": "v1/{+name}",
 16683  	//   "response": {
 16684  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecution"
 16685  	//   },
 16686  	//   "scopes": [
 16687  	//     "https://www.googleapis.com/auth/cloud-platform"
 16688  	//   ]
 16689  	// }
 16690  
 16691  }
 16692  
 16693  // method id "integrations.projects.locations.integrations.executions.list":
 16694  
 16695  type ProjectsLocationsIntegrationsExecutionsListCall struct {
 16696  	s            *Service
 16697  	parent       string
 16698  	urlParams_   gensupport.URLParams
 16699  	ifNoneMatch_ string
 16700  	ctx_         context.Context
 16701  	header_      http.Header
 16702  }
 16703  
 16704  // List: Lists the results of all the integration executions. The
 16705  // response includes the same information as the execution log
 16706  // (https://cloud.google.com/application-integration/docs/viewing-logs)
 16707  // in the Integration UI.
 16708  //
 16709  // - parent: The parent resource name of the integration execution.
 16710  func (r *ProjectsLocationsIntegrationsExecutionsService) List(parent string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16711  	c := &ProjectsLocationsIntegrationsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16712  	c.parent = parent
 16713  	return c
 16714  }
 16715  
 16716  // Filter sets the optional parameter "filter": Standard filter field,
 16717  // we support filtering on all fields in EventExecutionParamIndexes
 16718  // table. All fields support for EQUALS, in additional: CreateTimestamp
 16719  // support for LESS_THAN, GREATER_THAN ParameterKey, ParameterValue,
 16720  // ParameterType support for HAS For example: "parameter_value" HAS
 16721  // \"parameter1\" Also supports operators like AND, OR, NOT For example,
 16722  // trigger_id=\"id1\" AND event_execution_state=\"FAILED\"
 16723  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Filter(filter string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16724  	c.urlParams_.Set("filter", filter)
 16725  	return c
 16726  }
 16727  
 16728  // FilterParamsCustomFilter sets the optional parameter
 16729  // "filterParams.customFilter": Optional user-provided custom filter.
 16730  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsCustomFilter(filterParamsCustomFilter string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16731  	c.urlParams_.Set("filterParams.customFilter", filterParamsCustomFilter)
 16732  	return c
 16733  }
 16734  
 16735  // FilterParamsEndTime sets the optional parameter
 16736  // "filterParams.endTime": End timestamp.
 16737  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsEndTime(filterParamsEndTime int64) *ProjectsLocationsIntegrationsExecutionsListCall {
 16738  	c.urlParams_.Set("filterParams.endTime", fmt.Sprint(filterParamsEndTime))
 16739  	return c
 16740  }
 16741  
 16742  // FilterParamsEventStatuses sets the optional parameter
 16743  // "filterParams.eventStatuses": List of possible event statuses.
 16744  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsEventStatuses(filterParamsEventStatuses ...string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16745  	c.urlParams_.SetMulti("filterParams.eventStatuses", append([]string{}, filterParamsEventStatuses...))
 16746  	return c
 16747  }
 16748  
 16749  // FilterParamsExecutionId sets the optional parameter
 16750  // "filterParams.executionId": Execution id.
 16751  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsExecutionId(filterParamsExecutionId string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16752  	c.urlParams_.Set("filterParams.executionId", filterParamsExecutionId)
 16753  	return c
 16754  }
 16755  
 16756  // FilterParamsParameterKey sets the optional parameter
 16757  // "filterParams.parameterKey": Param key. DEPRECATED. User
 16758  // parameter_pair_key instead.
 16759  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterKey(filterParamsParameterKey string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16760  	c.urlParams_.Set("filterParams.parameterKey", filterParamsParameterKey)
 16761  	return c
 16762  }
 16763  
 16764  // FilterParamsParameterPairKey sets the optional parameter
 16765  // "filterParams.parameterPairKey": Param key in the key value pair
 16766  // filter.
 16767  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterPairKey(filterParamsParameterPairKey string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16768  	c.urlParams_.Set("filterParams.parameterPairKey", filterParamsParameterPairKey)
 16769  	return c
 16770  }
 16771  
 16772  // FilterParamsParameterPairValue sets the optional parameter
 16773  // "filterParams.parameterPairValue": Param value in the key value pair
 16774  // filter.
 16775  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterPairValue(filterParamsParameterPairValue string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16776  	c.urlParams_.Set("filterParams.parameterPairValue", filterParamsParameterPairValue)
 16777  	return c
 16778  }
 16779  
 16780  // FilterParamsParameterType sets the optional parameter
 16781  // "filterParams.parameterType": Param type.
 16782  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterType(filterParamsParameterType string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16783  	c.urlParams_.Set("filterParams.parameterType", filterParamsParameterType)
 16784  	return c
 16785  }
 16786  
 16787  // FilterParamsParameterValue sets the optional parameter
 16788  // "filterParams.parameterValue": Param value. DEPRECATED. User
 16789  // parameter_pair_value instead.
 16790  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterValue(filterParamsParameterValue string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16791  	c.urlParams_.Set("filterParams.parameterValue", filterParamsParameterValue)
 16792  	return c
 16793  }
 16794  
 16795  // FilterParamsStartTime sets the optional parameter
 16796  // "filterParams.startTime": Start timestamp.
 16797  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsStartTime(filterParamsStartTime int64) *ProjectsLocationsIntegrationsExecutionsListCall {
 16798  	c.urlParams_.Set("filterParams.startTime", fmt.Sprint(filterParamsStartTime))
 16799  	return c
 16800  }
 16801  
 16802  // FilterParamsTaskStatuses sets the optional parameter
 16803  // "filterParams.taskStatuses": List of possible task statuses.
 16804  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsTaskStatuses(filterParamsTaskStatuses ...string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16805  	c.urlParams_.SetMulti("filterParams.taskStatuses", append([]string{}, filterParamsTaskStatuses...))
 16806  	return c
 16807  }
 16808  
 16809  // FilterParamsWorkflowName sets the optional parameter
 16810  // "filterParams.workflowName": Workflow name.
 16811  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsWorkflowName(filterParamsWorkflowName string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16812  	c.urlParams_.Set("filterParams.workflowName", filterParamsWorkflowName)
 16813  	return c
 16814  }
 16815  
 16816  // OrderBy sets the optional parameter "orderBy": The results would be
 16817  // returned in order you specified here. Currently supporting
 16818  // "last_modified_time" and "create_time".
 16819  func (c *ProjectsLocationsIntegrationsExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16820  	c.urlParams_.Set("orderBy", orderBy)
 16821  	return c
 16822  }
 16823  
 16824  // PageSize sets the optional parameter "pageSize": The size of entries
 16825  // in the response.
 16826  func (c *ProjectsLocationsIntegrationsExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsExecutionsListCall {
 16827  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 16828  	return c
 16829  }
 16830  
 16831  // PageToken sets the optional parameter "pageToken": The token returned
 16832  // in the previous response.
 16833  func (c *ProjectsLocationsIntegrationsExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16834  	c.urlParams_.Set("pageToken", pageToken)
 16835  	return c
 16836  }
 16837  
 16838  // ReadMask sets the optional parameter "readMask": View mask for the
 16839  // response data. If set, only the field specified will be returned as
 16840  // part of the result. If not set, all fields in event execution info
 16841  // will be filled and returned.
 16842  func (c *ProjectsLocationsIntegrationsExecutionsListCall) ReadMask(readMask string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16843  	c.urlParams_.Set("readMask", readMask)
 16844  	return c
 16845  }
 16846  
 16847  // RefreshAcl sets the optional parameter "refreshAcl": If true, the
 16848  // service will use the most recent acl information to list event
 16849  // execution infos and renew the acl cache. Note that fetching the most
 16850  // recent acl is synchronous, so it will increase RPC call latency.
 16851  func (c *ProjectsLocationsIntegrationsExecutionsListCall) RefreshAcl(refreshAcl bool) *ProjectsLocationsIntegrationsExecutionsListCall {
 16852  	c.urlParams_.Set("refreshAcl", fmt.Sprint(refreshAcl))
 16853  	return c
 16854  }
 16855  
 16856  // TruncateParams sets the optional parameter "truncateParams": If true,
 16857  // the service will truncate the params to only keep the first 1000
 16858  // characters of string params and empty the executions in order to make
 16859  // response smaller. Only works for UI and when the params fields are
 16860  // not filtered out.
 16861  func (c *ProjectsLocationsIntegrationsExecutionsListCall) TruncateParams(truncateParams bool) *ProjectsLocationsIntegrationsExecutionsListCall {
 16862  	c.urlParams_.Set("truncateParams", fmt.Sprint(truncateParams))
 16863  	return c
 16864  }
 16865  
 16866  // Fields allows partial responses to be retrieved. See
 16867  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16868  // for more information.
 16869  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsListCall {
 16870  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16871  	return c
 16872  }
 16873  
 16874  // IfNoneMatch sets the optional parameter which makes the operation
 16875  // fail if the object's ETag matches the given value. This is useful for
 16876  // getting updates only after the object has changed since the last
 16877  // request. Use googleapi.IsNotModified to check whether the response
 16878  // error from Do is the result of In-None-Match.
 16879  func (c *ProjectsLocationsIntegrationsExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsListCall {
 16880  	c.ifNoneMatch_ = entityTag
 16881  	return c
 16882  }
 16883  
 16884  // Context sets the context to be used in this call's Do method. Any
 16885  // pending HTTP request will be aborted if the provided context is
 16886  // canceled.
 16887  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsListCall {
 16888  	c.ctx_ = ctx
 16889  	return c
 16890  }
 16891  
 16892  // Header returns an http.Header that can be modified by the caller to
 16893  // add HTTP headers to the request.
 16894  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Header() http.Header {
 16895  	if c.header_ == nil {
 16896  		c.header_ = make(http.Header)
 16897  	}
 16898  	return c.header_
 16899  }
 16900  
 16901  func (c *ProjectsLocationsIntegrationsExecutionsListCall) doRequest(alt string) (*http.Response, error) {
 16902  	reqHeaders := make(http.Header)
 16903  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16904  	for k, v := range c.header_ {
 16905  		reqHeaders[k] = v
 16906  	}
 16907  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16908  	if c.ifNoneMatch_ != "" {
 16909  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 16910  	}
 16911  	var body io.Reader = nil
 16912  	c.urlParams_.Set("alt", alt)
 16913  	c.urlParams_.Set("prettyPrint", "false")
 16914  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/executions")
 16915  	urls += "?" + c.urlParams_.Encode()
 16916  	req, err := http.NewRequest("GET", urls, body)
 16917  	if err != nil {
 16918  		return nil, err
 16919  	}
 16920  	req.Header = reqHeaders
 16921  	googleapi.Expand(req.URL, map[string]string{
 16922  		"parent": c.parent,
 16923  	})
 16924  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16925  }
 16926  
 16927  // Do executes the "integrations.projects.locations.integrations.executions.list" call.
 16928  // Exactly one of *GoogleCloudIntegrationsV1alphaListExecutionsResponse
 16929  // or error will be non-nil. Any non-2xx status code is an error.
 16930  // Response headers are in either
 16931  // *GoogleCloudIntegrationsV1alphaListExecutionsResponse.ServerResponse.H
 16932  // eader or (if a response was returned at all) in
 16933  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16934  // whether the returned error was because http.StatusNotModified was
 16935  // returned.
 16936  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListExecutionsResponse, error) {
 16937  	gensupport.SetOptions(c.urlParams_, opts...)
 16938  	res, err := c.doRequest("json")
 16939  	if res != nil && res.StatusCode == http.StatusNotModified {
 16940  		if res.Body != nil {
 16941  			res.Body.Close()
 16942  		}
 16943  		return nil, gensupport.WrapError(&googleapi.Error{
 16944  			Code:   res.StatusCode,
 16945  			Header: res.Header,
 16946  		})
 16947  	}
 16948  	if err != nil {
 16949  		return nil, err
 16950  	}
 16951  	defer googleapi.CloseBody(res)
 16952  	if err := googleapi.CheckResponse(res); err != nil {
 16953  		return nil, gensupport.WrapError(err)
 16954  	}
 16955  	ret := &GoogleCloudIntegrationsV1alphaListExecutionsResponse{
 16956  		ServerResponse: googleapi.ServerResponse{
 16957  			Header:         res.Header,
 16958  			HTTPStatusCode: res.StatusCode,
 16959  		},
 16960  	}
 16961  	target := &ret
 16962  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16963  		return nil, err
 16964  	}
 16965  	return ret, nil
 16966  	// {
 16967  	//   "description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.",
 16968  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions",
 16969  	//   "httpMethod": "GET",
 16970  	//   "id": "integrations.projects.locations.integrations.executions.list",
 16971  	//   "parameterOrder": [
 16972  	//     "parent"
 16973  	//   ],
 16974  	//   "parameters": {
 16975  	//     "filter": {
 16976  	//       "description": "Optional. Standard filter field, we support filtering on all fields in EventExecutionParamIndexes table. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterKey, ParameterValue, ParameterType support for HAS For example: \"parameter_value\" HAS \\\"parameter1\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND event_execution_state=\\\"FAILED\\\"",
 16977  	//       "location": "query",
 16978  	//       "type": "string"
 16979  	//     },
 16980  	//     "filterParams.customFilter": {
 16981  	//       "description": "Optional user-provided custom filter.",
 16982  	//       "location": "query",
 16983  	//       "type": "string"
 16984  	//     },
 16985  	//     "filterParams.endTime": {
 16986  	//       "description": "End timestamp.",
 16987  	//       "format": "int64",
 16988  	//       "location": "query",
 16989  	//       "type": "string"
 16990  	//     },
 16991  	//     "filterParams.eventStatuses": {
 16992  	//       "description": "List of possible event statuses.",
 16993  	//       "location": "query",
 16994  	//       "repeated": true,
 16995  	//       "type": "string"
 16996  	//     },
 16997  	//     "filterParams.executionId": {
 16998  	//       "description": "Execution id.",
 16999  	//       "location": "query",
 17000  	//       "type": "string"
 17001  	//     },
 17002  	//     "filterParams.parameterKey": {
 17003  	//       "description": "Param key. DEPRECATED. User parameter_pair_key instead.",
 17004  	//       "location": "query",
 17005  	//       "type": "string"
 17006  	//     },
 17007  	//     "filterParams.parameterPairKey": {
 17008  	//       "description": "Param key in the key value pair filter.",
 17009  	//       "location": "query",
 17010  	//       "type": "string"
 17011  	//     },
 17012  	//     "filterParams.parameterPairValue": {
 17013  	//       "description": "Param value in the key value pair filter.",
 17014  	//       "location": "query",
 17015  	//       "type": "string"
 17016  	//     },
 17017  	//     "filterParams.parameterType": {
 17018  	//       "description": "Param type.",
 17019  	//       "location": "query",
 17020  	//       "type": "string"
 17021  	//     },
 17022  	//     "filterParams.parameterValue": {
 17023  	//       "description": "Param value. DEPRECATED. User parameter_pair_value instead.",
 17024  	//       "location": "query",
 17025  	//       "type": "string"
 17026  	//     },
 17027  	//     "filterParams.startTime": {
 17028  	//       "description": "Start timestamp.",
 17029  	//       "format": "int64",
 17030  	//       "location": "query",
 17031  	//       "type": "string"
 17032  	//     },
 17033  	//     "filterParams.taskStatuses": {
 17034  	//       "description": "List of possible task statuses.",
 17035  	//       "location": "query",
 17036  	//       "repeated": true,
 17037  	//       "type": "string"
 17038  	//     },
 17039  	//     "filterParams.workflowName": {
 17040  	//       "description": "Workflow name.",
 17041  	//       "location": "query",
 17042  	//       "type": "string"
 17043  	//     },
 17044  	//     "orderBy": {
 17045  	//       "description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".",
 17046  	//       "location": "query",
 17047  	//       "type": "string"
 17048  	//     },
 17049  	//     "pageSize": {
 17050  	//       "description": "Optional. The size of entries in the response.",
 17051  	//       "format": "int32",
 17052  	//       "location": "query",
 17053  	//       "type": "integer"
 17054  	//     },
 17055  	//     "pageToken": {
 17056  	//       "description": "Optional. The token returned in the previous response.",
 17057  	//       "location": "query",
 17058  	//       "type": "string"
 17059  	//     },
 17060  	//     "parent": {
 17061  	//       "description": "Required. The parent resource name of the integration execution.",
 17062  	//       "location": "path",
 17063  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 17064  	//       "required": true,
 17065  	//       "type": "string"
 17066  	//     },
 17067  	//     "readMask": {
 17068  	//       "description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.",
 17069  	//       "format": "google-fieldmask",
 17070  	//       "location": "query",
 17071  	//       "type": "string"
 17072  	//     },
 17073  	//     "refreshAcl": {
 17074  	//       "description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.",
 17075  	//       "location": "query",
 17076  	//       "type": "boolean"
 17077  	//     },
 17078  	//     "truncateParams": {
 17079  	//       "description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.",
 17080  	//       "location": "query",
 17081  	//       "type": "boolean"
 17082  	//     }
 17083  	//   },
 17084  	//   "path": "v1/{+parent}/executions",
 17085  	//   "response": {
 17086  	//     "$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse"
 17087  	//   },
 17088  	//   "scopes": [
 17089  	//     "https://www.googleapis.com/auth/cloud-platform"
 17090  	//   ]
 17091  	// }
 17092  
 17093  }
 17094  
 17095  // Pages invokes f for each page of results.
 17096  // A non-nil error returned from f will halt the iteration.
 17097  // The provided context supersedes any context provided to the Context method.
 17098  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListExecutionsResponse) error) error {
 17099  	c.ctx_ = ctx
 17100  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 17101  	for {
 17102  		x, err := c.Do()
 17103  		if err != nil {
 17104  			return err
 17105  		}
 17106  		if err := f(x); err != nil {
 17107  			return err
 17108  		}
 17109  		if x.NextPageToken == "" {
 17110  			return nil
 17111  		}
 17112  		c.PageToken(x.NextPageToken)
 17113  	}
 17114  }
 17115  
 17116  // method id "integrations.projects.locations.integrations.executions.suspensions.lift":
 17117  
 17118  type ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall struct {
 17119  	s                                                   *Service
 17120  	name                                                string
 17121  	googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest
 17122  	urlParams_                                          gensupport.URLParams
 17123  	ctx_                                                context.Context
 17124  	header_                                             http.Header
 17125  }
 17126  
 17127  // Lift: * Lifts suspension for advanced suspension task. Fetch
 17128  // corresponding suspension with provided suspension Id, resolve
 17129  // suspension, and set up suspension result for the Suspension Task.
 17130  //
 17131  //   - name: The resource that the suspension belongs to.
 17132  //     "projects/{project}/locations/{location}/products/{product}/integrat
 17133  //     ions/{integration}/executions/{execution}/suspensions/{suspenion}"
 17134  //     format.
 17135  func (r *ProjectsLocationsIntegrationsExecutionsSuspensionsService) Lift(name string, googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall {
 17136  	c := &ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17137  	c.name = name
 17138  	c.googlecloudintegrationsv1alphaliftsuspensionrequest = googlecloudintegrationsv1alphaliftsuspensionrequest
 17139  	return c
 17140  }
 17141  
 17142  // Fields allows partial responses to be retrieved. See
 17143  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17144  // for more information.
 17145  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall {
 17146  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17147  	return c
 17148  }
 17149  
 17150  // Context sets the context to be used in this call's Do method. Any
 17151  // pending HTTP request will be aborted if the provided context is
 17152  // canceled.
 17153  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall {
 17154  	c.ctx_ = ctx
 17155  	return c
 17156  }
 17157  
 17158  // Header returns an http.Header that can be modified by the caller to
 17159  // add HTTP headers to the request.
 17160  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Header() http.Header {
 17161  	if c.header_ == nil {
 17162  		c.header_ = make(http.Header)
 17163  	}
 17164  	return c.header_
 17165  }
 17166  
 17167  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) doRequest(alt string) (*http.Response, error) {
 17168  	reqHeaders := make(http.Header)
 17169  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17170  	for k, v := range c.header_ {
 17171  		reqHeaders[k] = v
 17172  	}
 17173  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17174  	var body io.Reader = nil
 17175  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaliftsuspensionrequest)
 17176  	if err != nil {
 17177  		return nil, err
 17178  	}
 17179  	reqHeaders.Set("Content-Type", "application/json")
 17180  	c.urlParams_.Set("alt", alt)
 17181  	c.urlParams_.Set("prettyPrint", "false")
 17182  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:lift")
 17183  	urls += "?" + c.urlParams_.Encode()
 17184  	req, err := http.NewRequest("POST", urls, body)
 17185  	if err != nil {
 17186  		return nil, err
 17187  	}
 17188  	req.Header = reqHeaders
 17189  	googleapi.Expand(req.URL, map[string]string{
 17190  		"name": c.name,
 17191  	})
 17192  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17193  }
 17194  
 17195  // Do executes the "integrations.projects.locations.integrations.executions.suspensions.lift" call.
 17196  // Exactly one of *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
 17197  // or error will be non-nil. Any non-2xx status code is an error.
 17198  // Response headers are in either
 17199  // *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse.ServerResponse.H
 17200  // eader or (if a response was returned at all) in
 17201  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17202  // whether the returned error was because http.StatusNotModified was
 17203  // returned.
 17204  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaLiftSuspensionResponse, error) {
 17205  	gensupport.SetOptions(c.urlParams_, opts...)
 17206  	res, err := c.doRequest("json")
 17207  	if res != nil && res.StatusCode == http.StatusNotModified {
 17208  		if res.Body != nil {
 17209  			res.Body.Close()
 17210  		}
 17211  		return nil, gensupport.WrapError(&googleapi.Error{
 17212  			Code:   res.StatusCode,
 17213  			Header: res.Header,
 17214  		})
 17215  	}
 17216  	if err != nil {
 17217  		return nil, err
 17218  	}
 17219  	defer googleapi.CloseBody(res)
 17220  	if err := googleapi.CheckResponse(res); err != nil {
 17221  		return nil, gensupport.WrapError(err)
 17222  	}
 17223  	ret := &GoogleCloudIntegrationsV1alphaLiftSuspensionResponse{
 17224  		ServerResponse: googleapi.ServerResponse{
 17225  			Header:         res.Header,
 17226  			HTTPStatusCode: res.StatusCode,
 17227  		},
 17228  	}
 17229  	target := &ret
 17230  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17231  		return nil, err
 17232  	}
 17233  	return ret, nil
 17234  	// {
 17235  	//   "description": "* Lifts suspension for advanced suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.",
 17236  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift",
 17237  	//   "httpMethod": "POST",
 17238  	//   "id": "integrations.projects.locations.integrations.executions.suspensions.lift",
 17239  	//   "parameterOrder": [
 17240  	//     "name"
 17241  	//   ],
 17242  	//   "parameters": {
 17243  	//     "name": {
 17244  	//       "description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.",
 17245  	//       "location": "path",
 17246  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 17247  	//       "required": true,
 17248  	//       "type": "string"
 17249  	//     }
 17250  	//   },
 17251  	//   "path": "v1/{+name}:lift",
 17252  	//   "request": {
 17253  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest"
 17254  	//   },
 17255  	//   "response": {
 17256  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse"
 17257  	//   },
 17258  	//   "scopes": [
 17259  	//     "https://www.googleapis.com/auth/cloud-platform"
 17260  	//   ]
 17261  	// }
 17262  
 17263  }
 17264  
 17265  // method id "integrations.projects.locations.integrations.executions.suspensions.list":
 17266  
 17267  type ProjectsLocationsIntegrationsExecutionsSuspensionsListCall struct {
 17268  	s            *Service
 17269  	parent       string
 17270  	urlParams_   gensupport.URLParams
 17271  	ifNoneMatch_ string
 17272  	ctx_         context.Context
 17273  	header_      http.Header
 17274  }
 17275  
 17276  // List: * Lists suspensions associated with a specific execution. Only
 17277  // those with permissions to resolve the relevant suspensions will be
 17278  // able to view them.
 17279  //
 17280  //   - parent:
 17281  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 17282  //     tegrations/{integration_name}/executions/{execution_name}.
 17283  func (r *ProjectsLocationsIntegrationsExecutionsSuspensionsService) List(parent string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17284  	c := &ProjectsLocationsIntegrationsExecutionsSuspensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17285  	c.parent = parent
 17286  	return c
 17287  }
 17288  
 17289  // Filter sets the optional parameter "filter": Standard filter field.
 17290  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Filter(filter string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17291  	c.urlParams_.Set("filter", filter)
 17292  	return c
 17293  }
 17294  
 17295  // OrderBy sets the optional parameter "orderBy": Field name to order
 17296  // by.
 17297  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17298  	c.urlParams_.Set("orderBy", orderBy)
 17299  	return c
 17300  }
 17301  
 17302  // PageSize sets the optional parameter "pageSize": Maximum number of
 17303  // entries in the response.
 17304  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17305  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 17306  	return c
 17307  }
 17308  
 17309  // PageToken sets the optional parameter "pageToken": Token to retrieve
 17310  // a specific page.
 17311  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17312  	c.urlParams_.Set("pageToken", pageToken)
 17313  	return c
 17314  }
 17315  
 17316  // Fields allows partial responses to be retrieved. See
 17317  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17318  // for more information.
 17319  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17320  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17321  	return c
 17322  }
 17323  
 17324  // IfNoneMatch sets the optional parameter which makes the operation
 17325  // fail if the object's ETag matches the given value. This is useful for
 17326  // getting updates only after the object has changed since the last
 17327  // request. Use googleapi.IsNotModified to check whether the response
 17328  // error from Do is the result of In-None-Match.
 17329  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17330  	c.ifNoneMatch_ = entityTag
 17331  	return c
 17332  }
 17333  
 17334  // Context sets the context to be used in this call's Do method. Any
 17335  // pending HTTP request will be aborted if the provided context is
 17336  // canceled.
 17337  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 17338  	c.ctx_ = ctx
 17339  	return c
 17340  }
 17341  
 17342  // Header returns an http.Header that can be modified by the caller to
 17343  // add HTTP headers to the request.
 17344  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Header() http.Header {
 17345  	if c.header_ == nil {
 17346  		c.header_ = make(http.Header)
 17347  	}
 17348  	return c.header_
 17349  }
 17350  
 17351  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) doRequest(alt string) (*http.Response, error) {
 17352  	reqHeaders := make(http.Header)
 17353  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17354  	for k, v := range c.header_ {
 17355  		reqHeaders[k] = v
 17356  	}
 17357  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17358  	if c.ifNoneMatch_ != "" {
 17359  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 17360  	}
 17361  	var body io.Reader = nil
 17362  	c.urlParams_.Set("alt", alt)
 17363  	c.urlParams_.Set("prettyPrint", "false")
 17364  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/suspensions")
 17365  	urls += "?" + c.urlParams_.Encode()
 17366  	req, err := http.NewRequest("GET", urls, body)
 17367  	if err != nil {
 17368  		return nil, err
 17369  	}
 17370  	req.Header = reqHeaders
 17371  	googleapi.Expand(req.URL, map[string]string{
 17372  		"parent": c.parent,
 17373  	})
 17374  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17375  }
 17376  
 17377  // Do executes the "integrations.projects.locations.integrations.executions.suspensions.list" call.
 17378  // Exactly one of *GoogleCloudIntegrationsV1alphaListSuspensionsResponse
 17379  // or error will be non-nil. Any non-2xx status code is an error.
 17380  // Response headers are in either
 17381  // *GoogleCloudIntegrationsV1alphaListSuspensionsResponse.ServerResponse.
 17382  // Header or (if a response was returned at all) in
 17383  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17384  // whether the returned error was because http.StatusNotModified was
 17385  // returned.
 17386  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSuspensionsResponse, error) {
 17387  	gensupport.SetOptions(c.urlParams_, opts...)
 17388  	res, err := c.doRequest("json")
 17389  	if res != nil && res.StatusCode == http.StatusNotModified {
 17390  		if res.Body != nil {
 17391  			res.Body.Close()
 17392  		}
 17393  		return nil, gensupport.WrapError(&googleapi.Error{
 17394  			Code:   res.StatusCode,
 17395  			Header: res.Header,
 17396  		})
 17397  	}
 17398  	if err != nil {
 17399  		return nil, err
 17400  	}
 17401  	defer googleapi.CloseBody(res)
 17402  	if err := googleapi.CheckResponse(res); err != nil {
 17403  		return nil, gensupport.WrapError(err)
 17404  	}
 17405  	ret := &GoogleCloudIntegrationsV1alphaListSuspensionsResponse{
 17406  		ServerResponse: googleapi.ServerResponse{
 17407  			Header:         res.Header,
 17408  			HTTPStatusCode: res.StatusCode,
 17409  		},
 17410  	}
 17411  	target := &ret
 17412  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17413  		return nil, err
 17414  	}
 17415  	return ret, nil
 17416  	// {
 17417  	//   "description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.",
 17418  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions",
 17419  	//   "httpMethod": "GET",
 17420  	//   "id": "integrations.projects.locations.integrations.executions.suspensions.list",
 17421  	//   "parameterOrder": [
 17422  	//     "parent"
 17423  	//   ],
 17424  	//   "parameters": {
 17425  	//     "filter": {
 17426  	//       "description": "Standard filter field.",
 17427  	//       "location": "query",
 17428  	//       "type": "string"
 17429  	//     },
 17430  	//     "orderBy": {
 17431  	//       "description": "Field name to order by.",
 17432  	//       "location": "query",
 17433  	//       "type": "string"
 17434  	//     },
 17435  	//     "pageSize": {
 17436  	//       "description": "Maximum number of entries in the response.",
 17437  	//       "format": "int32",
 17438  	//       "location": "query",
 17439  	//       "type": "integer"
 17440  	//     },
 17441  	//     "pageToken": {
 17442  	//       "description": "Token to retrieve a specific page.",
 17443  	//       "location": "query",
 17444  	//       "type": "string"
 17445  	//     },
 17446  	//     "parent": {
 17447  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}",
 17448  	//       "location": "path",
 17449  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$",
 17450  	//       "required": true,
 17451  	//       "type": "string"
 17452  	//     }
 17453  	//   },
 17454  	//   "path": "v1/{+parent}/suspensions",
 17455  	//   "response": {
 17456  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse"
 17457  	//   },
 17458  	//   "scopes": [
 17459  	//     "https://www.googleapis.com/auth/cloud-platform"
 17460  	//   ]
 17461  	// }
 17462  
 17463  }
 17464  
 17465  // Pages invokes f for each page of results.
 17466  // A non-nil error returned from f will halt the iteration.
 17467  // The provided context supersedes any context provided to the Context method.
 17468  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSuspensionsResponse) error) error {
 17469  	c.ctx_ = ctx
 17470  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 17471  	for {
 17472  		x, err := c.Do()
 17473  		if err != nil {
 17474  			return err
 17475  		}
 17476  		if err := f(x); err != nil {
 17477  			return err
 17478  		}
 17479  		if x.NextPageToken == "" {
 17480  			return nil
 17481  		}
 17482  		c.PageToken(x.NextPageToken)
 17483  	}
 17484  }
 17485  
 17486  // method id "integrations.projects.locations.integrations.executions.suspensions.resolve":
 17487  
 17488  type ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall struct {
 17489  	s                                                      *Service
 17490  	name                                                   string
 17491  	googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
 17492  	urlParams_                                             gensupport.URLParams
 17493  	ctx_                                                   context.Context
 17494  	header_                                                http.Header
 17495  }
 17496  
 17497  // Resolve: * Resolves (lifts/rejects) any number of suspensions. If the
 17498  // integration is already running, only the status of the suspension is
 17499  // updated. Otherwise, the suspended integration will begin execution
 17500  // again.
 17501  //
 17502  //   - name:
 17503  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 17504  //     tegrations/{integration_name}/executions/{execution_name}/suspension
 17505  //     s/{suspension_id}.
 17506  func (r *ProjectsLocationsIntegrationsExecutionsSuspensionsService) Resolve(name string, googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall {
 17507  	c := &ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17508  	c.name = name
 17509  	c.googlecloudintegrationsv1alpharesolvesuspensionrequest = googlecloudintegrationsv1alpharesolvesuspensionrequest
 17510  	return c
 17511  }
 17512  
 17513  // Fields allows partial responses to be retrieved. See
 17514  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17515  // for more information.
 17516  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall {
 17517  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17518  	return c
 17519  }
 17520  
 17521  // Context sets the context to be used in this call's Do method. Any
 17522  // pending HTTP request will be aborted if the provided context is
 17523  // canceled.
 17524  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall {
 17525  	c.ctx_ = ctx
 17526  	return c
 17527  }
 17528  
 17529  // Header returns an http.Header that can be modified by the caller to
 17530  // add HTTP headers to the request.
 17531  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Header() http.Header {
 17532  	if c.header_ == nil {
 17533  		c.header_ = make(http.Header)
 17534  	}
 17535  	return c.header_
 17536  }
 17537  
 17538  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) doRequest(alt string) (*http.Response, error) {
 17539  	reqHeaders := make(http.Header)
 17540  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17541  	for k, v := range c.header_ {
 17542  		reqHeaders[k] = v
 17543  	}
 17544  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17545  	var body io.Reader = nil
 17546  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alpharesolvesuspensionrequest)
 17547  	if err != nil {
 17548  		return nil, err
 17549  	}
 17550  	reqHeaders.Set("Content-Type", "application/json")
 17551  	c.urlParams_.Set("alt", alt)
 17552  	c.urlParams_.Set("prettyPrint", "false")
 17553  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:resolve")
 17554  	urls += "?" + c.urlParams_.Encode()
 17555  	req, err := http.NewRequest("POST", urls, body)
 17556  	if err != nil {
 17557  		return nil, err
 17558  	}
 17559  	req.Header = reqHeaders
 17560  	googleapi.Expand(req.URL, map[string]string{
 17561  		"name": c.name,
 17562  	})
 17563  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17564  }
 17565  
 17566  // Do executes the "integrations.projects.locations.integrations.executions.suspensions.resolve" call.
 17567  // Exactly one of
 17568  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse or error
 17569  // will be non-nil. Any non-2xx status code is an error. Response
 17570  // headers are in either
 17571  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse.ServerRespons
 17572  // e.Header or (if a response was returned at all) in
 17573  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17574  // whether the returned error was because http.StatusNotModified was
 17575  // returned.
 17576  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaResolveSuspensionResponse, error) {
 17577  	gensupport.SetOptions(c.urlParams_, opts...)
 17578  	res, err := c.doRequest("json")
 17579  	if res != nil && res.StatusCode == http.StatusNotModified {
 17580  		if res.Body != nil {
 17581  			res.Body.Close()
 17582  		}
 17583  		return nil, gensupport.WrapError(&googleapi.Error{
 17584  			Code:   res.StatusCode,
 17585  			Header: res.Header,
 17586  		})
 17587  	}
 17588  	if err != nil {
 17589  		return nil, err
 17590  	}
 17591  	defer googleapi.CloseBody(res)
 17592  	if err := googleapi.CheckResponse(res); err != nil {
 17593  		return nil, gensupport.WrapError(err)
 17594  	}
 17595  	ret := &GoogleCloudIntegrationsV1alphaResolveSuspensionResponse{
 17596  		ServerResponse: googleapi.ServerResponse{
 17597  			Header:         res.Header,
 17598  			HTTPStatusCode: res.StatusCode,
 17599  		},
 17600  	}
 17601  	target := &ret
 17602  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17603  		return nil, err
 17604  	}
 17605  	return ret, nil
 17606  	// {
 17607  	//   "description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.",
 17608  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve",
 17609  	//   "httpMethod": "POST",
 17610  	//   "id": "integrations.projects.locations.integrations.executions.suspensions.resolve",
 17611  	//   "parameterOrder": [
 17612  	//     "name"
 17613  	//   ],
 17614  	//   "parameters": {
 17615  	//     "name": {
 17616  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}",
 17617  	//       "location": "path",
 17618  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 17619  	//       "required": true,
 17620  	//       "type": "string"
 17621  	//     }
 17622  	//   },
 17623  	//   "path": "v1/{+name}:resolve",
 17624  	//   "request": {
 17625  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest"
 17626  	//   },
 17627  	//   "response": {
 17628  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse"
 17629  	//   },
 17630  	//   "scopes": [
 17631  	//     "https://www.googleapis.com/auth/cloud-platform"
 17632  	//   ]
 17633  	// }
 17634  
 17635  }
 17636  
 17637  // method id "integrations.projects.locations.integrations.executionsnapshots.list":
 17638  
 17639  type ProjectsLocationsIntegrationsExecutionsnapshotsListCall struct {
 17640  	s            *Service
 17641  	parent       string
 17642  	urlParams_   gensupport.URLParams
 17643  	ifNoneMatch_ string
 17644  	ctx_         context.Context
 17645  	header_      http.Header
 17646  }
 17647  
 17648  // List: Lists the snapshots of a given integration executions. This RPC
 17649  // is not being used.
 17650  //
 17651  // - parent: The parent resource name of the integration execution.
 17652  func (r *ProjectsLocationsIntegrationsExecutionsnapshotsService) List(parent string) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17653  	c := &ProjectsLocationsIntegrationsExecutionsnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17654  	c.parent = parent
 17655  	return c
 17656  }
 17657  
 17658  // Filter sets the optional parameter "filter": Currently supports
 17659  // filter by `execution_info_id` or `execution_snapshot_id`.
 17660  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) Filter(filter string) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17661  	c.urlParams_.Set("filter", filter)
 17662  	return c
 17663  }
 17664  
 17665  // PageSize sets the optional parameter "pageSize": Number of entries to
 17666  // be returned in a page.
 17667  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17668  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 17669  	return c
 17670  }
 17671  
 17672  // PageToken sets the optional parameter "pageToken": The token used to
 17673  // retrieve the next page results.
 17674  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17675  	c.urlParams_.Set("pageToken", pageToken)
 17676  	return c
 17677  }
 17678  
 17679  // ReadMask sets the optional parameter "readMask": View mask for the
 17680  // response data. If set, only the field specified will be returned as
 17681  // part of the result. If not set, all fields in event execution
 17682  // snapshot will be filled and returned.
 17683  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) ReadMask(readMask string) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17684  	c.urlParams_.Set("readMask", readMask)
 17685  	return c
 17686  }
 17687  
 17688  // Fields allows partial responses to be retrieved. See
 17689  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17690  // for more information.
 17691  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17692  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17693  	return c
 17694  }
 17695  
 17696  // IfNoneMatch sets the optional parameter which makes the operation
 17697  // fail if the object's ETag matches the given value. This is useful for
 17698  // getting updates only after the object has changed since the last
 17699  // request. Use googleapi.IsNotModified to check whether the response
 17700  // error from Do is the result of In-None-Match.
 17701  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17702  	c.ifNoneMatch_ = entityTag
 17703  	return c
 17704  }
 17705  
 17706  // Context sets the context to be used in this call's Do method. Any
 17707  // pending HTTP request will be aborted if the provided context is
 17708  // canceled.
 17709  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsnapshotsListCall {
 17710  	c.ctx_ = ctx
 17711  	return c
 17712  }
 17713  
 17714  // Header returns an http.Header that can be modified by the caller to
 17715  // add HTTP headers to the request.
 17716  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) Header() http.Header {
 17717  	if c.header_ == nil {
 17718  		c.header_ = make(http.Header)
 17719  	}
 17720  	return c.header_
 17721  }
 17722  
 17723  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) doRequest(alt string) (*http.Response, error) {
 17724  	reqHeaders := make(http.Header)
 17725  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17726  	for k, v := range c.header_ {
 17727  		reqHeaders[k] = v
 17728  	}
 17729  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17730  	if c.ifNoneMatch_ != "" {
 17731  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 17732  	}
 17733  	var body io.Reader = nil
 17734  	c.urlParams_.Set("alt", alt)
 17735  	c.urlParams_.Set("prettyPrint", "false")
 17736  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/executionsnapshots")
 17737  	urls += "?" + c.urlParams_.Encode()
 17738  	req, err := http.NewRequest("GET", urls, body)
 17739  	if err != nil {
 17740  		return nil, err
 17741  	}
 17742  	req.Header = reqHeaders
 17743  	googleapi.Expand(req.URL, map[string]string{
 17744  		"parent": c.parent,
 17745  	})
 17746  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17747  }
 17748  
 17749  // Do executes the "integrations.projects.locations.integrations.executionsnapshots.list" call.
 17750  // Exactly one of
 17751  // *GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse or
 17752  // error will be non-nil. Any non-2xx status code is an error. Response
 17753  // headers are in either
 17754  // *GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse.ServerRe
 17755  // sponse.Header or (if a response was returned at all) in
 17756  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17757  // whether the returned error was because http.StatusNotModified was
 17758  // returned.
 17759  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse, error) {
 17760  	gensupport.SetOptions(c.urlParams_, opts...)
 17761  	res, err := c.doRequest("json")
 17762  	if res != nil && res.StatusCode == http.StatusNotModified {
 17763  		if res.Body != nil {
 17764  			res.Body.Close()
 17765  		}
 17766  		return nil, gensupport.WrapError(&googleapi.Error{
 17767  			Code:   res.StatusCode,
 17768  			Header: res.Header,
 17769  		})
 17770  	}
 17771  	if err != nil {
 17772  		return nil, err
 17773  	}
 17774  	defer googleapi.CloseBody(res)
 17775  	if err := googleapi.CheckResponse(res); err != nil {
 17776  		return nil, gensupport.WrapError(err)
 17777  	}
 17778  	ret := &GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse{
 17779  		ServerResponse: googleapi.ServerResponse{
 17780  			Header:         res.Header,
 17781  			HTTPStatusCode: res.StatusCode,
 17782  		},
 17783  	}
 17784  	target := &ret
 17785  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17786  		return nil, err
 17787  	}
 17788  	return ret, nil
 17789  	// {
 17790  	//   "description": "Lists the snapshots of a given integration executions. This RPC is not being used.",
 17791  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executionsnapshots",
 17792  	//   "httpMethod": "GET",
 17793  	//   "id": "integrations.projects.locations.integrations.executionsnapshots.list",
 17794  	//   "parameterOrder": [
 17795  	//     "parent"
 17796  	//   ],
 17797  	//   "parameters": {
 17798  	//     "filter": {
 17799  	//       "description": "Currently supports filter by `execution_info_id` or `execution_snapshot_id`.",
 17800  	//       "location": "query",
 17801  	//       "type": "string"
 17802  	//     },
 17803  	//     "pageSize": {
 17804  	//       "description": "Number of entries to be returned in a page.",
 17805  	//       "format": "int32",
 17806  	//       "location": "query",
 17807  	//       "type": "integer"
 17808  	//     },
 17809  	//     "pageToken": {
 17810  	//       "description": "The token used to retrieve the next page results.",
 17811  	//       "location": "query",
 17812  	//       "type": "string"
 17813  	//     },
 17814  	//     "parent": {
 17815  	//       "description": "Required. The parent resource name of the integration execution.",
 17816  	//       "location": "path",
 17817  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 17818  	//       "required": true,
 17819  	//       "type": "string"
 17820  	//     },
 17821  	//     "readMask": {
 17822  	//       "description": "View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution snapshot will be filled and returned.",
 17823  	//       "format": "google-fieldmask",
 17824  	//       "location": "query",
 17825  	//       "type": "string"
 17826  	//     }
 17827  	//   },
 17828  	//   "path": "v1/{+parent}/executionsnapshots",
 17829  	//   "response": {
 17830  	//     "$ref": "GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse"
 17831  	//   },
 17832  	//   "scopes": [
 17833  	//     "https://www.googleapis.com/auth/cloud-platform"
 17834  	//   ]
 17835  	// }
 17836  
 17837  }
 17838  
 17839  // Pages invokes f for each page of results.
 17840  // A non-nil error returned from f will halt the iteration.
 17841  // The provided context supersedes any context provided to the Context method.
 17842  func (c *ProjectsLocationsIntegrationsExecutionsnapshotsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse) error) error {
 17843  	c.ctx_ = ctx
 17844  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 17845  	for {
 17846  		x, err := c.Do()
 17847  		if err != nil {
 17848  			return err
 17849  		}
 17850  		if err := f(x); err != nil {
 17851  			return err
 17852  		}
 17853  		if x.NextPageToken == "" {
 17854  			return nil
 17855  		}
 17856  		c.PageToken(x.NextPageToken)
 17857  	}
 17858  }
 17859  
 17860  // method id "integrations.projects.locations.integrations.versions.archive":
 17861  
 17862  type ProjectsLocationsIntegrationsVersionsArchiveCall struct {
 17863  	s                                                              *Service
 17864  	name                                                           string
 17865  	googlecloudintegrationsv1alphaarchiveintegrationversionrequest *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest
 17866  	urlParams_                                                     gensupport.URLParams
 17867  	ctx_                                                           context.Context
 17868  	header_                                                        http.Header
 17869  }
 17870  
 17871  // Archive: Soft-deletes the integration. Changes the status of the
 17872  // integration to ARCHIVED. If the integration being ARCHIVED is tagged
 17873  // as "HEAD", the tag is removed from this snapshot and set to the
 17874  // previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED,
 17875  // DUE_FOR_DELETION tags are removed too. This RPC throws an exception
 17876  // if the version being archived is DRAFT, and if the `locked_by` user
 17877  // is not the same as the user performing the Archive. Audit fields
 17878  // updated include last_modified_timestamp, last_modified_by. Any
 17879  // existing lock is released when Archiving a integration. Currently,
 17880  // there is no unarchive mechanism.
 17881  //
 17882  //   - name: The version to archive. Format:
 17883  //     projects/{project}/locations/{location}/integrations/{integration}/v
 17884  //     ersions/{version}.
 17885  func (r *ProjectsLocationsIntegrationsVersionsService) Archive(name string, googlecloudintegrationsv1alphaarchiveintegrationversionrequest *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsArchiveCall {
 17886  	c := &ProjectsLocationsIntegrationsVersionsArchiveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17887  	c.name = name
 17888  	c.googlecloudintegrationsv1alphaarchiveintegrationversionrequest = googlecloudintegrationsv1alphaarchiveintegrationversionrequest
 17889  	return c
 17890  }
 17891  
 17892  // Fields allows partial responses to be retrieved. See
 17893  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17894  // for more information.
 17895  func (c *ProjectsLocationsIntegrationsVersionsArchiveCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsArchiveCall {
 17896  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17897  	return c
 17898  }
 17899  
 17900  // Context sets the context to be used in this call's Do method. Any
 17901  // pending HTTP request will be aborted if the provided context is
 17902  // canceled.
 17903  func (c *ProjectsLocationsIntegrationsVersionsArchiveCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsArchiveCall {
 17904  	c.ctx_ = ctx
 17905  	return c
 17906  }
 17907  
 17908  // Header returns an http.Header that can be modified by the caller to
 17909  // add HTTP headers to the request.
 17910  func (c *ProjectsLocationsIntegrationsVersionsArchiveCall) Header() http.Header {
 17911  	if c.header_ == nil {
 17912  		c.header_ = make(http.Header)
 17913  	}
 17914  	return c.header_
 17915  }
 17916  
 17917  func (c *ProjectsLocationsIntegrationsVersionsArchiveCall) doRequest(alt string) (*http.Response, error) {
 17918  	reqHeaders := make(http.Header)
 17919  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17920  	for k, v := range c.header_ {
 17921  		reqHeaders[k] = v
 17922  	}
 17923  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17924  	var body io.Reader = nil
 17925  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaarchiveintegrationversionrequest)
 17926  	if err != nil {
 17927  		return nil, err
 17928  	}
 17929  	reqHeaders.Set("Content-Type", "application/json")
 17930  	c.urlParams_.Set("alt", alt)
 17931  	c.urlParams_.Set("prettyPrint", "false")
 17932  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:archive")
 17933  	urls += "?" + c.urlParams_.Encode()
 17934  	req, err := http.NewRequest("POST", urls, body)
 17935  	if err != nil {
 17936  		return nil, err
 17937  	}
 17938  	req.Header = reqHeaders
 17939  	googleapi.Expand(req.URL, map[string]string{
 17940  		"name": c.name,
 17941  	})
 17942  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17943  }
 17944  
 17945  // Do executes the "integrations.projects.locations.integrations.versions.archive" call.
 17946  // Exactly one of
 17947  // *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse or
 17948  // error will be non-nil. Any non-2xx status code is an error. Response
 17949  // headers are in either
 17950  // *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse.Serve
 17951  // rResponse.Header or (if a response was returned at all) in
 17952  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17953  // whether the returned error was because http.StatusNotModified was
 17954  // returned.
 17955  func (c *ProjectsLocationsIntegrationsVersionsArchiveCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse, error) {
 17956  	gensupport.SetOptions(c.urlParams_, opts...)
 17957  	res, err := c.doRequest("json")
 17958  	if res != nil && res.StatusCode == http.StatusNotModified {
 17959  		if res.Body != nil {
 17960  			res.Body.Close()
 17961  		}
 17962  		return nil, gensupport.WrapError(&googleapi.Error{
 17963  			Code:   res.StatusCode,
 17964  			Header: res.Header,
 17965  		})
 17966  	}
 17967  	if err != nil {
 17968  		return nil, err
 17969  	}
 17970  	defer googleapi.CloseBody(res)
 17971  	if err := googleapi.CheckResponse(res); err != nil {
 17972  		return nil, gensupport.WrapError(err)
 17973  	}
 17974  	ret := &GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse{
 17975  		ServerResponse: googleapi.ServerResponse{
 17976  			Header:         res.Header,
 17977  			HTTPStatusCode: res.StatusCode,
 17978  		},
 17979  	}
 17980  	target := &ret
 17981  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17982  		return nil, err
 17983  	}
 17984  	return ret, nil
 17985  	// {
 17986  	//   "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being archived is DRAFT, and if the `locked_by` user is not the same as the user performing the Archive. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Archiving a integration. Currently, there is no unarchive mechanism.",
 17987  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:archive",
 17988  	//   "httpMethod": "POST",
 17989  	//   "id": "integrations.projects.locations.integrations.versions.archive",
 17990  	//   "parameterOrder": [
 17991  	//     "name"
 17992  	//   ],
 17993  	//   "parameters": {
 17994  	//     "name": {
 17995  	//       "description": "Required. The version to archive. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 17996  	//       "location": "path",
 17997  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 17998  	//       "required": true,
 17999  	//       "type": "string"
 18000  	//     }
 18001  	//   },
 18002  	//   "path": "v1/{+name}:archive",
 18003  	//   "request": {
 18004  	//     "$ref": "GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest"
 18005  	//   },
 18006  	//   "response": {
 18007  	//     "$ref": "GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse"
 18008  	//   },
 18009  	//   "scopes": [
 18010  	//     "https://www.googleapis.com/auth/cloud-platform"
 18011  	//   ]
 18012  	// }
 18013  
 18014  }
 18015  
 18016  // method id "integrations.projects.locations.integrations.versions.create":
 18017  
 18018  type ProjectsLocationsIntegrationsVersionsCreateCall struct {
 18019  	s                                                *Service
 18020  	parent                                           string
 18021  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 18022  	urlParams_                                       gensupport.URLParams
 18023  	ctx_                                             context.Context
 18024  	header_                                          http.Header
 18025  }
 18026  
 18027  // Create: Create a integration with a draft version in the specified
 18028  // project.
 18029  //
 18030  //   - parent: The parent resource where this version will be created.
 18031  //     Format:
 18032  //     projects/{project}/locations/{location}/integrations/{integration}.
 18033  func (r *ProjectsLocationsIntegrationsVersionsService) Create(parent string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsIntegrationsVersionsCreateCall {
 18034  	c := &ProjectsLocationsIntegrationsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18035  	c.parent = parent
 18036  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 18037  	return c
 18038  }
 18039  
 18040  // NewIntegration sets the optional parameter "newIntegration": Set this
 18041  // flag to true, if draft version is to be created for a brand new
 18042  // integration. False, if the request is for an existing integration.
 18043  // For backward compatibility reasons, even if this flag is set to
 18044  // `false` and no existing integration is found, a new draft integration
 18045  // will still be created.
 18046  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) NewIntegration(newIntegration bool) *ProjectsLocationsIntegrationsVersionsCreateCall {
 18047  	c.urlParams_.Set("newIntegration", fmt.Sprint(newIntegration))
 18048  	return c
 18049  }
 18050  
 18051  // Fields allows partial responses to be retrieved. See
 18052  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18053  // for more information.
 18054  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsCreateCall {
 18055  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18056  	return c
 18057  }
 18058  
 18059  // Context sets the context to be used in this call's Do method. Any
 18060  // pending HTTP request will be aborted if the provided context is
 18061  // canceled.
 18062  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsCreateCall {
 18063  	c.ctx_ = ctx
 18064  	return c
 18065  }
 18066  
 18067  // Header returns an http.Header that can be modified by the caller to
 18068  // add HTTP headers to the request.
 18069  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Header() http.Header {
 18070  	if c.header_ == nil {
 18071  		c.header_ = make(http.Header)
 18072  	}
 18073  	return c.header_
 18074  }
 18075  
 18076  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) doRequest(alt string) (*http.Response, error) {
 18077  	reqHeaders := make(http.Header)
 18078  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18079  	for k, v := range c.header_ {
 18080  		reqHeaders[k] = v
 18081  	}
 18082  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18083  	var body io.Reader = nil
 18084  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 18085  	if err != nil {
 18086  		return nil, err
 18087  	}
 18088  	reqHeaders.Set("Content-Type", "application/json")
 18089  	c.urlParams_.Set("alt", alt)
 18090  	c.urlParams_.Set("prettyPrint", "false")
 18091  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/versions")
 18092  	urls += "?" + c.urlParams_.Encode()
 18093  	req, err := http.NewRequest("POST", urls, body)
 18094  	if err != nil {
 18095  		return nil, err
 18096  	}
 18097  	req.Header = reqHeaders
 18098  	googleapi.Expand(req.URL, map[string]string{
 18099  		"parent": c.parent,
 18100  	})
 18101  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18102  }
 18103  
 18104  // Do executes the "integrations.projects.locations.integrations.versions.create" call.
 18105  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 18106  // error will be non-nil. Any non-2xx status code is an error. Response
 18107  // headers are in either
 18108  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 18109  // r or (if a response was returned at all) in
 18110  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18111  // whether the returned error was because http.StatusNotModified was
 18112  // returned.
 18113  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 18114  	gensupport.SetOptions(c.urlParams_, opts...)
 18115  	res, err := c.doRequest("json")
 18116  	if res != nil && res.StatusCode == http.StatusNotModified {
 18117  		if res.Body != nil {
 18118  			res.Body.Close()
 18119  		}
 18120  		return nil, gensupport.WrapError(&googleapi.Error{
 18121  			Code:   res.StatusCode,
 18122  			Header: res.Header,
 18123  		})
 18124  	}
 18125  	if err != nil {
 18126  		return nil, err
 18127  	}
 18128  	defer googleapi.CloseBody(res)
 18129  	if err := googleapi.CheckResponse(res); err != nil {
 18130  		return nil, gensupport.WrapError(err)
 18131  	}
 18132  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 18133  		ServerResponse: googleapi.ServerResponse{
 18134  			Header:         res.Header,
 18135  			HTTPStatusCode: res.StatusCode,
 18136  		},
 18137  	}
 18138  	target := &ret
 18139  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18140  		return nil, err
 18141  	}
 18142  	return ret, nil
 18143  	// {
 18144  	//   "description": "Create a integration with a draft version in the specified project.",
 18145  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions",
 18146  	//   "httpMethod": "POST",
 18147  	//   "id": "integrations.projects.locations.integrations.versions.create",
 18148  	//   "parameterOrder": [
 18149  	//     "parent"
 18150  	//   ],
 18151  	//   "parameters": {
 18152  	//     "newIntegration": {
 18153  	//       "description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.",
 18154  	//       "location": "query",
 18155  	//       "type": "boolean"
 18156  	//     },
 18157  	//     "parent": {
 18158  	//       "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}",
 18159  	//       "location": "path",
 18160  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 18161  	//       "required": true,
 18162  	//       "type": "string"
 18163  	//     }
 18164  	//   },
 18165  	//   "path": "v1/{+parent}/versions",
 18166  	//   "request": {
 18167  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 18168  	//   },
 18169  	//   "response": {
 18170  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 18171  	//   },
 18172  	//   "scopes": [
 18173  	//     "https://www.googleapis.com/auth/cloud-platform"
 18174  	//   ]
 18175  	// }
 18176  
 18177  }
 18178  
 18179  // method id "integrations.projects.locations.integrations.versions.deactivate":
 18180  
 18181  type ProjectsLocationsIntegrationsVersionsDeactivateCall struct {
 18182  	s                                                                 *Service
 18183  	name                                                              string
 18184  	googlecloudintegrationsv1alphadeactivateintegrationversionrequest *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest
 18185  	urlParams_                                                        gensupport.URLParams
 18186  	ctx_                                                              context.Context
 18187  	header_                                                           http.Header
 18188  }
 18189  
 18190  // Deactivate: Sets the status of the ACTIVE integration to SNAPSHOT
 18191  // with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD"
 18192  // and "PUBLISH_REQUESTED" tags do not change. This RPC throws an
 18193  // exception if the version being snapshot is not ACTIVE. Audit fields
 18194  // added include action, action_by, action_timestamp.
 18195  //
 18196  //   - name: The version to deactivate. Format:
 18197  //     projects/{project}/locations/{location}/integrations/{integration}/v
 18198  //     ersions/{version}.
 18199  func (r *ProjectsLocationsIntegrationsVersionsService) Deactivate(name string, googlecloudintegrationsv1alphadeactivateintegrationversionrequest *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsDeactivateCall {
 18200  	c := &ProjectsLocationsIntegrationsVersionsDeactivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18201  	c.name = name
 18202  	c.googlecloudintegrationsv1alphadeactivateintegrationversionrequest = googlecloudintegrationsv1alphadeactivateintegrationversionrequest
 18203  	return c
 18204  }
 18205  
 18206  // Fields allows partial responses to be retrieved. See
 18207  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18208  // for more information.
 18209  func (c *ProjectsLocationsIntegrationsVersionsDeactivateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsDeactivateCall {
 18210  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18211  	return c
 18212  }
 18213  
 18214  // Context sets the context to be used in this call's Do method. Any
 18215  // pending HTTP request will be aborted if the provided context is
 18216  // canceled.
 18217  func (c *ProjectsLocationsIntegrationsVersionsDeactivateCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsDeactivateCall {
 18218  	c.ctx_ = ctx
 18219  	return c
 18220  }
 18221  
 18222  // Header returns an http.Header that can be modified by the caller to
 18223  // add HTTP headers to the request.
 18224  func (c *ProjectsLocationsIntegrationsVersionsDeactivateCall) Header() http.Header {
 18225  	if c.header_ == nil {
 18226  		c.header_ = make(http.Header)
 18227  	}
 18228  	return c.header_
 18229  }
 18230  
 18231  func (c *ProjectsLocationsIntegrationsVersionsDeactivateCall) doRequest(alt string) (*http.Response, error) {
 18232  	reqHeaders := make(http.Header)
 18233  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18234  	for k, v := range c.header_ {
 18235  		reqHeaders[k] = v
 18236  	}
 18237  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18238  	var body io.Reader = nil
 18239  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphadeactivateintegrationversionrequest)
 18240  	if err != nil {
 18241  		return nil, err
 18242  	}
 18243  	reqHeaders.Set("Content-Type", "application/json")
 18244  	c.urlParams_.Set("alt", alt)
 18245  	c.urlParams_.Set("prettyPrint", "false")
 18246  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:deactivate")
 18247  	urls += "?" + c.urlParams_.Encode()
 18248  	req, err := http.NewRequest("POST", urls, body)
 18249  	if err != nil {
 18250  		return nil, err
 18251  	}
 18252  	req.Header = reqHeaders
 18253  	googleapi.Expand(req.URL, map[string]string{
 18254  		"name": c.name,
 18255  	})
 18256  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18257  }
 18258  
 18259  // Do executes the "integrations.projects.locations.integrations.versions.deactivate" call.
 18260  // Exactly one of
 18261  // *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
 18262  // or error will be non-nil. Any non-2xx status code is an error.
 18263  // Response headers are in either
 18264  // *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse.Se
 18265  // rverResponse.Header or (if a response was returned at all) in
 18266  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18267  // whether the returned error was because http.StatusNotModified was
 18268  // returned.
 18269  func (c *ProjectsLocationsIntegrationsVersionsDeactivateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse, error) {
 18270  	gensupport.SetOptions(c.urlParams_, opts...)
 18271  	res, err := c.doRequest("json")
 18272  	if res != nil && res.StatusCode == http.StatusNotModified {
 18273  		if res.Body != nil {
 18274  			res.Body.Close()
 18275  		}
 18276  		return nil, gensupport.WrapError(&googleapi.Error{
 18277  			Code:   res.StatusCode,
 18278  			Header: res.Header,
 18279  		})
 18280  	}
 18281  	if err != nil {
 18282  		return nil, err
 18283  	}
 18284  	defer googleapi.CloseBody(res)
 18285  	if err := googleapi.CheckResponse(res); err != nil {
 18286  		return nil, gensupport.WrapError(err)
 18287  	}
 18288  	ret := &GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse{
 18289  		ServerResponse: googleapi.ServerResponse{
 18290  			Header:         res.Header,
 18291  			HTTPStatusCode: res.StatusCode,
 18292  		},
 18293  	}
 18294  	target := &ret
 18295  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18296  		return nil, err
 18297  	}
 18298  	return ret, nil
 18299  	// {
 18300  	//   "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.",
 18301  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:deactivate",
 18302  	//   "httpMethod": "POST",
 18303  	//   "id": "integrations.projects.locations.integrations.versions.deactivate",
 18304  	//   "parameterOrder": [
 18305  	//     "name"
 18306  	//   ],
 18307  	//   "parameters": {
 18308  	//     "name": {
 18309  	//       "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 18310  	//       "location": "path",
 18311  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 18312  	//       "required": true,
 18313  	//       "type": "string"
 18314  	//     }
 18315  	//   },
 18316  	//   "path": "v1/{+name}:deactivate",
 18317  	//   "request": {
 18318  	//     "$ref": "GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest"
 18319  	//   },
 18320  	//   "response": {
 18321  	//     "$ref": "GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse"
 18322  	//   },
 18323  	//   "scopes": [
 18324  	//     "https://www.googleapis.com/auth/cloud-platform"
 18325  	//   ]
 18326  	// }
 18327  
 18328  }
 18329  
 18330  // method id "integrations.projects.locations.integrations.versions.delete":
 18331  
 18332  type ProjectsLocationsIntegrationsVersionsDeleteCall struct {
 18333  	s          *Service
 18334  	name       string
 18335  	urlParams_ gensupport.URLParams
 18336  	ctx_       context.Context
 18337  	header_    http.Header
 18338  }
 18339  
 18340  // Delete: Soft-deletes the integration. Changes the status of the
 18341  // integration to ARCHIVED. If the integration being ARCHIVED is tagged
 18342  // as "HEAD", the tag is removed from this snapshot and set to the
 18343  // previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED,
 18344  // DUE_FOR_DELETION tags are removed too. This RPC throws an exception
 18345  // if the version being deleted is DRAFT, and if the `locked_by` user is
 18346  // not the same as the user performing the Delete. Audit fields updated
 18347  // include last_modified_timestamp, last_modified_by. Any existing lock
 18348  // is released when Deleting a integration. Currently, there is no
 18349  // undelete mechanism.
 18350  //
 18351  //   - name: The version to delete. Format:
 18352  //     projects/{project}/locations/{location}/integrations/{integration}/v
 18353  //     ersions/{version}.
 18354  func (r *ProjectsLocationsIntegrationsVersionsService) Delete(name string) *ProjectsLocationsIntegrationsVersionsDeleteCall {
 18355  	c := &ProjectsLocationsIntegrationsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18356  	c.name = name
 18357  	return c
 18358  }
 18359  
 18360  // Fields allows partial responses to be retrieved. See
 18361  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18362  // for more information.
 18363  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsDeleteCall {
 18364  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18365  	return c
 18366  }
 18367  
 18368  // Context sets the context to be used in this call's Do method. Any
 18369  // pending HTTP request will be aborted if the provided context is
 18370  // canceled.
 18371  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsDeleteCall {
 18372  	c.ctx_ = ctx
 18373  	return c
 18374  }
 18375  
 18376  // Header returns an http.Header that can be modified by the caller to
 18377  // add HTTP headers to the request.
 18378  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Header() http.Header {
 18379  	if c.header_ == nil {
 18380  		c.header_ = make(http.Header)
 18381  	}
 18382  	return c.header_
 18383  }
 18384  
 18385  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) {
 18386  	reqHeaders := make(http.Header)
 18387  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18388  	for k, v := range c.header_ {
 18389  		reqHeaders[k] = v
 18390  	}
 18391  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18392  	var body io.Reader = nil
 18393  	c.urlParams_.Set("alt", alt)
 18394  	c.urlParams_.Set("prettyPrint", "false")
 18395  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 18396  	urls += "?" + c.urlParams_.Encode()
 18397  	req, err := http.NewRequest("DELETE", urls, body)
 18398  	if err != nil {
 18399  		return nil, err
 18400  	}
 18401  	req.Header = reqHeaders
 18402  	googleapi.Expand(req.URL, map[string]string{
 18403  		"name": c.name,
 18404  	})
 18405  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18406  }
 18407  
 18408  // Do executes the "integrations.projects.locations.integrations.versions.delete" call.
 18409  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 18410  // non-2xx status code is an error. Response headers are in either
 18411  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 18412  // returned at all) in error.(*googleapi.Error).Header. Use
 18413  // googleapi.IsNotModified to check whether the returned error was
 18414  // because http.StatusNotModified was returned.
 18415  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 18416  	gensupport.SetOptions(c.urlParams_, opts...)
 18417  	res, err := c.doRequest("json")
 18418  	if res != nil && res.StatusCode == http.StatusNotModified {
 18419  		if res.Body != nil {
 18420  			res.Body.Close()
 18421  		}
 18422  		return nil, gensupport.WrapError(&googleapi.Error{
 18423  			Code:   res.StatusCode,
 18424  			Header: res.Header,
 18425  		})
 18426  	}
 18427  	if err != nil {
 18428  		return nil, err
 18429  	}
 18430  	defer googleapi.CloseBody(res)
 18431  	if err := googleapi.CheckResponse(res); err != nil {
 18432  		return nil, gensupport.WrapError(err)
 18433  	}
 18434  	ret := &GoogleProtobufEmpty{
 18435  		ServerResponse: googleapi.ServerResponse{
 18436  			Header:         res.Header,
 18437  			HTTPStatusCode: res.StatusCode,
 18438  		},
 18439  	}
 18440  	target := &ret
 18441  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18442  		return nil, err
 18443  	}
 18444  	return ret, nil
 18445  	// {
 18446  	//   "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.",
 18447  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}",
 18448  	//   "httpMethod": "DELETE",
 18449  	//   "id": "integrations.projects.locations.integrations.versions.delete",
 18450  	//   "parameterOrder": [
 18451  	//     "name"
 18452  	//   ],
 18453  	//   "parameters": {
 18454  	//     "name": {
 18455  	//       "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 18456  	//       "location": "path",
 18457  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 18458  	//       "required": true,
 18459  	//       "type": "string"
 18460  	//     }
 18461  	//   },
 18462  	//   "path": "v1/{+name}",
 18463  	//   "response": {
 18464  	//     "$ref": "GoogleProtobufEmpty"
 18465  	//   },
 18466  	//   "scopes": [
 18467  	//     "https://www.googleapis.com/auth/cloud-platform"
 18468  	//   ]
 18469  	// }
 18470  
 18471  }
 18472  
 18473  // method id "integrations.projects.locations.integrations.versions.download":
 18474  
 18475  type ProjectsLocationsIntegrationsVersionsDownloadCall struct {
 18476  	s            *Service
 18477  	name         string
 18478  	urlParams_   gensupport.URLParams
 18479  	ifNoneMatch_ string
 18480  	ctx_         context.Context
 18481  	header_      http.Header
 18482  }
 18483  
 18484  // Download: Downloads an integration. Retrieves the
 18485  // `IntegrationVersion` for a given `integration_id` and returns the
 18486  // response as a string.
 18487  //
 18488  //   - name: The version to download. Format:
 18489  //     projects/{project}/locations/{location}/integrations/{integration}/v
 18490  //     ersions/{version}.
 18491  func (r *ProjectsLocationsIntegrationsVersionsService) Download(name string) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 18492  	c := &ProjectsLocationsIntegrationsVersionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18493  	c.name = name
 18494  	return c
 18495  }
 18496  
 18497  // FileFormat sets the optional parameter "fileFormat": File format for
 18498  // download request.
 18499  //
 18500  // Possible values:
 18501  //
 18502  //	"FILE_FORMAT_UNSPECIFIED" - Unspecified file format
 18503  //	"JSON" - JSON File Format
 18504  //	"YAML" - YAML File Format
 18505  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) FileFormat(fileFormat string) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 18506  	c.urlParams_.Set("fileFormat", fileFormat)
 18507  	return c
 18508  }
 18509  
 18510  // Fields allows partial responses to be retrieved. See
 18511  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18512  // for more information.
 18513  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 18514  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18515  	return c
 18516  }
 18517  
 18518  // IfNoneMatch sets the optional parameter which makes the operation
 18519  // fail if the object's ETag matches the given value. This is useful for
 18520  // getting updates only after the object has changed since the last
 18521  // request. Use googleapi.IsNotModified to check whether the response
 18522  // error from Do is the result of In-None-Match.
 18523  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 18524  	c.ifNoneMatch_ = entityTag
 18525  	return c
 18526  }
 18527  
 18528  // Context sets the context to be used in this call's Do method. Any
 18529  // pending HTTP request will be aborted if the provided context is
 18530  // canceled.
 18531  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 18532  	c.ctx_ = ctx
 18533  	return c
 18534  }
 18535  
 18536  // Header returns an http.Header that can be modified by the caller to
 18537  // add HTTP headers to the request.
 18538  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Header() http.Header {
 18539  	if c.header_ == nil {
 18540  		c.header_ = make(http.Header)
 18541  	}
 18542  	return c.header_
 18543  }
 18544  
 18545  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) doRequest(alt string) (*http.Response, error) {
 18546  	reqHeaders := make(http.Header)
 18547  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18548  	for k, v := range c.header_ {
 18549  		reqHeaders[k] = v
 18550  	}
 18551  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18552  	if c.ifNoneMatch_ != "" {
 18553  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18554  	}
 18555  	var body io.Reader = nil
 18556  	c.urlParams_.Set("alt", alt)
 18557  	c.urlParams_.Set("prettyPrint", "false")
 18558  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:download")
 18559  	urls += "?" + c.urlParams_.Encode()
 18560  	req, err := http.NewRequest("GET", urls, body)
 18561  	if err != nil {
 18562  		return nil, err
 18563  	}
 18564  	req.Header = reqHeaders
 18565  	googleapi.Expand(req.URL, map[string]string{
 18566  		"name": c.name,
 18567  	})
 18568  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18569  }
 18570  
 18571  // Do executes the "integrations.projects.locations.integrations.versions.download" call.
 18572  // Exactly one of
 18573  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse or
 18574  // error will be non-nil. Any non-2xx status code is an error. Response
 18575  // headers are in either
 18576  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse.Serv
 18577  // erResponse.Header or (if a response was returned at all) in
 18578  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18579  // whether the returned error was because http.StatusNotModified was
 18580  // returned.
 18581  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse, error) {
 18582  	gensupport.SetOptions(c.urlParams_, opts...)
 18583  	res, err := c.doRequest("json")
 18584  	if res != nil && res.StatusCode == http.StatusNotModified {
 18585  		if res.Body != nil {
 18586  			res.Body.Close()
 18587  		}
 18588  		return nil, gensupport.WrapError(&googleapi.Error{
 18589  			Code:   res.StatusCode,
 18590  			Header: res.Header,
 18591  		})
 18592  	}
 18593  	if err != nil {
 18594  		return nil, err
 18595  	}
 18596  	defer googleapi.CloseBody(res)
 18597  	if err := googleapi.CheckResponse(res); err != nil {
 18598  		return nil, gensupport.WrapError(err)
 18599  	}
 18600  	ret := &GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse{
 18601  		ServerResponse: googleapi.ServerResponse{
 18602  			Header:         res.Header,
 18603  			HTTPStatusCode: res.StatusCode,
 18604  		},
 18605  	}
 18606  	target := &ret
 18607  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18608  		return nil, err
 18609  	}
 18610  	return ret, nil
 18611  	// {
 18612  	//   "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.",
 18613  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:download",
 18614  	//   "httpMethod": "GET",
 18615  	//   "id": "integrations.projects.locations.integrations.versions.download",
 18616  	//   "parameterOrder": [
 18617  	//     "name"
 18618  	//   ],
 18619  	//   "parameters": {
 18620  	//     "fileFormat": {
 18621  	//       "description": "File format for download request.",
 18622  	//       "enum": [
 18623  	//         "FILE_FORMAT_UNSPECIFIED",
 18624  	//         "JSON",
 18625  	//         "YAML"
 18626  	//       ],
 18627  	//       "enumDescriptions": [
 18628  	//         "Unspecified file format",
 18629  	//         "JSON File Format",
 18630  	//         "YAML File Format"
 18631  	//       ],
 18632  	//       "location": "query",
 18633  	//       "type": "string"
 18634  	//     },
 18635  	//     "name": {
 18636  	//       "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 18637  	//       "location": "path",
 18638  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 18639  	//       "required": true,
 18640  	//       "type": "string"
 18641  	//     }
 18642  	//   },
 18643  	//   "path": "v1/{+name}:download",
 18644  	//   "response": {
 18645  	//     "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse"
 18646  	//   },
 18647  	//   "scopes": [
 18648  	//     "https://www.googleapis.com/auth/cloud-platform"
 18649  	//   ]
 18650  	// }
 18651  
 18652  }
 18653  
 18654  // method id "integrations.projects.locations.integrations.versions.get":
 18655  
 18656  type ProjectsLocationsIntegrationsVersionsGetCall struct {
 18657  	s            *Service
 18658  	name         string
 18659  	urlParams_   gensupport.URLParams
 18660  	ifNoneMatch_ string
 18661  	ctx_         context.Context
 18662  	header_      http.Header
 18663  }
 18664  
 18665  // Get: Get a integration in the specified project.
 18666  //
 18667  //   - name: The version to retrieve. Format:
 18668  //     projects/{project}/locations/{location}/integrations/{integration}/v
 18669  //     ersions/{version}.
 18670  func (r *ProjectsLocationsIntegrationsVersionsService) Get(name string) *ProjectsLocationsIntegrationsVersionsGetCall {
 18671  	c := &ProjectsLocationsIntegrationsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18672  	c.name = name
 18673  	return c
 18674  }
 18675  
 18676  // Fields allows partial responses to be retrieved. See
 18677  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18678  // for more information.
 18679  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsGetCall {
 18680  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18681  	return c
 18682  }
 18683  
 18684  // IfNoneMatch sets the optional parameter which makes the operation
 18685  // fail if the object's ETag matches the given value. This is useful for
 18686  // getting updates only after the object has changed since the last
 18687  // request. Use googleapi.IsNotModified to check whether the response
 18688  // error from Do is the result of In-None-Match.
 18689  func (c *ProjectsLocationsIntegrationsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsVersionsGetCall {
 18690  	c.ifNoneMatch_ = entityTag
 18691  	return c
 18692  }
 18693  
 18694  // Context sets the context to be used in this call's Do method. Any
 18695  // pending HTTP request will be aborted if the provided context is
 18696  // canceled.
 18697  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsGetCall {
 18698  	c.ctx_ = ctx
 18699  	return c
 18700  }
 18701  
 18702  // Header returns an http.Header that can be modified by the caller to
 18703  // add HTTP headers to the request.
 18704  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Header() http.Header {
 18705  	if c.header_ == nil {
 18706  		c.header_ = make(http.Header)
 18707  	}
 18708  	return c.header_
 18709  }
 18710  
 18711  func (c *ProjectsLocationsIntegrationsVersionsGetCall) doRequest(alt string) (*http.Response, error) {
 18712  	reqHeaders := make(http.Header)
 18713  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18714  	for k, v := range c.header_ {
 18715  		reqHeaders[k] = v
 18716  	}
 18717  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18718  	if c.ifNoneMatch_ != "" {
 18719  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18720  	}
 18721  	var body io.Reader = nil
 18722  	c.urlParams_.Set("alt", alt)
 18723  	c.urlParams_.Set("prettyPrint", "false")
 18724  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 18725  	urls += "?" + c.urlParams_.Encode()
 18726  	req, err := http.NewRequest("GET", urls, body)
 18727  	if err != nil {
 18728  		return nil, err
 18729  	}
 18730  	req.Header = reqHeaders
 18731  	googleapi.Expand(req.URL, map[string]string{
 18732  		"name": c.name,
 18733  	})
 18734  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18735  }
 18736  
 18737  // Do executes the "integrations.projects.locations.integrations.versions.get" call.
 18738  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 18739  // error will be non-nil. Any non-2xx status code is an error. Response
 18740  // headers are in either
 18741  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 18742  // r or (if a response was returned at all) in
 18743  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18744  // whether the returned error was because http.StatusNotModified was
 18745  // returned.
 18746  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 18747  	gensupport.SetOptions(c.urlParams_, opts...)
 18748  	res, err := c.doRequest("json")
 18749  	if res != nil && res.StatusCode == http.StatusNotModified {
 18750  		if res.Body != nil {
 18751  			res.Body.Close()
 18752  		}
 18753  		return nil, gensupport.WrapError(&googleapi.Error{
 18754  			Code:   res.StatusCode,
 18755  			Header: res.Header,
 18756  		})
 18757  	}
 18758  	if err != nil {
 18759  		return nil, err
 18760  	}
 18761  	defer googleapi.CloseBody(res)
 18762  	if err := googleapi.CheckResponse(res); err != nil {
 18763  		return nil, gensupport.WrapError(err)
 18764  	}
 18765  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 18766  		ServerResponse: googleapi.ServerResponse{
 18767  			Header:         res.Header,
 18768  			HTTPStatusCode: res.StatusCode,
 18769  		},
 18770  	}
 18771  	target := &ret
 18772  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18773  		return nil, err
 18774  	}
 18775  	return ret, nil
 18776  	// {
 18777  	//   "description": "Get a integration in the specified project.",
 18778  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}",
 18779  	//   "httpMethod": "GET",
 18780  	//   "id": "integrations.projects.locations.integrations.versions.get",
 18781  	//   "parameterOrder": [
 18782  	//     "name"
 18783  	//   ],
 18784  	//   "parameters": {
 18785  	//     "name": {
 18786  	//       "description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 18787  	//       "location": "path",
 18788  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 18789  	//       "required": true,
 18790  	//       "type": "string"
 18791  	//     }
 18792  	//   },
 18793  	//   "path": "v1/{+name}",
 18794  	//   "response": {
 18795  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 18796  	//   },
 18797  	//   "scopes": [
 18798  	//     "https://www.googleapis.com/auth/cloud-platform"
 18799  	//   ]
 18800  	// }
 18801  
 18802  }
 18803  
 18804  // method id "integrations.projects.locations.integrations.versions.list":
 18805  
 18806  type ProjectsLocationsIntegrationsVersionsListCall struct {
 18807  	s            *Service
 18808  	parent       string
 18809  	urlParams_   gensupport.URLParams
 18810  	ifNoneMatch_ string
 18811  	ctx_         context.Context
 18812  	header_      http.Header
 18813  }
 18814  
 18815  // List: Returns the list of all integration versions in the specified
 18816  // project.
 18817  //
 18818  //   - parent: The parent resource where this version will be created.
 18819  //     Format:
 18820  //     projects/{project}/locations/{location}/integrations/{integration}
 18821  //     Specifically, when parent equals: 1.
 18822  //     projects//locations//integrations/, Meaning: "List versions (with
 18823  //     filter) for a particular integration". 2.
 18824  //     projects//locations//integrations/- Meaning: "List versions (with
 18825  //     filter) for a client within a particular region". 3.
 18826  //     projects//locations/-/integrations/- Meaning: "List versions (with
 18827  //     filter) for a client".
 18828  func (r *ProjectsLocationsIntegrationsVersionsService) List(parent string) *ProjectsLocationsIntegrationsVersionsListCall {
 18829  	c := &ProjectsLocationsIntegrationsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18830  	c.parent = parent
 18831  	return c
 18832  }
 18833  
 18834  // FieldMask sets the optional parameter "fieldMask": The field mask
 18835  // which specifies the particular data to be returned.
 18836  func (c *ProjectsLocationsIntegrationsVersionsListCall) FieldMask(fieldMask string) *ProjectsLocationsIntegrationsVersionsListCall {
 18837  	c.urlParams_.Set("fieldMask", fieldMask)
 18838  	return c
 18839  }
 18840  
 18841  // Filter sets the optional parameter "filter": Filter on fields of
 18842  // IntegrationVersion. Fields can be compared with literal values by use
 18843  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 18844  // >=" (greater than or equal to), "<=" (less than or equal to), and
 18845  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 18846  // are written using NOT, AND, and OR keywords. For example,
 18847  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 18848  // Filtering cannot be performed on repeated fields like `task_config`.
 18849  func (c *ProjectsLocationsIntegrationsVersionsListCall) Filter(filter string) *ProjectsLocationsIntegrationsVersionsListCall {
 18850  	c.urlParams_.Set("filter", filter)
 18851  	return c
 18852  }
 18853  
 18854  // OrderBy sets the optional parameter "orderBy": The results would be
 18855  // returned in order you specified here. Currently supported sort keys
 18856  // are: Descending sort order for "last_modified_time", "created_time",
 18857  // "snapshot_number" Ascending sort order for "name".
 18858  func (c *ProjectsLocationsIntegrationsVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsVersionsListCall {
 18859  	c.urlParams_.Set("orderBy", orderBy)
 18860  	return c
 18861  }
 18862  
 18863  // PageSize sets the optional parameter "pageSize": The maximum number
 18864  // of versions to return. The service may return fewer than this value.
 18865  // If unspecified, at most 50 versions will be returned. The maximum
 18866  // value is 1000; values above 1000 will be coerced to 1000.
 18867  func (c *ProjectsLocationsIntegrationsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsVersionsListCall {
 18868  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 18869  	return c
 18870  }
 18871  
 18872  // PageToken sets the optional parameter "pageToken": A page token,
 18873  // received from a previous `ListIntegrationVersions` call. Provide this
 18874  // to retrieve the subsequent page. When paginating, all other
 18875  // parameters provided to `ListIntegrationVersions` must match the call
 18876  // that provided the page token.
 18877  func (c *ProjectsLocationsIntegrationsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsVersionsListCall {
 18878  	c.urlParams_.Set("pageToken", pageToken)
 18879  	return c
 18880  }
 18881  
 18882  // Fields allows partial responses to be retrieved. See
 18883  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18884  // for more information.
 18885  func (c *ProjectsLocationsIntegrationsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsListCall {
 18886  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18887  	return c
 18888  }
 18889  
 18890  // IfNoneMatch sets the optional parameter which makes the operation
 18891  // fail if the object's ETag matches the given value. This is useful for
 18892  // getting updates only after the object has changed since the last
 18893  // request. Use googleapi.IsNotModified to check whether the response
 18894  // error from Do is the result of In-None-Match.
 18895  func (c *ProjectsLocationsIntegrationsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsVersionsListCall {
 18896  	c.ifNoneMatch_ = entityTag
 18897  	return c
 18898  }
 18899  
 18900  // Context sets the context to be used in this call's Do method. Any
 18901  // pending HTTP request will be aborted if the provided context is
 18902  // canceled.
 18903  func (c *ProjectsLocationsIntegrationsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsListCall {
 18904  	c.ctx_ = ctx
 18905  	return c
 18906  }
 18907  
 18908  // Header returns an http.Header that can be modified by the caller to
 18909  // add HTTP headers to the request.
 18910  func (c *ProjectsLocationsIntegrationsVersionsListCall) Header() http.Header {
 18911  	if c.header_ == nil {
 18912  		c.header_ = make(http.Header)
 18913  	}
 18914  	return c.header_
 18915  }
 18916  
 18917  func (c *ProjectsLocationsIntegrationsVersionsListCall) doRequest(alt string) (*http.Response, error) {
 18918  	reqHeaders := make(http.Header)
 18919  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18920  	for k, v := range c.header_ {
 18921  		reqHeaders[k] = v
 18922  	}
 18923  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18924  	if c.ifNoneMatch_ != "" {
 18925  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18926  	}
 18927  	var body io.Reader = nil
 18928  	c.urlParams_.Set("alt", alt)
 18929  	c.urlParams_.Set("prettyPrint", "false")
 18930  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/versions")
 18931  	urls += "?" + c.urlParams_.Encode()
 18932  	req, err := http.NewRequest("GET", urls, body)
 18933  	if err != nil {
 18934  		return nil, err
 18935  	}
 18936  	req.Header = reqHeaders
 18937  	googleapi.Expand(req.URL, map[string]string{
 18938  		"parent": c.parent,
 18939  	})
 18940  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18941  }
 18942  
 18943  // Do executes the "integrations.projects.locations.integrations.versions.list" call.
 18944  // Exactly one of
 18945  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse or
 18946  // error will be non-nil. Any non-2xx status code is an error. Response
 18947  // headers are in either
 18948  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse.ServerR
 18949  // esponse.Header or (if a response was returned at all) in
 18950  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18951  // whether the returned error was because http.StatusNotModified was
 18952  // returned.
 18953  func (c *ProjectsLocationsIntegrationsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse, error) {
 18954  	gensupport.SetOptions(c.urlParams_, opts...)
 18955  	res, err := c.doRequest("json")
 18956  	if res != nil && res.StatusCode == http.StatusNotModified {
 18957  		if res.Body != nil {
 18958  			res.Body.Close()
 18959  		}
 18960  		return nil, gensupport.WrapError(&googleapi.Error{
 18961  			Code:   res.StatusCode,
 18962  			Header: res.Header,
 18963  		})
 18964  	}
 18965  	if err != nil {
 18966  		return nil, err
 18967  	}
 18968  	defer googleapi.CloseBody(res)
 18969  	if err := googleapi.CheckResponse(res); err != nil {
 18970  		return nil, gensupport.WrapError(err)
 18971  	}
 18972  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse{
 18973  		ServerResponse: googleapi.ServerResponse{
 18974  			Header:         res.Header,
 18975  			HTTPStatusCode: res.StatusCode,
 18976  		},
 18977  	}
 18978  	target := &ret
 18979  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18980  		return nil, err
 18981  	}
 18982  	return ret, nil
 18983  	// {
 18984  	//   "description": "Returns the list of all integration versions in the specified project.",
 18985  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions",
 18986  	//   "httpMethod": "GET",
 18987  	//   "id": "integrations.projects.locations.integrations.versions.list",
 18988  	//   "parameterOrder": [
 18989  	//     "parent"
 18990  	//   ],
 18991  	//   "parameters": {
 18992  	//     "fieldMask": {
 18993  	//       "description": "The field mask which specifies the particular data to be returned.",
 18994  	//       "format": "google-fieldmask",
 18995  	//       "location": "query",
 18996  	//       "type": "string"
 18997  	//     },
 18998  	//     "filter": {
 18999  	//       "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \"\u003e\" (greater), \"\u003c\" (less than), \u003e=\" (greater than or equal to), \"\u003c=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.",
 19000  	//       "location": "query",
 19001  	//       "type": "string"
 19002  	//     },
 19003  	//     "orderBy": {
 19004  	//       "description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\", \"snapshot_number\" Ascending sort order for \"name\".",
 19005  	//       "location": "query",
 19006  	//       "type": "string"
 19007  	//     },
 19008  	//     "pageSize": {
 19009  	//       "description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
 19010  	//       "format": "int32",
 19011  	//       "location": "query",
 19012  	//       "type": "integer"
 19013  	//     },
 19014  	//     "pageToken": {
 19015  	//       "description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.",
 19016  	//       "location": "query",
 19017  	//       "type": "string"
 19018  	//     },
 19019  	//     "parent": {
 19020  	//       "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\". 3. projects//locations/-/integrations/- Meaning: \"List versions (with filter) for a client\".",
 19021  	//       "location": "path",
 19022  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 19023  	//       "required": true,
 19024  	//       "type": "string"
 19025  	//     }
 19026  	//   },
 19027  	//   "path": "v1/{+parent}/versions",
 19028  	//   "response": {
 19029  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse"
 19030  	//   },
 19031  	//   "scopes": [
 19032  	//     "https://www.googleapis.com/auth/cloud-platform"
 19033  	//   ]
 19034  	// }
 19035  
 19036  }
 19037  
 19038  // Pages invokes f for each page of results.
 19039  // A non-nil error returned from f will halt the iteration.
 19040  // The provided context supersedes any context provided to the Context method.
 19041  func (c *ProjectsLocationsIntegrationsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse) error) error {
 19042  	c.ctx_ = ctx
 19043  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 19044  	for {
 19045  		x, err := c.Do()
 19046  		if err != nil {
 19047  			return err
 19048  		}
 19049  		if err := f(x); err != nil {
 19050  			return err
 19051  		}
 19052  		if x.NextPageToken == "" {
 19053  			return nil
 19054  		}
 19055  		c.PageToken(x.NextPageToken)
 19056  	}
 19057  }
 19058  
 19059  // method id "integrations.projects.locations.integrations.versions.patch":
 19060  
 19061  type ProjectsLocationsIntegrationsVersionsPatchCall struct {
 19062  	s                                                *Service
 19063  	name                                             string
 19064  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 19065  	urlParams_                                       gensupport.URLParams
 19066  	ctx_                                             context.Context
 19067  	header_                                          http.Header
 19068  }
 19069  
 19070  // Patch: Update a integration with a draft version in the specified
 19071  // project.
 19072  //
 19073  // - name: Output only. Auto-generated primary key.
 19074  func (r *ProjectsLocationsIntegrationsVersionsService) Patch(name string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsIntegrationsVersionsPatchCall {
 19075  	c := &ProjectsLocationsIntegrationsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19076  	c.name = name
 19077  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 19078  	return c
 19079  }
 19080  
 19081  // UpdateMask sets the optional parameter "updateMask": Field mask
 19082  // specifying the fields in the above integration that have been
 19083  // modified and need to be updated.
 19084  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIntegrationsVersionsPatchCall {
 19085  	c.urlParams_.Set("updateMask", updateMask)
 19086  	return c
 19087  }
 19088  
 19089  // Fields allows partial responses to be retrieved. See
 19090  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19091  // for more information.
 19092  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsPatchCall {
 19093  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19094  	return c
 19095  }
 19096  
 19097  // Context sets the context to be used in this call's Do method. Any
 19098  // pending HTTP request will be aborted if the provided context is
 19099  // canceled.
 19100  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsPatchCall {
 19101  	c.ctx_ = ctx
 19102  	return c
 19103  }
 19104  
 19105  // Header returns an http.Header that can be modified by the caller to
 19106  // add HTTP headers to the request.
 19107  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Header() http.Header {
 19108  	if c.header_ == nil {
 19109  		c.header_ = make(http.Header)
 19110  	}
 19111  	return c.header_
 19112  }
 19113  
 19114  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) doRequest(alt string) (*http.Response, error) {
 19115  	reqHeaders := make(http.Header)
 19116  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19117  	for k, v := range c.header_ {
 19118  		reqHeaders[k] = v
 19119  	}
 19120  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19121  	var body io.Reader = nil
 19122  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 19123  	if err != nil {
 19124  		return nil, err
 19125  	}
 19126  	reqHeaders.Set("Content-Type", "application/json")
 19127  	c.urlParams_.Set("alt", alt)
 19128  	c.urlParams_.Set("prettyPrint", "false")
 19129  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 19130  	urls += "?" + c.urlParams_.Encode()
 19131  	req, err := http.NewRequest("PATCH", urls, body)
 19132  	if err != nil {
 19133  		return nil, err
 19134  	}
 19135  	req.Header = reqHeaders
 19136  	googleapi.Expand(req.URL, map[string]string{
 19137  		"name": c.name,
 19138  	})
 19139  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19140  }
 19141  
 19142  // Do executes the "integrations.projects.locations.integrations.versions.patch" call.
 19143  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 19144  // error will be non-nil. Any non-2xx status code is an error. Response
 19145  // headers are in either
 19146  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 19147  // r or (if a response was returned at all) in
 19148  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19149  // whether the returned error was because http.StatusNotModified was
 19150  // returned.
 19151  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 19152  	gensupport.SetOptions(c.urlParams_, opts...)
 19153  	res, err := c.doRequest("json")
 19154  	if res != nil && res.StatusCode == http.StatusNotModified {
 19155  		if res.Body != nil {
 19156  			res.Body.Close()
 19157  		}
 19158  		return nil, gensupport.WrapError(&googleapi.Error{
 19159  			Code:   res.StatusCode,
 19160  			Header: res.Header,
 19161  		})
 19162  	}
 19163  	if err != nil {
 19164  		return nil, err
 19165  	}
 19166  	defer googleapi.CloseBody(res)
 19167  	if err := googleapi.CheckResponse(res); err != nil {
 19168  		return nil, gensupport.WrapError(err)
 19169  	}
 19170  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 19171  		ServerResponse: googleapi.ServerResponse{
 19172  			Header:         res.Header,
 19173  			HTTPStatusCode: res.StatusCode,
 19174  		},
 19175  	}
 19176  	target := &ret
 19177  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19178  		return nil, err
 19179  	}
 19180  	return ret, nil
 19181  	// {
 19182  	//   "description": "Update a integration with a draft version in the specified project.",
 19183  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}",
 19184  	//   "httpMethod": "PATCH",
 19185  	//   "id": "integrations.projects.locations.integrations.versions.patch",
 19186  	//   "parameterOrder": [
 19187  	//     "name"
 19188  	//   ],
 19189  	//   "parameters": {
 19190  	//     "name": {
 19191  	//       "description": "Output only. Auto-generated primary key.",
 19192  	//       "location": "path",
 19193  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 19194  	//       "required": true,
 19195  	//       "type": "string"
 19196  	//     },
 19197  	//     "updateMask": {
 19198  	//       "description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.",
 19199  	//       "format": "google-fieldmask",
 19200  	//       "location": "query",
 19201  	//       "type": "string"
 19202  	//     }
 19203  	//   },
 19204  	//   "path": "v1/{+name}",
 19205  	//   "request": {
 19206  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 19207  	//   },
 19208  	//   "response": {
 19209  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 19210  	//   },
 19211  	//   "scopes": [
 19212  	//     "https://www.googleapis.com/auth/cloud-platform"
 19213  	//   ]
 19214  	// }
 19215  
 19216  }
 19217  
 19218  // method id "integrations.projects.locations.integrations.versions.publish":
 19219  
 19220  type ProjectsLocationsIntegrationsVersionsPublishCall struct {
 19221  	s                                                              *Service
 19222  	name                                                           string
 19223  	googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest
 19224  	urlParams_                                                     gensupport.URLParams
 19225  	ctx_                                                           context.Context
 19226  	header_                                                        http.Header
 19227  }
 19228  
 19229  // Publish: This RPC throws an exception if the integration is in
 19230  // ARCHIVED or ACTIVE state. This RPC throws an exception if the version
 19231  // being published is DRAFT, and if the `locked_by` user is not the same
 19232  // as the user performing the Publish. Audit fields updated include
 19233  // last_published_timestamp, last_published_by, last_modified_timestamp,
 19234  // last_modified_by. Any existing lock is on this integration is
 19235  // released.
 19236  //
 19237  //   - name: The version to publish. Format:
 19238  //     projects/{project}/locations/{location}/integrations/{integration}/v
 19239  //     ersions/{version}.
 19240  func (r *ProjectsLocationsIntegrationsVersionsService) Publish(name string, googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsPublishCall {
 19241  	c := &ProjectsLocationsIntegrationsVersionsPublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19242  	c.name = name
 19243  	c.googlecloudintegrationsv1alphapublishintegrationversionrequest = googlecloudintegrationsv1alphapublishintegrationversionrequest
 19244  	return c
 19245  }
 19246  
 19247  // Fields allows partial responses to be retrieved. See
 19248  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19249  // for more information.
 19250  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsPublishCall {
 19251  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19252  	return c
 19253  }
 19254  
 19255  // Context sets the context to be used in this call's Do method. Any
 19256  // pending HTTP request will be aborted if the provided context is
 19257  // canceled.
 19258  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsPublishCall {
 19259  	c.ctx_ = ctx
 19260  	return c
 19261  }
 19262  
 19263  // Header returns an http.Header that can be modified by the caller to
 19264  // add HTTP headers to the request.
 19265  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Header() http.Header {
 19266  	if c.header_ == nil {
 19267  		c.header_ = make(http.Header)
 19268  	}
 19269  	return c.header_
 19270  }
 19271  
 19272  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) doRequest(alt string) (*http.Response, error) {
 19273  	reqHeaders := make(http.Header)
 19274  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19275  	for k, v := range c.header_ {
 19276  		reqHeaders[k] = v
 19277  	}
 19278  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19279  	var body io.Reader = nil
 19280  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphapublishintegrationversionrequest)
 19281  	if err != nil {
 19282  		return nil, err
 19283  	}
 19284  	reqHeaders.Set("Content-Type", "application/json")
 19285  	c.urlParams_.Set("alt", alt)
 19286  	c.urlParams_.Set("prettyPrint", "false")
 19287  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:publish")
 19288  	urls += "?" + c.urlParams_.Encode()
 19289  	req, err := http.NewRequest("POST", urls, body)
 19290  	if err != nil {
 19291  		return nil, err
 19292  	}
 19293  	req.Header = reqHeaders
 19294  	googleapi.Expand(req.URL, map[string]string{
 19295  		"name": c.name,
 19296  	})
 19297  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19298  }
 19299  
 19300  // Do executes the "integrations.projects.locations.integrations.versions.publish" call.
 19301  // Exactly one of
 19302  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse or
 19303  // error will be non-nil. Any non-2xx status code is an error. Response
 19304  // headers are in either
 19305  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse.Serve
 19306  // rResponse.Header or (if a response was returned at all) in
 19307  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19308  // whether the returned error was because http.StatusNotModified was
 19309  // returned.
 19310  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse, error) {
 19311  	gensupport.SetOptions(c.urlParams_, opts...)
 19312  	res, err := c.doRequest("json")
 19313  	if res != nil && res.StatusCode == http.StatusNotModified {
 19314  		if res.Body != nil {
 19315  			res.Body.Close()
 19316  		}
 19317  		return nil, gensupport.WrapError(&googleapi.Error{
 19318  			Code:   res.StatusCode,
 19319  			Header: res.Header,
 19320  		})
 19321  	}
 19322  	if err != nil {
 19323  		return nil, err
 19324  	}
 19325  	defer googleapi.CloseBody(res)
 19326  	if err := googleapi.CheckResponse(res); err != nil {
 19327  		return nil, gensupport.WrapError(err)
 19328  	}
 19329  	ret := &GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse{
 19330  		ServerResponse: googleapi.ServerResponse{
 19331  			Header:         res.Header,
 19332  			HTTPStatusCode: res.StatusCode,
 19333  		},
 19334  	}
 19335  	target := &ret
 19336  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19337  		return nil, err
 19338  	}
 19339  	return ret, nil
 19340  	// {
 19341  	//   "description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.",
 19342  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:publish",
 19343  	//   "httpMethod": "POST",
 19344  	//   "id": "integrations.projects.locations.integrations.versions.publish",
 19345  	//   "parameterOrder": [
 19346  	//     "name"
 19347  	//   ],
 19348  	//   "parameters": {
 19349  	//     "name": {
 19350  	//       "description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 19351  	//       "location": "path",
 19352  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 19353  	//       "required": true,
 19354  	//       "type": "string"
 19355  	//     }
 19356  	//   },
 19357  	//   "path": "v1/{+name}:publish",
 19358  	//   "request": {
 19359  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest"
 19360  	//   },
 19361  	//   "response": {
 19362  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse"
 19363  	//   },
 19364  	//   "scopes": [
 19365  	//     "https://www.googleapis.com/auth/cloud-platform"
 19366  	//   ]
 19367  	// }
 19368  
 19369  }
 19370  
 19371  // method id "integrations.projects.locations.integrations.versions.unpublish":
 19372  
 19373  type ProjectsLocationsIntegrationsVersionsUnpublishCall struct {
 19374  	s                                                                *Service
 19375  	name                                                             string
 19376  	googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
 19377  	urlParams_                                                       gensupport.URLParams
 19378  	ctx_                                                             context.Context
 19379  	header_                                                          http.Header
 19380  }
 19381  
 19382  // Unpublish: Sets the status of the ACTIVE integration to SNAPSHOT with
 19383  // a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and
 19384  // "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception
 19385  // if the version being snapshot is not ACTIVE. Audit fields added
 19386  // include action, action_by, action_timestamp.
 19387  //
 19388  //   - name: The version to deactivate. Format:
 19389  //     projects/{project}/locations/{location}/integrations/{integration}/v
 19390  //     ersions/{version}.
 19391  func (r *ProjectsLocationsIntegrationsVersionsService) Unpublish(name string, googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsUnpublishCall {
 19392  	c := &ProjectsLocationsIntegrationsVersionsUnpublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19393  	c.name = name
 19394  	c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest = googlecloudintegrationsv1alphaunpublishintegrationversionrequest
 19395  	return c
 19396  }
 19397  
 19398  // Fields allows partial responses to be retrieved. See
 19399  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19400  // for more information.
 19401  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsUnpublishCall {
 19402  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19403  	return c
 19404  }
 19405  
 19406  // Context sets the context to be used in this call's Do method. Any
 19407  // pending HTTP request will be aborted if the provided context is
 19408  // canceled.
 19409  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsUnpublishCall {
 19410  	c.ctx_ = ctx
 19411  	return c
 19412  }
 19413  
 19414  // Header returns an http.Header that can be modified by the caller to
 19415  // add HTTP headers to the request.
 19416  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Header() http.Header {
 19417  	if c.header_ == nil {
 19418  		c.header_ = make(http.Header)
 19419  	}
 19420  	return c.header_
 19421  }
 19422  
 19423  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) doRequest(alt string) (*http.Response, error) {
 19424  	reqHeaders := make(http.Header)
 19425  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19426  	for k, v := range c.header_ {
 19427  		reqHeaders[k] = v
 19428  	}
 19429  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19430  	var body io.Reader = nil
 19431  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest)
 19432  	if err != nil {
 19433  		return nil, err
 19434  	}
 19435  	reqHeaders.Set("Content-Type", "application/json")
 19436  	c.urlParams_.Set("alt", alt)
 19437  	c.urlParams_.Set("prettyPrint", "false")
 19438  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:unpublish")
 19439  	urls += "?" + c.urlParams_.Encode()
 19440  	req, err := http.NewRequest("POST", urls, body)
 19441  	if err != nil {
 19442  		return nil, err
 19443  	}
 19444  	req.Header = reqHeaders
 19445  	googleapi.Expand(req.URL, map[string]string{
 19446  		"name": c.name,
 19447  	})
 19448  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19449  }
 19450  
 19451  // Do executes the "integrations.projects.locations.integrations.versions.unpublish" call.
 19452  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 19453  // non-2xx status code is an error. Response headers are in either
 19454  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 19455  // returned at all) in error.(*googleapi.Error).Header. Use
 19456  // googleapi.IsNotModified to check whether the returned error was
 19457  // because http.StatusNotModified was returned.
 19458  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 19459  	gensupport.SetOptions(c.urlParams_, opts...)
 19460  	res, err := c.doRequest("json")
 19461  	if res != nil && res.StatusCode == http.StatusNotModified {
 19462  		if res.Body != nil {
 19463  			res.Body.Close()
 19464  		}
 19465  		return nil, gensupport.WrapError(&googleapi.Error{
 19466  			Code:   res.StatusCode,
 19467  			Header: res.Header,
 19468  		})
 19469  	}
 19470  	if err != nil {
 19471  		return nil, err
 19472  	}
 19473  	defer googleapi.CloseBody(res)
 19474  	if err := googleapi.CheckResponse(res); err != nil {
 19475  		return nil, gensupport.WrapError(err)
 19476  	}
 19477  	ret := &GoogleProtobufEmpty{
 19478  		ServerResponse: googleapi.ServerResponse{
 19479  			Header:         res.Header,
 19480  			HTTPStatusCode: res.StatusCode,
 19481  		},
 19482  	}
 19483  	target := &ret
 19484  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19485  		return nil, err
 19486  	}
 19487  	return ret, nil
 19488  	// {
 19489  	//   "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.",
 19490  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish",
 19491  	//   "httpMethod": "POST",
 19492  	//   "id": "integrations.projects.locations.integrations.versions.unpublish",
 19493  	//   "parameterOrder": [
 19494  	//     "name"
 19495  	//   ],
 19496  	//   "parameters": {
 19497  	//     "name": {
 19498  	//       "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 19499  	//       "location": "path",
 19500  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 19501  	//       "required": true,
 19502  	//       "type": "string"
 19503  	//     }
 19504  	//   },
 19505  	//   "path": "v1/{+name}:unpublish",
 19506  	//   "request": {
 19507  	//     "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest"
 19508  	//   },
 19509  	//   "response": {
 19510  	//     "$ref": "GoogleProtobufEmpty"
 19511  	//   },
 19512  	//   "scopes": [
 19513  	//     "https://www.googleapis.com/auth/cloud-platform"
 19514  	//   ]
 19515  	// }
 19516  
 19517  }
 19518  
 19519  // method id "integrations.projects.locations.integrations.versions.upload":
 19520  
 19521  type ProjectsLocationsIntegrationsVersionsUploadCall struct {
 19522  	s                                                             *Service
 19523  	parent                                                        string
 19524  	googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
 19525  	urlParams_                                                    gensupport.URLParams
 19526  	ctx_                                                          context.Context
 19527  	header_                                                       http.Header
 19528  }
 19529  
 19530  // Upload: Uploads an integration. The content can be a previously
 19531  // downloaded integration. Performs the same function as
 19532  // CreateDraftIntegrationVersion, but accepts input in a string format,
 19533  // which holds the complete representation of the IntegrationVersion
 19534  // content.
 19535  //
 19536  //   - parent: The version to upload. Format:
 19537  //     projects/{project}/locations/{location}/integrations/{integration}.
 19538  func (r *ProjectsLocationsIntegrationsVersionsService) Upload(parent string, googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsUploadCall {
 19539  	c := &ProjectsLocationsIntegrationsVersionsUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19540  	c.parent = parent
 19541  	c.googlecloudintegrationsv1alphauploadintegrationversionrequest = googlecloudintegrationsv1alphauploadintegrationversionrequest
 19542  	return c
 19543  }
 19544  
 19545  // Fields allows partial responses to be retrieved. See
 19546  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19547  // for more information.
 19548  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsUploadCall {
 19549  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19550  	return c
 19551  }
 19552  
 19553  // Context sets the context to be used in this call's Do method. Any
 19554  // pending HTTP request will be aborted if the provided context is
 19555  // canceled.
 19556  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsUploadCall {
 19557  	c.ctx_ = ctx
 19558  	return c
 19559  }
 19560  
 19561  // Header returns an http.Header that can be modified by the caller to
 19562  // add HTTP headers to the request.
 19563  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Header() http.Header {
 19564  	if c.header_ == nil {
 19565  		c.header_ = make(http.Header)
 19566  	}
 19567  	return c.header_
 19568  }
 19569  
 19570  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) doRequest(alt string) (*http.Response, error) {
 19571  	reqHeaders := make(http.Header)
 19572  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19573  	for k, v := range c.header_ {
 19574  		reqHeaders[k] = v
 19575  	}
 19576  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19577  	var body io.Reader = nil
 19578  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphauploadintegrationversionrequest)
 19579  	if err != nil {
 19580  		return nil, err
 19581  	}
 19582  	reqHeaders.Set("Content-Type", "application/json")
 19583  	c.urlParams_.Set("alt", alt)
 19584  	c.urlParams_.Set("prettyPrint", "false")
 19585  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/versions:upload")
 19586  	urls += "?" + c.urlParams_.Encode()
 19587  	req, err := http.NewRequest("POST", urls, body)
 19588  	if err != nil {
 19589  		return nil, err
 19590  	}
 19591  	req.Header = reqHeaders
 19592  	googleapi.Expand(req.URL, map[string]string{
 19593  		"parent": c.parent,
 19594  	})
 19595  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19596  }
 19597  
 19598  // Do executes the "integrations.projects.locations.integrations.versions.upload" call.
 19599  // Exactly one of
 19600  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse or
 19601  // error will be non-nil. Any non-2xx status code is an error. Response
 19602  // headers are in either
 19603  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse.Server
 19604  // Response.Header or (if a response was returned at all) in
 19605  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19606  // whether the returned error was because http.StatusNotModified was
 19607  // returned.
 19608  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse, error) {
 19609  	gensupport.SetOptions(c.urlParams_, opts...)
 19610  	res, err := c.doRequest("json")
 19611  	if res != nil && res.StatusCode == http.StatusNotModified {
 19612  		if res.Body != nil {
 19613  			res.Body.Close()
 19614  		}
 19615  		return nil, gensupport.WrapError(&googleapi.Error{
 19616  			Code:   res.StatusCode,
 19617  			Header: res.Header,
 19618  		})
 19619  	}
 19620  	if err != nil {
 19621  		return nil, err
 19622  	}
 19623  	defer googleapi.CloseBody(res)
 19624  	if err := googleapi.CheckResponse(res); err != nil {
 19625  		return nil, gensupport.WrapError(err)
 19626  	}
 19627  	ret := &GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse{
 19628  		ServerResponse: googleapi.ServerResponse{
 19629  			Header:         res.Header,
 19630  			HTTPStatusCode: res.StatusCode,
 19631  		},
 19632  	}
 19633  	target := &ret
 19634  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19635  		return nil, err
 19636  	}
 19637  	return ret, nil
 19638  	// {
 19639  	//   "description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.",
 19640  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions:upload",
 19641  	//   "httpMethod": "POST",
 19642  	//   "id": "integrations.projects.locations.integrations.versions.upload",
 19643  	//   "parameterOrder": [
 19644  	//     "parent"
 19645  	//   ],
 19646  	//   "parameters": {
 19647  	//     "parent": {
 19648  	//       "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}",
 19649  	//       "location": "path",
 19650  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 19651  	//       "required": true,
 19652  	//       "type": "string"
 19653  	//     }
 19654  	//   },
 19655  	//   "path": "v1/{+parent}/versions:upload",
 19656  	//   "request": {
 19657  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest"
 19658  	//   },
 19659  	//   "response": {
 19660  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse"
 19661  	//   },
 19662  	//   "scopes": [
 19663  	//     "https://www.googleapis.com/auth/cloud-platform"
 19664  	//   ]
 19665  	// }
 19666  
 19667  }
 19668  
 19669  // method id "integrations.projects.locations.integrations.versions.validate":
 19670  
 19671  type ProjectsLocationsIntegrationsVersionsValidateCall struct {
 19672  	s                                                               *Service
 19673  	name                                                            string
 19674  	googlecloudintegrationsv1alphavalidateintegrationversionrequest *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest
 19675  	urlParams_                                                      gensupport.URLParams
 19676  	ctx_                                                            context.Context
 19677  	header_                                                         http.Header
 19678  }
 19679  
 19680  // Validate: Validates the given integration. If the id doesn't exist, a
 19681  // NotFoundException is thrown. If validation fails a
 19682  // CanonicalCodeException is thrown. If there was no failure an empty
 19683  // response is returned.
 19684  //
 19685  //   - name: The version to validate. Format:
 19686  //     projects/{project}/locations/{location}/integrations/{integration}/v
 19687  //     ersions/{version}.
 19688  func (r *ProjectsLocationsIntegrationsVersionsService) Validate(name string, googlecloudintegrationsv1alphavalidateintegrationversionrequest *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsValidateCall {
 19689  	c := &ProjectsLocationsIntegrationsVersionsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19690  	c.name = name
 19691  	c.googlecloudintegrationsv1alphavalidateintegrationversionrequest = googlecloudintegrationsv1alphavalidateintegrationversionrequest
 19692  	return c
 19693  }
 19694  
 19695  // Fields allows partial responses to be retrieved. See
 19696  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19697  // for more information.
 19698  func (c *ProjectsLocationsIntegrationsVersionsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsValidateCall {
 19699  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19700  	return c
 19701  }
 19702  
 19703  // Context sets the context to be used in this call's Do method. Any
 19704  // pending HTTP request will be aborted if the provided context is
 19705  // canceled.
 19706  func (c *ProjectsLocationsIntegrationsVersionsValidateCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsValidateCall {
 19707  	c.ctx_ = ctx
 19708  	return c
 19709  }
 19710  
 19711  // Header returns an http.Header that can be modified by the caller to
 19712  // add HTTP headers to the request.
 19713  func (c *ProjectsLocationsIntegrationsVersionsValidateCall) Header() http.Header {
 19714  	if c.header_ == nil {
 19715  		c.header_ = make(http.Header)
 19716  	}
 19717  	return c.header_
 19718  }
 19719  
 19720  func (c *ProjectsLocationsIntegrationsVersionsValidateCall) doRequest(alt string) (*http.Response, error) {
 19721  	reqHeaders := make(http.Header)
 19722  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19723  	for k, v := range c.header_ {
 19724  		reqHeaders[k] = v
 19725  	}
 19726  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19727  	var body io.Reader = nil
 19728  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphavalidateintegrationversionrequest)
 19729  	if err != nil {
 19730  		return nil, err
 19731  	}
 19732  	reqHeaders.Set("Content-Type", "application/json")
 19733  	c.urlParams_.Set("alt", alt)
 19734  	c.urlParams_.Set("prettyPrint", "false")
 19735  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:validate")
 19736  	urls += "?" + c.urlParams_.Encode()
 19737  	req, err := http.NewRequest("POST", urls, body)
 19738  	if err != nil {
 19739  		return nil, err
 19740  	}
 19741  	req.Header = reqHeaders
 19742  	googleapi.Expand(req.URL, map[string]string{
 19743  		"name": c.name,
 19744  	})
 19745  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19746  }
 19747  
 19748  // Do executes the "integrations.projects.locations.integrations.versions.validate" call.
 19749  // Exactly one of
 19750  // *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse or
 19751  // error will be non-nil. Any non-2xx status code is an error. Response
 19752  // headers are in either
 19753  // *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse.Serv
 19754  // erResponse.Header or (if a response was returned at all) in
 19755  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19756  // whether the returned error was because http.StatusNotModified was
 19757  // returned.
 19758  func (c *ProjectsLocationsIntegrationsVersionsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse, error) {
 19759  	gensupport.SetOptions(c.urlParams_, opts...)
 19760  	res, err := c.doRequest("json")
 19761  	if res != nil && res.StatusCode == http.StatusNotModified {
 19762  		if res.Body != nil {
 19763  			res.Body.Close()
 19764  		}
 19765  		return nil, gensupport.WrapError(&googleapi.Error{
 19766  			Code:   res.StatusCode,
 19767  			Header: res.Header,
 19768  		})
 19769  	}
 19770  	if err != nil {
 19771  		return nil, err
 19772  	}
 19773  	defer googleapi.CloseBody(res)
 19774  	if err := googleapi.CheckResponse(res); err != nil {
 19775  		return nil, gensupport.WrapError(err)
 19776  	}
 19777  	ret := &GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse{
 19778  		ServerResponse: googleapi.ServerResponse{
 19779  			Header:         res.Header,
 19780  			HTTPStatusCode: res.StatusCode,
 19781  		},
 19782  	}
 19783  	target := &ret
 19784  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19785  		return nil, err
 19786  	}
 19787  	return ret, nil
 19788  	// {
 19789  	//   "description": "Validates the given integration. If the id doesn't exist, a NotFoundException is thrown. If validation fails a CanonicalCodeException is thrown. If there was no failure an empty response is returned.",
 19790  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:validate",
 19791  	//   "httpMethod": "POST",
 19792  	//   "id": "integrations.projects.locations.integrations.versions.validate",
 19793  	//   "parameterOrder": [
 19794  	//     "name"
 19795  	//   ],
 19796  	//   "parameters": {
 19797  	//     "name": {
 19798  	//       "description": "Required. The version to validate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 19799  	//       "location": "path",
 19800  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 19801  	//       "required": true,
 19802  	//       "type": "string"
 19803  	//     }
 19804  	//   },
 19805  	//   "path": "v1/{+name}:validate",
 19806  	//   "request": {
 19807  	//     "$ref": "GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest"
 19808  	//   },
 19809  	//   "response": {
 19810  	//     "$ref": "GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse"
 19811  	//   },
 19812  	//   "scopes": [
 19813  	//     "https://www.googleapis.com/auth/cloud-platform"
 19814  	//   ]
 19815  	// }
 19816  
 19817  }
 19818  
 19819  // method id "integrations.projects.locations.products.createBundle":
 19820  
 19821  type ProjectsLocationsProductsCreateBundleCall struct {
 19822  	s                                                 *Service
 19823  	parent                                            string
 19824  	googlecloudintegrationsv1alphacreatebundlerequest *GoogleCloudIntegrationsV1alphaCreateBundleRequest
 19825  	urlParams_                                        gensupport.URLParams
 19826  	ctx_                                              context.Context
 19827  	header_                                           http.Header
 19828  }
 19829  
 19830  // CreateBundle: PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE
 19831  // MOVED TO A SEPARATE SERVICE. Create a bundle.
 19832  //
 19833  // - parent: The location resource of the request.
 19834  func (r *ProjectsLocationsProductsService) CreateBundle(parent string, googlecloudintegrationsv1alphacreatebundlerequest *GoogleCloudIntegrationsV1alphaCreateBundleRequest) *ProjectsLocationsProductsCreateBundleCall {
 19835  	c := &ProjectsLocationsProductsCreateBundleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19836  	c.parent = parent
 19837  	c.googlecloudintegrationsv1alphacreatebundlerequest = googlecloudintegrationsv1alphacreatebundlerequest
 19838  	return c
 19839  }
 19840  
 19841  // Fields allows partial responses to be retrieved. See
 19842  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19843  // for more information.
 19844  func (c *ProjectsLocationsProductsCreateBundleCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCreateBundleCall {
 19845  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19846  	return c
 19847  }
 19848  
 19849  // Context sets the context to be used in this call's Do method. Any
 19850  // pending HTTP request will be aborted if the provided context is
 19851  // canceled.
 19852  func (c *ProjectsLocationsProductsCreateBundleCall) Context(ctx context.Context) *ProjectsLocationsProductsCreateBundleCall {
 19853  	c.ctx_ = ctx
 19854  	return c
 19855  }
 19856  
 19857  // Header returns an http.Header that can be modified by the caller to
 19858  // add HTTP headers to the request.
 19859  func (c *ProjectsLocationsProductsCreateBundleCall) Header() http.Header {
 19860  	if c.header_ == nil {
 19861  		c.header_ = make(http.Header)
 19862  	}
 19863  	return c.header_
 19864  }
 19865  
 19866  func (c *ProjectsLocationsProductsCreateBundleCall) doRequest(alt string) (*http.Response, error) {
 19867  	reqHeaders := make(http.Header)
 19868  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19869  	for k, v := range c.header_ {
 19870  		reqHeaders[k] = v
 19871  	}
 19872  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19873  	var body io.Reader = nil
 19874  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacreatebundlerequest)
 19875  	if err != nil {
 19876  		return nil, err
 19877  	}
 19878  	reqHeaders.Set("Content-Type", "application/json")
 19879  	c.urlParams_.Set("alt", alt)
 19880  	c.urlParams_.Set("prettyPrint", "false")
 19881  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}:createBundle")
 19882  	urls += "?" + c.urlParams_.Encode()
 19883  	req, err := http.NewRequest("POST", urls, body)
 19884  	if err != nil {
 19885  		return nil, err
 19886  	}
 19887  	req.Header = reqHeaders
 19888  	googleapi.Expand(req.URL, map[string]string{
 19889  		"parent": c.parent,
 19890  	})
 19891  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19892  }
 19893  
 19894  // Do executes the "integrations.projects.locations.products.createBundle" call.
 19895  // Exactly one of *GoogleCloudIntegrationsV1alphaCreateBundleResponse or
 19896  // error will be non-nil. Any non-2xx status code is an error. Response
 19897  // headers are in either
 19898  // *GoogleCloudIntegrationsV1alphaCreateBundleResponse.ServerResponse.Hea
 19899  // der or (if a response was returned at all) in
 19900  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19901  // whether the returned error was because http.StatusNotModified was
 19902  // returned.
 19903  func (c *ProjectsLocationsProductsCreateBundleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCreateBundleResponse, error) {
 19904  	gensupport.SetOptions(c.urlParams_, opts...)
 19905  	res, err := c.doRequest("json")
 19906  	if res != nil && res.StatusCode == http.StatusNotModified {
 19907  		if res.Body != nil {
 19908  			res.Body.Close()
 19909  		}
 19910  		return nil, gensupport.WrapError(&googleapi.Error{
 19911  			Code:   res.StatusCode,
 19912  			Header: res.Header,
 19913  		})
 19914  	}
 19915  	if err != nil {
 19916  		return nil, err
 19917  	}
 19918  	defer googleapi.CloseBody(res)
 19919  	if err := googleapi.CheckResponse(res); err != nil {
 19920  		return nil, gensupport.WrapError(err)
 19921  	}
 19922  	ret := &GoogleCloudIntegrationsV1alphaCreateBundleResponse{
 19923  		ServerResponse: googleapi.ServerResponse{
 19924  			Header:         res.Header,
 19925  			HTTPStatusCode: res.StatusCode,
 19926  		},
 19927  	}
 19928  	target := &ret
 19929  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19930  		return nil, err
 19931  	}
 19932  	return ret, nil
 19933  	// {
 19934  	//   "description": "PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Create a bundle.",
 19935  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}:createBundle",
 19936  	//   "httpMethod": "POST",
 19937  	//   "id": "integrations.projects.locations.products.createBundle",
 19938  	//   "parameterOrder": [
 19939  	//     "parent"
 19940  	//   ],
 19941  	//   "parameters": {
 19942  	//     "parent": {
 19943  	//       "description": "Required. The location resource of the request.",
 19944  	//       "location": "path",
 19945  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 19946  	//       "required": true,
 19947  	//       "type": "string"
 19948  	//     }
 19949  	//   },
 19950  	//   "path": "v1/{+parent}:createBundle",
 19951  	//   "request": {
 19952  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateBundleRequest"
 19953  	//   },
 19954  	//   "response": {
 19955  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateBundleResponse"
 19956  	//   },
 19957  	//   "scopes": [
 19958  	//     "https://www.googleapis.com/auth/cloud-platform"
 19959  	//   ]
 19960  	// }
 19961  
 19962  }
 19963  
 19964  // method id "integrations.projects.locations.products.listTaskEntities":
 19965  
 19966  type ProjectsLocationsProductsListTaskEntitiesCall struct {
 19967  	s            *Service
 19968  	parent       string
 19969  	urlParams_   gensupport.URLParams
 19970  	ifNoneMatch_ string
 19971  	ctx_         context.Context
 19972  	header_      http.Header
 19973  }
 19974  
 19975  // ListTaskEntities: This is a UI only method and will be moved away.
 19976  // Returns a list of common tasks.
 19977  //
 19978  //   - parent: The location resource of the request. This is not going to
 19979  //     be used but preserve the field for future.
 19980  func (r *ProjectsLocationsProductsService) ListTaskEntities(parent string) *ProjectsLocationsProductsListTaskEntitiesCall {
 19981  	c := &ProjectsLocationsProductsListTaskEntitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19982  	c.parent = parent
 19983  	return c
 19984  }
 19985  
 19986  // Fields allows partial responses to be retrieved. See
 19987  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19988  // for more information.
 19989  func (c *ProjectsLocationsProductsListTaskEntitiesCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsListTaskEntitiesCall {
 19990  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19991  	return c
 19992  }
 19993  
 19994  // IfNoneMatch sets the optional parameter which makes the operation
 19995  // fail if the object's ETag matches the given value. This is useful for
 19996  // getting updates only after the object has changed since the last
 19997  // request. Use googleapi.IsNotModified to check whether the response
 19998  // error from Do is the result of In-None-Match.
 19999  func (c *ProjectsLocationsProductsListTaskEntitiesCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsListTaskEntitiesCall {
 20000  	c.ifNoneMatch_ = entityTag
 20001  	return c
 20002  }
 20003  
 20004  // Context sets the context to be used in this call's Do method. Any
 20005  // pending HTTP request will be aborted if the provided context is
 20006  // canceled.
 20007  func (c *ProjectsLocationsProductsListTaskEntitiesCall) Context(ctx context.Context) *ProjectsLocationsProductsListTaskEntitiesCall {
 20008  	c.ctx_ = ctx
 20009  	return c
 20010  }
 20011  
 20012  // Header returns an http.Header that can be modified by the caller to
 20013  // add HTTP headers to the request.
 20014  func (c *ProjectsLocationsProductsListTaskEntitiesCall) Header() http.Header {
 20015  	if c.header_ == nil {
 20016  		c.header_ = make(http.Header)
 20017  	}
 20018  	return c.header_
 20019  }
 20020  
 20021  func (c *ProjectsLocationsProductsListTaskEntitiesCall) doRequest(alt string) (*http.Response, error) {
 20022  	reqHeaders := make(http.Header)
 20023  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20024  	for k, v := range c.header_ {
 20025  		reqHeaders[k] = v
 20026  	}
 20027  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20028  	if c.ifNoneMatch_ != "" {
 20029  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20030  	}
 20031  	var body io.Reader = nil
 20032  	c.urlParams_.Set("alt", alt)
 20033  	c.urlParams_.Set("prettyPrint", "false")
 20034  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}:listTaskEntities")
 20035  	urls += "?" + c.urlParams_.Encode()
 20036  	req, err := http.NewRequest("GET", urls, body)
 20037  	if err != nil {
 20038  		return nil, err
 20039  	}
 20040  	req.Header = reqHeaders
 20041  	googleapi.Expand(req.URL, map[string]string{
 20042  		"parent": c.parent,
 20043  	})
 20044  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20045  }
 20046  
 20047  // Do executes the "integrations.projects.locations.products.listTaskEntities" call.
 20048  // Exactly one of
 20049  // *GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse or error will
 20050  // be non-nil. Any non-2xx status code is an error. Response headers are
 20051  // in either
 20052  // *GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse.ServerResponse
 20053  // .Header or (if a response was returned at all) in
 20054  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20055  // whether the returned error was because http.StatusNotModified was
 20056  // returned.
 20057  func (c *ProjectsLocationsProductsListTaskEntitiesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse, error) {
 20058  	gensupport.SetOptions(c.urlParams_, opts...)
 20059  	res, err := c.doRequest("json")
 20060  	if res != nil && res.StatusCode == http.StatusNotModified {
 20061  		if res.Body != nil {
 20062  			res.Body.Close()
 20063  		}
 20064  		return nil, gensupport.WrapError(&googleapi.Error{
 20065  			Code:   res.StatusCode,
 20066  			Header: res.Header,
 20067  		})
 20068  	}
 20069  	if err != nil {
 20070  		return nil, err
 20071  	}
 20072  	defer googleapi.CloseBody(res)
 20073  	if err := googleapi.CheckResponse(res); err != nil {
 20074  		return nil, gensupport.WrapError(err)
 20075  	}
 20076  	ret := &GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse{
 20077  		ServerResponse: googleapi.ServerResponse{
 20078  			Header:         res.Header,
 20079  			HTTPStatusCode: res.StatusCode,
 20080  		},
 20081  	}
 20082  	target := &ret
 20083  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20084  		return nil, err
 20085  	}
 20086  	return ret, nil
 20087  	// {
 20088  	//   "description": "This is a UI only method and will be moved away. Returns a list of common tasks.",
 20089  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}:listTaskEntities",
 20090  	//   "httpMethod": "GET",
 20091  	//   "id": "integrations.projects.locations.products.listTaskEntities",
 20092  	//   "parameterOrder": [
 20093  	//     "parent"
 20094  	//   ],
 20095  	//   "parameters": {
 20096  	//     "parent": {
 20097  	//       "description": "Required. The location resource of the request. This is not going to be used but preserve the field for future.",
 20098  	//       "location": "path",
 20099  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 20100  	//       "required": true,
 20101  	//       "type": "string"
 20102  	//     }
 20103  	//   },
 20104  	//   "path": "v1/{+parent}:listTaskEntities",
 20105  	//   "response": {
 20106  	//     "$ref": "GoogleCloudIntegrationsV1alphaListTaskEntitiesResponse"
 20107  	//   },
 20108  	//   "scopes": [
 20109  	//     "https://www.googleapis.com/auth/cloud-platform"
 20110  	//   ]
 20111  	// }
 20112  
 20113  }
 20114  
 20115  // method id "integrations.projects.locations.products.authConfigs.create":
 20116  
 20117  type ProjectsLocationsProductsAuthConfigsCreateCall struct {
 20118  	s                                        *Service
 20119  	parent                                   string
 20120  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 20121  	urlParams_                               gensupport.URLParams
 20122  	ctx_                                     context.Context
 20123  	header_                                  http.Header
 20124  }
 20125  
 20126  // Create: Creates an auth config record. Fetch corresponding
 20127  // credentials for specific auth types, e.g. access token for OAuth 2.0,
 20128  // JWT token for JWT. Encrypt the auth config with Cloud KMS and store
 20129  // the encrypted credentials in Spanner. Returns the encrypted auth
 20130  // config.
 20131  //
 20132  // - parent: "projects/{project}/locations/{location}" format.
 20133  func (r *ProjectsLocationsProductsAuthConfigsService) Create(parent string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsProductsAuthConfigsCreateCall {
 20134  	c := &ProjectsLocationsProductsAuthConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20135  	c.parent = parent
 20136  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 20137  	return c
 20138  }
 20139  
 20140  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 20141  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 20142  // in PEM format. This string must include the begin header and end
 20143  // footer lines. For example, -----BEGIN CERTIFICATE-----
 20144  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 20145  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 20146  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 20147  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 20148  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 20149  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 20150  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 20151  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 20152  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 20153  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 20154  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 20155  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 20156  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 20157  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsProductsAuthConfigsCreateCall {
 20158  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 20159  	return c
 20160  }
 20161  
 20162  // ClientCertificatePassphrase sets the optional parameter
 20163  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 20164  // private key is not encrypted. Note that 'passphrase' is not the
 20165  // password for web server, but an extra layer of security to protected
 20166  // private key.
 20167  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsProductsAuthConfigsCreateCall {
 20168  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 20169  	return c
 20170  }
 20171  
 20172  // ClientCertificateSslCertificate sets the optional parameter
 20173  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 20174  // PEM format. This string must include the begin header and end footer
 20175  // lines. For example, -----BEGIN CERTIFICATE-----
 20176  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 20177  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 20178  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 20179  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 20180  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 20181  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 20182  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 20183  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 20184  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 20185  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 20186  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 20187  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 20188  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 20189  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsProductsAuthConfigsCreateCall {
 20190  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 20191  	return c
 20192  }
 20193  
 20194  // Fields allows partial responses to be retrieved. See
 20195  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20196  // for more information.
 20197  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsCreateCall {
 20198  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20199  	return c
 20200  }
 20201  
 20202  // Context sets the context to be used in this call's Do method. Any
 20203  // pending HTTP request will be aborted if the provided context is
 20204  // canceled.
 20205  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsCreateCall {
 20206  	c.ctx_ = ctx
 20207  	return c
 20208  }
 20209  
 20210  // Header returns an http.Header that can be modified by the caller to
 20211  // add HTTP headers to the request.
 20212  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Header() http.Header {
 20213  	if c.header_ == nil {
 20214  		c.header_ = make(http.Header)
 20215  	}
 20216  	return c.header_
 20217  }
 20218  
 20219  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) doRequest(alt string) (*http.Response, error) {
 20220  	reqHeaders := make(http.Header)
 20221  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20222  	for k, v := range c.header_ {
 20223  		reqHeaders[k] = v
 20224  	}
 20225  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20226  	var body io.Reader = nil
 20227  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 20228  	if err != nil {
 20229  		return nil, err
 20230  	}
 20231  	reqHeaders.Set("Content-Type", "application/json")
 20232  	c.urlParams_.Set("alt", alt)
 20233  	c.urlParams_.Set("prettyPrint", "false")
 20234  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/authConfigs")
 20235  	urls += "?" + c.urlParams_.Encode()
 20236  	req, err := http.NewRequest("POST", urls, body)
 20237  	if err != nil {
 20238  		return nil, err
 20239  	}
 20240  	req.Header = reqHeaders
 20241  	googleapi.Expand(req.URL, map[string]string{
 20242  		"parent": c.parent,
 20243  	})
 20244  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20245  }
 20246  
 20247  // Do executes the "integrations.projects.locations.products.authConfigs.create" call.
 20248  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 20249  // will be non-nil. Any non-2xx status code is an error. Response
 20250  // headers are in either
 20251  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 20252  // (if a response was returned at all) in
 20253  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20254  // whether the returned error was because http.StatusNotModified was
 20255  // returned.
 20256  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 20257  	gensupport.SetOptions(c.urlParams_, opts...)
 20258  	res, err := c.doRequest("json")
 20259  	if res != nil && res.StatusCode == http.StatusNotModified {
 20260  		if res.Body != nil {
 20261  			res.Body.Close()
 20262  		}
 20263  		return nil, gensupport.WrapError(&googleapi.Error{
 20264  			Code:   res.StatusCode,
 20265  			Header: res.Header,
 20266  		})
 20267  	}
 20268  	if err != nil {
 20269  		return nil, err
 20270  	}
 20271  	defer googleapi.CloseBody(res)
 20272  	if err := googleapi.CheckResponse(res); err != nil {
 20273  		return nil, gensupport.WrapError(err)
 20274  	}
 20275  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 20276  		ServerResponse: googleapi.ServerResponse{
 20277  			Header:         res.Header,
 20278  			HTTPStatusCode: res.StatusCode,
 20279  		},
 20280  	}
 20281  	target := &ret
 20282  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20283  		return nil, err
 20284  	}
 20285  	return ret, nil
 20286  	// {
 20287  	//   "description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.",
 20288  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs",
 20289  	//   "httpMethod": "POST",
 20290  	//   "id": "integrations.projects.locations.products.authConfigs.create",
 20291  	//   "parameterOrder": [
 20292  	//     "parent"
 20293  	//   ],
 20294  	//   "parameters": {
 20295  	//     "clientCertificate.encryptedPrivateKey": {
 20296  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 20297  	//       "location": "query",
 20298  	//       "type": "string"
 20299  	//     },
 20300  	//     "clientCertificate.passphrase": {
 20301  	//       "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.",
 20302  	//       "location": "query",
 20303  	//       "type": "string"
 20304  	//     },
 20305  	//     "clientCertificate.sslCertificate": {
 20306  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 20307  	//       "location": "query",
 20308  	//       "type": "string"
 20309  	//     },
 20310  	//     "parent": {
 20311  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 20312  	//       "location": "path",
 20313  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 20314  	//       "required": true,
 20315  	//       "type": "string"
 20316  	//     }
 20317  	//   },
 20318  	//   "path": "v1/{+parent}/authConfigs",
 20319  	//   "request": {
 20320  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 20321  	//   },
 20322  	//   "response": {
 20323  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 20324  	//   },
 20325  	//   "scopes": [
 20326  	//     "https://www.googleapis.com/auth/cloud-platform"
 20327  	//   ]
 20328  	// }
 20329  
 20330  }
 20331  
 20332  // method id "integrations.projects.locations.products.authConfigs.delete":
 20333  
 20334  type ProjectsLocationsProductsAuthConfigsDeleteCall struct {
 20335  	s          *Service
 20336  	name       string
 20337  	urlParams_ gensupport.URLParams
 20338  	ctx_       context.Context
 20339  	header_    http.Header
 20340  }
 20341  
 20342  // Delete: Deletes an auth config.
 20343  //
 20344  // - name: The name that is associated with the AuthConfig.
 20345  func (r *ProjectsLocationsProductsAuthConfigsService) Delete(name string) *ProjectsLocationsProductsAuthConfigsDeleteCall {
 20346  	c := &ProjectsLocationsProductsAuthConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20347  	c.name = name
 20348  	return c
 20349  }
 20350  
 20351  // Fields allows partial responses to be retrieved. See
 20352  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20353  // for more information.
 20354  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsDeleteCall {
 20355  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20356  	return c
 20357  }
 20358  
 20359  // Context sets the context to be used in this call's Do method. Any
 20360  // pending HTTP request will be aborted if the provided context is
 20361  // canceled.
 20362  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsDeleteCall {
 20363  	c.ctx_ = ctx
 20364  	return c
 20365  }
 20366  
 20367  // Header returns an http.Header that can be modified by the caller to
 20368  // add HTTP headers to the request.
 20369  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Header() http.Header {
 20370  	if c.header_ == nil {
 20371  		c.header_ = make(http.Header)
 20372  	}
 20373  	return c.header_
 20374  }
 20375  
 20376  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) doRequest(alt string) (*http.Response, error) {
 20377  	reqHeaders := make(http.Header)
 20378  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20379  	for k, v := range c.header_ {
 20380  		reqHeaders[k] = v
 20381  	}
 20382  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20383  	var body io.Reader = nil
 20384  	c.urlParams_.Set("alt", alt)
 20385  	c.urlParams_.Set("prettyPrint", "false")
 20386  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 20387  	urls += "?" + c.urlParams_.Encode()
 20388  	req, err := http.NewRequest("DELETE", urls, body)
 20389  	if err != nil {
 20390  		return nil, err
 20391  	}
 20392  	req.Header = reqHeaders
 20393  	googleapi.Expand(req.URL, map[string]string{
 20394  		"name": c.name,
 20395  	})
 20396  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20397  }
 20398  
 20399  // Do executes the "integrations.projects.locations.products.authConfigs.delete" call.
 20400  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 20401  // non-2xx status code is an error. Response headers are in either
 20402  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 20403  // returned at all) in error.(*googleapi.Error).Header. Use
 20404  // googleapi.IsNotModified to check whether the returned error was
 20405  // because http.StatusNotModified was returned.
 20406  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 20407  	gensupport.SetOptions(c.urlParams_, opts...)
 20408  	res, err := c.doRequest("json")
 20409  	if res != nil && res.StatusCode == http.StatusNotModified {
 20410  		if res.Body != nil {
 20411  			res.Body.Close()
 20412  		}
 20413  		return nil, gensupport.WrapError(&googleapi.Error{
 20414  			Code:   res.StatusCode,
 20415  			Header: res.Header,
 20416  		})
 20417  	}
 20418  	if err != nil {
 20419  		return nil, err
 20420  	}
 20421  	defer googleapi.CloseBody(res)
 20422  	if err := googleapi.CheckResponse(res); err != nil {
 20423  		return nil, gensupport.WrapError(err)
 20424  	}
 20425  	ret := &GoogleProtobufEmpty{
 20426  		ServerResponse: googleapi.ServerResponse{
 20427  			Header:         res.Header,
 20428  			HTTPStatusCode: res.StatusCode,
 20429  		},
 20430  	}
 20431  	target := &ret
 20432  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20433  		return nil, err
 20434  	}
 20435  	return ret, nil
 20436  	// {
 20437  	//   "description": "Deletes an auth config.",
 20438  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}",
 20439  	//   "httpMethod": "DELETE",
 20440  	//   "id": "integrations.projects.locations.products.authConfigs.delete",
 20441  	//   "parameterOrder": [
 20442  	//     "name"
 20443  	//   ],
 20444  	//   "parameters": {
 20445  	//     "name": {
 20446  	//       "description": "Required. The name that is associated with the AuthConfig.",
 20447  	//       "location": "path",
 20448  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$",
 20449  	//       "required": true,
 20450  	//       "type": "string"
 20451  	//     }
 20452  	//   },
 20453  	//   "path": "v1/{+name}",
 20454  	//   "response": {
 20455  	//     "$ref": "GoogleProtobufEmpty"
 20456  	//   },
 20457  	//   "scopes": [
 20458  	//     "https://www.googleapis.com/auth/cloud-platform"
 20459  	//   ]
 20460  	// }
 20461  
 20462  }
 20463  
 20464  // method id "integrations.projects.locations.products.authConfigs.get":
 20465  
 20466  type ProjectsLocationsProductsAuthConfigsGetCall struct {
 20467  	s            *Service
 20468  	name         string
 20469  	urlParams_   gensupport.URLParams
 20470  	ifNoneMatch_ string
 20471  	ctx_         context.Context
 20472  	header_      http.Header
 20473  }
 20474  
 20475  // Get: Gets a complete auth config. If the auth config doesn't exist,
 20476  // Code.NOT_FOUND exception will be thrown. Returns the decrypted auth
 20477  // config.
 20478  //
 20479  // - name: The name that is associated with the AuthConfig.
 20480  func (r *ProjectsLocationsProductsAuthConfigsService) Get(name string) *ProjectsLocationsProductsAuthConfigsGetCall {
 20481  	c := &ProjectsLocationsProductsAuthConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20482  	c.name = name
 20483  	return c
 20484  }
 20485  
 20486  // Fields allows partial responses to be retrieved. See
 20487  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20488  // for more information.
 20489  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsGetCall {
 20490  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20491  	return c
 20492  }
 20493  
 20494  // IfNoneMatch sets the optional parameter which makes the operation
 20495  // fail if the object's ETag matches the given value. This is useful for
 20496  // getting updates only after the object has changed since the last
 20497  // request. Use googleapi.IsNotModified to check whether the response
 20498  // error from Do is the result of In-None-Match.
 20499  func (c *ProjectsLocationsProductsAuthConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsAuthConfigsGetCall {
 20500  	c.ifNoneMatch_ = entityTag
 20501  	return c
 20502  }
 20503  
 20504  // Context sets the context to be used in this call's Do method. Any
 20505  // pending HTTP request will be aborted if the provided context is
 20506  // canceled.
 20507  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsGetCall {
 20508  	c.ctx_ = ctx
 20509  	return c
 20510  }
 20511  
 20512  // Header returns an http.Header that can be modified by the caller to
 20513  // add HTTP headers to the request.
 20514  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Header() http.Header {
 20515  	if c.header_ == nil {
 20516  		c.header_ = make(http.Header)
 20517  	}
 20518  	return c.header_
 20519  }
 20520  
 20521  func (c *ProjectsLocationsProductsAuthConfigsGetCall) doRequest(alt string) (*http.Response, error) {
 20522  	reqHeaders := make(http.Header)
 20523  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20524  	for k, v := range c.header_ {
 20525  		reqHeaders[k] = v
 20526  	}
 20527  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20528  	if c.ifNoneMatch_ != "" {
 20529  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20530  	}
 20531  	var body io.Reader = nil
 20532  	c.urlParams_.Set("alt", alt)
 20533  	c.urlParams_.Set("prettyPrint", "false")
 20534  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 20535  	urls += "?" + c.urlParams_.Encode()
 20536  	req, err := http.NewRequest("GET", urls, body)
 20537  	if err != nil {
 20538  		return nil, err
 20539  	}
 20540  	req.Header = reqHeaders
 20541  	googleapi.Expand(req.URL, map[string]string{
 20542  		"name": c.name,
 20543  	})
 20544  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20545  }
 20546  
 20547  // Do executes the "integrations.projects.locations.products.authConfigs.get" call.
 20548  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 20549  // will be non-nil. Any non-2xx status code is an error. Response
 20550  // headers are in either
 20551  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 20552  // (if a response was returned at all) in
 20553  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20554  // whether the returned error was because http.StatusNotModified was
 20555  // returned.
 20556  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 20557  	gensupport.SetOptions(c.urlParams_, opts...)
 20558  	res, err := c.doRequest("json")
 20559  	if res != nil && res.StatusCode == http.StatusNotModified {
 20560  		if res.Body != nil {
 20561  			res.Body.Close()
 20562  		}
 20563  		return nil, gensupport.WrapError(&googleapi.Error{
 20564  			Code:   res.StatusCode,
 20565  			Header: res.Header,
 20566  		})
 20567  	}
 20568  	if err != nil {
 20569  		return nil, err
 20570  	}
 20571  	defer googleapi.CloseBody(res)
 20572  	if err := googleapi.CheckResponse(res); err != nil {
 20573  		return nil, gensupport.WrapError(err)
 20574  	}
 20575  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 20576  		ServerResponse: googleapi.ServerResponse{
 20577  			Header:         res.Header,
 20578  			HTTPStatusCode: res.StatusCode,
 20579  		},
 20580  	}
 20581  	target := &ret
 20582  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20583  		return nil, err
 20584  	}
 20585  	return ret, nil
 20586  	// {
 20587  	//   "description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.",
 20588  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}",
 20589  	//   "httpMethod": "GET",
 20590  	//   "id": "integrations.projects.locations.products.authConfigs.get",
 20591  	//   "parameterOrder": [
 20592  	//     "name"
 20593  	//   ],
 20594  	//   "parameters": {
 20595  	//     "name": {
 20596  	//       "description": "Required. The name that is associated with the AuthConfig.",
 20597  	//       "location": "path",
 20598  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$",
 20599  	//       "required": true,
 20600  	//       "type": "string"
 20601  	//     }
 20602  	//   },
 20603  	//   "path": "v1/{+name}",
 20604  	//   "response": {
 20605  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 20606  	//   },
 20607  	//   "scopes": [
 20608  	//     "https://www.googleapis.com/auth/cloud-platform"
 20609  	//   ]
 20610  	// }
 20611  
 20612  }
 20613  
 20614  // method id "integrations.projects.locations.products.authConfigs.list":
 20615  
 20616  type ProjectsLocationsProductsAuthConfigsListCall struct {
 20617  	s            *Service
 20618  	parent       string
 20619  	urlParams_   gensupport.URLParams
 20620  	ifNoneMatch_ string
 20621  	ctx_         context.Context
 20622  	header_      http.Header
 20623  }
 20624  
 20625  // List: Lists all auth configs that match the filter. Restrict to auth
 20626  // configs belong to the current client only.
 20627  //
 20628  // - parent: The client, which owns this collection of AuthConfigs.
 20629  func (r *ProjectsLocationsProductsAuthConfigsService) List(parent string) *ProjectsLocationsProductsAuthConfigsListCall {
 20630  	c := &ProjectsLocationsProductsAuthConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20631  	c.parent = parent
 20632  	return c
 20633  }
 20634  
 20635  // Filter sets the optional parameter "filter": Filtering as supported
 20636  // in
 20637  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 20638  func (c *ProjectsLocationsProductsAuthConfigsListCall) Filter(filter string) *ProjectsLocationsProductsAuthConfigsListCall {
 20639  	c.urlParams_.Set("filter", filter)
 20640  	return c
 20641  }
 20642  
 20643  // PageSize sets the optional parameter "pageSize": The size of entries
 20644  // in the response. If unspecified, defaults to 100.
 20645  func (c *ProjectsLocationsProductsAuthConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsAuthConfigsListCall {
 20646  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 20647  	return c
 20648  }
 20649  
 20650  // PageToken sets the optional parameter "pageToken": The token returned
 20651  // in the previous response.
 20652  func (c *ProjectsLocationsProductsAuthConfigsListCall) PageToken(pageToken string) *ProjectsLocationsProductsAuthConfigsListCall {
 20653  	c.urlParams_.Set("pageToken", pageToken)
 20654  	return c
 20655  }
 20656  
 20657  // ReadMask sets the optional parameter "readMask": The mask which
 20658  // specifies fields that need to be returned in the AuthConfig's
 20659  // response.
 20660  func (c *ProjectsLocationsProductsAuthConfigsListCall) ReadMask(readMask string) *ProjectsLocationsProductsAuthConfigsListCall {
 20661  	c.urlParams_.Set("readMask", readMask)
 20662  	return c
 20663  }
 20664  
 20665  // Fields allows partial responses to be retrieved. See
 20666  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20667  // for more information.
 20668  func (c *ProjectsLocationsProductsAuthConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsListCall {
 20669  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20670  	return c
 20671  }
 20672  
 20673  // IfNoneMatch sets the optional parameter which makes the operation
 20674  // fail if the object's ETag matches the given value. This is useful for
 20675  // getting updates only after the object has changed since the last
 20676  // request. Use googleapi.IsNotModified to check whether the response
 20677  // error from Do is the result of In-None-Match.
 20678  func (c *ProjectsLocationsProductsAuthConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsAuthConfigsListCall {
 20679  	c.ifNoneMatch_ = entityTag
 20680  	return c
 20681  }
 20682  
 20683  // Context sets the context to be used in this call's Do method. Any
 20684  // pending HTTP request will be aborted if the provided context is
 20685  // canceled.
 20686  func (c *ProjectsLocationsProductsAuthConfigsListCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsListCall {
 20687  	c.ctx_ = ctx
 20688  	return c
 20689  }
 20690  
 20691  // Header returns an http.Header that can be modified by the caller to
 20692  // add HTTP headers to the request.
 20693  func (c *ProjectsLocationsProductsAuthConfigsListCall) Header() http.Header {
 20694  	if c.header_ == nil {
 20695  		c.header_ = make(http.Header)
 20696  	}
 20697  	return c.header_
 20698  }
 20699  
 20700  func (c *ProjectsLocationsProductsAuthConfigsListCall) doRequest(alt string) (*http.Response, error) {
 20701  	reqHeaders := make(http.Header)
 20702  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20703  	for k, v := range c.header_ {
 20704  		reqHeaders[k] = v
 20705  	}
 20706  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20707  	if c.ifNoneMatch_ != "" {
 20708  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20709  	}
 20710  	var body io.Reader = nil
 20711  	c.urlParams_.Set("alt", alt)
 20712  	c.urlParams_.Set("prettyPrint", "false")
 20713  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/authConfigs")
 20714  	urls += "?" + c.urlParams_.Encode()
 20715  	req, err := http.NewRequest("GET", urls, body)
 20716  	if err != nil {
 20717  		return nil, err
 20718  	}
 20719  	req.Header = reqHeaders
 20720  	googleapi.Expand(req.URL, map[string]string{
 20721  		"parent": c.parent,
 20722  	})
 20723  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20724  }
 20725  
 20726  // Do executes the "integrations.projects.locations.products.authConfigs.list" call.
 20727  // Exactly one of *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
 20728  // or error will be non-nil. Any non-2xx status code is an error.
 20729  // Response headers are in either
 20730  // *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse.ServerResponse.
 20731  // Header or (if a response was returned at all) in
 20732  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20733  // whether the returned error was because http.StatusNotModified was
 20734  // returned.
 20735  func (c *ProjectsLocationsProductsAuthConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse, error) {
 20736  	gensupport.SetOptions(c.urlParams_, opts...)
 20737  	res, err := c.doRequest("json")
 20738  	if res != nil && res.StatusCode == http.StatusNotModified {
 20739  		if res.Body != nil {
 20740  			res.Body.Close()
 20741  		}
 20742  		return nil, gensupport.WrapError(&googleapi.Error{
 20743  			Code:   res.StatusCode,
 20744  			Header: res.Header,
 20745  		})
 20746  	}
 20747  	if err != nil {
 20748  		return nil, err
 20749  	}
 20750  	defer googleapi.CloseBody(res)
 20751  	if err := googleapi.CheckResponse(res); err != nil {
 20752  		return nil, gensupport.WrapError(err)
 20753  	}
 20754  	ret := &GoogleCloudIntegrationsV1alphaListAuthConfigsResponse{
 20755  		ServerResponse: googleapi.ServerResponse{
 20756  			Header:         res.Header,
 20757  			HTTPStatusCode: res.StatusCode,
 20758  		},
 20759  	}
 20760  	target := &ret
 20761  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20762  		return nil, err
 20763  	}
 20764  	return ret, nil
 20765  	// {
 20766  	//   "description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.",
 20767  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs",
 20768  	//   "httpMethod": "GET",
 20769  	//   "id": "integrations.projects.locations.products.authConfigs.list",
 20770  	//   "parameterOrder": [
 20771  	//     "parent"
 20772  	//   ],
 20773  	//   "parameters": {
 20774  	//     "filter": {
 20775  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 20776  	//       "location": "query",
 20777  	//       "type": "string"
 20778  	//     },
 20779  	//     "pageSize": {
 20780  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 20781  	//       "format": "int32",
 20782  	//       "location": "query",
 20783  	//       "type": "integer"
 20784  	//     },
 20785  	//     "pageToken": {
 20786  	//       "description": "The token returned in the previous response.",
 20787  	//       "location": "query",
 20788  	//       "type": "string"
 20789  	//     },
 20790  	//     "parent": {
 20791  	//       "description": "Required. The client, which owns this collection of AuthConfigs.",
 20792  	//       "location": "path",
 20793  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 20794  	//       "required": true,
 20795  	//       "type": "string"
 20796  	//     },
 20797  	//     "readMask": {
 20798  	//       "description": "The mask which specifies fields that need to be returned in the AuthConfig's response.",
 20799  	//       "format": "google-fieldmask",
 20800  	//       "location": "query",
 20801  	//       "type": "string"
 20802  	//     }
 20803  	//   },
 20804  	//   "path": "v1/{+parent}/authConfigs",
 20805  	//   "response": {
 20806  	//     "$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse"
 20807  	//   },
 20808  	//   "scopes": [
 20809  	//     "https://www.googleapis.com/auth/cloud-platform"
 20810  	//   ]
 20811  	// }
 20812  
 20813  }
 20814  
 20815  // Pages invokes f for each page of results.
 20816  // A non-nil error returned from f will halt the iteration.
 20817  // The provided context supersedes any context provided to the Context method.
 20818  func (c *ProjectsLocationsProductsAuthConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse) error) error {
 20819  	c.ctx_ = ctx
 20820  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 20821  	for {
 20822  		x, err := c.Do()
 20823  		if err != nil {
 20824  			return err
 20825  		}
 20826  		if err := f(x); err != nil {
 20827  			return err
 20828  		}
 20829  		if x.NextPageToken == "" {
 20830  			return nil
 20831  		}
 20832  		c.PageToken(x.NextPageToken)
 20833  	}
 20834  }
 20835  
 20836  // method id "integrations.projects.locations.products.authConfigs.patch":
 20837  
 20838  type ProjectsLocationsProductsAuthConfigsPatchCall struct {
 20839  	s                                        *Service
 20840  	name                                     string
 20841  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 20842  	urlParams_                               gensupport.URLParams
 20843  	ctx_                                     context.Context
 20844  	header_                                  http.Header
 20845  }
 20846  
 20847  // Patch: Updates an auth config. If credential is updated, fetch the
 20848  // encrypted auth config from Spanner, decrypt with Cloud KMS key,
 20849  // update the credential fields, re-encrypt with Cloud KMS key and
 20850  // update the Spanner record. For other fields, directly update the
 20851  // Spanner record. Returns the encrypted auth config.
 20852  //
 20853  //   - name: Resource name of the SFDC instance
 20854  //     projects/{project}/locations/{location}/authConfigs/{authConfig}.
 20855  func (r *ProjectsLocationsProductsAuthConfigsService) Patch(name string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20856  	c := &ProjectsLocationsProductsAuthConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20857  	c.name = name
 20858  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 20859  	return c
 20860  }
 20861  
 20862  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 20863  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 20864  // in PEM format. This string must include the begin header and end
 20865  // footer lines. For example, -----BEGIN CERTIFICATE-----
 20866  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 20867  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 20868  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 20869  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 20870  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 20871  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 20872  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 20873  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 20874  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 20875  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 20876  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 20877  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 20878  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 20879  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20880  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 20881  	return c
 20882  }
 20883  
 20884  // ClientCertificatePassphrase sets the optional parameter
 20885  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 20886  // private key is not encrypted. Note that 'passphrase' is not the
 20887  // password for web server, but an extra layer of security to protected
 20888  // private key.
 20889  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20890  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 20891  	return c
 20892  }
 20893  
 20894  // ClientCertificateSslCertificate sets the optional parameter
 20895  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 20896  // PEM format. This string must include the begin header and end footer
 20897  // lines. For example, -----BEGIN CERTIFICATE-----
 20898  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 20899  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 20900  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 20901  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 20902  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 20903  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 20904  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 20905  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 20906  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 20907  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 20908  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 20909  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 20910  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 20911  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20912  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 20913  	return c
 20914  }
 20915  
 20916  // UpdateMask sets the optional parameter "updateMask": Field mask
 20917  // specifying the fields in the above AuthConfig that have been modified
 20918  // and need to be updated.
 20919  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20920  	c.urlParams_.Set("updateMask", updateMask)
 20921  	return c
 20922  }
 20923  
 20924  // Fields allows partial responses to be retrieved. See
 20925  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20926  // for more information.
 20927  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20928  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20929  	return c
 20930  }
 20931  
 20932  // Context sets the context to be used in this call's Do method. Any
 20933  // pending HTTP request will be aborted if the provided context is
 20934  // canceled.
 20935  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsPatchCall {
 20936  	c.ctx_ = ctx
 20937  	return c
 20938  }
 20939  
 20940  // Header returns an http.Header that can be modified by the caller to
 20941  // add HTTP headers to the request.
 20942  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Header() http.Header {
 20943  	if c.header_ == nil {
 20944  		c.header_ = make(http.Header)
 20945  	}
 20946  	return c.header_
 20947  }
 20948  
 20949  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) doRequest(alt string) (*http.Response, error) {
 20950  	reqHeaders := make(http.Header)
 20951  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20952  	for k, v := range c.header_ {
 20953  		reqHeaders[k] = v
 20954  	}
 20955  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20956  	var body io.Reader = nil
 20957  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 20958  	if err != nil {
 20959  		return nil, err
 20960  	}
 20961  	reqHeaders.Set("Content-Type", "application/json")
 20962  	c.urlParams_.Set("alt", alt)
 20963  	c.urlParams_.Set("prettyPrint", "false")
 20964  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 20965  	urls += "?" + c.urlParams_.Encode()
 20966  	req, err := http.NewRequest("PATCH", urls, body)
 20967  	if err != nil {
 20968  		return nil, err
 20969  	}
 20970  	req.Header = reqHeaders
 20971  	googleapi.Expand(req.URL, map[string]string{
 20972  		"name": c.name,
 20973  	})
 20974  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20975  }
 20976  
 20977  // Do executes the "integrations.projects.locations.products.authConfigs.patch" call.
 20978  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 20979  // will be non-nil. Any non-2xx status code is an error. Response
 20980  // headers are in either
 20981  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 20982  // (if a response was returned at all) in
 20983  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20984  // whether the returned error was because http.StatusNotModified was
 20985  // returned.
 20986  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 20987  	gensupport.SetOptions(c.urlParams_, opts...)
 20988  	res, err := c.doRequest("json")
 20989  	if res != nil && res.StatusCode == http.StatusNotModified {
 20990  		if res.Body != nil {
 20991  			res.Body.Close()
 20992  		}
 20993  		return nil, gensupport.WrapError(&googleapi.Error{
 20994  			Code:   res.StatusCode,
 20995  			Header: res.Header,
 20996  		})
 20997  	}
 20998  	if err != nil {
 20999  		return nil, err
 21000  	}
 21001  	defer googleapi.CloseBody(res)
 21002  	if err := googleapi.CheckResponse(res); err != nil {
 21003  		return nil, gensupport.WrapError(err)
 21004  	}
 21005  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 21006  		ServerResponse: googleapi.ServerResponse{
 21007  			Header:         res.Header,
 21008  			HTTPStatusCode: res.StatusCode,
 21009  		},
 21010  	}
 21011  	target := &ret
 21012  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21013  		return nil, err
 21014  	}
 21015  	return ret, nil
 21016  	// {
 21017  	//   "description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.",
 21018  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}",
 21019  	//   "httpMethod": "PATCH",
 21020  	//   "id": "integrations.projects.locations.products.authConfigs.patch",
 21021  	//   "parameterOrder": [
 21022  	//     "name"
 21023  	//   ],
 21024  	//   "parameters": {
 21025  	//     "clientCertificate.encryptedPrivateKey": {
 21026  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 21027  	//       "location": "query",
 21028  	//       "type": "string"
 21029  	//     },
 21030  	//     "clientCertificate.passphrase": {
 21031  	//       "description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.",
 21032  	//       "location": "query",
 21033  	//       "type": "string"
 21034  	//     },
 21035  	//     "clientCertificate.sslCertificate": {
 21036  	//       "description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----",
 21037  	//       "location": "query",
 21038  	//       "type": "string"
 21039  	//     },
 21040  	//     "name": {
 21041  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.",
 21042  	//       "location": "path",
 21043  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$",
 21044  	//       "required": true,
 21045  	//       "type": "string"
 21046  	//     },
 21047  	//     "updateMask": {
 21048  	//       "description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.",
 21049  	//       "format": "google-fieldmask",
 21050  	//       "location": "query",
 21051  	//       "type": "string"
 21052  	//     }
 21053  	//   },
 21054  	//   "path": "v1/{+name}",
 21055  	//   "request": {
 21056  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 21057  	//   },
 21058  	//   "response": {
 21059  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 21060  	//   },
 21061  	//   "scopes": [
 21062  	//     "https://www.googleapis.com/auth/cloud-platform"
 21063  	//   ]
 21064  	// }
 21065  
 21066  }
 21067  
 21068  // method id "integrations.projects.locations.products.certificates.create":
 21069  
 21070  type ProjectsLocationsProductsCertificatesCreateCall struct {
 21071  	s                                         *Service
 21072  	parent                                    string
 21073  	googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate
 21074  	urlParams_                                gensupport.URLParams
 21075  	ctx_                                      context.Context
 21076  	header_                                   http.Header
 21077  }
 21078  
 21079  // Create: Creates a new certificate. The certificate will be registered
 21080  // to the trawler service and will be encrypted using cloud KMS and
 21081  // stored in Spanner Returns the certificate.
 21082  //
 21083  // - parent: "projects/{project}/locations/{location}" format.
 21084  func (r *ProjectsLocationsProductsCertificatesService) Create(parent string, googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate) *ProjectsLocationsProductsCertificatesCreateCall {
 21085  	c := &ProjectsLocationsProductsCertificatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21086  	c.parent = parent
 21087  	c.googlecloudintegrationsv1alphacertificate = googlecloudintegrationsv1alphacertificate
 21088  	return c
 21089  }
 21090  
 21091  // Fields allows partial responses to be retrieved. See
 21092  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21093  // for more information.
 21094  func (c *ProjectsLocationsProductsCertificatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesCreateCall {
 21095  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21096  	return c
 21097  }
 21098  
 21099  // Context sets the context to be used in this call's Do method. Any
 21100  // pending HTTP request will be aborted if the provided context is
 21101  // canceled.
 21102  func (c *ProjectsLocationsProductsCertificatesCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesCreateCall {
 21103  	c.ctx_ = ctx
 21104  	return c
 21105  }
 21106  
 21107  // Header returns an http.Header that can be modified by the caller to
 21108  // add HTTP headers to the request.
 21109  func (c *ProjectsLocationsProductsCertificatesCreateCall) Header() http.Header {
 21110  	if c.header_ == nil {
 21111  		c.header_ = make(http.Header)
 21112  	}
 21113  	return c.header_
 21114  }
 21115  
 21116  func (c *ProjectsLocationsProductsCertificatesCreateCall) doRequest(alt string) (*http.Response, error) {
 21117  	reqHeaders := make(http.Header)
 21118  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21119  	for k, v := range c.header_ {
 21120  		reqHeaders[k] = v
 21121  	}
 21122  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21123  	var body io.Reader = nil
 21124  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacertificate)
 21125  	if err != nil {
 21126  		return nil, err
 21127  	}
 21128  	reqHeaders.Set("Content-Type", "application/json")
 21129  	c.urlParams_.Set("alt", alt)
 21130  	c.urlParams_.Set("prettyPrint", "false")
 21131  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/certificates")
 21132  	urls += "?" + c.urlParams_.Encode()
 21133  	req, err := http.NewRequest("POST", urls, body)
 21134  	if err != nil {
 21135  		return nil, err
 21136  	}
 21137  	req.Header = reqHeaders
 21138  	googleapi.Expand(req.URL, map[string]string{
 21139  		"parent": c.parent,
 21140  	})
 21141  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21142  }
 21143  
 21144  // Do executes the "integrations.projects.locations.products.certificates.create" call.
 21145  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 21146  // will be non-nil. Any non-2xx status code is an error. Response
 21147  // headers are in either
 21148  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 21149  // (if a response was returned at all) in
 21150  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21151  // whether the returned error was because http.StatusNotModified was
 21152  // returned.
 21153  func (c *ProjectsLocationsProductsCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 21154  	gensupport.SetOptions(c.urlParams_, opts...)
 21155  	res, err := c.doRequest("json")
 21156  	if res != nil && res.StatusCode == http.StatusNotModified {
 21157  		if res.Body != nil {
 21158  			res.Body.Close()
 21159  		}
 21160  		return nil, gensupport.WrapError(&googleapi.Error{
 21161  			Code:   res.StatusCode,
 21162  			Header: res.Header,
 21163  		})
 21164  	}
 21165  	if err != nil {
 21166  		return nil, err
 21167  	}
 21168  	defer googleapi.CloseBody(res)
 21169  	if err := googleapi.CheckResponse(res); err != nil {
 21170  		return nil, gensupport.WrapError(err)
 21171  	}
 21172  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 21173  		ServerResponse: googleapi.ServerResponse{
 21174  			Header:         res.Header,
 21175  			HTTPStatusCode: res.StatusCode,
 21176  		},
 21177  	}
 21178  	target := &ret
 21179  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21180  		return nil, err
 21181  	}
 21182  	return ret, nil
 21183  	// {
 21184  	//   "description": "Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.",
 21185  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates",
 21186  	//   "httpMethod": "POST",
 21187  	//   "id": "integrations.projects.locations.products.certificates.create",
 21188  	//   "parameterOrder": [
 21189  	//     "parent"
 21190  	//   ],
 21191  	//   "parameters": {
 21192  	//     "parent": {
 21193  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 21194  	//       "location": "path",
 21195  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 21196  	//       "required": true,
 21197  	//       "type": "string"
 21198  	//     }
 21199  	//   },
 21200  	//   "path": "v1/{+parent}/certificates",
 21201  	//   "request": {
 21202  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 21203  	//   },
 21204  	//   "response": {
 21205  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 21206  	//   },
 21207  	//   "scopes": [
 21208  	//     "https://www.googleapis.com/auth/cloud-platform"
 21209  	//   ]
 21210  	// }
 21211  
 21212  }
 21213  
 21214  // method id "integrations.projects.locations.products.certificates.delete":
 21215  
 21216  type ProjectsLocationsProductsCertificatesDeleteCall struct {
 21217  	s          *Service
 21218  	name       string
 21219  	urlParams_ gensupport.URLParams
 21220  	ctx_       context.Context
 21221  	header_    http.Header
 21222  }
 21223  
 21224  // Delete: Delete a certificate
 21225  //
 21226  // - name: The name that is associated with the Certificate.
 21227  func (r *ProjectsLocationsProductsCertificatesService) Delete(name string) *ProjectsLocationsProductsCertificatesDeleteCall {
 21228  	c := &ProjectsLocationsProductsCertificatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21229  	c.name = name
 21230  	return c
 21231  }
 21232  
 21233  // Fields allows partial responses to be retrieved. See
 21234  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21235  // for more information.
 21236  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesDeleteCall {
 21237  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21238  	return c
 21239  }
 21240  
 21241  // Context sets the context to be used in this call's Do method. Any
 21242  // pending HTTP request will be aborted if the provided context is
 21243  // canceled.
 21244  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesDeleteCall {
 21245  	c.ctx_ = ctx
 21246  	return c
 21247  }
 21248  
 21249  // Header returns an http.Header that can be modified by the caller to
 21250  // add HTTP headers to the request.
 21251  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Header() http.Header {
 21252  	if c.header_ == nil {
 21253  		c.header_ = make(http.Header)
 21254  	}
 21255  	return c.header_
 21256  }
 21257  
 21258  func (c *ProjectsLocationsProductsCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) {
 21259  	reqHeaders := make(http.Header)
 21260  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21261  	for k, v := range c.header_ {
 21262  		reqHeaders[k] = v
 21263  	}
 21264  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21265  	var body io.Reader = nil
 21266  	c.urlParams_.Set("alt", alt)
 21267  	c.urlParams_.Set("prettyPrint", "false")
 21268  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 21269  	urls += "?" + c.urlParams_.Encode()
 21270  	req, err := http.NewRequest("DELETE", urls, body)
 21271  	if err != nil {
 21272  		return nil, err
 21273  	}
 21274  	req.Header = reqHeaders
 21275  	googleapi.Expand(req.URL, map[string]string{
 21276  		"name": c.name,
 21277  	})
 21278  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21279  }
 21280  
 21281  // Do executes the "integrations.projects.locations.products.certificates.delete" call.
 21282  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 21283  // non-2xx status code is an error. Response headers are in either
 21284  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 21285  // returned at all) in error.(*googleapi.Error).Header. Use
 21286  // googleapi.IsNotModified to check whether the returned error was
 21287  // because http.StatusNotModified was returned.
 21288  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 21289  	gensupport.SetOptions(c.urlParams_, opts...)
 21290  	res, err := c.doRequest("json")
 21291  	if res != nil && res.StatusCode == http.StatusNotModified {
 21292  		if res.Body != nil {
 21293  			res.Body.Close()
 21294  		}
 21295  		return nil, gensupport.WrapError(&googleapi.Error{
 21296  			Code:   res.StatusCode,
 21297  			Header: res.Header,
 21298  		})
 21299  	}
 21300  	if err != nil {
 21301  		return nil, err
 21302  	}
 21303  	defer googleapi.CloseBody(res)
 21304  	if err := googleapi.CheckResponse(res); err != nil {
 21305  		return nil, gensupport.WrapError(err)
 21306  	}
 21307  	ret := &GoogleProtobufEmpty{
 21308  		ServerResponse: googleapi.ServerResponse{
 21309  			Header:         res.Header,
 21310  			HTTPStatusCode: res.StatusCode,
 21311  		},
 21312  	}
 21313  	target := &ret
 21314  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21315  		return nil, err
 21316  	}
 21317  	return ret, nil
 21318  	// {
 21319  	//   "description": "Delete a certificate",
 21320  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}",
 21321  	//   "httpMethod": "DELETE",
 21322  	//   "id": "integrations.projects.locations.products.certificates.delete",
 21323  	//   "parameterOrder": [
 21324  	//     "name"
 21325  	//   ],
 21326  	//   "parameters": {
 21327  	//     "name": {
 21328  	//       "description": "Required. The name that is associated with the Certificate.",
 21329  	//       "location": "path",
 21330  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$",
 21331  	//       "required": true,
 21332  	//       "type": "string"
 21333  	//     }
 21334  	//   },
 21335  	//   "path": "v1/{+name}",
 21336  	//   "response": {
 21337  	//     "$ref": "GoogleProtobufEmpty"
 21338  	//   },
 21339  	//   "scopes": [
 21340  	//     "https://www.googleapis.com/auth/cloud-platform"
 21341  	//   ]
 21342  	// }
 21343  
 21344  }
 21345  
 21346  // method id "integrations.projects.locations.products.certificates.get":
 21347  
 21348  type ProjectsLocationsProductsCertificatesGetCall struct {
 21349  	s            *Service
 21350  	name         string
 21351  	urlParams_   gensupport.URLParams
 21352  	ifNoneMatch_ string
 21353  	ctx_         context.Context
 21354  	header_      http.Header
 21355  }
 21356  
 21357  // Get: Get a certificates in the specified project.
 21358  //
 21359  //   - name: The certificate to retrieve. Format:
 21360  //     projects/{project}/locations/{location}/certificates/{certificate}.
 21361  func (r *ProjectsLocationsProductsCertificatesService) Get(name string) *ProjectsLocationsProductsCertificatesGetCall {
 21362  	c := &ProjectsLocationsProductsCertificatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21363  	c.name = name
 21364  	return c
 21365  }
 21366  
 21367  // Fields allows partial responses to be retrieved. See
 21368  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21369  // for more information.
 21370  func (c *ProjectsLocationsProductsCertificatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesGetCall {
 21371  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21372  	return c
 21373  }
 21374  
 21375  // IfNoneMatch sets the optional parameter which makes the operation
 21376  // fail if the object's ETag matches the given value. This is useful for
 21377  // getting updates only after the object has changed since the last
 21378  // request. Use googleapi.IsNotModified to check whether the response
 21379  // error from Do is the result of In-None-Match.
 21380  func (c *ProjectsLocationsProductsCertificatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsCertificatesGetCall {
 21381  	c.ifNoneMatch_ = entityTag
 21382  	return c
 21383  }
 21384  
 21385  // Context sets the context to be used in this call's Do method. Any
 21386  // pending HTTP request will be aborted if the provided context is
 21387  // canceled.
 21388  func (c *ProjectsLocationsProductsCertificatesGetCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesGetCall {
 21389  	c.ctx_ = ctx
 21390  	return c
 21391  }
 21392  
 21393  // Header returns an http.Header that can be modified by the caller to
 21394  // add HTTP headers to the request.
 21395  func (c *ProjectsLocationsProductsCertificatesGetCall) Header() http.Header {
 21396  	if c.header_ == nil {
 21397  		c.header_ = make(http.Header)
 21398  	}
 21399  	return c.header_
 21400  }
 21401  
 21402  func (c *ProjectsLocationsProductsCertificatesGetCall) doRequest(alt string) (*http.Response, error) {
 21403  	reqHeaders := make(http.Header)
 21404  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21405  	for k, v := range c.header_ {
 21406  		reqHeaders[k] = v
 21407  	}
 21408  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21409  	if c.ifNoneMatch_ != "" {
 21410  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21411  	}
 21412  	var body io.Reader = nil
 21413  	c.urlParams_.Set("alt", alt)
 21414  	c.urlParams_.Set("prettyPrint", "false")
 21415  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 21416  	urls += "?" + c.urlParams_.Encode()
 21417  	req, err := http.NewRequest("GET", urls, body)
 21418  	if err != nil {
 21419  		return nil, err
 21420  	}
 21421  	req.Header = reqHeaders
 21422  	googleapi.Expand(req.URL, map[string]string{
 21423  		"name": c.name,
 21424  	})
 21425  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21426  }
 21427  
 21428  // Do executes the "integrations.projects.locations.products.certificates.get" call.
 21429  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 21430  // will be non-nil. Any non-2xx status code is an error. Response
 21431  // headers are in either
 21432  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 21433  // (if a response was returned at all) in
 21434  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21435  // whether the returned error was because http.StatusNotModified was
 21436  // returned.
 21437  func (c *ProjectsLocationsProductsCertificatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 21438  	gensupport.SetOptions(c.urlParams_, opts...)
 21439  	res, err := c.doRequest("json")
 21440  	if res != nil && res.StatusCode == http.StatusNotModified {
 21441  		if res.Body != nil {
 21442  			res.Body.Close()
 21443  		}
 21444  		return nil, gensupport.WrapError(&googleapi.Error{
 21445  			Code:   res.StatusCode,
 21446  			Header: res.Header,
 21447  		})
 21448  	}
 21449  	if err != nil {
 21450  		return nil, err
 21451  	}
 21452  	defer googleapi.CloseBody(res)
 21453  	if err := googleapi.CheckResponse(res); err != nil {
 21454  		return nil, gensupport.WrapError(err)
 21455  	}
 21456  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 21457  		ServerResponse: googleapi.ServerResponse{
 21458  			Header:         res.Header,
 21459  			HTTPStatusCode: res.StatusCode,
 21460  		},
 21461  	}
 21462  	target := &ret
 21463  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21464  		return nil, err
 21465  	}
 21466  	return ret, nil
 21467  	// {
 21468  	//   "description": "Get a certificates in the specified project.",
 21469  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}",
 21470  	//   "httpMethod": "GET",
 21471  	//   "id": "integrations.projects.locations.products.certificates.get",
 21472  	//   "parameterOrder": [
 21473  	//     "name"
 21474  	//   ],
 21475  	//   "parameters": {
 21476  	//     "name": {
 21477  	//       "description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}",
 21478  	//       "location": "path",
 21479  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$",
 21480  	//       "required": true,
 21481  	//       "type": "string"
 21482  	//     }
 21483  	//   },
 21484  	//   "path": "v1/{+name}",
 21485  	//   "response": {
 21486  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 21487  	//   },
 21488  	//   "scopes": [
 21489  	//     "https://www.googleapis.com/auth/cloud-platform"
 21490  	//   ]
 21491  	// }
 21492  
 21493  }
 21494  
 21495  // method id "integrations.projects.locations.products.certificates.list":
 21496  
 21497  type ProjectsLocationsProductsCertificatesListCall struct {
 21498  	s            *Service
 21499  	parent       string
 21500  	urlParams_   gensupport.URLParams
 21501  	ifNoneMatch_ string
 21502  	ctx_         context.Context
 21503  	header_      http.Header
 21504  }
 21505  
 21506  // List: List all the certificates that match the filter. Restrict to
 21507  // certificate of current client only.
 21508  //
 21509  // - parent: The client, which owns this collection of Certificates.
 21510  func (r *ProjectsLocationsProductsCertificatesService) List(parent string) *ProjectsLocationsProductsCertificatesListCall {
 21511  	c := &ProjectsLocationsProductsCertificatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21512  	c.parent = parent
 21513  	return c
 21514  }
 21515  
 21516  // Filter sets the optional parameter "filter": Filtering as supported
 21517  // in
 21518  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 21519  func (c *ProjectsLocationsProductsCertificatesListCall) Filter(filter string) *ProjectsLocationsProductsCertificatesListCall {
 21520  	c.urlParams_.Set("filter", filter)
 21521  	return c
 21522  }
 21523  
 21524  // PageSize sets the optional parameter "pageSize": The size of entries
 21525  // in the response. If unspecified, defaults to 100.
 21526  func (c *ProjectsLocationsProductsCertificatesListCall) PageSize(pageSize int64) *ProjectsLocationsProductsCertificatesListCall {
 21527  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 21528  	return c
 21529  }
 21530  
 21531  // PageToken sets the optional parameter "pageToken": The token returned
 21532  // in the previous response.
 21533  func (c *ProjectsLocationsProductsCertificatesListCall) PageToken(pageToken string) *ProjectsLocationsProductsCertificatesListCall {
 21534  	c.urlParams_.Set("pageToken", pageToken)
 21535  	return c
 21536  }
 21537  
 21538  // ReadMask sets the optional parameter "readMask": The mask which
 21539  // specifies fields that need to be returned in the Certificate's
 21540  // response.
 21541  func (c *ProjectsLocationsProductsCertificatesListCall) ReadMask(readMask string) *ProjectsLocationsProductsCertificatesListCall {
 21542  	c.urlParams_.Set("readMask", readMask)
 21543  	return c
 21544  }
 21545  
 21546  // Fields allows partial responses to be retrieved. See
 21547  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21548  // for more information.
 21549  func (c *ProjectsLocationsProductsCertificatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesListCall {
 21550  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21551  	return c
 21552  }
 21553  
 21554  // IfNoneMatch sets the optional parameter which makes the operation
 21555  // fail if the object's ETag matches the given value. This is useful for
 21556  // getting updates only after the object has changed since the last
 21557  // request. Use googleapi.IsNotModified to check whether the response
 21558  // error from Do is the result of In-None-Match.
 21559  func (c *ProjectsLocationsProductsCertificatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsCertificatesListCall {
 21560  	c.ifNoneMatch_ = entityTag
 21561  	return c
 21562  }
 21563  
 21564  // Context sets the context to be used in this call's Do method. Any
 21565  // pending HTTP request will be aborted if the provided context is
 21566  // canceled.
 21567  func (c *ProjectsLocationsProductsCertificatesListCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesListCall {
 21568  	c.ctx_ = ctx
 21569  	return c
 21570  }
 21571  
 21572  // Header returns an http.Header that can be modified by the caller to
 21573  // add HTTP headers to the request.
 21574  func (c *ProjectsLocationsProductsCertificatesListCall) Header() http.Header {
 21575  	if c.header_ == nil {
 21576  		c.header_ = make(http.Header)
 21577  	}
 21578  	return c.header_
 21579  }
 21580  
 21581  func (c *ProjectsLocationsProductsCertificatesListCall) doRequest(alt string) (*http.Response, error) {
 21582  	reqHeaders := make(http.Header)
 21583  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21584  	for k, v := range c.header_ {
 21585  		reqHeaders[k] = v
 21586  	}
 21587  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21588  	if c.ifNoneMatch_ != "" {
 21589  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21590  	}
 21591  	var body io.Reader = nil
 21592  	c.urlParams_.Set("alt", alt)
 21593  	c.urlParams_.Set("prettyPrint", "false")
 21594  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/certificates")
 21595  	urls += "?" + c.urlParams_.Encode()
 21596  	req, err := http.NewRequest("GET", urls, body)
 21597  	if err != nil {
 21598  		return nil, err
 21599  	}
 21600  	req.Header = reqHeaders
 21601  	googleapi.Expand(req.URL, map[string]string{
 21602  		"parent": c.parent,
 21603  	})
 21604  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21605  }
 21606  
 21607  // Do executes the "integrations.projects.locations.products.certificates.list" call.
 21608  // Exactly one of
 21609  // *GoogleCloudIntegrationsV1alphaListCertificatesResponse or error will
 21610  // be non-nil. Any non-2xx status code is an error. Response headers are
 21611  // in either
 21612  // *GoogleCloudIntegrationsV1alphaListCertificatesResponse.ServerResponse
 21613  // .Header or (if a response was returned at all) in
 21614  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21615  // whether the returned error was because http.StatusNotModified was
 21616  // returned.
 21617  func (c *ProjectsLocationsProductsCertificatesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListCertificatesResponse, error) {
 21618  	gensupport.SetOptions(c.urlParams_, opts...)
 21619  	res, err := c.doRequest("json")
 21620  	if res != nil && res.StatusCode == http.StatusNotModified {
 21621  		if res.Body != nil {
 21622  			res.Body.Close()
 21623  		}
 21624  		return nil, gensupport.WrapError(&googleapi.Error{
 21625  			Code:   res.StatusCode,
 21626  			Header: res.Header,
 21627  		})
 21628  	}
 21629  	if err != nil {
 21630  		return nil, err
 21631  	}
 21632  	defer googleapi.CloseBody(res)
 21633  	if err := googleapi.CheckResponse(res); err != nil {
 21634  		return nil, gensupport.WrapError(err)
 21635  	}
 21636  	ret := &GoogleCloudIntegrationsV1alphaListCertificatesResponse{
 21637  		ServerResponse: googleapi.ServerResponse{
 21638  			Header:         res.Header,
 21639  			HTTPStatusCode: res.StatusCode,
 21640  		},
 21641  	}
 21642  	target := &ret
 21643  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21644  		return nil, err
 21645  	}
 21646  	return ret, nil
 21647  	// {
 21648  	//   "description": "List all the certificates that match the filter. Restrict to certificate of current client only.",
 21649  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates",
 21650  	//   "httpMethod": "GET",
 21651  	//   "id": "integrations.projects.locations.products.certificates.list",
 21652  	//   "parameterOrder": [
 21653  	//     "parent"
 21654  	//   ],
 21655  	//   "parameters": {
 21656  	//     "filter": {
 21657  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 21658  	//       "location": "query",
 21659  	//       "type": "string"
 21660  	//     },
 21661  	//     "pageSize": {
 21662  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 21663  	//       "format": "int32",
 21664  	//       "location": "query",
 21665  	//       "type": "integer"
 21666  	//     },
 21667  	//     "pageToken": {
 21668  	//       "description": "The token returned in the previous response.",
 21669  	//       "location": "query",
 21670  	//       "type": "string"
 21671  	//     },
 21672  	//     "parent": {
 21673  	//       "description": "Required. The client, which owns this collection of Certificates.",
 21674  	//       "location": "path",
 21675  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 21676  	//       "required": true,
 21677  	//       "type": "string"
 21678  	//     },
 21679  	//     "readMask": {
 21680  	//       "description": "The mask which specifies fields that need to be returned in the Certificate's response.",
 21681  	//       "format": "google-fieldmask",
 21682  	//       "location": "query",
 21683  	//       "type": "string"
 21684  	//     }
 21685  	//   },
 21686  	//   "path": "v1/{+parent}/certificates",
 21687  	//   "response": {
 21688  	//     "$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse"
 21689  	//   },
 21690  	//   "scopes": [
 21691  	//     "https://www.googleapis.com/auth/cloud-platform"
 21692  	//   ]
 21693  	// }
 21694  
 21695  }
 21696  
 21697  // Pages invokes f for each page of results.
 21698  // A non-nil error returned from f will halt the iteration.
 21699  // The provided context supersedes any context provided to the Context method.
 21700  func (c *ProjectsLocationsProductsCertificatesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListCertificatesResponse) error) error {
 21701  	c.ctx_ = ctx
 21702  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 21703  	for {
 21704  		x, err := c.Do()
 21705  		if err != nil {
 21706  			return err
 21707  		}
 21708  		if err := f(x); err != nil {
 21709  			return err
 21710  		}
 21711  		if x.NextPageToken == "" {
 21712  			return nil
 21713  		}
 21714  		c.PageToken(x.NextPageToken)
 21715  	}
 21716  }
 21717  
 21718  // method id "integrations.projects.locations.products.certificates.patch":
 21719  
 21720  type ProjectsLocationsProductsCertificatesPatchCall struct {
 21721  	s                                         *Service
 21722  	name                                      string
 21723  	googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate
 21724  	urlParams_                                gensupport.URLParams
 21725  	ctx_                                      context.Context
 21726  	header_                                   http.Header
 21727  }
 21728  
 21729  // Patch: Updates the certificate by id. If new certificate file is
 21730  // updated, it will register with the trawler service, re-encrypt with
 21731  // cloud KMS and update the Spanner record. Other fields will directly
 21732  // update the Spanner record. Returns the Certificate.
 21733  //
 21734  // - name: Output only. Auto generated primary key.
 21735  func (r *ProjectsLocationsProductsCertificatesService) Patch(name string, googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate) *ProjectsLocationsProductsCertificatesPatchCall {
 21736  	c := &ProjectsLocationsProductsCertificatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21737  	c.name = name
 21738  	c.googlecloudintegrationsv1alphacertificate = googlecloudintegrationsv1alphacertificate
 21739  	return c
 21740  }
 21741  
 21742  // UpdateMask sets the optional parameter "updateMask": Field mask
 21743  // specifying the fields in the above Certificate that have been
 21744  // modified and need to be updated.
 21745  func (c *ProjectsLocationsProductsCertificatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsCertificatesPatchCall {
 21746  	c.urlParams_.Set("updateMask", updateMask)
 21747  	return c
 21748  }
 21749  
 21750  // Fields allows partial responses to be retrieved. See
 21751  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21752  // for more information.
 21753  func (c *ProjectsLocationsProductsCertificatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesPatchCall {
 21754  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21755  	return c
 21756  }
 21757  
 21758  // Context sets the context to be used in this call's Do method. Any
 21759  // pending HTTP request will be aborted if the provided context is
 21760  // canceled.
 21761  func (c *ProjectsLocationsProductsCertificatesPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesPatchCall {
 21762  	c.ctx_ = ctx
 21763  	return c
 21764  }
 21765  
 21766  // Header returns an http.Header that can be modified by the caller to
 21767  // add HTTP headers to the request.
 21768  func (c *ProjectsLocationsProductsCertificatesPatchCall) Header() http.Header {
 21769  	if c.header_ == nil {
 21770  		c.header_ = make(http.Header)
 21771  	}
 21772  	return c.header_
 21773  }
 21774  
 21775  func (c *ProjectsLocationsProductsCertificatesPatchCall) doRequest(alt string) (*http.Response, error) {
 21776  	reqHeaders := make(http.Header)
 21777  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21778  	for k, v := range c.header_ {
 21779  		reqHeaders[k] = v
 21780  	}
 21781  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21782  	var body io.Reader = nil
 21783  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacertificate)
 21784  	if err != nil {
 21785  		return nil, err
 21786  	}
 21787  	reqHeaders.Set("Content-Type", "application/json")
 21788  	c.urlParams_.Set("alt", alt)
 21789  	c.urlParams_.Set("prettyPrint", "false")
 21790  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 21791  	urls += "?" + c.urlParams_.Encode()
 21792  	req, err := http.NewRequest("PATCH", urls, body)
 21793  	if err != nil {
 21794  		return nil, err
 21795  	}
 21796  	req.Header = reqHeaders
 21797  	googleapi.Expand(req.URL, map[string]string{
 21798  		"name": c.name,
 21799  	})
 21800  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21801  }
 21802  
 21803  // Do executes the "integrations.projects.locations.products.certificates.patch" call.
 21804  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 21805  // will be non-nil. Any non-2xx status code is an error. Response
 21806  // headers are in either
 21807  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 21808  // (if a response was returned at all) in
 21809  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21810  // whether the returned error was because http.StatusNotModified was
 21811  // returned.
 21812  func (c *ProjectsLocationsProductsCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 21813  	gensupport.SetOptions(c.urlParams_, opts...)
 21814  	res, err := c.doRequest("json")
 21815  	if res != nil && res.StatusCode == http.StatusNotModified {
 21816  		if res.Body != nil {
 21817  			res.Body.Close()
 21818  		}
 21819  		return nil, gensupport.WrapError(&googleapi.Error{
 21820  			Code:   res.StatusCode,
 21821  			Header: res.Header,
 21822  		})
 21823  	}
 21824  	if err != nil {
 21825  		return nil, err
 21826  	}
 21827  	defer googleapi.CloseBody(res)
 21828  	if err := googleapi.CheckResponse(res); err != nil {
 21829  		return nil, gensupport.WrapError(err)
 21830  	}
 21831  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 21832  		ServerResponse: googleapi.ServerResponse{
 21833  			Header:         res.Header,
 21834  			HTTPStatusCode: res.StatusCode,
 21835  		},
 21836  	}
 21837  	target := &ret
 21838  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21839  		return nil, err
 21840  	}
 21841  	return ret, nil
 21842  	// {
 21843  	//   "description": "Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.",
 21844  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}",
 21845  	//   "httpMethod": "PATCH",
 21846  	//   "id": "integrations.projects.locations.products.certificates.patch",
 21847  	//   "parameterOrder": [
 21848  	//     "name"
 21849  	//   ],
 21850  	//   "parameters": {
 21851  	//     "name": {
 21852  	//       "description": "Output only. Auto generated primary key",
 21853  	//       "location": "path",
 21854  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$",
 21855  	//       "required": true,
 21856  	//       "type": "string"
 21857  	//     },
 21858  	//     "updateMask": {
 21859  	//       "description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.",
 21860  	//       "format": "google-fieldmask",
 21861  	//       "location": "query",
 21862  	//       "type": "string"
 21863  	//     }
 21864  	//   },
 21865  	//   "path": "v1/{+name}",
 21866  	//   "request": {
 21867  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 21868  	//   },
 21869  	//   "response": {
 21870  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 21871  	//   },
 21872  	//   "scopes": [
 21873  	//     "https://www.googleapis.com/auth/cloud-platform"
 21874  	//   ]
 21875  	// }
 21876  
 21877  }
 21878  
 21879  // method id "integrations.projects.locations.products.cloudFunctions.create":
 21880  
 21881  type ProjectsLocationsProductsCloudFunctionsCreateCall struct {
 21882  	s                                                        *Service
 21883  	parent                                                   string
 21884  	googlecloudintegrationsv1alphacreatecloudfunctionrequest *GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest
 21885  	urlParams_                                               gensupport.URLParams
 21886  	ctx_                                                     context.Context
 21887  	header_                                                  http.Header
 21888  }
 21889  
 21890  // Create: Creates an cloud function project.
 21891  //
 21892  // - parent: The project that the executed integration belongs to.
 21893  func (r *ProjectsLocationsProductsCloudFunctionsService) Create(parent string, googlecloudintegrationsv1alphacreatecloudfunctionrequest *GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest) *ProjectsLocationsProductsCloudFunctionsCreateCall {
 21894  	c := &ProjectsLocationsProductsCloudFunctionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21895  	c.parent = parent
 21896  	c.googlecloudintegrationsv1alphacreatecloudfunctionrequest = googlecloudintegrationsv1alphacreatecloudfunctionrequest
 21897  	return c
 21898  }
 21899  
 21900  // Fields allows partial responses to be retrieved. See
 21901  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21902  // for more information.
 21903  func (c *ProjectsLocationsProductsCloudFunctionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCloudFunctionsCreateCall {
 21904  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21905  	return c
 21906  }
 21907  
 21908  // Context sets the context to be used in this call's Do method. Any
 21909  // pending HTTP request will be aborted if the provided context is
 21910  // canceled.
 21911  func (c *ProjectsLocationsProductsCloudFunctionsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsCloudFunctionsCreateCall {
 21912  	c.ctx_ = ctx
 21913  	return c
 21914  }
 21915  
 21916  // Header returns an http.Header that can be modified by the caller to
 21917  // add HTTP headers to the request.
 21918  func (c *ProjectsLocationsProductsCloudFunctionsCreateCall) Header() http.Header {
 21919  	if c.header_ == nil {
 21920  		c.header_ = make(http.Header)
 21921  	}
 21922  	return c.header_
 21923  }
 21924  
 21925  func (c *ProjectsLocationsProductsCloudFunctionsCreateCall) doRequest(alt string) (*http.Response, error) {
 21926  	reqHeaders := make(http.Header)
 21927  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21928  	for k, v := range c.header_ {
 21929  		reqHeaders[k] = v
 21930  	}
 21931  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21932  	var body io.Reader = nil
 21933  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacreatecloudfunctionrequest)
 21934  	if err != nil {
 21935  		return nil, err
 21936  	}
 21937  	reqHeaders.Set("Content-Type", "application/json")
 21938  	c.urlParams_.Set("alt", alt)
 21939  	c.urlParams_.Set("prettyPrint", "false")
 21940  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/cloudFunctions")
 21941  	urls += "?" + c.urlParams_.Encode()
 21942  	req, err := http.NewRequest("POST", urls, body)
 21943  	if err != nil {
 21944  		return nil, err
 21945  	}
 21946  	req.Header = reqHeaders
 21947  	googleapi.Expand(req.URL, map[string]string{
 21948  		"parent": c.parent,
 21949  	})
 21950  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21951  }
 21952  
 21953  // Do executes the "integrations.projects.locations.products.cloudFunctions.create" call.
 21954  // Exactly one of
 21955  // *GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse or error
 21956  // will be non-nil. Any non-2xx status code is an error. Response
 21957  // headers are in either
 21958  // *GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse.ServerRespo
 21959  // nse.Header or (if a response was returned at all) in
 21960  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21961  // whether the returned error was because http.StatusNotModified was
 21962  // returned.
 21963  func (c *ProjectsLocationsProductsCloudFunctionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse, error) {
 21964  	gensupport.SetOptions(c.urlParams_, opts...)
 21965  	res, err := c.doRequest("json")
 21966  	if res != nil && res.StatusCode == http.StatusNotModified {
 21967  		if res.Body != nil {
 21968  			res.Body.Close()
 21969  		}
 21970  		return nil, gensupport.WrapError(&googleapi.Error{
 21971  			Code:   res.StatusCode,
 21972  			Header: res.Header,
 21973  		})
 21974  	}
 21975  	if err != nil {
 21976  		return nil, err
 21977  	}
 21978  	defer googleapi.CloseBody(res)
 21979  	if err := googleapi.CheckResponse(res); err != nil {
 21980  		return nil, gensupport.WrapError(err)
 21981  	}
 21982  	ret := &GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse{
 21983  		ServerResponse: googleapi.ServerResponse{
 21984  			Header:         res.Header,
 21985  			HTTPStatusCode: res.StatusCode,
 21986  		},
 21987  	}
 21988  	target := &ret
 21989  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21990  		return nil, err
 21991  	}
 21992  	return ret, nil
 21993  	// {
 21994  	//   "description": "Creates an cloud function project.",
 21995  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/cloudFunctions",
 21996  	//   "httpMethod": "POST",
 21997  	//   "id": "integrations.projects.locations.products.cloudFunctions.create",
 21998  	//   "parameterOrder": [
 21999  	//     "parent"
 22000  	//   ],
 22001  	//   "parameters": {
 22002  	//     "parent": {
 22003  	//       "description": "Required. The project that the executed integration belongs to.",
 22004  	//       "location": "path",
 22005  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 22006  	//       "required": true,
 22007  	//       "type": "string"
 22008  	//     }
 22009  	//   },
 22010  	//   "path": "v1/{+parent}/cloudFunctions",
 22011  	//   "request": {
 22012  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest"
 22013  	//   },
 22014  	//   "response": {
 22015  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse"
 22016  	//   },
 22017  	//   "scopes": [
 22018  	//     "https://www.googleapis.com/auth/cloud-platform"
 22019  	//   ]
 22020  	// }
 22021  
 22022  }
 22023  
 22024  // method id "integrations.projects.locations.products.integrations.archiveBundle":
 22025  
 22026  type ProjectsLocationsProductsIntegrationsArchiveBundleCall struct {
 22027  	s                                                  *Service
 22028  	name                                               string
 22029  	googlecloudintegrationsv1alphaarchivebundlerequest *GoogleCloudIntegrationsV1alphaArchiveBundleRequest
 22030  	urlParams_                                         gensupport.URLParams
 22031  	ctx_                                               context.Context
 22032  	header_                                            http.Header
 22033  }
 22034  
 22035  // ArchiveBundle: PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE
 22036  // MOVED TO A SEPARATE SERVICE. Soft-deletes the bundle.
 22037  //
 22038  //   - name: The bundle to archive. Format:
 22039  //     projects/{project}/locations/{location}/integrations/{integration}.
 22040  func (r *ProjectsLocationsProductsIntegrationsService) ArchiveBundle(name string, googlecloudintegrationsv1alphaarchivebundlerequest *GoogleCloudIntegrationsV1alphaArchiveBundleRequest) *ProjectsLocationsProductsIntegrationsArchiveBundleCall {
 22041  	c := &ProjectsLocationsProductsIntegrationsArchiveBundleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22042  	c.name = name
 22043  	c.googlecloudintegrationsv1alphaarchivebundlerequest = googlecloudintegrationsv1alphaarchivebundlerequest
 22044  	return c
 22045  }
 22046  
 22047  // Fields allows partial responses to be retrieved. See
 22048  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22049  // for more information.
 22050  func (c *ProjectsLocationsProductsIntegrationsArchiveBundleCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsArchiveBundleCall {
 22051  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22052  	return c
 22053  }
 22054  
 22055  // Context sets the context to be used in this call's Do method. Any
 22056  // pending HTTP request will be aborted if the provided context is
 22057  // canceled.
 22058  func (c *ProjectsLocationsProductsIntegrationsArchiveBundleCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsArchiveBundleCall {
 22059  	c.ctx_ = ctx
 22060  	return c
 22061  }
 22062  
 22063  // Header returns an http.Header that can be modified by the caller to
 22064  // add HTTP headers to the request.
 22065  func (c *ProjectsLocationsProductsIntegrationsArchiveBundleCall) Header() http.Header {
 22066  	if c.header_ == nil {
 22067  		c.header_ = make(http.Header)
 22068  	}
 22069  	return c.header_
 22070  }
 22071  
 22072  func (c *ProjectsLocationsProductsIntegrationsArchiveBundleCall) doRequest(alt string) (*http.Response, error) {
 22073  	reqHeaders := make(http.Header)
 22074  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22075  	for k, v := range c.header_ {
 22076  		reqHeaders[k] = v
 22077  	}
 22078  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22079  	var body io.Reader = nil
 22080  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaarchivebundlerequest)
 22081  	if err != nil {
 22082  		return nil, err
 22083  	}
 22084  	reqHeaders.Set("Content-Type", "application/json")
 22085  	c.urlParams_.Set("alt", alt)
 22086  	c.urlParams_.Set("prettyPrint", "false")
 22087  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:archiveBundle")
 22088  	urls += "?" + c.urlParams_.Encode()
 22089  	req, err := http.NewRequest("POST", urls, body)
 22090  	if err != nil {
 22091  		return nil, err
 22092  	}
 22093  	req.Header = reqHeaders
 22094  	googleapi.Expand(req.URL, map[string]string{
 22095  		"name": c.name,
 22096  	})
 22097  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22098  }
 22099  
 22100  // Do executes the "integrations.projects.locations.products.integrations.archiveBundle" call.
 22101  // Exactly one of *GoogleCloudIntegrationsV1alphaArchiveBundleResponse
 22102  // or error will be non-nil. Any non-2xx status code is an error.
 22103  // Response headers are in either
 22104  // *GoogleCloudIntegrationsV1alphaArchiveBundleResponse.ServerResponse.He
 22105  // ader or (if a response was returned at all) in
 22106  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22107  // whether the returned error was because http.StatusNotModified was
 22108  // returned.
 22109  func (c *ProjectsLocationsProductsIntegrationsArchiveBundleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaArchiveBundleResponse, error) {
 22110  	gensupport.SetOptions(c.urlParams_, opts...)
 22111  	res, err := c.doRequest("json")
 22112  	if res != nil && res.StatusCode == http.StatusNotModified {
 22113  		if res.Body != nil {
 22114  			res.Body.Close()
 22115  		}
 22116  		return nil, gensupport.WrapError(&googleapi.Error{
 22117  			Code:   res.StatusCode,
 22118  			Header: res.Header,
 22119  		})
 22120  	}
 22121  	if err != nil {
 22122  		return nil, err
 22123  	}
 22124  	defer googleapi.CloseBody(res)
 22125  	if err := googleapi.CheckResponse(res); err != nil {
 22126  		return nil, gensupport.WrapError(err)
 22127  	}
 22128  	ret := &GoogleCloudIntegrationsV1alphaArchiveBundleResponse{
 22129  		ServerResponse: googleapi.ServerResponse{
 22130  			Header:         res.Header,
 22131  			HTTPStatusCode: res.StatusCode,
 22132  		},
 22133  	}
 22134  	target := &ret
 22135  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22136  		return nil, err
 22137  	}
 22138  	return ret, nil
 22139  	// {
 22140  	//   "description": "PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. Soft-deletes the bundle.",
 22141  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:archiveBundle",
 22142  	//   "httpMethod": "POST",
 22143  	//   "id": "integrations.projects.locations.products.integrations.archiveBundle",
 22144  	//   "parameterOrder": [
 22145  	//     "name"
 22146  	//   ],
 22147  	//   "parameters": {
 22148  	//     "name": {
 22149  	//       "description": "Required. The bundle to archive. Format: projects/{project}/locations/{location}/integrations/{integration}",
 22150  	//       "location": "path",
 22151  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 22152  	//       "required": true,
 22153  	//       "type": "string"
 22154  	//     }
 22155  	//   },
 22156  	//   "path": "v1/{+name}:archiveBundle",
 22157  	//   "request": {
 22158  	//     "$ref": "GoogleCloudIntegrationsV1alphaArchiveBundleRequest"
 22159  	//   },
 22160  	//   "response": {
 22161  	//     "$ref": "GoogleCloudIntegrationsV1alphaArchiveBundleResponse"
 22162  	//   },
 22163  	//   "scopes": [
 22164  	//     "https://www.googleapis.com/auth/cloud-platform"
 22165  	//   ]
 22166  	// }
 22167  
 22168  }
 22169  
 22170  // method id "integrations.projects.locations.products.integrations.execute":
 22171  
 22172  type ProjectsLocationsProductsIntegrationsExecuteCall struct {
 22173  	s                                                        *Service
 22174  	name                                                     string
 22175  	googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest
 22176  	urlParams_                                               gensupport.URLParams
 22177  	ctx_                                                     context.Context
 22178  	header_                                                  http.Header
 22179  }
 22180  
 22181  // Execute: Executes integrations synchronously by passing the trigger
 22182  // id in the request body. The request is not returned until the
 22183  // requested executions are either fulfilled or experienced an error. If
 22184  // the integration name is not specified (passing `-`), all of the
 22185  // associated integration under the given trigger_id will be executed.
 22186  // Otherwise only the specified integration for the given `trigger_id`
 22187  // is executed. This is helpful for execution the integration from UI.
 22188  //
 22189  // - name: The integration resource name.
 22190  func (r *ProjectsLocationsProductsIntegrationsService) Execute(name string, googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) *ProjectsLocationsProductsIntegrationsExecuteCall {
 22191  	c := &ProjectsLocationsProductsIntegrationsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22192  	c.name = name
 22193  	c.googlecloudintegrationsv1alphaexecuteintegrationsrequest = googlecloudintegrationsv1alphaexecuteintegrationsrequest
 22194  	return c
 22195  }
 22196  
 22197  // Fields allows partial responses to be retrieved. See
 22198  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22199  // for more information.
 22200  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecuteCall {
 22201  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22202  	return c
 22203  }
 22204  
 22205  // Context sets the context to be used in this call's Do method. Any
 22206  // pending HTTP request will be aborted if the provided context is
 22207  // canceled.
 22208  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecuteCall {
 22209  	c.ctx_ = ctx
 22210  	return c
 22211  }
 22212  
 22213  // Header returns an http.Header that can be modified by the caller to
 22214  // add HTTP headers to the request.
 22215  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Header() http.Header {
 22216  	if c.header_ == nil {
 22217  		c.header_ = make(http.Header)
 22218  	}
 22219  	return c.header_
 22220  }
 22221  
 22222  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) doRequest(alt string) (*http.Response, error) {
 22223  	reqHeaders := make(http.Header)
 22224  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22225  	for k, v := range c.header_ {
 22226  		reqHeaders[k] = v
 22227  	}
 22228  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22229  	var body io.Reader = nil
 22230  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaexecuteintegrationsrequest)
 22231  	if err != nil {
 22232  		return nil, err
 22233  	}
 22234  	reqHeaders.Set("Content-Type", "application/json")
 22235  	c.urlParams_.Set("alt", alt)
 22236  	c.urlParams_.Set("prettyPrint", "false")
 22237  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:execute")
 22238  	urls += "?" + c.urlParams_.Encode()
 22239  	req, err := http.NewRequest("POST", urls, body)
 22240  	if err != nil {
 22241  		return nil, err
 22242  	}
 22243  	req.Header = reqHeaders
 22244  	googleapi.Expand(req.URL, map[string]string{
 22245  		"name": c.name,
 22246  	})
 22247  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22248  }
 22249  
 22250  // Do executes the "integrations.projects.locations.products.integrations.execute" call.
 22251  // Exactly one of
 22252  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse or error
 22253  // will be non-nil. Any non-2xx status code is an error. Response
 22254  // headers are in either
 22255  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse.ServerRespo
 22256  // nse.Header or (if a response was returned at all) in
 22257  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22258  // whether the returned error was because http.StatusNotModified was
 22259  // returned.
 22260  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse, error) {
 22261  	gensupport.SetOptions(c.urlParams_, opts...)
 22262  	res, err := c.doRequest("json")
 22263  	if res != nil && res.StatusCode == http.StatusNotModified {
 22264  		if res.Body != nil {
 22265  			res.Body.Close()
 22266  		}
 22267  		return nil, gensupport.WrapError(&googleapi.Error{
 22268  			Code:   res.StatusCode,
 22269  			Header: res.Header,
 22270  		})
 22271  	}
 22272  	if err != nil {
 22273  		return nil, err
 22274  	}
 22275  	defer googleapi.CloseBody(res)
 22276  	if err := googleapi.CheckResponse(res); err != nil {
 22277  		return nil, gensupport.WrapError(err)
 22278  	}
 22279  	ret := &GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse{
 22280  		ServerResponse: googleapi.ServerResponse{
 22281  			Header:         res.Header,
 22282  			HTTPStatusCode: res.StatusCode,
 22283  		},
 22284  	}
 22285  	target := &ret
 22286  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22287  		return nil, err
 22288  	}
 22289  	return ret, nil
 22290  	// {
 22291  	//   "description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.",
 22292  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:execute",
 22293  	//   "httpMethod": "POST",
 22294  	//   "id": "integrations.projects.locations.products.integrations.execute",
 22295  	//   "parameterOrder": [
 22296  	//     "name"
 22297  	//   ],
 22298  	//   "parameters": {
 22299  	//     "name": {
 22300  	//       "description": "Required. The integration resource name.",
 22301  	//       "location": "path",
 22302  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 22303  	//       "required": true,
 22304  	//       "type": "string"
 22305  	//     }
 22306  	//   },
 22307  	//   "path": "v1/{+name}:execute",
 22308  	//   "request": {
 22309  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest"
 22310  	//   },
 22311  	//   "response": {
 22312  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse"
 22313  	//   },
 22314  	//   "scopes": [
 22315  	//     "https://www.googleapis.com/auth/cloud-platform"
 22316  	//   ]
 22317  	// }
 22318  
 22319  }
 22320  
 22321  // method id "integrations.projects.locations.products.integrations.list":
 22322  
 22323  type ProjectsLocationsProductsIntegrationsListCall struct {
 22324  	s            *Service
 22325  	parent       string
 22326  	urlParams_   gensupport.URLParams
 22327  	ifNoneMatch_ string
 22328  	ctx_         context.Context
 22329  	header_      http.Header
 22330  }
 22331  
 22332  // List: Returns the list of all integrations in the specified project.
 22333  //
 22334  //   - parent: Project and location from which the integrations should be
 22335  //     listed. Format: projects/{project}.
 22336  func (r *ProjectsLocationsProductsIntegrationsService) List(parent string) *ProjectsLocationsProductsIntegrationsListCall {
 22337  	c := &ProjectsLocationsProductsIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22338  	c.parent = parent
 22339  	return c
 22340  }
 22341  
 22342  // Filter sets the optional parameter "filter": Filter on fields of
 22343  // IntegrationVersion. Fields can be compared with literal values by use
 22344  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 22345  // >=" (greater than or equal to), "<=" (less than or equal to), and
 22346  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 22347  // are written using NOT, AND, and OR keywords. For example,
 22348  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 22349  // Filtering cannot be performed on repeated fields like `task_config`.
 22350  func (c *ProjectsLocationsProductsIntegrationsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsListCall {
 22351  	c.urlParams_.Set("filter", filter)
 22352  	return c
 22353  }
 22354  
 22355  // OrderBy sets the optional parameter "orderBy": The results would be
 22356  // returned in order you specified here. Supported sort keys are:
 22357  // Descending sort order by "last_modified_time", "created_time",
 22358  // "snapshot_number". Ascending sort order by the integration name.
 22359  func (c *ProjectsLocationsProductsIntegrationsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsListCall {
 22360  	c.urlParams_.Set("orderBy", orderBy)
 22361  	return c
 22362  }
 22363  
 22364  // PageSize sets the optional parameter "pageSize": The page size for
 22365  // the resquest.
 22366  func (c *ProjectsLocationsProductsIntegrationsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsListCall {
 22367  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 22368  	return c
 22369  }
 22370  
 22371  // PageToken sets the optional parameter "pageToken": The page token for
 22372  // the resquest.
 22373  func (c *ProjectsLocationsProductsIntegrationsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsListCall {
 22374  	c.urlParams_.Set("pageToken", pageToken)
 22375  	return c
 22376  }
 22377  
 22378  // Fields allows partial responses to be retrieved. See
 22379  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22380  // for more information.
 22381  func (c *ProjectsLocationsProductsIntegrationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsListCall {
 22382  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22383  	return c
 22384  }
 22385  
 22386  // IfNoneMatch sets the optional parameter which makes the operation
 22387  // fail if the object's ETag matches the given value. This is useful for
 22388  // getting updates only after the object has changed since the last
 22389  // request. Use googleapi.IsNotModified to check whether the response
 22390  // error from Do is the result of In-None-Match.
 22391  func (c *ProjectsLocationsProductsIntegrationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsListCall {
 22392  	c.ifNoneMatch_ = entityTag
 22393  	return c
 22394  }
 22395  
 22396  // Context sets the context to be used in this call's Do method. Any
 22397  // pending HTTP request will be aborted if the provided context is
 22398  // canceled.
 22399  func (c *ProjectsLocationsProductsIntegrationsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsListCall {
 22400  	c.ctx_ = ctx
 22401  	return c
 22402  }
 22403  
 22404  // Header returns an http.Header that can be modified by the caller to
 22405  // add HTTP headers to the request.
 22406  func (c *ProjectsLocationsProductsIntegrationsListCall) Header() http.Header {
 22407  	if c.header_ == nil {
 22408  		c.header_ = make(http.Header)
 22409  	}
 22410  	return c.header_
 22411  }
 22412  
 22413  func (c *ProjectsLocationsProductsIntegrationsListCall) doRequest(alt string) (*http.Response, error) {
 22414  	reqHeaders := make(http.Header)
 22415  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22416  	for k, v := range c.header_ {
 22417  		reqHeaders[k] = v
 22418  	}
 22419  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22420  	if c.ifNoneMatch_ != "" {
 22421  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22422  	}
 22423  	var body io.Reader = nil
 22424  	c.urlParams_.Set("alt", alt)
 22425  	c.urlParams_.Set("prettyPrint", "false")
 22426  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/integrations")
 22427  	urls += "?" + c.urlParams_.Encode()
 22428  	req, err := http.NewRequest("GET", urls, body)
 22429  	if err != nil {
 22430  		return nil, err
 22431  	}
 22432  	req.Header = reqHeaders
 22433  	googleapi.Expand(req.URL, map[string]string{
 22434  		"parent": c.parent,
 22435  	})
 22436  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22437  }
 22438  
 22439  // Do executes the "integrations.projects.locations.products.integrations.list" call.
 22440  // Exactly one of
 22441  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse or error will
 22442  // be non-nil. Any non-2xx status code is an error. Response headers are
 22443  // in either
 22444  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse.ServerResponse
 22445  // .Header or (if a response was returned at all) in
 22446  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22447  // whether the returned error was because http.StatusNotModified was
 22448  // returned.
 22449  func (c *ProjectsLocationsProductsIntegrationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationsResponse, error) {
 22450  	gensupport.SetOptions(c.urlParams_, opts...)
 22451  	res, err := c.doRequest("json")
 22452  	if res != nil && res.StatusCode == http.StatusNotModified {
 22453  		if res.Body != nil {
 22454  			res.Body.Close()
 22455  		}
 22456  		return nil, gensupport.WrapError(&googleapi.Error{
 22457  			Code:   res.StatusCode,
 22458  			Header: res.Header,
 22459  		})
 22460  	}
 22461  	if err != nil {
 22462  		return nil, err
 22463  	}
 22464  	defer googleapi.CloseBody(res)
 22465  	if err := googleapi.CheckResponse(res); err != nil {
 22466  		return nil, gensupport.WrapError(err)
 22467  	}
 22468  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationsResponse{
 22469  		ServerResponse: googleapi.ServerResponse{
 22470  			Header:         res.Header,
 22471  			HTTPStatusCode: res.StatusCode,
 22472  		},
 22473  	}
 22474  	target := &ret
 22475  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22476  		return nil, err
 22477  	}
 22478  	return ret, nil
 22479  	// {
 22480  	//   "description": "Returns the list of all integrations in the specified project.",
 22481  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations",
 22482  	//   "httpMethod": "GET",
 22483  	//   "id": "integrations.projects.locations.products.integrations.list",
 22484  	//   "parameterOrder": [
 22485  	//     "parent"
 22486  	//   ],
 22487  	//   "parameters": {
 22488  	//     "filter": {
 22489  	//       "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \"\u003e\" (greater), \"\u003c\" (less than), \u003e=\" (greater than or equal to), \"\u003c=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.",
 22490  	//       "location": "query",
 22491  	//       "type": "string"
 22492  	//     },
 22493  	//     "orderBy": {
 22494  	//       "description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.",
 22495  	//       "location": "query",
 22496  	//       "type": "string"
 22497  	//     },
 22498  	//     "pageSize": {
 22499  	//       "description": "The page size for the resquest.",
 22500  	//       "format": "int32",
 22501  	//       "location": "query",
 22502  	//       "type": "integer"
 22503  	//     },
 22504  	//     "pageToken": {
 22505  	//       "description": "The page token for the resquest.",
 22506  	//       "location": "query",
 22507  	//       "type": "string"
 22508  	//     },
 22509  	//     "parent": {
 22510  	//       "description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}",
 22511  	//       "location": "path",
 22512  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 22513  	//       "required": true,
 22514  	//       "type": "string"
 22515  	//     }
 22516  	//   },
 22517  	//   "path": "v1/{+parent}/integrations",
 22518  	//   "response": {
 22519  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse"
 22520  	//   },
 22521  	//   "scopes": [
 22522  	//     "https://www.googleapis.com/auth/cloud-platform"
 22523  	//   ]
 22524  	// }
 22525  
 22526  }
 22527  
 22528  // Pages invokes f for each page of results.
 22529  // A non-nil error returned from f will halt the iteration.
 22530  // The provided context supersedes any context provided to the Context method.
 22531  func (c *ProjectsLocationsProductsIntegrationsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationsResponse) error) error {
 22532  	c.ctx_ = ctx
 22533  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 22534  	for {
 22535  		x, err := c.Do()
 22536  		if err != nil {
 22537  			return err
 22538  		}
 22539  		if err := f(x); err != nil {
 22540  			return err
 22541  		}
 22542  		if x.NextPageToken == "" {
 22543  			return nil
 22544  		}
 22545  		c.PageToken(x.NextPageToken)
 22546  	}
 22547  }
 22548  
 22549  // method id "integrations.projects.locations.products.integrations.schedule":
 22550  
 22551  type ProjectsLocationsProductsIntegrationsScheduleCall struct {
 22552  	s                                                         *Service
 22553  	name                                                      string
 22554  	googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
 22555  	urlParams_                                                gensupport.URLParams
 22556  	ctx_                                                      context.Context
 22557  	header_                                                   http.Header
 22558  }
 22559  
 22560  // Schedule: Schedules an integration for execution by passing the
 22561  // trigger id and the scheduled time in the request body.
 22562  //
 22563  // - name: The integration resource name.
 22564  func (r *ProjectsLocationsProductsIntegrationsService) Schedule(name string, googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) *ProjectsLocationsProductsIntegrationsScheduleCall {
 22565  	c := &ProjectsLocationsProductsIntegrationsScheduleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22566  	c.name = name
 22567  	c.googlecloudintegrationsv1alphascheduleintegrationsrequest = googlecloudintegrationsv1alphascheduleintegrationsrequest
 22568  	return c
 22569  }
 22570  
 22571  // Fields allows partial responses to be retrieved. See
 22572  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22573  // for more information.
 22574  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsScheduleCall {
 22575  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22576  	return c
 22577  }
 22578  
 22579  // Context sets the context to be used in this call's Do method. Any
 22580  // pending HTTP request will be aborted if the provided context is
 22581  // canceled.
 22582  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsScheduleCall {
 22583  	c.ctx_ = ctx
 22584  	return c
 22585  }
 22586  
 22587  // Header returns an http.Header that can be modified by the caller to
 22588  // add HTTP headers to the request.
 22589  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Header() http.Header {
 22590  	if c.header_ == nil {
 22591  		c.header_ = make(http.Header)
 22592  	}
 22593  	return c.header_
 22594  }
 22595  
 22596  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) doRequest(alt string) (*http.Response, error) {
 22597  	reqHeaders := make(http.Header)
 22598  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22599  	for k, v := range c.header_ {
 22600  		reqHeaders[k] = v
 22601  	}
 22602  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22603  	var body io.Reader = nil
 22604  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphascheduleintegrationsrequest)
 22605  	if err != nil {
 22606  		return nil, err
 22607  	}
 22608  	reqHeaders.Set("Content-Type", "application/json")
 22609  	c.urlParams_.Set("alt", alt)
 22610  	c.urlParams_.Set("prettyPrint", "false")
 22611  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:schedule")
 22612  	urls += "?" + c.urlParams_.Encode()
 22613  	req, err := http.NewRequest("POST", urls, body)
 22614  	if err != nil {
 22615  		return nil, err
 22616  	}
 22617  	req.Header = reqHeaders
 22618  	googleapi.Expand(req.URL, map[string]string{
 22619  		"name": c.name,
 22620  	})
 22621  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22622  }
 22623  
 22624  // Do executes the "integrations.projects.locations.products.integrations.schedule" call.
 22625  // Exactly one of
 22626  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse or error
 22627  // will be non-nil. Any non-2xx status code is an error. Response
 22628  // headers are in either
 22629  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse.ServerResp
 22630  // onse.Header or (if a response was returned at all) in
 22631  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22632  // whether the returned error was because http.StatusNotModified was
 22633  // returned.
 22634  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse, error) {
 22635  	gensupport.SetOptions(c.urlParams_, opts...)
 22636  	res, err := c.doRequest("json")
 22637  	if res != nil && res.StatusCode == http.StatusNotModified {
 22638  		if res.Body != nil {
 22639  			res.Body.Close()
 22640  		}
 22641  		return nil, gensupport.WrapError(&googleapi.Error{
 22642  			Code:   res.StatusCode,
 22643  			Header: res.Header,
 22644  		})
 22645  	}
 22646  	if err != nil {
 22647  		return nil, err
 22648  	}
 22649  	defer googleapi.CloseBody(res)
 22650  	if err := googleapi.CheckResponse(res); err != nil {
 22651  		return nil, gensupport.WrapError(err)
 22652  	}
 22653  	ret := &GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse{
 22654  		ServerResponse: googleapi.ServerResponse{
 22655  			Header:         res.Header,
 22656  			HTTPStatusCode: res.StatusCode,
 22657  		},
 22658  	}
 22659  	target := &ret
 22660  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22661  		return nil, err
 22662  	}
 22663  	return ret, nil
 22664  	// {
 22665  	//   "description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.",
 22666  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:schedule",
 22667  	//   "httpMethod": "POST",
 22668  	//   "id": "integrations.projects.locations.products.integrations.schedule",
 22669  	//   "parameterOrder": [
 22670  	//     "name"
 22671  	//   ],
 22672  	//   "parameters": {
 22673  	//     "name": {
 22674  	//       "description": "The integration resource name.",
 22675  	//       "location": "path",
 22676  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 22677  	//       "required": true,
 22678  	//       "type": "string"
 22679  	//     }
 22680  	//   },
 22681  	//   "path": "v1/{+name}:schedule",
 22682  	//   "request": {
 22683  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest"
 22684  	//   },
 22685  	//   "response": {
 22686  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse"
 22687  	//   },
 22688  	//   "scopes": [
 22689  	//     "https://www.googleapis.com/auth/cloud-platform"
 22690  	//   ]
 22691  	// }
 22692  
 22693  }
 22694  
 22695  // method id "integrations.projects.locations.products.integrations.test":
 22696  
 22697  type ProjectsLocationsProductsIntegrationsTestCall struct {
 22698  	s                                                     *Service
 22699  	name                                                  string
 22700  	googlecloudintegrationsv1alphatestintegrationsrequest *GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
 22701  	urlParams_                                            gensupport.URLParams
 22702  	ctx_                                                  context.Context
 22703  	header_                                               http.Header
 22704  }
 22705  
 22706  // Test: Execute the integration in draft state
 22707  //
 22708  // - name: Output only. Auto-generated primary key.
 22709  func (r *ProjectsLocationsProductsIntegrationsService) Test(name string, googlecloudintegrationsv1alphatestintegrationsrequest *GoogleCloudIntegrationsV1alphaTestIntegrationsRequest) *ProjectsLocationsProductsIntegrationsTestCall {
 22710  	c := &ProjectsLocationsProductsIntegrationsTestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22711  	c.name = name
 22712  	c.googlecloudintegrationsv1alphatestintegrationsrequest = googlecloudintegrationsv1alphatestintegrationsrequest
 22713  	return c
 22714  }
 22715  
 22716  // Fields allows partial responses to be retrieved. See
 22717  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22718  // for more information.
 22719  func (c *ProjectsLocationsProductsIntegrationsTestCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsTestCall {
 22720  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22721  	return c
 22722  }
 22723  
 22724  // Context sets the context to be used in this call's Do method. Any
 22725  // pending HTTP request will be aborted if the provided context is
 22726  // canceled.
 22727  func (c *ProjectsLocationsProductsIntegrationsTestCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsTestCall {
 22728  	c.ctx_ = ctx
 22729  	return c
 22730  }
 22731  
 22732  // Header returns an http.Header that can be modified by the caller to
 22733  // add HTTP headers to the request.
 22734  func (c *ProjectsLocationsProductsIntegrationsTestCall) Header() http.Header {
 22735  	if c.header_ == nil {
 22736  		c.header_ = make(http.Header)
 22737  	}
 22738  	return c.header_
 22739  }
 22740  
 22741  func (c *ProjectsLocationsProductsIntegrationsTestCall) doRequest(alt string) (*http.Response, error) {
 22742  	reqHeaders := make(http.Header)
 22743  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22744  	for k, v := range c.header_ {
 22745  		reqHeaders[k] = v
 22746  	}
 22747  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22748  	var body io.Reader = nil
 22749  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphatestintegrationsrequest)
 22750  	if err != nil {
 22751  		return nil, err
 22752  	}
 22753  	reqHeaders.Set("Content-Type", "application/json")
 22754  	c.urlParams_.Set("alt", alt)
 22755  	c.urlParams_.Set("prettyPrint", "false")
 22756  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:test")
 22757  	urls += "?" + c.urlParams_.Encode()
 22758  	req, err := http.NewRequest("POST", urls, body)
 22759  	if err != nil {
 22760  		return nil, err
 22761  	}
 22762  	req.Header = reqHeaders
 22763  	googleapi.Expand(req.URL, map[string]string{
 22764  		"name": c.name,
 22765  	})
 22766  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22767  }
 22768  
 22769  // Do executes the "integrations.projects.locations.products.integrations.test" call.
 22770  // Exactly one of
 22771  // *GoogleCloudIntegrationsV1alphaTestIntegrationsResponse or error will
 22772  // be non-nil. Any non-2xx status code is an error. Response headers are
 22773  // in either
 22774  // *GoogleCloudIntegrationsV1alphaTestIntegrationsResponse.ServerResponse
 22775  // .Header or (if a response was returned at all) in
 22776  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22777  // whether the returned error was because http.StatusNotModified was
 22778  // returned.
 22779  func (c *ProjectsLocationsProductsIntegrationsTestCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaTestIntegrationsResponse, error) {
 22780  	gensupport.SetOptions(c.urlParams_, opts...)
 22781  	res, err := c.doRequest("json")
 22782  	if res != nil && res.StatusCode == http.StatusNotModified {
 22783  		if res.Body != nil {
 22784  			res.Body.Close()
 22785  		}
 22786  		return nil, gensupport.WrapError(&googleapi.Error{
 22787  			Code:   res.StatusCode,
 22788  			Header: res.Header,
 22789  		})
 22790  	}
 22791  	if err != nil {
 22792  		return nil, err
 22793  	}
 22794  	defer googleapi.CloseBody(res)
 22795  	if err := googleapi.CheckResponse(res); err != nil {
 22796  		return nil, gensupport.WrapError(err)
 22797  	}
 22798  	ret := &GoogleCloudIntegrationsV1alphaTestIntegrationsResponse{
 22799  		ServerResponse: googleapi.ServerResponse{
 22800  			Header:         res.Header,
 22801  			HTTPStatusCode: res.StatusCode,
 22802  		},
 22803  	}
 22804  	target := &ret
 22805  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22806  		return nil, err
 22807  	}
 22808  	return ret, nil
 22809  	// {
 22810  	//   "description": "Execute the integration in draft state",
 22811  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:test",
 22812  	//   "httpMethod": "POST",
 22813  	//   "id": "integrations.projects.locations.products.integrations.test",
 22814  	//   "parameterOrder": [
 22815  	//     "name"
 22816  	//   ],
 22817  	//   "parameters": {
 22818  	//     "name": {
 22819  	//       "description": "Output only. Auto-generated primary key.",
 22820  	//       "location": "path",
 22821  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 22822  	//       "required": true,
 22823  	//       "type": "string"
 22824  	//     }
 22825  	//   },
 22826  	//   "path": "v1/{+name}:test",
 22827  	//   "request": {
 22828  	//     "$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsRequest"
 22829  	//   },
 22830  	//   "response": {
 22831  	//     "$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsResponse"
 22832  	//   },
 22833  	//   "scopes": [
 22834  	//     "https://www.googleapis.com/auth/cloud-platform"
 22835  	//   ]
 22836  	// }
 22837  
 22838  }
 22839  
 22840  // method id "integrations.projects.locations.products.integrations.executions.cancel":
 22841  
 22842  type ProjectsLocationsProductsIntegrationsExecutionsCancelCall struct {
 22843  	s                                                    *Service
 22844  	name                                                 string
 22845  	googlecloudintegrationsv1alphacancelexecutionrequest *GoogleCloudIntegrationsV1alphaCancelExecutionRequest
 22846  	urlParams_                                           gensupport.URLParams
 22847  	ctx_                                                 context.Context
 22848  	header_                                              http.Header
 22849  }
 22850  
 22851  // Cancel: Cancellation of an execution
 22852  //
 22853  //   - name: The execution resource name. Format:
 22854  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 22855  //     tegrations/{integration_id}/executions/{execution_id}.
 22856  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) Cancel(name string, googlecloudintegrationsv1alphacancelexecutionrequest *GoogleCloudIntegrationsV1alphaCancelExecutionRequest) *ProjectsLocationsProductsIntegrationsExecutionsCancelCall {
 22857  	c := &ProjectsLocationsProductsIntegrationsExecutionsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22858  	c.name = name
 22859  	c.googlecloudintegrationsv1alphacancelexecutionrequest = googlecloudintegrationsv1alphacancelexecutionrequest
 22860  	return c
 22861  }
 22862  
 22863  // Fields allows partial responses to be retrieved. See
 22864  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22865  // for more information.
 22866  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsCancelCall {
 22867  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22868  	return c
 22869  }
 22870  
 22871  // Context sets the context to be used in this call's Do method. Any
 22872  // pending HTTP request will be aborted if the provided context is
 22873  // canceled.
 22874  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsCancelCall {
 22875  	c.ctx_ = ctx
 22876  	return c
 22877  }
 22878  
 22879  // Header returns an http.Header that can be modified by the caller to
 22880  // add HTTP headers to the request.
 22881  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Header() http.Header {
 22882  	if c.header_ == nil {
 22883  		c.header_ = make(http.Header)
 22884  	}
 22885  	return c.header_
 22886  }
 22887  
 22888  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) doRequest(alt string) (*http.Response, error) {
 22889  	reqHeaders := make(http.Header)
 22890  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22891  	for k, v := range c.header_ {
 22892  		reqHeaders[k] = v
 22893  	}
 22894  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22895  	var body io.Reader = nil
 22896  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacancelexecutionrequest)
 22897  	if err != nil {
 22898  		return nil, err
 22899  	}
 22900  	reqHeaders.Set("Content-Type", "application/json")
 22901  	c.urlParams_.Set("alt", alt)
 22902  	c.urlParams_.Set("prettyPrint", "false")
 22903  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:cancel")
 22904  	urls += "?" + c.urlParams_.Encode()
 22905  	req, err := http.NewRequest("POST", urls, body)
 22906  	if err != nil {
 22907  		return nil, err
 22908  	}
 22909  	req.Header = reqHeaders
 22910  	googleapi.Expand(req.URL, map[string]string{
 22911  		"name": c.name,
 22912  	})
 22913  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22914  }
 22915  
 22916  // Do executes the "integrations.projects.locations.products.integrations.executions.cancel" call.
 22917  // Exactly one of *GoogleCloudIntegrationsV1alphaCancelExecutionResponse
 22918  // or error will be non-nil. Any non-2xx status code is an error.
 22919  // Response headers are in either
 22920  // *GoogleCloudIntegrationsV1alphaCancelExecutionResponse.ServerResponse.
 22921  // Header or (if a response was returned at all) in
 22922  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22923  // whether the returned error was because http.StatusNotModified was
 22924  // returned.
 22925  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCancelExecutionResponse, error) {
 22926  	gensupport.SetOptions(c.urlParams_, opts...)
 22927  	res, err := c.doRequest("json")
 22928  	if res != nil && res.StatusCode == http.StatusNotModified {
 22929  		if res.Body != nil {
 22930  			res.Body.Close()
 22931  		}
 22932  		return nil, gensupport.WrapError(&googleapi.Error{
 22933  			Code:   res.StatusCode,
 22934  			Header: res.Header,
 22935  		})
 22936  	}
 22937  	if err != nil {
 22938  		return nil, err
 22939  	}
 22940  	defer googleapi.CloseBody(res)
 22941  	if err := googleapi.CheckResponse(res); err != nil {
 22942  		return nil, gensupport.WrapError(err)
 22943  	}
 22944  	ret := &GoogleCloudIntegrationsV1alphaCancelExecutionResponse{
 22945  		ServerResponse: googleapi.ServerResponse{
 22946  			Header:         res.Header,
 22947  			HTTPStatusCode: res.StatusCode,
 22948  		},
 22949  	}
 22950  	target := &ret
 22951  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22952  		return nil, err
 22953  	}
 22954  	return ret, nil
 22955  	// {
 22956  	//   "description": "Cancellation of an execution",
 22957  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}:cancel",
 22958  	//   "httpMethod": "POST",
 22959  	//   "id": "integrations.projects.locations.products.integrations.executions.cancel",
 22960  	//   "parameterOrder": [
 22961  	//     "name"
 22962  	//   ],
 22963  	//   "parameters": {
 22964  	//     "name": {
 22965  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 22966  	//       "location": "path",
 22967  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 22968  	//       "required": true,
 22969  	//       "type": "string"
 22970  	//     }
 22971  	//   },
 22972  	//   "path": "v1/{+name}:cancel",
 22973  	//   "request": {
 22974  	//     "$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest"
 22975  	//   },
 22976  	//   "response": {
 22977  	//     "$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse"
 22978  	//   },
 22979  	//   "scopes": [
 22980  	//     "https://www.googleapis.com/auth/cloud-platform"
 22981  	//   ]
 22982  	// }
 22983  
 22984  }
 22985  
 22986  // method id "integrations.projects.locations.products.integrations.executions.download":
 22987  
 22988  type ProjectsLocationsProductsIntegrationsExecutionsDownloadCall struct {
 22989  	s            *Service
 22990  	name         string
 22991  	urlParams_   gensupport.URLParams
 22992  	ifNoneMatch_ string
 22993  	ctx_         context.Context
 22994  	header_      http.Header
 22995  }
 22996  
 22997  // Download: Download the execution.
 22998  //
 22999  //   - name: The execution resource name. Format:
 23000  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 23001  //     tegrations/{integration_id}/executions/{execution_id}.
 23002  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) Download(name string) *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall {
 23003  	c := &ProjectsLocationsProductsIntegrationsExecutionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23004  	c.name = name
 23005  	return c
 23006  }
 23007  
 23008  // Fields allows partial responses to be retrieved. See
 23009  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23010  // for more information.
 23011  func (c *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall {
 23012  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23013  	return c
 23014  }
 23015  
 23016  // IfNoneMatch sets the optional parameter which makes the operation
 23017  // fail if the object's ETag matches the given value. This is useful for
 23018  // getting updates only after the object has changed since the last
 23019  // request. Use googleapi.IsNotModified to check whether the response
 23020  // error from Do is the result of In-None-Match.
 23021  func (c *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall {
 23022  	c.ifNoneMatch_ = entityTag
 23023  	return c
 23024  }
 23025  
 23026  // Context sets the context to be used in this call's Do method. Any
 23027  // pending HTTP request will be aborted if the provided context is
 23028  // canceled.
 23029  func (c *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall {
 23030  	c.ctx_ = ctx
 23031  	return c
 23032  }
 23033  
 23034  // Header returns an http.Header that can be modified by the caller to
 23035  // add HTTP headers to the request.
 23036  func (c *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall) Header() http.Header {
 23037  	if c.header_ == nil {
 23038  		c.header_ = make(http.Header)
 23039  	}
 23040  	return c.header_
 23041  }
 23042  
 23043  func (c *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall) doRequest(alt string) (*http.Response, error) {
 23044  	reqHeaders := make(http.Header)
 23045  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23046  	for k, v := range c.header_ {
 23047  		reqHeaders[k] = v
 23048  	}
 23049  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23050  	if c.ifNoneMatch_ != "" {
 23051  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23052  	}
 23053  	var body io.Reader = nil
 23054  	c.urlParams_.Set("alt", alt)
 23055  	c.urlParams_.Set("prettyPrint", "false")
 23056  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:download")
 23057  	urls += "?" + c.urlParams_.Encode()
 23058  	req, err := http.NewRequest("GET", urls, body)
 23059  	if err != nil {
 23060  		return nil, err
 23061  	}
 23062  	req.Header = reqHeaders
 23063  	googleapi.Expand(req.URL, map[string]string{
 23064  		"name": c.name,
 23065  	})
 23066  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23067  }
 23068  
 23069  // Do executes the "integrations.projects.locations.products.integrations.executions.download" call.
 23070  // Exactly one of
 23071  // *GoogleCloudIntegrationsV1alphaDownloadExecutionResponse or error
 23072  // will be non-nil. Any non-2xx status code is an error. Response
 23073  // headers are in either
 23074  // *GoogleCloudIntegrationsV1alphaDownloadExecutionResponse.ServerRespons
 23075  // e.Header or (if a response was returned at all) in
 23076  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23077  // whether the returned error was because http.StatusNotModified was
 23078  // returned.
 23079  func (c *ProjectsLocationsProductsIntegrationsExecutionsDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDownloadExecutionResponse, error) {
 23080  	gensupport.SetOptions(c.urlParams_, opts...)
 23081  	res, err := c.doRequest("json")
 23082  	if res != nil && res.StatusCode == http.StatusNotModified {
 23083  		if res.Body != nil {
 23084  			res.Body.Close()
 23085  		}
 23086  		return nil, gensupport.WrapError(&googleapi.Error{
 23087  			Code:   res.StatusCode,
 23088  			Header: res.Header,
 23089  		})
 23090  	}
 23091  	if err != nil {
 23092  		return nil, err
 23093  	}
 23094  	defer googleapi.CloseBody(res)
 23095  	if err := googleapi.CheckResponse(res); err != nil {
 23096  		return nil, gensupport.WrapError(err)
 23097  	}
 23098  	ret := &GoogleCloudIntegrationsV1alphaDownloadExecutionResponse{
 23099  		ServerResponse: googleapi.ServerResponse{
 23100  			Header:         res.Header,
 23101  			HTTPStatusCode: res.StatusCode,
 23102  		},
 23103  	}
 23104  	target := &ret
 23105  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23106  		return nil, err
 23107  	}
 23108  	return ret, nil
 23109  	// {
 23110  	//   "description": "Download the execution.",
 23111  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}:download",
 23112  	//   "httpMethod": "GET",
 23113  	//   "id": "integrations.projects.locations.products.integrations.executions.download",
 23114  	//   "parameterOrder": [
 23115  	//     "name"
 23116  	//   ],
 23117  	//   "parameters": {
 23118  	//     "name": {
 23119  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 23120  	//       "location": "path",
 23121  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 23122  	//       "required": true,
 23123  	//       "type": "string"
 23124  	//     }
 23125  	//   },
 23126  	//   "path": "v1/{+name}:download",
 23127  	//   "response": {
 23128  	//     "$ref": "GoogleCloudIntegrationsV1alphaDownloadExecutionResponse"
 23129  	//   },
 23130  	//   "scopes": [
 23131  	//     "https://www.googleapis.com/auth/cloud-platform"
 23132  	//   ]
 23133  	// }
 23134  
 23135  }
 23136  
 23137  // method id "integrations.projects.locations.products.integrations.executions.get":
 23138  
 23139  type ProjectsLocationsProductsIntegrationsExecutionsGetCall struct {
 23140  	s            *Service
 23141  	name         string
 23142  	urlParams_   gensupport.URLParams
 23143  	ifNoneMatch_ string
 23144  	ctx_         context.Context
 23145  	header_      http.Header
 23146  }
 23147  
 23148  // Get: Get an execution in the specified project.
 23149  //
 23150  //   - name: The execution resource name. Format:
 23151  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 23152  //     tegrations/{integration_id}/executions/{execution_id}.
 23153  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) Get(name string) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 23154  	c := &ProjectsLocationsProductsIntegrationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23155  	c.name = name
 23156  	return c
 23157  }
 23158  
 23159  // Fields allows partial responses to be retrieved. See
 23160  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23161  // for more information.
 23162  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 23163  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23164  	return c
 23165  }
 23166  
 23167  // IfNoneMatch sets the optional parameter which makes the operation
 23168  // fail if the object's ETag matches the given value. This is useful for
 23169  // getting updates only after the object has changed since the last
 23170  // request. Use googleapi.IsNotModified to check whether the response
 23171  // error from Do is the result of In-None-Match.
 23172  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 23173  	c.ifNoneMatch_ = entityTag
 23174  	return c
 23175  }
 23176  
 23177  // Context sets the context to be used in this call's Do method. Any
 23178  // pending HTTP request will be aborted if the provided context is
 23179  // canceled.
 23180  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 23181  	c.ctx_ = ctx
 23182  	return c
 23183  }
 23184  
 23185  // Header returns an http.Header that can be modified by the caller to
 23186  // add HTTP headers to the request.
 23187  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Header() http.Header {
 23188  	if c.header_ == nil {
 23189  		c.header_ = make(http.Header)
 23190  	}
 23191  	return c.header_
 23192  }
 23193  
 23194  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) doRequest(alt string) (*http.Response, error) {
 23195  	reqHeaders := make(http.Header)
 23196  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23197  	for k, v := range c.header_ {
 23198  		reqHeaders[k] = v
 23199  	}
 23200  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23201  	if c.ifNoneMatch_ != "" {
 23202  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23203  	}
 23204  	var body io.Reader = nil
 23205  	c.urlParams_.Set("alt", alt)
 23206  	c.urlParams_.Set("prettyPrint", "false")
 23207  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 23208  	urls += "?" + c.urlParams_.Encode()
 23209  	req, err := http.NewRequest("GET", urls, body)
 23210  	if err != nil {
 23211  		return nil, err
 23212  	}
 23213  	req.Header = reqHeaders
 23214  	googleapi.Expand(req.URL, map[string]string{
 23215  		"name": c.name,
 23216  	})
 23217  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23218  }
 23219  
 23220  // Do executes the "integrations.projects.locations.products.integrations.executions.get" call.
 23221  // Exactly one of *GoogleCloudIntegrationsV1alphaExecution or error will
 23222  // be non-nil. Any non-2xx status code is an error. Response headers are
 23223  // in either
 23224  // *GoogleCloudIntegrationsV1alphaExecution.ServerResponse.Header or (if
 23225  // a response was returned at all) in error.(*googleapi.Error).Header.
 23226  // Use googleapi.IsNotModified to check whether the returned error was
 23227  // because http.StatusNotModified was returned.
 23228  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecution, error) {
 23229  	gensupport.SetOptions(c.urlParams_, opts...)
 23230  	res, err := c.doRequest("json")
 23231  	if res != nil && res.StatusCode == http.StatusNotModified {
 23232  		if res.Body != nil {
 23233  			res.Body.Close()
 23234  		}
 23235  		return nil, gensupport.WrapError(&googleapi.Error{
 23236  			Code:   res.StatusCode,
 23237  			Header: res.Header,
 23238  		})
 23239  	}
 23240  	if err != nil {
 23241  		return nil, err
 23242  	}
 23243  	defer googleapi.CloseBody(res)
 23244  	if err := googleapi.CheckResponse(res); err != nil {
 23245  		return nil, gensupport.WrapError(err)
 23246  	}
 23247  	ret := &GoogleCloudIntegrationsV1alphaExecution{
 23248  		ServerResponse: googleapi.ServerResponse{
 23249  			Header:         res.Header,
 23250  			HTTPStatusCode: res.StatusCode,
 23251  		},
 23252  	}
 23253  	target := &ret
 23254  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23255  		return nil, err
 23256  	}
 23257  	return ret, nil
 23258  	// {
 23259  	//   "description": "Get an execution in the specified project.",
 23260  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}",
 23261  	//   "httpMethod": "GET",
 23262  	//   "id": "integrations.projects.locations.products.integrations.executions.get",
 23263  	//   "parameterOrder": [
 23264  	//     "name"
 23265  	//   ],
 23266  	//   "parameters": {
 23267  	//     "name": {
 23268  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 23269  	//       "location": "path",
 23270  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 23271  	//       "required": true,
 23272  	//       "type": "string"
 23273  	//     }
 23274  	//   },
 23275  	//   "path": "v1/{+name}",
 23276  	//   "response": {
 23277  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecution"
 23278  	//   },
 23279  	//   "scopes": [
 23280  	//     "https://www.googleapis.com/auth/cloud-platform"
 23281  	//   ]
 23282  	// }
 23283  
 23284  }
 23285  
 23286  // method id "integrations.projects.locations.products.integrations.executions.list":
 23287  
 23288  type ProjectsLocationsProductsIntegrationsExecutionsListCall struct {
 23289  	s            *Service
 23290  	parent       string
 23291  	urlParams_   gensupport.URLParams
 23292  	ifNoneMatch_ string
 23293  	ctx_         context.Context
 23294  	header_      http.Header
 23295  }
 23296  
 23297  // List: Lists the results of all the integration executions. The
 23298  // response includes the same information as the execution log
 23299  // (https://cloud.google.com/application-integration/docs/viewing-logs)
 23300  // in the Integration UI.
 23301  //
 23302  // - parent: The parent resource name of the integration execution.
 23303  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) List(parent string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23304  	c := &ProjectsLocationsProductsIntegrationsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23305  	c.parent = parent
 23306  	return c
 23307  }
 23308  
 23309  // Filter sets the optional parameter "filter": Standard filter field,
 23310  // we support filtering on all fields in EventExecutionParamIndexes
 23311  // table. All fields support for EQUALS, in additional: CreateTimestamp
 23312  // support for LESS_THAN, GREATER_THAN ParameterKey, ParameterValue,
 23313  // ParameterType support for HAS For example: "parameter_value" HAS
 23314  // \"parameter1\" Also supports operators like AND, OR, NOT For example,
 23315  // trigger_id=\"id1\" AND event_execution_state=\"FAILED\"
 23316  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23317  	c.urlParams_.Set("filter", filter)
 23318  	return c
 23319  }
 23320  
 23321  // FilterParamsCustomFilter sets the optional parameter
 23322  // "filterParams.customFilter": Optional user-provided custom filter.
 23323  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsCustomFilter(filterParamsCustomFilter string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23324  	c.urlParams_.Set("filterParams.customFilter", filterParamsCustomFilter)
 23325  	return c
 23326  }
 23327  
 23328  // FilterParamsEndTime sets the optional parameter
 23329  // "filterParams.endTime": End timestamp.
 23330  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsEndTime(filterParamsEndTime int64) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23331  	c.urlParams_.Set("filterParams.endTime", fmt.Sprint(filterParamsEndTime))
 23332  	return c
 23333  }
 23334  
 23335  // FilterParamsEventStatuses sets the optional parameter
 23336  // "filterParams.eventStatuses": List of possible event statuses.
 23337  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsEventStatuses(filterParamsEventStatuses ...string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23338  	c.urlParams_.SetMulti("filterParams.eventStatuses", append([]string{}, filterParamsEventStatuses...))
 23339  	return c
 23340  }
 23341  
 23342  // FilterParamsExecutionId sets the optional parameter
 23343  // "filterParams.executionId": Execution id.
 23344  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsExecutionId(filterParamsExecutionId string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23345  	c.urlParams_.Set("filterParams.executionId", filterParamsExecutionId)
 23346  	return c
 23347  }
 23348  
 23349  // FilterParamsParameterKey sets the optional parameter
 23350  // "filterParams.parameterKey": Param key. DEPRECATED. User
 23351  // parameter_pair_key instead.
 23352  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterKey(filterParamsParameterKey string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23353  	c.urlParams_.Set("filterParams.parameterKey", filterParamsParameterKey)
 23354  	return c
 23355  }
 23356  
 23357  // FilterParamsParameterPairKey sets the optional parameter
 23358  // "filterParams.parameterPairKey": Param key in the key value pair
 23359  // filter.
 23360  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterPairKey(filterParamsParameterPairKey string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23361  	c.urlParams_.Set("filterParams.parameterPairKey", filterParamsParameterPairKey)
 23362  	return c
 23363  }
 23364  
 23365  // FilterParamsParameterPairValue sets the optional parameter
 23366  // "filterParams.parameterPairValue": Param value in the key value pair
 23367  // filter.
 23368  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterPairValue(filterParamsParameterPairValue string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23369  	c.urlParams_.Set("filterParams.parameterPairValue", filterParamsParameterPairValue)
 23370  	return c
 23371  }
 23372  
 23373  // FilterParamsParameterType sets the optional parameter
 23374  // "filterParams.parameterType": Param type.
 23375  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterType(filterParamsParameterType string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23376  	c.urlParams_.Set("filterParams.parameterType", filterParamsParameterType)
 23377  	return c
 23378  }
 23379  
 23380  // FilterParamsParameterValue sets the optional parameter
 23381  // "filterParams.parameterValue": Param value. DEPRECATED. User
 23382  // parameter_pair_value instead.
 23383  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterValue(filterParamsParameterValue string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23384  	c.urlParams_.Set("filterParams.parameterValue", filterParamsParameterValue)
 23385  	return c
 23386  }
 23387  
 23388  // FilterParamsStartTime sets the optional parameter
 23389  // "filterParams.startTime": Start timestamp.
 23390  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsStartTime(filterParamsStartTime int64) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23391  	c.urlParams_.Set("filterParams.startTime", fmt.Sprint(filterParamsStartTime))
 23392  	return c
 23393  }
 23394  
 23395  // FilterParamsTaskStatuses sets the optional parameter
 23396  // "filterParams.taskStatuses": List of possible task statuses.
 23397  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsTaskStatuses(filterParamsTaskStatuses ...string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23398  	c.urlParams_.SetMulti("filterParams.taskStatuses", append([]string{}, filterParamsTaskStatuses...))
 23399  	return c
 23400  }
 23401  
 23402  // FilterParamsWorkflowName sets the optional parameter
 23403  // "filterParams.workflowName": Workflow name.
 23404  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsWorkflowName(filterParamsWorkflowName string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23405  	c.urlParams_.Set("filterParams.workflowName", filterParamsWorkflowName)
 23406  	return c
 23407  }
 23408  
 23409  // OrderBy sets the optional parameter "orderBy": The results would be
 23410  // returned in order you specified here. Currently supporting
 23411  // "last_modified_time" and "create_time".
 23412  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23413  	c.urlParams_.Set("orderBy", orderBy)
 23414  	return c
 23415  }
 23416  
 23417  // PageSize sets the optional parameter "pageSize": The size of entries
 23418  // in the response.
 23419  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23420  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 23421  	return c
 23422  }
 23423  
 23424  // PageToken sets the optional parameter "pageToken": The token returned
 23425  // in the previous response.
 23426  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23427  	c.urlParams_.Set("pageToken", pageToken)
 23428  	return c
 23429  }
 23430  
 23431  // ReadMask sets the optional parameter "readMask": View mask for the
 23432  // response data. If set, only the field specified will be returned as
 23433  // part of the result. If not set, all fields in event execution info
 23434  // will be filled and returned.
 23435  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) ReadMask(readMask string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23436  	c.urlParams_.Set("readMask", readMask)
 23437  	return c
 23438  }
 23439  
 23440  // RefreshAcl sets the optional parameter "refreshAcl": If true, the
 23441  // service will use the most recent acl information to list event
 23442  // execution infos and renew the acl cache. Note that fetching the most
 23443  // recent acl is synchronous, so it will increase RPC call latency.
 23444  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) RefreshAcl(refreshAcl bool) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23445  	c.urlParams_.Set("refreshAcl", fmt.Sprint(refreshAcl))
 23446  	return c
 23447  }
 23448  
 23449  // TruncateParams sets the optional parameter "truncateParams": If true,
 23450  // the service will truncate the params to only keep the first 1000
 23451  // characters of string params and empty the executions in order to make
 23452  // response smaller. Only works for UI and when the params fields are
 23453  // not filtered out.
 23454  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) TruncateParams(truncateParams bool) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23455  	c.urlParams_.Set("truncateParams", fmt.Sprint(truncateParams))
 23456  	return c
 23457  }
 23458  
 23459  // Fields allows partial responses to be retrieved. See
 23460  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23461  // for more information.
 23462  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23463  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23464  	return c
 23465  }
 23466  
 23467  // IfNoneMatch sets the optional parameter which makes the operation
 23468  // fail if the object's ETag matches the given value. This is useful for
 23469  // getting updates only after the object has changed since the last
 23470  // request. Use googleapi.IsNotModified to check whether the response
 23471  // error from Do is the result of In-None-Match.
 23472  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23473  	c.ifNoneMatch_ = entityTag
 23474  	return c
 23475  }
 23476  
 23477  // Context sets the context to be used in this call's Do method. Any
 23478  // pending HTTP request will be aborted if the provided context is
 23479  // canceled.
 23480  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 23481  	c.ctx_ = ctx
 23482  	return c
 23483  }
 23484  
 23485  // Header returns an http.Header that can be modified by the caller to
 23486  // add HTTP headers to the request.
 23487  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Header() http.Header {
 23488  	if c.header_ == nil {
 23489  		c.header_ = make(http.Header)
 23490  	}
 23491  	return c.header_
 23492  }
 23493  
 23494  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) doRequest(alt string) (*http.Response, error) {
 23495  	reqHeaders := make(http.Header)
 23496  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23497  	for k, v := range c.header_ {
 23498  		reqHeaders[k] = v
 23499  	}
 23500  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23501  	if c.ifNoneMatch_ != "" {
 23502  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23503  	}
 23504  	var body io.Reader = nil
 23505  	c.urlParams_.Set("alt", alt)
 23506  	c.urlParams_.Set("prettyPrint", "false")
 23507  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/executions")
 23508  	urls += "?" + c.urlParams_.Encode()
 23509  	req, err := http.NewRequest("GET", urls, body)
 23510  	if err != nil {
 23511  		return nil, err
 23512  	}
 23513  	req.Header = reqHeaders
 23514  	googleapi.Expand(req.URL, map[string]string{
 23515  		"parent": c.parent,
 23516  	})
 23517  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23518  }
 23519  
 23520  // Do executes the "integrations.projects.locations.products.integrations.executions.list" call.
 23521  // Exactly one of *GoogleCloudIntegrationsV1alphaListExecutionsResponse
 23522  // or error will be non-nil. Any non-2xx status code is an error.
 23523  // Response headers are in either
 23524  // *GoogleCloudIntegrationsV1alphaListExecutionsResponse.ServerResponse.H
 23525  // eader or (if a response was returned at all) in
 23526  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23527  // whether the returned error was because http.StatusNotModified was
 23528  // returned.
 23529  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListExecutionsResponse, error) {
 23530  	gensupport.SetOptions(c.urlParams_, opts...)
 23531  	res, err := c.doRequest("json")
 23532  	if res != nil && res.StatusCode == http.StatusNotModified {
 23533  		if res.Body != nil {
 23534  			res.Body.Close()
 23535  		}
 23536  		return nil, gensupport.WrapError(&googleapi.Error{
 23537  			Code:   res.StatusCode,
 23538  			Header: res.Header,
 23539  		})
 23540  	}
 23541  	if err != nil {
 23542  		return nil, err
 23543  	}
 23544  	defer googleapi.CloseBody(res)
 23545  	if err := googleapi.CheckResponse(res); err != nil {
 23546  		return nil, gensupport.WrapError(err)
 23547  	}
 23548  	ret := &GoogleCloudIntegrationsV1alphaListExecutionsResponse{
 23549  		ServerResponse: googleapi.ServerResponse{
 23550  			Header:         res.Header,
 23551  			HTTPStatusCode: res.StatusCode,
 23552  		},
 23553  	}
 23554  	target := &ret
 23555  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23556  		return nil, err
 23557  	}
 23558  	return ret, nil
 23559  	// {
 23560  	//   "description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.",
 23561  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions",
 23562  	//   "httpMethod": "GET",
 23563  	//   "id": "integrations.projects.locations.products.integrations.executions.list",
 23564  	//   "parameterOrder": [
 23565  	//     "parent"
 23566  	//   ],
 23567  	//   "parameters": {
 23568  	//     "filter": {
 23569  	//       "description": "Optional. Standard filter field, we support filtering on all fields in EventExecutionParamIndexes table. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterKey, ParameterValue, ParameterType support for HAS For example: \"parameter_value\" HAS \\\"parameter1\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND event_execution_state=\\\"FAILED\\\"",
 23570  	//       "location": "query",
 23571  	//       "type": "string"
 23572  	//     },
 23573  	//     "filterParams.customFilter": {
 23574  	//       "description": "Optional user-provided custom filter.",
 23575  	//       "location": "query",
 23576  	//       "type": "string"
 23577  	//     },
 23578  	//     "filterParams.endTime": {
 23579  	//       "description": "End timestamp.",
 23580  	//       "format": "int64",
 23581  	//       "location": "query",
 23582  	//       "type": "string"
 23583  	//     },
 23584  	//     "filterParams.eventStatuses": {
 23585  	//       "description": "List of possible event statuses.",
 23586  	//       "location": "query",
 23587  	//       "repeated": true,
 23588  	//       "type": "string"
 23589  	//     },
 23590  	//     "filterParams.executionId": {
 23591  	//       "description": "Execution id.",
 23592  	//       "location": "query",
 23593  	//       "type": "string"
 23594  	//     },
 23595  	//     "filterParams.parameterKey": {
 23596  	//       "description": "Param key. DEPRECATED. User parameter_pair_key instead.",
 23597  	//       "location": "query",
 23598  	//       "type": "string"
 23599  	//     },
 23600  	//     "filterParams.parameterPairKey": {
 23601  	//       "description": "Param key in the key value pair filter.",
 23602  	//       "location": "query",
 23603  	//       "type": "string"
 23604  	//     },
 23605  	//     "filterParams.parameterPairValue": {
 23606  	//       "description": "Param value in the key value pair filter.",
 23607  	//       "location": "query",
 23608  	//       "type": "string"
 23609  	//     },
 23610  	//     "filterParams.parameterType": {
 23611  	//       "description": "Param type.",
 23612  	//       "location": "query",
 23613  	//       "type": "string"
 23614  	//     },
 23615  	//     "filterParams.parameterValue": {
 23616  	//       "description": "Param value. DEPRECATED. User parameter_pair_value instead.",
 23617  	//       "location": "query",
 23618  	//       "type": "string"
 23619  	//     },
 23620  	//     "filterParams.startTime": {
 23621  	//       "description": "Start timestamp.",
 23622  	//       "format": "int64",
 23623  	//       "location": "query",
 23624  	//       "type": "string"
 23625  	//     },
 23626  	//     "filterParams.taskStatuses": {
 23627  	//       "description": "List of possible task statuses.",
 23628  	//       "location": "query",
 23629  	//       "repeated": true,
 23630  	//       "type": "string"
 23631  	//     },
 23632  	//     "filterParams.workflowName": {
 23633  	//       "description": "Workflow name.",
 23634  	//       "location": "query",
 23635  	//       "type": "string"
 23636  	//     },
 23637  	//     "orderBy": {
 23638  	//       "description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".",
 23639  	//       "location": "query",
 23640  	//       "type": "string"
 23641  	//     },
 23642  	//     "pageSize": {
 23643  	//       "description": "Optional. The size of entries in the response.",
 23644  	//       "format": "int32",
 23645  	//       "location": "query",
 23646  	//       "type": "integer"
 23647  	//     },
 23648  	//     "pageToken": {
 23649  	//       "description": "Optional. The token returned in the previous response.",
 23650  	//       "location": "query",
 23651  	//       "type": "string"
 23652  	//     },
 23653  	//     "parent": {
 23654  	//       "description": "Required. The parent resource name of the integration execution.",
 23655  	//       "location": "path",
 23656  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 23657  	//       "required": true,
 23658  	//       "type": "string"
 23659  	//     },
 23660  	//     "readMask": {
 23661  	//       "description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.",
 23662  	//       "format": "google-fieldmask",
 23663  	//       "location": "query",
 23664  	//       "type": "string"
 23665  	//     },
 23666  	//     "refreshAcl": {
 23667  	//       "description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.",
 23668  	//       "location": "query",
 23669  	//       "type": "boolean"
 23670  	//     },
 23671  	//     "truncateParams": {
 23672  	//       "description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.",
 23673  	//       "location": "query",
 23674  	//       "type": "boolean"
 23675  	//     }
 23676  	//   },
 23677  	//   "path": "v1/{+parent}/executions",
 23678  	//   "response": {
 23679  	//     "$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse"
 23680  	//   },
 23681  	//   "scopes": [
 23682  	//     "https://www.googleapis.com/auth/cloud-platform"
 23683  	//   ]
 23684  	// }
 23685  
 23686  }
 23687  
 23688  // Pages invokes f for each page of results.
 23689  // A non-nil error returned from f will halt the iteration.
 23690  // The provided context supersedes any context provided to the Context method.
 23691  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListExecutionsResponse) error) error {
 23692  	c.ctx_ = ctx
 23693  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 23694  	for {
 23695  		x, err := c.Do()
 23696  		if err != nil {
 23697  			return err
 23698  		}
 23699  		if err := f(x); err != nil {
 23700  			return err
 23701  		}
 23702  		if x.NextPageToken == "" {
 23703  			return nil
 23704  		}
 23705  		c.PageToken(x.NextPageToken)
 23706  	}
 23707  }
 23708  
 23709  // method id "integrations.projects.locations.products.integrations.executions.suspensions.lift":
 23710  
 23711  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall struct {
 23712  	s                                                   *Service
 23713  	name                                                string
 23714  	googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest
 23715  	urlParams_                                          gensupport.URLParams
 23716  	ctx_                                                context.Context
 23717  	header_                                             http.Header
 23718  }
 23719  
 23720  // Lift: * Lifts suspension for advanced suspension task. Fetch
 23721  // corresponding suspension with provided suspension Id, resolve
 23722  // suspension, and set up suspension result for the Suspension Task.
 23723  //
 23724  //   - name: The resource that the suspension belongs to.
 23725  //     "projects/{project}/locations/{location}/products/{product}/integrat
 23726  //     ions/{integration}/executions/{execution}/suspensions/{suspenion}"
 23727  //     format.
 23728  func (r *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService) Lift(name string, googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall {
 23729  	c := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23730  	c.name = name
 23731  	c.googlecloudintegrationsv1alphaliftsuspensionrequest = googlecloudintegrationsv1alphaliftsuspensionrequest
 23732  	return c
 23733  }
 23734  
 23735  // Fields allows partial responses to be retrieved. See
 23736  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23737  // for more information.
 23738  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall {
 23739  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23740  	return c
 23741  }
 23742  
 23743  // Context sets the context to be used in this call's Do method. Any
 23744  // pending HTTP request will be aborted if the provided context is
 23745  // canceled.
 23746  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall {
 23747  	c.ctx_ = ctx
 23748  	return c
 23749  }
 23750  
 23751  // Header returns an http.Header that can be modified by the caller to
 23752  // add HTTP headers to the request.
 23753  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Header() http.Header {
 23754  	if c.header_ == nil {
 23755  		c.header_ = make(http.Header)
 23756  	}
 23757  	return c.header_
 23758  }
 23759  
 23760  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) doRequest(alt string) (*http.Response, error) {
 23761  	reqHeaders := make(http.Header)
 23762  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23763  	for k, v := range c.header_ {
 23764  		reqHeaders[k] = v
 23765  	}
 23766  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23767  	var body io.Reader = nil
 23768  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaliftsuspensionrequest)
 23769  	if err != nil {
 23770  		return nil, err
 23771  	}
 23772  	reqHeaders.Set("Content-Type", "application/json")
 23773  	c.urlParams_.Set("alt", alt)
 23774  	c.urlParams_.Set("prettyPrint", "false")
 23775  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:lift")
 23776  	urls += "?" + c.urlParams_.Encode()
 23777  	req, err := http.NewRequest("POST", urls, body)
 23778  	if err != nil {
 23779  		return nil, err
 23780  	}
 23781  	req.Header = reqHeaders
 23782  	googleapi.Expand(req.URL, map[string]string{
 23783  		"name": c.name,
 23784  	})
 23785  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23786  }
 23787  
 23788  // Do executes the "integrations.projects.locations.products.integrations.executions.suspensions.lift" call.
 23789  // Exactly one of *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
 23790  // or error will be non-nil. Any non-2xx status code is an error.
 23791  // Response headers are in either
 23792  // *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse.ServerResponse.H
 23793  // eader or (if a response was returned at all) in
 23794  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23795  // whether the returned error was because http.StatusNotModified was
 23796  // returned.
 23797  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaLiftSuspensionResponse, error) {
 23798  	gensupport.SetOptions(c.urlParams_, opts...)
 23799  	res, err := c.doRequest("json")
 23800  	if res != nil && res.StatusCode == http.StatusNotModified {
 23801  		if res.Body != nil {
 23802  			res.Body.Close()
 23803  		}
 23804  		return nil, gensupport.WrapError(&googleapi.Error{
 23805  			Code:   res.StatusCode,
 23806  			Header: res.Header,
 23807  		})
 23808  	}
 23809  	if err != nil {
 23810  		return nil, err
 23811  	}
 23812  	defer googleapi.CloseBody(res)
 23813  	if err := googleapi.CheckResponse(res); err != nil {
 23814  		return nil, gensupport.WrapError(err)
 23815  	}
 23816  	ret := &GoogleCloudIntegrationsV1alphaLiftSuspensionResponse{
 23817  		ServerResponse: googleapi.ServerResponse{
 23818  			Header:         res.Header,
 23819  			HTTPStatusCode: res.StatusCode,
 23820  		},
 23821  	}
 23822  	target := &ret
 23823  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23824  		return nil, err
 23825  	}
 23826  	return ret, nil
 23827  	// {
 23828  	//   "description": "* Lifts suspension for advanced suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.",
 23829  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift",
 23830  	//   "httpMethod": "POST",
 23831  	//   "id": "integrations.projects.locations.products.integrations.executions.suspensions.lift",
 23832  	//   "parameterOrder": [
 23833  	//     "name"
 23834  	//   ],
 23835  	//   "parameters": {
 23836  	//     "name": {
 23837  	//       "description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.",
 23838  	//       "location": "path",
 23839  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 23840  	//       "required": true,
 23841  	//       "type": "string"
 23842  	//     }
 23843  	//   },
 23844  	//   "path": "v1/{+name}:lift",
 23845  	//   "request": {
 23846  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest"
 23847  	//   },
 23848  	//   "response": {
 23849  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse"
 23850  	//   },
 23851  	//   "scopes": [
 23852  	//     "https://www.googleapis.com/auth/cloud-platform"
 23853  	//   ]
 23854  	// }
 23855  
 23856  }
 23857  
 23858  // method id "integrations.projects.locations.products.integrations.executions.suspensions.list":
 23859  
 23860  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall struct {
 23861  	s            *Service
 23862  	parent       string
 23863  	urlParams_   gensupport.URLParams
 23864  	ifNoneMatch_ string
 23865  	ctx_         context.Context
 23866  	header_      http.Header
 23867  }
 23868  
 23869  // List: * Lists suspensions associated with a specific execution. Only
 23870  // those with permissions to resolve the relevant suspensions will be
 23871  // able to view them.
 23872  //
 23873  //   - parent:
 23874  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 23875  //     tegrations/{integration_name}/executions/{execution_name}.
 23876  func (r *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService) List(parent string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23877  	c := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23878  	c.parent = parent
 23879  	return c
 23880  }
 23881  
 23882  // Filter sets the optional parameter "filter": Standard filter field.
 23883  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23884  	c.urlParams_.Set("filter", filter)
 23885  	return c
 23886  }
 23887  
 23888  // OrderBy sets the optional parameter "orderBy": Field name to order
 23889  // by.
 23890  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23891  	c.urlParams_.Set("orderBy", orderBy)
 23892  	return c
 23893  }
 23894  
 23895  // PageSize sets the optional parameter "pageSize": Maximum number of
 23896  // entries in the response.
 23897  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23898  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 23899  	return c
 23900  }
 23901  
 23902  // PageToken sets the optional parameter "pageToken": Token to retrieve
 23903  // a specific page.
 23904  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23905  	c.urlParams_.Set("pageToken", pageToken)
 23906  	return c
 23907  }
 23908  
 23909  // Fields allows partial responses to be retrieved. See
 23910  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23911  // for more information.
 23912  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23913  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23914  	return c
 23915  }
 23916  
 23917  // IfNoneMatch sets the optional parameter which makes the operation
 23918  // fail if the object's ETag matches the given value. This is useful for
 23919  // getting updates only after the object has changed since the last
 23920  // request. Use googleapi.IsNotModified to check whether the response
 23921  // error from Do is the result of In-None-Match.
 23922  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23923  	c.ifNoneMatch_ = entityTag
 23924  	return c
 23925  }
 23926  
 23927  // Context sets the context to be used in this call's Do method. Any
 23928  // pending HTTP request will be aborted if the provided context is
 23929  // canceled.
 23930  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 23931  	c.ctx_ = ctx
 23932  	return c
 23933  }
 23934  
 23935  // Header returns an http.Header that can be modified by the caller to
 23936  // add HTTP headers to the request.
 23937  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Header() http.Header {
 23938  	if c.header_ == nil {
 23939  		c.header_ = make(http.Header)
 23940  	}
 23941  	return c.header_
 23942  }
 23943  
 23944  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) doRequest(alt string) (*http.Response, error) {
 23945  	reqHeaders := make(http.Header)
 23946  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23947  	for k, v := range c.header_ {
 23948  		reqHeaders[k] = v
 23949  	}
 23950  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23951  	if c.ifNoneMatch_ != "" {
 23952  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23953  	}
 23954  	var body io.Reader = nil
 23955  	c.urlParams_.Set("alt", alt)
 23956  	c.urlParams_.Set("prettyPrint", "false")
 23957  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/suspensions")
 23958  	urls += "?" + c.urlParams_.Encode()
 23959  	req, err := http.NewRequest("GET", urls, body)
 23960  	if err != nil {
 23961  		return nil, err
 23962  	}
 23963  	req.Header = reqHeaders
 23964  	googleapi.Expand(req.URL, map[string]string{
 23965  		"parent": c.parent,
 23966  	})
 23967  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23968  }
 23969  
 23970  // Do executes the "integrations.projects.locations.products.integrations.executions.suspensions.list" call.
 23971  // Exactly one of *GoogleCloudIntegrationsV1alphaListSuspensionsResponse
 23972  // or error will be non-nil. Any non-2xx status code is an error.
 23973  // Response headers are in either
 23974  // *GoogleCloudIntegrationsV1alphaListSuspensionsResponse.ServerResponse.
 23975  // Header or (if a response was returned at all) in
 23976  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23977  // whether the returned error was because http.StatusNotModified was
 23978  // returned.
 23979  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSuspensionsResponse, error) {
 23980  	gensupport.SetOptions(c.urlParams_, opts...)
 23981  	res, err := c.doRequest("json")
 23982  	if res != nil && res.StatusCode == http.StatusNotModified {
 23983  		if res.Body != nil {
 23984  			res.Body.Close()
 23985  		}
 23986  		return nil, gensupport.WrapError(&googleapi.Error{
 23987  			Code:   res.StatusCode,
 23988  			Header: res.Header,
 23989  		})
 23990  	}
 23991  	if err != nil {
 23992  		return nil, err
 23993  	}
 23994  	defer googleapi.CloseBody(res)
 23995  	if err := googleapi.CheckResponse(res); err != nil {
 23996  		return nil, gensupport.WrapError(err)
 23997  	}
 23998  	ret := &GoogleCloudIntegrationsV1alphaListSuspensionsResponse{
 23999  		ServerResponse: googleapi.ServerResponse{
 24000  			Header:         res.Header,
 24001  			HTTPStatusCode: res.StatusCode,
 24002  		},
 24003  	}
 24004  	target := &ret
 24005  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24006  		return nil, err
 24007  	}
 24008  	return ret, nil
 24009  	// {
 24010  	//   "description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.",
 24011  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions",
 24012  	//   "httpMethod": "GET",
 24013  	//   "id": "integrations.projects.locations.products.integrations.executions.suspensions.list",
 24014  	//   "parameterOrder": [
 24015  	//     "parent"
 24016  	//   ],
 24017  	//   "parameters": {
 24018  	//     "filter": {
 24019  	//       "description": "Standard filter field.",
 24020  	//       "location": "query",
 24021  	//       "type": "string"
 24022  	//     },
 24023  	//     "orderBy": {
 24024  	//       "description": "Field name to order by.",
 24025  	//       "location": "query",
 24026  	//       "type": "string"
 24027  	//     },
 24028  	//     "pageSize": {
 24029  	//       "description": "Maximum number of entries in the response.",
 24030  	//       "format": "int32",
 24031  	//       "location": "query",
 24032  	//       "type": "integer"
 24033  	//     },
 24034  	//     "pageToken": {
 24035  	//       "description": "Token to retrieve a specific page.",
 24036  	//       "location": "query",
 24037  	//       "type": "string"
 24038  	//     },
 24039  	//     "parent": {
 24040  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}",
 24041  	//       "location": "path",
 24042  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 24043  	//       "required": true,
 24044  	//       "type": "string"
 24045  	//     }
 24046  	//   },
 24047  	//   "path": "v1/{+parent}/suspensions",
 24048  	//   "response": {
 24049  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse"
 24050  	//   },
 24051  	//   "scopes": [
 24052  	//     "https://www.googleapis.com/auth/cloud-platform"
 24053  	//   ]
 24054  	// }
 24055  
 24056  }
 24057  
 24058  // Pages invokes f for each page of results.
 24059  // A non-nil error returned from f will halt the iteration.
 24060  // The provided context supersedes any context provided to the Context method.
 24061  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSuspensionsResponse) error) error {
 24062  	c.ctx_ = ctx
 24063  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 24064  	for {
 24065  		x, err := c.Do()
 24066  		if err != nil {
 24067  			return err
 24068  		}
 24069  		if err := f(x); err != nil {
 24070  			return err
 24071  		}
 24072  		if x.NextPageToken == "" {
 24073  			return nil
 24074  		}
 24075  		c.PageToken(x.NextPageToken)
 24076  	}
 24077  }
 24078  
 24079  // method id "integrations.projects.locations.products.integrations.executions.suspensions.resolve":
 24080  
 24081  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall struct {
 24082  	s                                                      *Service
 24083  	name                                                   string
 24084  	googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
 24085  	urlParams_                                             gensupport.URLParams
 24086  	ctx_                                                   context.Context
 24087  	header_                                                http.Header
 24088  }
 24089  
 24090  // Resolve: * Resolves (lifts/rejects) any number of suspensions. If the
 24091  // integration is already running, only the status of the suspension is
 24092  // updated. Otherwise, the suspended integration will begin execution
 24093  // again.
 24094  //
 24095  //   - name:
 24096  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 24097  //     tegrations/{integration_name}/executions/{execution_name}/suspension
 24098  //     s/{suspension_id}.
 24099  func (r *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService) Resolve(name string, googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall {
 24100  	c := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24101  	c.name = name
 24102  	c.googlecloudintegrationsv1alpharesolvesuspensionrequest = googlecloudintegrationsv1alpharesolvesuspensionrequest
 24103  	return c
 24104  }
 24105  
 24106  // Fields allows partial responses to be retrieved. See
 24107  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24108  // for more information.
 24109  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall {
 24110  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24111  	return c
 24112  }
 24113  
 24114  // Context sets the context to be used in this call's Do method. Any
 24115  // pending HTTP request will be aborted if the provided context is
 24116  // canceled.
 24117  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall {
 24118  	c.ctx_ = ctx
 24119  	return c
 24120  }
 24121  
 24122  // Header returns an http.Header that can be modified by the caller to
 24123  // add HTTP headers to the request.
 24124  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Header() http.Header {
 24125  	if c.header_ == nil {
 24126  		c.header_ = make(http.Header)
 24127  	}
 24128  	return c.header_
 24129  }
 24130  
 24131  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) doRequest(alt string) (*http.Response, error) {
 24132  	reqHeaders := make(http.Header)
 24133  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24134  	for k, v := range c.header_ {
 24135  		reqHeaders[k] = v
 24136  	}
 24137  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24138  	var body io.Reader = nil
 24139  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alpharesolvesuspensionrequest)
 24140  	if err != nil {
 24141  		return nil, err
 24142  	}
 24143  	reqHeaders.Set("Content-Type", "application/json")
 24144  	c.urlParams_.Set("alt", alt)
 24145  	c.urlParams_.Set("prettyPrint", "false")
 24146  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:resolve")
 24147  	urls += "?" + c.urlParams_.Encode()
 24148  	req, err := http.NewRequest("POST", urls, body)
 24149  	if err != nil {
 24150  		return nil, err
 24151  	}
 24152  	req.Header = reqHeaders
 24153  	googleapi.Expand(req.URL, map[string]string{
 24154  		"name": c.name,
 24155  	})
 24156  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24157  }
 24158  
 24159  // Do executes the "integrations.projects.locations.products.integrations.executions.suspensions.resolve" call.
 24160  // Exactly one of
 24161  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse or error
 24162  // will be non-nil. Any non-2xx status code is an error. Response
 24163  // headers are in either
 24164  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse.ServerRespons
 24165  // e.Header or (if a response was returned at all) in
 24166  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24167  // whether the returned error was because http.StatusNotModified was
 24168  // returned.
 24169  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaResolveSuspensionResponse, error) {
 24170  	gensupport.SetOptions(c.urlParams_, opts...)
 24171  	res, err := c.doRequest("json")
 24172  	if res != nil && res.StatusCode == http.StatusNotModified {
 24173  		if res.Body != nil {
 24174  			res.Body.Close()
 24175  		}
 24176  		return nil, gensupport.WrapError(&googleapi.Error{
 24177  			Code:   res.StatusCode,
 24178  			Header: res.Header,
 24179  		})
 24180  	}
 24181  	if err != nil {
 24182  		return nil, err
 24183  	}
 24184  	defer googleapi.CloseBody(res)
 24185  	if err := googleapi.CheckResponse(res); err != nil {
 24186  		return nil, gensupport.WrapError(err)
 24187  	}
 24188  	ret := &GoogleCloudIntegrationsV1alphaResolveSuspensionResponse{
 24189  		ServerResponse: googleapi.ServerResponse{
 24190  			Header:         res.Header,
 24191  			HTTPStatusCode: res.StatusCode,
 24192  		},
 24193  	}
 24194  	target := &ret
 24195  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24196  		return nil, err
 24197  	}
 24198  	return ret, nil
 24199  	// {
 24200  	//   "description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.",
 24201  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve",
 24202  	//   "httpMethod": "POST",
 24203  	//   "id": "integrations.projects.locations.products.integrations.executions.suspensions.resolve",
 24204  	//   "parameterOrder": [
 24205  	//     "name"
 24206  	//   ],
 24207  	//   "parameters": {
 24208  	//     "name": {
 24209  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}",
 24210  	//       "location": "path",
 24211  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 24212  	//       "required": true,
 24213  	//       "type": "string"
 24214  	//     }
 24215  	//   },
 24216  	//   "path": "v1/{+name}:resolve",
 24217  	//   "request": {
 24218  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest"
 24219  	//   },
 24220  	//   "response": {
 24221  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse"
 24222  	//   },
 24223  	//   "scopes": [
 24224  	//     "https://www.googleapis.com/auth/cloud-platform"
 24225  	//   ]
 24226  	// }
 24227  
 24228  }
 24229  
 24230  // method id "integrations.projects.locations.products.integrations.executionsnapshots.list":
 24231  
 24232  type ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall struct {
 24233  	s            *Service
 24234  	parent       string
 24235  	urlParams_   gensupport.URLParams
 24236  	ifNoneMatch_ string
 24237  	ctx_         context.Context
 24238  	header_      http.Header
 24239  }
 24240  
 24241  // List: Lists the snapshots of a given integration executions. This RPC
 24242  // is not being used.
 24243  //
 24244  // - parent: The parent resource name of the integration execution.
 24245  func (r *ProjectsLocationsProductsIntegrationsExecutionsnapshotsService) List(parent string) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24246  	c := &ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24247  	c.parent = parent
 24248  	return c
 24249  }
 24250  
 24251  // Filter sets the optional parameter "filter": Currently supports
 24252  // filter by `execution_info_id` or `execution_snapshot_id`.
 24253  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24254  	c.urlParams_.Set("filter", filter)
 24255  	return c
 24256  }
 24257  
 24258  // PageSize sets the optional parameter "pageSize": Number of entries to
 24259  // be returned in a page.
 24260  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24261  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 24262  	return c
 24263  }
 24264  
 24265  // PageToken sets the optional parameter "pageToken": The token used to
 24266  // retrieve the next page results.
 24267  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24268  	c.urlParams_.Set("pageToken", pageToken)
 24269  	return c
 24270  }
 24271  
 24272  // ReadMask sets the optional parameter "readMask": View mask for the
 24273  // response data. If set, only the field specified will be returned as
 24274  // part of the result. If not set, all fields in event execution
 24275  // snapshot will be filled and returned.
 24276  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) ReadMask(readMask string) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24277  	c.urlParams_.Set("readMask", readMask)
 24278  	return c
 24279  }
 24280  
 24281  // Fields allows partial responses to be retrieved. See
 24282  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24283  // for more information.
 24284  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24285  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24286  	return c
 24287  }
 24288  
 24289  // IfNoneMatch sets the optional parameter which makes the operation
 24290  // fail if the object's ETag matches the given value. This is useful for
 24291  // getting updates only after the object has changed since the last
 24292  // request. Use googleapi.IsNotModified to check whether the response
 24293  // error from Do is the result of In-None-Match.
 24294  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24295  	c.ifNoneMatch_ = entityTag
 24296  	return c
 24297  }
 24298  
 24299  // Context sets the context to be used in this call's Do method. Any
 24300  // pending HTTP request will be aborted if the provided context is
 24301  // canceled.
 24302  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall {
 24303  	c.ctx_ = ctx
 24304  	return c
 24305  }
 24306  
 24307  // Header returns an http.Header that can be modified by the caller to
 24308  // add HTTP headers to the request.
 24309  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) Header() http.Header {
 24310  	if c.header_ == nil {
 24311  		c.header_ = make(http.Header)
 24312  	}
 24313  	return c.header_
 24314  }
 24315  
 24316  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) doRequest(alt string) (*http.Response, error) {
 24317  	reqHeaders := make(http.Header)
 24318  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24319  	for k, v := range c.header_ {
 24320  		reqHeaders[k] = v
 24321  	}
 24322  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24323  	if c.ifNoneMatch_ != "" {
 24324  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 24325  	}
 24326  	var body io.Reader = nil
 24327  	c.urlParams_.Set("alt", alt)
 24328  	c.urlParams_.Set("prettyPrint", "false")
 24329  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/executionsnapshots")
 24330  	urls += "?" + c.urlParams_.Encode()
 24331  	req, err := http.NewRequest("GET", urls, body)
 24332  	if err != nil {
 24333  		return nil, err
 24334  	}
 24335  	req.Header = reqHeaders
 24336  	googleapi.Expand(req.URL, map[string]string{
 24337  		"parent": c.parent,
 24338  	})
 24339  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24340  }
 24341  
 24342  // Do executes the "integrations.projects.locations.products.integrations.executionsnapshots.list" call.
 24343  // Exactly one of
 24344  // *GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse or
 24345  // error will be non-nil. Any non-2xx status code is an error. Response
 24346  // headers are in either
 24347  // *GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse.ServerRe
 24348  // sponse.Header or (if a response was returned at all) in
 24349  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24350  // whether the returned error was because http.StatusNotModified was
 24351  // returned.
 24352  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse, error) {
 24353  	gensupport.SetOptions(c.urlParams_, opts...)
 24354  	res, err := c.doRequest("json")
 24355  	if res != nil && res.StatusCode == http.StatusNotModified {
 24356  		if res.Body != nil {
 24357  			res.Body.Close()
 24358  		}
 24359  		return nil, gensupport.WrapError(&googleapi.Error{
 24360  			Code:   res.StatusCode,
 24361  			Header: res.Header,
 24362  		})
 24363  	}
 24364  	if err != nil {
 24365  		return nil, err
 24366  	}
 24367  	defer googleapi.CloseBody(res)
 24368  	if err := googleapi.CheckResponse(res); err != nil {
 24369  		return nil, gensupport.WrapError(err)
 24370  	}
 24371  	ret := &GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse{
 24372  		ServerResponse: googleapi.ServerResponse{
 24373  			Header:         res.Header,
 24374  			HTTPStatusCode: res.StatusCode,
 24375  		},
 24376  	}
 24377  	target := &ret
 24378  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24379  		return nil, err
 24380  	}
 24381  	return ret, nil
 24382  	// {
 24383  	//   "description": "Lists the snapshots of a given integration executions. This RPC is not being used.",
 24384  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executionsnapshots",
 24385  	//   "httpMethod": "GET",
 24386  	//   "id": "integrations.projects.locations.products.integrations.executionsnapshots.list",
 24387  	//   "parameterOrder": [
 24388  	//     "parent"
 24389  	//   ],
 24390  	//   "parameters": {
 24391  	//     "filter": {
 24392  	//       "description": "Currently supports filter by `execution_info_id` or `execution_snapshot_id`.",
 24393  	//       "location": "query",
 24394  	//       "type": "string"
 24395  	//     },
 24396  	//     "pageSize": {
 24397  	//       "description": "Number of entries to be returned in a page.",
 24398  	//       "format": "int32",
 24399  	//       "location": "query",
 24400  	//       "type": "integer"
 24401  	//     },
 24402  	//     "pageToken": {
 24403  	//       "description": "The token used to retrieve the next page results.",
 24404  	//       "location": "query",
 24405  	//       "type": "string"
 24406  	//     },
 24407  	//     "parent": {
 24408  	//       "description": "Required. The parent resource name of the integration execution.",
 24409  	//       "location": "path",
 24410  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 24411  	//       "required": true,
 24412  	//       "type": "string"
 24413  	//     },
 24414  	//     "readMask": {
 24415  	//       "description": "View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution snapshot will be filled and returned.",
 24416  	//       "format": "google-fieldmask",
 24417  	//       "location": "query",
 24418  	//       "type": "string"
 24419  	//     }
 24420  	//   },
 24421  	//   "path": "v1/{+parent}/executionsnapshots",
 24422  	//   "response": {
 24423  	//     "$ref": "GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse"
 24424  	//   },
 24425  	//   "scopes": [
 24426  	//     "https://www.googleapis.com/auth/cloud-platform"
 24427  	//   ]
 24428  	// }
 24429  
 24430  }
 24431  
 24432  // Pages invokes f for each page of results.
 24433  // A non-nil error returned from f will halt the iteration.
 24434  // The provided context supersedes any context provided to the Context method.
 24435  func (c *ProjectsLocationsProductsIntegrationsExecutionsnapshotsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListExecutionSnapshotsResponse) error) error {
 24436  	c.ctx_ = ctx
 24437  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 24438  	for {
 24439  		x, err := c.Do()
 24440  		if err != nil {
 24441  			return err
 24442  		}
 24443  		if err := f(x); err != nil {
 24444  			return err
 24445  		}
 24446  		if x.NextPageToken == "" {
 24447  			return nil
 24448  		}
 24449  		c.PageToken(x.NextPageToken)
 24450  	}
 24451  }
 24452  
 24453  // method id "integrations.projects.locations.products.integrations.versions.archive":
 24454  
 24455  type ProjectsLocationsProductsIntegrationsVersionsArchiveCall struct {
 24456  	s                                                              *Service
 24457  	name                                                           string
 24458  	googlecloudintegrationsv1alphaarchiveintegrationversionrequest *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest
 24459  	urlParams_                                                     gensupport.URLParams
 24460  	ctx_                                                           context.Context
 24461  	header_                                                        http.Header
 24462  }
 24463  
 24464  // Archive: Soft-deletes the integration. Changes the status of the
 24465  // integration to ARCHIVED. If the integration being ARCHIVED is tagged
 24466  // as "HEAD", the tag is removed from this snapshot and set to the
 24467  // previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED,
 24468  // DUE_FOR_DELETION tags are removed too. This RPC throws an exception
 24469  // if the version being archived is DRAFT, and if the `locked_by` user
 24470  // is not the same as the user performing the Archive. Audit fields
 24471  // updated include last_modified_timestamp, last_modified_by. Any
 24472  // existing lock is released when Archiving a integration. Currently,
 24473  // there is no unarchive mechanism.
 24474  //
 24475  //   - name: The version to archive. Format:
 24476  //     projects/{project}/locations/{location}/integrations/{integration}/v
 24477  //     ersions/{version}.
 24478  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Archive(name string, googlecloudintegrationsv1alphaarchiveintegrationversionrequest *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsArchiveCall {
 24479  	c := &ProjectsLocationsProductsIntegrationsVersionsArchiveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24480  	c.name = name
 24481  	c.googlecloudintegrationsv1alphaarchiveintegrationversionrequest = googlecloudintegrationsv1alphaarchiveintegrationversionrequest
 24482  	return c
 24483  }
 24484  
 24485  // Fields allows partial responses to be retrieved. See
 24486  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24487  // for more information.
 24488  func (c *ProjectsLocationsProductsIntegrationsVersionsArchiveCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsArchiveCall {
 24489  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24490  	return c
 24491  }
 24492  
 24493  // Context sets the context to be used in this call's Do method. Any
 24494  // pending HTTP request will be aborted if the provided context is
 24495  // canceled.
 24496  func (c *ProjectsLocationsProductsIntegrationsVersionsArchiveCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsArchiveCall {
 24497  	c.ctx_ = ctx
 24498  	return c
 24499  }
 24500  
 24501  // Header returns an http.Header that can be modified by the caller to
 24502  // add HTTP headers to the request.
 24503  func (c *ProjectsLocationsProductsIntegrationsVersionsArchiveCall) Header() http.Header {
 24504  	if c.header_ == nil {
 24505  		c.header_ = make(http.Header)
 24506  	}
 24507  	return c.header_
 24508  }
 24509  
 24510  func (c *ProjectsLocationsProductsIntegrationsVersionsArchiveCall) doRequest(alt string) (*http.Response, error) {
 24511  	reqHeaders := make(http.Header)
 24512  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24513  	for k, v := range c.header_ {
 24514  		reqHeaders[k] = v
 24515  	}
 24516  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24517  	var body io.Reader = nil
 24518  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaarchiveintegrationversionrequest)
 24519  	if err != nil {
 24520  		return nil, err
 24521  	}
 24522  	reqHeaders.Set("Content-Type", "application/json")
 24523  	c.urlParams_.Set("alt", alt)
 24524  	c.urlParams_.Set("prettyPrint", "false")
 24525  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:archive")
 24526  	urls += "?" + c.urlParams_.Encode()
 24527  	req, err := http.NewRequest("POST", urls, body)
 24528  	if err != nil {
 24529  		return nil, err
 24530  	}
 24531  	req.Header = reqHeaders
 24532  	googleapi.Expand(req.URL, map[string]string{
 24533  		"name": c.name,
 24534  	})
 24535  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24536  }
 24537  
 24538  // Do executes the "integrations.projects.locations.products.integrations.versions.archive" call.
 24539  // Exactly one of
 24540  // *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse or
 24541  // error will be non-nil. Any non-2xx status code is an error. Response
 24542  // headers are in either
 24543  // *GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse.Serve
 24544  // rResponse.Header or (if a response was returned at all) in
 24545  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24546  // whether the returned error was because http.StatusNotModified was
 24547  // returned.
 24548  func (c *ProjectsLocationsProductsIntegrationsVersionsArchiveCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse, error) {
 24549  	gensupport.SetOptions(c.urlParams_, opts...)
 24550  	res, err := c.doRequest("json")
 24551  	if res != nil && res.StatusCode == http.StatusNotModified {
 24552  		if res.Body != nil {
 24553  			res.Body.Close()
 24554  		}
 24555  		return nil, gensupport.WrapError(&googleapi.Error{
 24556  			Code:   res.StatusCode,
 24557  			Header: res.Header,
 24558  		})
 24559  	}
 24560  	if err != nil {
 24561  		return nil, err
 24562  	}
 24563  	defer googleapi.CloseBody(res)
 24564  	if err := googleapi.CheckResponse(res); err != nil {
 24565  		return nil, gensupport.WrapError(err)
 24566  	}
 24567  	ret := &GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse{
 24568  		ServerResponse: googleapi.ServerResponse{
 24569  			Header:         res.Header,
 24570  			HTTPStatusCode: res.StatusCode,
 24571  		},
 24572  	}
 24573  	target := &ret
 24574  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24575  		return nil, err
 24576  	}
 24577  	return ret, nil
 24578  	// {
 24579  	//   "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being archived is DRAFT, and if the `locked_by` user is not the same as the user performing the Archive. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Archiving a integration. Currently, there is no unarchive mechanism.",
 24580  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:archive",
 24581  	//   "httpMethod": "POST",
 24582  	//   "id": "integrations.projects.locations.products.integrations.versions.archive",
 24583  	//   "parameterOrder": [
 24584  	//     "name"
 24585  	//   ],
 24586  	//   "parameters": {
 24587  	//     "name": {
 24588  	//       "description": "Required. The version to archive. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 24589  	//       "location": "path",
 24590  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 24591  	//       "required": true,
 24592  	//       "type": "string"
 24593  	//     }
 24594  	//   },
 24595  	//   "path": "v1/{+name}:archive",
 24596  	//   "request": {
 24597  	//     "$ref": "GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionRequest"
 24598  	//   },
 24599  	//   "response": {
 24600  	//     "$ref": "GoogleCloudIntegrationsV1alphaArchiveIntegrationVersionResponse"
 24601  	//   },
 24602  	//   "scopes": [
 24603  	//     "https://www.googleapis.com/auth/cloud-platform"
 24604  	//   ]
 24605  	// }
 24606  
 24607  }
 24608  
 24609  // method id "integrations.projects.locations.products.integrations.versions.create":
 24610  
 24611  type ProjectsLocationsProductsIntegrationsVersionsCreateCall struct {
 24612  	s                                                *Service
 24613  	parent                                           string
 24614  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 24615  	urlParams_                                       gensupport.URLParams
 24616  	ctx_                                             context.Context
 24617  	header_                                          http.Header
 24618  }
 24619  
 24620  // Create: Create a integration with a draft version in the specified
 24621  // project.
 24622  //
 24623  //   - parent: The parent resource where this version will be created.
 24624  //     Format:
 24625  //     projects/{project}/locations/{location}/integrations/{integration}.
 24626  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Create(parent string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 24627  	c := &ProjectsLocationsProductsIntegrationsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24628  	c.parent = parent
 24629  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 24630  	return c
 24631  }
 24632  
 24633  // NewIntegration sets the optional parameter "newIntegration": Set this
 24634  // flag to true, if draft version is to be created for a brand new
 24635  // integration. False, if the request is for an existing integration.
 24636  // For backward compatibility reasons, even if this flag is set to
 24637  // `false` and no existing integration is found, a new draft integration
 24638  // will still be created.
 24639  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) NewIntegration(newIntegration bool) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 24640  	c.urlParams_.Set("newIntegration", fmt.Sprint(newIntegration))
 24641  	return c
 24642  }
 24643  
 24644  // Fields allows partial responses to be retrieved. See
 24645  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24646  // for more information.
 24647  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 24648  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24649  	return c
 24650  }
 24651  
 24652  // Context sets the context to be used in this call's Do method. Any
 24653  // pending HTTP request will be aborted if the provided context is
 24654  // canceled.
 24655  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 24656  	c.ctx_ = ctx
 24657  	return c
 24658  }
 24659  
 24660  // Header returns an http.Header that can be modified by the caller to
 24661  // add HTTP headers to the request.
 24662  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Header() http.Header {
 24663  	if c.header_ == nil {
 24664  		c.header_ = make(http.Header)
 24665  	}
 24666  	return c.header_
 24667  }
 24668  
 24669  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) doRequest(alt string) (*http.Response, error) {
 24670  	reqHeaders := make(http.Header)
 24671  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24672  	for k, v := range c.header_ {
 24673  		reqHeaders[k] = v
 24674  	}
 24675  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24676  	var body io.Reader = nil
 24677  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 24678  	if err != nil {
 24679  		return nil, err
 24680  	}
 24681  	reqHeaders.Set("Content-Type", "application/json")
 24682  	c.urlParams_.Set("alt", alt)
 24683  	c.urlParams_.Set("prettyPrint", "false")
 24684  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/versions")
 24685  	urls += "?" + c.urlParams_.Encode()
 24686  	req, err := http.NewRequest("POST", urls, body)
 24687  	if err != nil {
 24688  		return nil, err
 24689  	}
 24690  	req.Header = reqHeaders
 24691  	googleapi.Expand(req.URL, map[string]string{
 24692  		"parent": c.parent,
 24693  	})
 24694  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24695  }
 24696  
 24697  // Do executes the "integrations.projects.locations.products.integrations.versions.create" call.
 24698  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 24699  // error will be non-nil. Any non-2xx status code is an error. Response
 24700  // headers are in either
 24701  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 24702  // r or (if a response was returned at all) in
 24703  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24704  // whether the returned error was because http.StatusNotModified was
 24705  // returned.
 24706  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 24707  	gensupport.SetOptions(c.urlParams_, opts...)
 24708  	res, err := c.doRequest("json")
 24709  	if res != nil && res.StatusCode == http.StatusNotModified {
 24710  		if res.Body != nil {
 24711  			res.Body.Close()
 24712  		}
 24713  		return nil, gensupport.WrapError(&googleapi.Error{
 24714  			Code:   res.StatusCode,
 24715  			Header: res.Header,
 24716  		})
 24717  	}
 24718  	if err != nil {
 24719  		return nil, err
 24720  	}
 24721  	defer googleapi.CloseBody(res)
 24722  	if err := googleapi.CheckResponse(res); err != nil {
 24723  		return nil, gensupport.WrapError(err)
 24724  	}
 24725  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 24726  		ServerResponse: googleapi.ServerResponse{
 24727  			Header:         res.Header,
 24728  			HTTPStatusCode: res.StatusCode,
 24729  		},
 24730  	}
 24731  	target := &ret
 24732  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24733  		return nil, err
 24734  	}
 24735  	return ret, nil
 24736  	// {
 24737  	//   "description": "Create a integration with a draft version in the specified project.",
 24738  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions",
 24739  	//   "httpMethod": "POST",
 24740  	//   "id": "integrations.projects.locations.products.integrations.versions.create",
 24741  	//   "parameterOrder": [
 24742  	//     "parent"
 24743  	//   ],
 24744  	//   "parameters": {
 24745  	//     "newIntegration": {
 24746  	//       "description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.",
 24747  	//       "location": "query",
 24748  	//       "type": "boolean"
 24749  	//     },
 24750  	//     "parent": {
 24751  	//       "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}",
 24752  	//       "location": "path",
 24753  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 24754  	//       "required": true,
 24755  	//       "type": "string"
 24756  	//     }
 24757  	//   },
 24758  	//   "path": "v1/{+parent}/versions",
 24759  	//   "request": {
 24760  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 24761  	//   },
 24762  	//   "response": {
 24763  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 24764  	//   },
 24765  	//   "scopes": [
 24766  	//     "https://www.googleapis.com/auth/cloud-platform"
 24767  	//   ]
 24768  	// }
 24769  
 24770  }
 24771  
 24772  // method id "integrations.projects.locations.products.integrations.versions.deactivate":
 24773  
 24774  type ProjectsLocationsProductsIntegrationsVersionsDeactivateCall struct {
 24775  	s                                                                 *Service
 24776  	name                                                              string
 24777  	googlecloudintegrationsv1alphadeactivateintegrationversionrequest *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest
 24778  	urlParams_                                                        gensupport.URLParams
 24779  	ctx_                                                              context.Context
 24780  	header_                                                           http.Header
 24781  }
 24782  
 24783  // Deactivate: Sets the status of the ACTIVE integration to SNAPSHOT
 24784  // with a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD"
 24785  // and "PUBLISH_REQUESTED" tags do not change. This RPC throws an
 24786  // exception if the version being snapshot is not ACTIVE. Audit fields
 24787  // added include action, action_by, action_timestamp.
 24788  //
 24789  //   - name: The version to deactivate. Format:
 24790  //     projects/{project}/locations/{location}/integrations/{integration}/v
 24791  //     ersions/{version}.
 24792  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Deactivate(name string, googlecloudintegrationsv1alphadeactivateintegrationversionrequest *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall {
 24793  	c := &ProjectsLocationsProductsIntegrationsVersionsDeactivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24794  	c.name = name
 24795  	c.googlecloudintegrationsv1alphadeactivateintegrationversionrequest = googlecloudintegrationsv1alphadeactivateintegrationversionrequest
 24796  	return c
 24797  }
 24798  
 24799  // Fields allows partial responses to be retrieved. See
 24800  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24801  // for more information.
 24802  func (c *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall {
 24803  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24804  	return c
 24805  }
 24806  
 24807  // Context sets the context to be used in this call's Do method. Any
 24808  // pending HTTP request will be aborted if the provided context is
 24809  // canceled.
 24810  func (c *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall {
 24811  	c.ctx_ = ctx
 24812  	return c
 24813  }
 24814  
 24815  // Header returns an http.Header that can be modified by the caller to
 24816  // add HTTP headers to the request.
 24817  func (c *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall) Header() http.Header {
 24818  	if c.header_ == nil {
 24819  		c.header_ = make(http.Header)
 24820  	}
 24821  	return c.header_
 24822  }
 24823  
 24824  func (c *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall) doRequest(alt string) (*http.Response, error) {
 24825  	reqHeaders := make(http.Header)
 24826  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24827  	for k, v := range c.header_ {
 24828  		reqHeaders[k] = v
 24829  	}
 24830  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24831  	var body io.Reader = nil
 24832  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphadeactivateintegrationversionrequest)
 24833  	if err != nil {
 24834  		return nil, err
 24835  	}
 24836  	reqHeaders.Set("Content-Type", "application/json")
 24837  	c.urlParams_.Set("alt", alt)
 24838  	c.urlParams_.Set("prettyPrint", "false")
 24839  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:deactivate")
 24840  	urls += "?" + c.urlParams_.Encode()
 24841  	req, err := http.NewRequest("POST", urls, body)
 24842  	if err != nil {
 24843  		return nil, err
 24844  	}
 24845  	req.Header = reqHeaders
 24846  	googleapi.Expand(req.URL, map[string]string{
 24847  		"name": c.name,
 24848  	})
 24849  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24850  }
 24851  
 24852  // Do executes the "integrations.projects.locations.products.integrations.versions.deactivate" call.
 24853  // Exactly one of
 24854  // *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse
 24855  // or error will be non-nil. Any non-2xx status code is an error.
 24856  // Response headers are in either
 24857  // *GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse.Se
 24858  // rverResponse.Header or (if a response was returned at all) in
 24859  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24860  // whether the returned error was because http.StatusNotModified was
 24861  // returned.
 24862  func (c *ProjectsLocationsProductsIntegrationsVersionsDeactivateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse, error) {
 24863  	gensupport.SetOptions(c.urlParams_, opts...)
 24864  	res, err := c.doRequest("json")
 24865  	if res != nil && res.StatusCode == http.StatusNotModified {
 24866  		if res.Body != nil {
 24867  			res.Body.Close()
 24868  		}
 24869  		return nil, gensupport.WrapError(&googleapi.Error{
 24870  			Code:   res.StatusCode,
 24871  			Header: res.Header,
 24872  		})
 24873  	}
 24874  	if err != nil {
 24875  		return nil, err
 24876  	}
 24877  	defer googleapi.CloseBody(res)
 24878  	if err := googleapi.CheckResponse(res); err != nil {
 24879  		return nil, gensupport.WrapError(err)
 24880  	}
 24881  	ret := &GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse{
 24882  		ServerResponse: googleapi.ServerResponse{
 24883  			Header:         res.Header,
 24884  			HTTPStatusCode: res.StatusCode,
 24885  		},
 24886  	}
 24887  	target := &ret
 24888  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24889  		return nil, err
 24890  	}
 24891  	return ret, nil
 24892  	// {
 24893  	//   "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.",
 24894  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:deactivate",
 24895  	//   "httpMethod": "POST",
 24896  	//   "id": "integrations.projects.locations.products.integrations.versions.deactivate",
 24897  	//   "parameterOrder": [
 24898  	//     "name"
 24899  	//   ],
 24900  	//   "parameters": {
 24901  	//     "name": {
 24902  	//       "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 24903  	//       "location": "path",
 24904  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 24905  	//       "required": true,
 24906  	//       "type": "string"
 24907  	//     }
 24908  	//   },
 24909  	//   "path": "v1/{+name}:deactivate",
 24910  	//   "request": {
 24911  	//     "$ref": "GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest"
 24912  	//   },
 24913  	//   "response": {
 24914  	//     "$ref": "GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse"
 24915  	//   },
 24916  	//   "scopes": [
 24917  	//     "https://www.googleapis.com/auth/cloud-platform"
 24918  	//   ]
 24919  	// }
 24920  
 24921  }
 24922  
 24923  // method id "integrations.projects.locations.products.integrations.versions.delete":
 24924  
 24925  type ProjectsLocationsProductsIntegrationsVersionsDeleteCall struct {
 24926  	s          *Service
 24927  	name       string
 24928  	urlParams_ gensupport.URLParams
 24929  	ctx_       context.Context
 24930  	header_    http.Header
 24931  }
 24932  
 24933  // Delete: Soft-deletes the integration. Changes the status of the
 24934  // integration to ARCHIVED. If the integration being ARCHIVED is tagged
 24935  // as "HEAD", the tag is removed from this snapshot and set to the
 24936  // previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED,
 24937  // DUE_FOR_DELETION tags are removed too. This RPC throws an exception
 24938  // if the version being deleted is DRAFT, and if the `locked_by` user is
 24939  // not the same as the user performing the Delete. Audit fields updated
 24940  // include last_modified_timestamp, last_modified_by. Any existing lock
 24941  // is released when Deleting a integration. Currently, there is no
 24942  // undelete mechanism.
 24943  //
 24944  //   - name: The version to delete. Format:
 24945  //     projects/{project}/locations/{location}/integrations/{integration}/v
 24946  //     ersions/{version}.
 24947  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Delete(name string) *ProjectsLocationsProductsIntegrationsVersionsDeleteCall {
 24948  	c := &ProjectsLocationsProductsIntegrationsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24949  	c.name = name
 24950  	return c
 24951  }
 24952  
 24953  // Fields allows partial responses to be retrieved. See
 24954  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24955  // for more information.
 24956  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsDeleteCall {
 24957  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24958  	return c
 24959  }
 24960  
 24961  // Context sets the context to be used in this call's Do method. Any
 24962  // pending HTTP request will be aborted if the provided context is
 24963  // canceled.
 24964  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsDeleteCall {
 24965  	c.ctx_ = ctx
 24966  	return c
 24967  }
 24968  
 24969  // Header returns an http.Header that can be modified by the caller to
 24970  // add HTTP headers to the request.
 24971  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Header() http.Header {
 24972  	if c.header_ == nil {
 24973  		c.header_ = make(http.Header)
 24974  	}
 24975  	return c.header_
 24976  }
 24977  
 24978  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) {
 24979  	reqHeaders := make(http.Header)
 24980  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24981  	for k, v := range c.header_ {
 24982  		reqHeaders[k] = v
 24983  	}
 24984  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24985  	var body io.Reader = nil
 24986  	c.urlParams_.Set("alt", alt)
 24987  	c.urlParams_.Set("prettyPrint", "false")
 24988  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 24989  	urls += "?" + c.urlParams_.Encode()
 24990  	req, err := http.NewRequest("DELETE", urls, body)
 24991  	if err != nil {
 24992  		return nil, err
 24993  	}
 24994  	req.Header = reqHeaders
 24995  	googleapi.Expand(req.URL, map[string]string{
 24996  		"name": c.name,
 24997  	})
 24998  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24999  }
 25000  
 25001  // Do executes the "integrations.projects.locations.products.integrations.versions.delete" call.
 25002  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 25003  // non-2xx status code is an error. Response headers are in either
 25004  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 25005  // returned at all) in error.(*googleapi.Error).Header. Use
 25006  // googleapi.IsNotModified to check whether the returned error was
 25007  // because http.StatusNotModified was returned.
 25008  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 25009  	gensupport.SetOptions(c.urlParams_, opts...)
 25010  	res, err := c.doRequest("json")
 25011  	if res != nil && res.StatusCode == http.StatusNotModified {
 25012  		if res.Body != nil {
 25013  			res.Body.Close()
 25014  		}
 25015  		return nil, gensupport.WrapError(&googleapi.Error{
 25016  			Code:   res.StatusCode,
 25017  			Header: res.Header,
 25018  		})
 25019  	}
 25020  	if err != nil {
 25021  		return nil, err
 25022  	}
 25023  	defer googleapi.CloseBody(res)
 25024  	if err := googleapi.CheckResponse(res); err != nil {
 25025  		return nil, gensupport.WrapError(err)
 25026  	}
 25027  	ret := &GoogleProtobufEmpty{
 25028  		ServerResponse: googleapi.ServerResponse{
 25029  			Header:         res.Header,
 25030  			HTTPStatusCode: res.StatusCode,
 25031  		},
 25032  	}
 25033  	target := &ret
 25034  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25035  		return nil, err
 25036  	}
 25037  	return ret, nil
 25038  	// {
 25039  	//   "description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.",
 25040  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}",
 25041  	//   "httpMethod": "DELETE",
 25042  	//   "id": "integrations.projects.locations.products.integrations.versions.delete",
 25043  	//   "parameterOrder": [
 25044  	//     "name"
 25045  	//   ],
 25046  	//   "parameters": {
 25047  	//     "name": {
 25048  	//       "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 25049  	//       "location": "path",
 25050  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 25051  	//       "required": true,
 25052  	//       "type": "string"
 25053  	//     }
 25054  	//   },
 25055  	//   "path": "v1/{+name}",
 25056  	//   "response": {
 25057  	//     "$ref": "GoogleProtobufEmpty"
 25058  	//   },
 25059  	//   "scopes": [
 25060  	//     "https://www.googleapis.com/auth/cloud-platform"
 25061  	//   ]
 25062  	// }
 25063  
 25064  }
 25065  
 25066  // method id "integrations.projects.locations.products.integrations.versions.download":
 25067  
 25068  type ProjectsLocationsProductsIntegrationsVersionsDownloadCall struct {
 25069  	s            *Service
 25070  	name         string
 25071  	urlParams_   gensupport.URLParams
 25072  	ifNoneMatch_ string
 25073  	ctx_         context.Context
 25074  	header_      http.Header
 25075  }
 25076  
 25077  // Download: Downloads an integration. Retrieves the
 25078  // `IntegrationVersion` for a given `integration_id` and returns the
 25079  // response as a string.
 25080  //
 25081  //   - name: The version to download. Format:
 25082  //     projects/{project}/locations/{location}/integrations/{integration}/v
 25083  //     ersions/{version}.
 25084  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Download(name string) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 25085  	c := &ProjectsLocationsProductsIntegrationsVersionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25086  	c.name = name
 25087  	return c
 25088  }
 25089  
 25090  // FileFormat sets the optional parameter "fileFormat": File format for
 25091  // download request.
 25092  //
 25093  // Possible values:
 25094  //
 25095  //	"FILE_FORMAT_UNSPECIFIED" - Unspecified file format
 25096  //	"JSON" - JSON File Format
 25097  //	"YAML" - YAML File Format
 25098  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) FileFormat(fileFormat string) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 25099  	c.urlParams_.Set("fileFormat", fileFormat)
 25100  	return c
 25101  }
 25102  
 25103  // Fields allows partial responses to be retrieved. See
 25104  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25105  // for more information.
 25106  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 25107  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25108  	return c
 25109  }
 25110  
 25111  // IfNoneMatch sets the optional parameter which makes the operation
 25112  // fail if the object's ETag matches the given value. This is useful for
 25113  // getting updates only after the object has changed since the last
 25114  // request. Use googleapi.IsNotModified to check whether the response
 25115  // error from Do is the result of In-None-Match.
 25116  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 25117  	c.ifNoneMatch_ = entityTag
 25118  	return c
 25119  }
 25120  
 25121  // Context sets the context to be used in this call's Do method. Any
 25122  // pending HTTP request will be aborted if the provided context is
 25123  // canceled.
 25124  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 25125  	c.ctx_ = ctx
 25126  	return c
 25127  }
 25128  
 25129  // Header returns an http.Header that can be modified by the caller to
 25130  // add HTTP headers to the request.
 25131  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Header() http.Header {
 25132  	if c.header_ == nil {
 25133  		c.header_ = make(http.Header)
 25134  	}
 25135  	return c.header_
 25136  }
 25137  
 25138  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) doRequest(alt string) (*http.Response, error) {
 25139  	reqHeaders := make(http.Header)
 25140  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25141  	for k, v := range c.header_ {
 25142  		reqHeaders[k] = v
 25143  	}
 25144  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25145  	if c.ifNoneMatch_ != "" {
 25146  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25147  	}
 25148  	var body io.Reader = nil
 25149  	c.urlParams_.Set("alt", alt)
 25150  	c.urlParams_.Set("prettyPrint", "false")
 25151  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:download")
 25152  	urls += "?" + c.urlParams_.Encode()
 25153  	req, err := http.NewRequest("GET", urls, body)
 25154  	if err != nil {
 25155  		return nil, err
 25156  	}
 25157  	req.Header = reqHeaders
 25158  	googleapi.Expand(req.URL, map[string]string{
 25159  		"name": c.name,
 25160  	})
 25161  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25162  }
 25163  
 25164  // Do executes the "integrations.projects.locations.products.integrations.versions.download" call.
 25165  // Exactly one of
 25166  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse or
 25167  // error will be non-nil. Any non-2xx status code is an error. Response
 25168  // headers are in either
 25169  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse.Serv
 25170  // erResponse.Header or (if a response was returned at all) in
 25171  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25172  // whether the returned error was because http.StatusNotModified was
 25173  // returned.
 25174  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse, error) {
 25175  	gensupport.SetOptions(c.urlParams_, opts...)
 25176  	res, err := c.doRequest("json")
 25177  	if res != nil && res.StatusCode == http.StatusNotModified {
 25178  		if res.Body != nil {
 25179  			res.Body.Close()
 25180  		}
 25181  		return nil, gensupport.WrapError(&googleapi.Error{
 25182  			Code:   res.StatusCode,
 25183  			Header: res.Header,
 25184  		})
 25185  	}
 25186  	if err != nil {
 25187  		return nil, err
 25188  	}
 25189  	defer googleapi.CloseBody(res)
 25190  	if err := googleapi.CheckResponse(res); err != nil {
 25191  		return nil, gensupport.WrapError(err)
 25192  	}
 25193  	ret := &GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse{
 25194  		ServerResponse: googleapi.ServerResponse{
 25195  			Header:         res.Header,
 25196  			HTTPStatusCode: res.StatusCode,
 25197  		},
 25198  	}
 25199  	target := &ret
 25200  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25201  		return nil, err
 25202  	}
 25203  	return ret, nil
 25204  	// {
 25205  	//   "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.",
 25206  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:download",
 25207  	//   "httpMethod": "GET",
 25208  	//   "id": "integrations.projects.locations.products.integrations.versions.download",
 25209  	//   "parameterOrder": [
 25210  	//     "name"
 25211  	//   ],
 25212  	//   "parameters": {
 25213  	//     "fileFormat": {
 25214  	//       "description": "File format for download request.",
 25215  	//       "enum": [
 25216  	//         "FILE_FORMAT_UNSPECIFIED",
 25217  	//         "JSON",
 25218  	//         "YAML"
 25219  	//       ],
 25220  	//       "enumDescriptions": [
 25221  	//         "Unspecified file format",
 25222  	//         "JSON File Format",
 25223  	//         "YAML File Format"
 25224  	//       ],
 25225  	//       "location": "query",
 25226  	//       "type": "string"
 25227  	//     },
 25228  	//     "name": {
 25229  	//       "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 25230  	//       "location": "path",
 25231  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 25232  	//       "required": true,
 25233  	//       "type": "string"
 25234  	//     }
 25235  	//   },
 25236  	//   "path": "v1/{+name}:download",
 25237  	//   "response": {
 25238  	//     "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse"
 25239  	//   },
 25240  	//   "scopes": [
 25241  	//     "https://www.googleapis.com/auth/cloud-platform"
 25242  	//   ]
 25243  	// }
 25244  
 25245  }
 25246  
 25247  // method id "integrations.projects.locations.products.integrations.versions.get":
 25248  
 25249  type ProjectsLocationsProductsIntegrationsVersionsGetCall struct {
 25250  	s            *Service
 25251  	name         string
 25252  	urlParams_   gensupport.URLParams
 25253  	ifNoneMatch_ string
 25254  	ctx_         context.Context
 25255  	header_      http.Header
 25256  }
 25257  
 25258  // Get: Get a integration in the specified project.
 25259  //
 25260  //   - name: The version to retrieve. Format:
 25261  //     projects/{project}/locations/{location}/integrations/{integration}/v
 25262  //     ersions/{version}.
 25263  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Get(name string) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 25264  	c := &ProjectsLocationsProductsIntegrationsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25265  	c.name = name
 25266  	return c
 25267  }
 25268  
 25269  // Fields allows partial responses to be retrieved. See
 25270  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25271  // for more information.
 25272  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 25273  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25274  	return c
 25275  }
 25276  
 25277  // IfNoneMatch sets the optional parameter which makes the operation
 25278  // fail if the object's ETag matches the given value. This is useful for
 25279  // getting updates only after the object has changed since the last
 25280  // request. Use googleapi.IsNotModified to check whether the response
 25281  // error from Do is the result of In-None-Match.
 25282  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 25283  	c.ifNoneMatch_ = entityTag
 25284  	return c
 25285  }
 25286  
 25287  // Context sets the context to be used in this call's Do method. Any
 25288  // pending HTTP request will be aborted if the provided context is
 25289  // canceled.
 25290  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 25291  	c.ctx_ = ctx
 25292  	return c
 25293  }
 25294  
 25295  // Header returns an http.Header that can be modified by the caller to
 25296  // add HTTP headers to the request.
 25297  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Header() http.Header {
 25298  	if c.header_ == nil {
 25299  		c.header_ = make(http.Header)
 25300  	}
 25301  	return c.header_
 25302  }
 25303  
 25304  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) doRequest(alt string) (*http.Response, error) {
 25305  	reqHeaders := make(http.Header)
 25306  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25307  	for k, v := range c.header_ {
 25308  		reqHeaders[k] = v
 25309  	}
 25310  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25311  	if c.ifNoneMatch_ != "" {
 25312  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25313  	}
 25314  	var body io.Reader = nil
 25315  	c.urlParams_.Set("alt", alt)
 25316  	c.urlParams_.Set("prettyPrint", "false")
 25317  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 25318  	urls += "?" + c.urlParams_.Encode()
 25319  	req, err := http.NewRequest("GET", urls, body)
 25320  	if err != nil {
 25321  		return nil, err
 25322  	}
 25323  	req.Header = reqHeaders
 25324  	googleapi.Expand(req.URL, map[string]string{
 25325  		"name": c.name,
 25326  	})
 25327  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25328  }
 25329  
 25330  // Do executes the "integrations.projects.locations.products.integrations.versions.get" call.
 25331  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 25332  // error will be non-nil. Any non-2xx status code is an error. Response
 25333  // headers are in either
 25334  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 25335  // r or (if a response was returned at all) in
 25336  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25337  // whether the returned error was because http.StatusNotModified was
 25338  // returned.
 25339  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 25340  	gensupport.SetOptions(c.urlParams_, opts...)
 25341  	res, err := c.doRequest("json")
 25342  	if res != nil && res.StatusCode == http.StatusNotModified {
 25343  		if res.Body != nil {
 25344  			res.Body.Close()
 25345  		}
 25346  		return nil, gensupport.WrapError(&googleapi.Error{
 25347  			Code:   res.StatusCode,
 25348  			Header: res.Header,
 25349  		})
 25350  	}
 25351  	if err != nil {
 25352  		return nil, err
 25353  	}
 25354  	defer googleapi.CloseBody(res)
 25355  	if err := googleapi.CheckResponse(res); err != nil {
 25356  		return nil, gensupport.WrapError(err)
 25357  	}
 25358  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 25359  		ServerResponse: googleapi.ServerResponse{
 25360  			Header:         res.Header,
 25361  			HTTPStatusCode: res.StatusCode,
 25362  		},
 25363  	}
 25364  	target := &ret
 25365  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25366  		return nil, err
 25367  	}
 25368  	return ret, nil
 25369  	// {
 25370  	//   "description": "Get a integration in the specified project.",
 25371  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}",
 25372  	//   "httpMethod": "GET",
 25373  	//   "id": "integrations.projects.locations.products.integrations.versions.get",
 25374  	//   "parameterOrder": [
 25375  	//     "name"
 25376  	//   ],
 25377  	//   "parameters": {
 25378  	//     "name": {
 25379  	//       "description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 25380  	//       "location": "path",
 25381  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 25382  	//       "required": true,
 25383  	//       "type": "string"
 25384  	//     }
 25385  	//   },
 25386  	//   "path": "v1/{+name}",
 25387  	//   "response": {
 25388  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 25389  	//   },
 25390  	//   "scopes": [
 25391  	//     "https://www.googleapis.com/auth/cloud-platform"
 25392  	//   ]
 25393  	// }
 25394  
 25395  }
 25396  
 25397  // method id "integrations.projects.locations.products.integrations.versions.getBundle":
 25398  
 25399  type ProjectsLocationsProductsIntegrationsVersionsGetBundleCall struct {
 25400  	s            *Service
 25401  	name         string
 25402  	urlParams_   gensupport.URLParams
 25403  	ifNoneMatch_ string
 25404  	ctx_         context.Context
 25405  	header_      http.Header
 25406  }
 25407  
 25408  // GetBundle: PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED
 25409  // TO A SEPARATE SERVICE. RPC to get details of the Bundle
 25410  //
 25411  // - name: The bundle name.
 25412  func (r *ProjectsLocationsProductsIntegrationsVersionsService) GetBundle(name string) *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall {
 25413  	c := &ProjectsLocationsProductsIntegrationsVersionsGetBundleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25414  	c.name = name
 25415  	return c
 25416  }
 25417  
 25418  // Fields allows partial responses to be retrieved. See
 25419  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25420  // for more information.
 25421  func (c *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall {
 25422  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25423  	return c
 25424  }
 25425  
 25426  // IfNoneMatch sets the optional parameter which makes the operation
 25427  // fail if the object's ETag matches the given value. This is useful for
 25428  // getting updates only after the object has changed since the last
 25429  // request. Use googleapi.IsNotModified to check whether the response
 25430  // error from Do is the result of In-None-Match.
 25431  func (c *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall {
 25432  	c.ifNoneMatch_ = entityTag
 25433  	return c
 25434  }
 25435  
 25436  // Context sets the context to be used in this call's Do method. Any
 25437  // pending HTTP request will be aborted if the provided context is
 25438  // canceled.
 25439  func (c *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall {
 25440  	c.ctx_ = ctx
 25441  	return c
 25442  }
 25443  
 25444  // Header returns an http.Header that can be modified by the caller to
 25445  // add HTTP headers to the request.
 25446  func (c *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall) Header() http.Header {
 25447  	if c.header_ == nil {
 25448  		c.header_ = make(http.Header)
 25449  	}
 25450  	return c.header_
 25451  }
 25452  
 25453  func (c *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall) doRequest(alt string) (*http.Response, error) {
 25454  	reqHeaders := make(http.Header)
 25455  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25456  	for k, v := range c.header_ {
 25457  		reqHeaders[k] = v
 25458  	}
 25459  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25460  	if c.ifNoneMatch_ != "" {
 25461  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25462  	}
 25463  	var body io.Reader = nil
 25464  	c.urlParams_.Set("alt", alt)
 25465  	c.urlParams_.Set("prettyPrint", "false")
 25466  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:getBundle")
 25467  	urls += "?" + c.urlParams_.Encode()
 25468  	req, err := http.NewRequest("GET", urls, body)
 25469  	if err != nil {
 25470  		return nil, err
 25471  	}
 25472  	req.Header = reqHeaders
 25473  	googleapi.Expand(req.URL, map[string]string{
 25474  		"name": c.name,
 25475  	})
 25476  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25477  }
 25478  
 25479  // Do executes the "integrations.projects.locations.products.integrations.versions.getBundle" call.
 25480  // Exactly one of *GoogleCloudIntegrationsV1alphaGetBundleResponse or
 25481  // error will be non-nil. Any non-2xx status code is an error. Response
 25482  // headers are in either
 25483  // *GoogleCloudIntegrationsV1alphaGetBundleResponse.ServerResponse.Header
 25484  //
 25485  //	or (if a response was returned at all) in
 25486  //
 25487  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25488  // whether the returned error was because http.StatusNotModified was
 25489  // returned.
 25490  func (c *ProjectsLocationsProductsIntegrationsVersionsGetBundleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaGetBundleResponse, error) {
 25491  	gensupport.SetOptions(c.urlParams_, opts...)
 25492  	res, err := c.doRequest("json")
 25493  	if res != nil && res.StatusCode == http.StatusNotModified {
 25494  		if res.Body != nil {
 25495  			res.Body.Close()
 25496  		}
 25497  		return nil, gensupport.WrapError(&googleapi.Error{
 25498  			Code:   res.StatusCode,
 25499  			Header: res.Header,
 25500  		})
 25501  	}
 25502  	if err != nil {
 25503  		return nil, err
 25504  	}
 25505  	defer googleapi.CloseBody(res)
 25506  	if err := googleapi.CheckResponse(res); err != nil {
 25507  		return nil, gensupport.WrapError(err)
 25508  	}
 25509  	ret := &GoogleCloudIntegrationsV1alphaGetBundleResponse{
 25510  		ServerResponse: googleapi.ServerResponse{
 25511  			Header:         res.Header,
 25512  			HTTPStatusCode: res.StatusCode,
 25513  		},
 25514  	}
 25515  	target := &ret
 25516  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25517  		return nil, err
 25518  	}
 25519  	return ret, nil
 25520  	// {
 25521  	//   "description": "PROTECT WITH A VISIBILITY LABEL. THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to get details of the Bundle",
 25522  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:getBundle",
 25523  	//   "httpMethod": "GET",
 25524  	//   "id": "integrations.projects.locations.products.integrations.versions.getBundle",
 25525  	//   "parameterOrder": [
 25526  	//     "name"
 25527  	//   ],
 25528  	//   "parameters": {
 25529  	//     "name": {
 25530  	//       "description": "Required. The bundle name.",
 25531  	//       "location": "path",
 25532  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 25533  	//       "required": true,
 25534  	//       "type": "string"
 25535  	//     }
 25536  	//   },
 25537  	//   "path": "v1/{+name}:getBundle",
 25538  	//   "response": {
 25539  	//     "$ref": "GoogleCloudIntegrationsV1alphaGetBundleResponse"
 25540  	//   },
 25541  	//   "scopes": [
 25542  	//     "https://www.googleapis.com/auth/cloud-platform"
 25543  	//   ]
 25544  	// }
 25545  
 25546  }
 25547  
 25548  // method id "integrations.projects.locations.products.integrations.versions.list":
 25549  
 25550  type ProjectsLocationsProductsIntegrationsVersionsListCall struct {
 25551  	s            *Service
 25552  	parent       string
 25553  	urlParams_   gensupport.URLParams
 25554  	ifNoneMatch_ string
 25555  	ctx_         context.Context
 25556  	header_      http.Header
 25557  }
 25558  
 25559  // List: Returns the list of all integration versions in the specified
 25560  // project.
 25561  //
 25562  //   - parent: The parent resource where this version will be created.
 25563  //     Format:
 25564  //     projects/{project}/locations/{location}/integrations/{integration}
 25565  //     Specifically, when parent equals: 1.
 25566  //     projects//locations//integrations/, Meaning: "List versions (with
 25567  //     filter) for a particular integration". 2.
 25568  //     projects//locations//integrations/- Meaning: "List versions (with
 25569  //     filter) for a client within a particular region". 3.
 25570  //     projects//locations/-/integrations/- Meaning: "List versions (with
 25571  //     filter) for a client".
 25572  func (r *ProjectsLocationsProductsIntegrationsVersionsService) List(parent string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25573  	c := &ProjectsLocationsProductsIntegrationsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25574  	c.parent = parent
 25575  	return c
 25576  }
 25577  
 25578  // FieldMask sets the optional parameter "fieldMask": The field mask
 25579  // which specifies the particular data to be returned.
 25580  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) FieldMask(fieldMask string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25581  	c.urlParams_.Set("fieldMask", fieldMask)
 25582  	return c
 25583  }
 25584  
 25585  // Filter sets the optional parameter "filter": Filter on fields of
 25586  // IntegrationVersion. Fields can be compared with literal values by use
 25587  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 25588  // >=" (greater than or equal to), "<=" (less than or equal to), and
 25589  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 25590  // are written using NOT, AND, and OR keywords. For example,
 25591  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 25592  // Filtering cannot be performed on repeated fields like `task_config`.
 25593  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25594  	c.urlParams_.Set("filter", filter)
 25595  	return c
 25596  }
 25597  
 25598  // OrderBy sets the optional parameter "orderBy": The results would be
 25599  // returned in order you specified here. Currently supported sort keys
 25600  // are: Descending sort order for "last_modified_time", "created_time",
 25601  // "snapshot_number" Ascending sort order for "name".
 25602  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25603  	c.urlParams_.Set("orderBy", orderBy)
 25604  	return c
 25605  }
 25606  
 25607  // PageSize sets the optional parameter "pageSize": The maximum number
 25608  // of versions to return. The service may return fewer than this value.
 25609  // If unspecified, at most 50 versions will be returned. The maximum
 25610  // value is 1000; values above 1000 will be coerced to 1000.
 25611  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25612  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 25613  	return c
 25614  }
 25615  
 25616  // PageToken sets the optional parameter "pageToken": A page token,
 25617  // received from a previous `ListIntegrationVersions` call. Provide this
 25618  // to retrieve the subsequent page. When paginating, all other
 25619  // parameters provided to `ListIntegrationVersions` must match the call
 25620  // that provided the page token.
 25621  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25622  	c.urlParams_.Set("pageToken", pageToken)
 25623  	return c
 25624  }
 25625  
 25626  // Fields allows partial responses to be retrieved. See
 25627  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25628  // for more information.
 25629  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25630  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25631  	return c
 25632  }
 25633  
 25634  // IfNoneMatch sets the optional parameter which makes the operation
 25635  // fail if the object's ETag matches the given value. This is useful for
 25636  // getting updates only after the object has changed since the last
 25637  // request. Use googleapi.IsNotModified to check whether the response
 25638  // error from Do is the result of In-None-Match.
 25639  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25640  	c.ifNoneMatch_ = entityTag
 25641  	return c
 25642  }
 25643  
 25644  // Context sets the context to be used in this call's Do method. Any
 25645  // pending HTTP request will be aborted if the provided context is
 25646  // canceled.
 25647  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 25648  	c.ctx_ = ctx
 25649  	return c
 25650  }
 25651  
 25652  // Header returns an http.Header that can be modified by the caller to
 25653  // add HTTP headers to the request.
 25654  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Header() http.Header {
 25655  	if c.header_ == nil {
 25656  		c.header_ = make(http.Header)
 25657  	}
 25658  	return c.header_
 25659  }
 25660  
 25661  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) doRequest(alt string) (*http.Response, error) {
 25662  	reqHeaders := make(http.Header)
 25663  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25664  	for k, v := range c.header_ {
 25665  		reqHeaders[k] = v
 25666  	}
 25667  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25668  	if c.ifNoneMatch_ != "" {
 25669  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25670  	}
 25671  	var body io.Reader = nil
 25672  	c.urlParams_.Set("alt", alt)
 25673  	c.urlParams_.Set("prettyPrint", "false")
 25674  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/versions")
 25675  	urls += "?" + c.urlParams_.Encode()
 25676  	req, err := http.NewRequest("GET", urls, body)
 25677  	if err != nil {
 25678  		return nil, err
 25679  	}
 25680  	req.Header = reqHeaders
 25681  	googleapi.Expand(req.URL, map[string]string{
 25682  		"parent": c.parent,
 25683  	})
 25684  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25685  }
 25686  
 25687  // Do executes the "integrations.projects.locations.products.integrations.versions.list" call.
 25688  // Exactly one of
 25689  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse or
 25690  // error will be non-nil. Any non-2xx status code is an error. Response
 25691  // headers are in either
 25692  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse.ServerR
 25693  // esponse.Header or (if a response was returned at all) in
 25694  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25695  // whether the returned error was because http.StatusNotModified was
 25696  // returned.
 25697  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse, error) {
 25698  	gensupport.SetOptions(c.urlParams_, opts...)
 25699  	res, err := c.doRequest("json")
 25700  	if res != nil && res.StatusCode == http.StatusNotModified {
 25701  		if res.Body != nil {
 25702  			res.Body.Close()
 25703  		}
 25704  		return nil, gensupport.WrapError(&googleapi.Error{
 25705  			Code:   res.StatusCode,
 25706  			Header: res.Header,
 25707  		})
 25708  	}
 25709  	if err != nil {
 25710  		return nil, err
 25711  	}
 25712  	defer googleapi.CloseBody(res)
 25713  	if err := googleapi.CheckResponse(res); err != nil {
 25714  		return nil, gensupport.WrapError(err)
 25715  	}
 25716  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse{
 25717  		ServerResponse: googleapi.ServerResponse{
 25718  			Header:         res.Header,
 25719  			HTTPStatusCode: res.StatusCode,
 25720  		},
 25721  	}
 25722  	target := &ret
 25723  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25724  		return nil, err
 25725  	}
 25726  	return ret, nil
 25727  	// {
 25728  	//   "description": "Returns the list of all integration versions in the specified project.",
 25729  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions",
 25730  	//   "httpMethod": "GET",
 25731  	//   "id": "integrations.projects.locations.products.integrations.versions.list",
 25732  	//   "parameterOrder": [
 25733  	//     "parent"
 25734  	//   ],
 25735  	//   "parameters": {
 25736  	//     "fieldMask": {
 25737  	//       "description": "The field mask which specifies the particular data to be returned.",
 25738  	//       "format": "google-fieldmask",
 25739  	//       "location": "query",
 25740  	//       "type": "string"
 25741  	//     },
 25742  	//     "filter": {
 25743  	//       "description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \"\u003e\" (greater), \"\u003c\" (less than), \u003e=\" (greater than or equal to), \"\u003c=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.",
 25744  	//       "location": "query",
 25745  	//       "type": "string"
 25746  	//     },
 25747  	//     "orderBy": {
 25748  	//       "description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\", \"snapshot_number\" Ascending sort order for \"name\".",
 25749  	//       "location": "query",
 25750  	//       "type": "string"
 25751  	//     },
 25752  	//     "pageSize": {
 25753  	//       "description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
 25754  	//       "format": "int32",
 25755  	//       "location": "query",
 25756  	//       "type": "integer"
 25757  	//     },
 25758  	//     "pageToken": {
 25759  	//       "description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.",
 25760  	//       "location": "query",
 25761  	//       "type": "string"
 25762  	//     },
 25763  	//     "parent": {
 25764  	//       "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\". 3. projects//locations/-/integrations/- Meaning: \"List versions (with filter) for a client\".",
 25765  	//       "location": "path",
 25766  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 25767  	//       "required": true,
 25768  	//       "type": "string"
 25769  	//     }
 25770  	//   },
 25771  	//   "path": "v1/{+parent}/versions",
 25772  	//   "response": {
 25773  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse"
 25774  	//   },
 25775  	//   "scopes": [
 25776  	//     "https://www.googleapis.com/auth/cloud-platform"
 25777  	//   ]
 25778  	// }
 25779  
 25780  }
 25781  
 25782  // Pages invokes f for each page of results.
 25783  // A non-nil error returned from f will halt the iteration.
 25784  // The provided context supersedes any context provided to the Context method.
 25785  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse) error) error {
 25786  	c.ctx_ = ctx
 25787  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 25788  	for {
 25789  		x, err := c.Do()
 25790  		if err != nil {
 25791  			return err
 25792  		}
 25793  		if err := f(x); err != nil {
 25794  			return err
 25795  		}
 25796  		if x.NextPageToken == "" {
 25797  			return nil
 25798  		}
 25799  		c.PageToken(x.NextPageToken)
 25800  	}
 25801  }
 25802  
 25803  // method id "integrations.projects.locations.products.integrations.versions.patch":
 25804  
 25805  type ProjectsLocationsProductsIntegrationsVersionsPatchCall struct {
 25806  	s                                                *Service
 25807  	name                                             string
 25808  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 25809  	urlParams_                                       gensupport.URLParams
 25810  	ctx_                                             context.Context
 25811  	header_                                          http.Header
 25812  }
 25813  
 25814  // Patch: Update a integration with a draft version in the specified
 25815  // project.
 25816  //
 25817  // - name: Output only. Auto-generated primary key.
 25818  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Patch(name string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 25819  	c := &ProjectsLocationsProductsIntegrationsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25820  	c.name = name
 25821  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 25822  	return c
 25823  }
 25824  
 25825  // UpdateMask sets the optional parameter "updateMask": Field mask
 25826  // specifying the fields in the above integration that have been
 25827  // modified and need to be updated.
 25828  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 25829  	c.urlParams_.Set("updateMask", updateMask)
 25830  	return c
 25831  }
 25832  
 25833  // Fields allows partial responses to be retrieved. See
 25834  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25835  // for more information.
 25836  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 25837  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25838  	return c
 25839  }
 25840  
 25841  // Context sets the context to be used in this call's Do method. Any
 25842  // pending HTTP request will be aborted if the provided context is
 25843  // canceled.
 25844  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 25845  	c.ctx_ = ctx
 25846  	return c
 25847  }
 25848  
 25849  // Header returns an http.Header that can be modified by the caller to
 25850  // add HTTP headers to the request.
 25851  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Header() http.Header {
 25852  	if c.header_ == nil {
 25853  		c.header_ = make(http.Header)
 25854  	}
 25855  	return c.header_
 25856  }
 25857  
 25858  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) doRequest(alt string) (*http.Response, error) {
 25859  	reqHeaders := make(http.Header)
 25860  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25861  	for k, v := range c.header_ {
 25862  		reqHeaders[k] = v
 25863  	}
 25864  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25865  	var body io.Reader = nil
 25866  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 25867  	if err != nil {
 25868  		return nil, err
 25869  	}
 25870  	reqHeaders.Set("Content-Type", "application/json")
 25871  	c.urlParams_.Set("alt", alt)
 25872  	c.urlParams_.Set("prettyPrint", "false")
 25873  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 25874  	urls += "?" + c.urlParams_.Encode()
 25875  	req, err := http.NewRequest("PATCH", urls, body)
 25876  	if err != nil {
 25877  		return nil, err
 25878  	}
 25879  	req.Header = reqHeaders
 25880  	googleapi.Expand(req.URL, map[string]string{
 25881  		"name": c.name,
 25882  	})
 25883  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25884  }
 25885  
 25886  // Do executes the "integrations.projects.locations.products.integrations.versions.patch" call.
 25887  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 25888  // error will be non-nil. Any non-2xx status code is an error. Response
 25889  // headers are in either
 25890  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 25891  // r or (if a response was returned at all) in
 25892  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25893  // whether the returned error was because http.StatusNotModified was
 25894  // returned.
 25895  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 25896  	gensupport.SetOptions(c.urlParams_, opts...)
 25897  	res, err := c.doRequest("json")
 25898  	if res != nil && res.StatusCode == http.StatusNotModified {
 25899  		if res.Body != nil {
 25900  			res.Body.Close()
 25901  		}
 25902  		return nil, gensupport.WrapError(&googleapi.Error{
 25903  			Code:   res.StatusCode,
 25904  			Header: res.Header,
 25905  		})
 25906  	}
 25907  	if err != nil {
 25908  		return nil, err
 25909  	}
 25910  	defer googleapi.CloseBody(res)
 25911  	if err := googleapi.CheckResponse(res); err != nil {
 25912  		return nil, gensupport.WrapError(err)
 25913  	}
 25914  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 25915  		ServerResponse: googleapi.ServerResponse{
 25916  			Header:         res.Header,
 25917  			HTTPStatusCode: res.StatusCode,
 25918  		},
 25919  	}
 25920  	target := &ret
 25921  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25922  		return nil, err
 25923  	}
 25924  	return ret, nil
 25925  	// {
 25926  	//   "description": "Update a integration with a draft version in the specified project.",
 25927  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}",
 25928  	//   "httpMethod": "PATCH",
 25929  	//   "id": "integrations.projects.locations.products.integrations.versions.patch",
 25930  	//   "parameterOrder": [
 25931  	//     "name"
 25932  	//   ],
 25933  	//   "parameters": {
 25934  	//     "name": {
 25935  	//       "description": "Output only. Auto-generated primary key.",
 25936  	//       "location": "path",
 25937  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 25938  	//       "required": true,
 25939  	//       "type": "string"
 25940  	//     },
 25941  	//     "updateMask": {
 25942  	//       "description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.",
 25943  	//       "format": "google-fieldmask",
 25944  	//       "location": "query",
 25945  	//       "type": "string"
 25946  	//     }
 25947  	//   },
 25948  	//   "path": "v1/{+name}",
 25949  	//   "request": {
 25950  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 25951  	//   },
 25952  	//   "response": {
 25953  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 25954  	//   },
 25955  	//   "scopes": [
 25956  	//     "https://www.googleapis.com/auth/cloud-platform"
 25957  	//   ]
 25958  	// }
 25959  
 25960  }
 25961  
 25962  // method id "integrations.projects.locations.products.integrations.versions.publish":
 25963  
 25964  type ProjectsLocationsProductsIntegrationsVersionsPublishCall struct {
 25965  	s                                                              *Service
 25966  	name                                                           string
 25967  	googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest
 25968  	urlParams_                                                     gensupport.URLParams
 25969  	ctx_                                                           context.Context
 25970  	header_                                                        http.Header
 25971  }
 25972  
 25973  // Publish: This RPC throws an exception if the integration is in
 25974  // ARCHIVED or ACTIVE state. This RPC throws an exception if the version
 25975  // being published is DRAFT, and if the `locked_by` user is not the same
 25976  // as the user performing the Publish. Audit fields updated include
 25977  // last_published_timestamp, last_published_by, last_modified_timestamp,
 25978  // last_modified_by. Any existing lock is on this integration is
 25979  // released.
 25980  //
 25981  //   - name: The version to publish. Format:
 25982  //     projects/{project}/locations/{location}/integrations/{integration}/v
 25983  //     ersions/{version}.
 25984  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Publish(name string, googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsPublishCall {
 25985  	c := &ProjectsLocationsProductsIntegrationsVersionsPublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25986  	c.name = name
 25987  	c.googlecloudintegrationsv1alphapublishintegrationversionrequest = googlecloudintegrationsv1alphapublishintegrationversionrequest
 25988  	return c
 25989  }
 25990  
 25991  // Fields allows partial responses to be retrieved. See
 25992  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25993  // for more information.
 25994  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsPublishCall {
 25995  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25996  	return c
 25997  }
 25998  
 25999  // Context sets the context to be used in this call's Do method. Any
 26000  // pending HTTP request will be aborted if the provided context is
 26001  // canceled.
 26002  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsPublishCall {
 26003  	c.ctx_ = ctx
 26004  	return c
 26005  }
 26006  
 26007  // Header returns an http.Header that can be modified by the caller to
 26008  // add HTTP headers to the request.
 26009  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Header() http.Header {
 26010  	if c.header_ == nil {
 26011  		c.header_ = make(http.Header)
 26012  	}
 26013  	return c.header_
 26014  }
 26015  
 26016  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) doRequest(alt string) (*http.Response, error) {
 26017  	reqHeaders := make(http.Header)
 26018  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26019  	for k, v := range c.header_ {
 26020  		reqHeaders[k] = v
 26021  	}
 26022  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26023  	var body io.Reader = nil
 26024  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphapublishintegrationversionrequest)
 26025  	if err != nil {
 26026  		return nil, err
 26027  	}
 26028  	reqHeaders.Set("Content-Type", "application/json")
 26029  	c.urlParams_.Set("alt", alt)
 26030  	c.urlParams_.Set("prettyPrint", "false")
 26031  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:publish")
 26032  	urls += "?" + c.urlParams_.Encode()
 26033  	req, err := http.NewRequest("POST", urls, body)
 26034  	if err != nil {
 26035  		return nil, err
 26036  	}
 26037  	req.Header = reqHeaders
 26038  	googleapi.Expand(req.URL, map[string]string{
 26039  		"name": c.name,
 26040  	})
 26041  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26042  }
 26043  
 26044  // Do executes the "integrations.projects.locations.products.integrations.versions.publish" call.
 26045  // Exactly one of
 26046  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse or
 26047  // error will be non-nil. Any non-2xx status code is an error. Response
 26048  // headers are in either
 26049  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse.Serve
 26050  // rResponse.Header or (if a response was returned at all) in
 26051  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26052  // whether the returned error was because http.StatusNotModified was
 26053  // returned.
 26054  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse, error) {
 26055  	gensupport.SetOptions(c.urlParams_, opts...)
 26056  	res, err := c.doRequest("json")
 26057  	if res != nil && res.StatusCode == http.StatusNotModified {
 26058  		if res.Body != nil {
 26059  			res.Body.Close()
 26060  		}
 26061  		return nil, gensupport.WrapError(&googleapi.Error{
 26062  			Code:   res.StatusCode,
 26063  			Header: res.Header,
 26064  		})
 26065  	}
 26066  	if err != nil {
 26067  		return nil, err
 26068  	}
 26069  	defer googleapi.CloseBody(res)
 26070  	if err := googleapi.CheckResponse(res); err != nil {
 26071  		return nil, gensupport.WrapError(err)
 26072  	}
 26073  	ret := &GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse{
 26074  		ServerResponse: googleapi.ServerResponse{
 26075  			Header:         res.Header,
 26076  			HTTPStatusCode: res.StatusCode,
 26077  		},
 26078  	}
 26079  	target := &ret
 26080  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26081  		return nil, err
 26082  	}
 26083  	return ret, nil
 26084  	// {
 26085  	//   "description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.",
 26086  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:publish",
 26087  	//   "httpMethod": "POST",
 26088  	//   "id": "integrations.projects.locations.products.integrations.versions.publish",
 26089  	//   "parameterOrder": [
 26090  	//     "name"
 26091  	//   ],
 26092  	//   "parameters": {
 26093  	//     "name": {
 26094  	//       "description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 26095  	//       "location": "path",
 26096  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 26097  	//       "required": true,
 26098  	//       "type": "string"
 26099  	//     }
 26100  	//   },
 26101  	//   "path": "v1/{+name}:publish",
 26102  	//   "request": {
 26103  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest"
 26104  	//   },
 26105  	//   "response": {
 26106  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse"
 26107  	//   },
 26108  	//   "scopes": [
 26109  	//     "https://www.googleapis.com/auth/cloud-platform"
 26110  	//   ]
 26111  	// }
 26112  
 26113  }
 26114  
 26115  // method id "integrations.projects.locations.products.integrations.versions.takeoverEditLock":
 26116  
 26117  type ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall struct {
 26118  	s                                                     *Service
 26119  	integrationVersion                                    string
 26120  	googlecloudintegrationsv1alphatakeovereditlockrequest *GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest
 26121  	urlParams_                                            gensupport.URLParams
 26122  	ctx_                                                  context.Context
 26123  	header_                                               http.Header
 26124  }
 26125  
 26126  // TakeoverEditLock: Clears the `locked_by` and `locked_at_timestamp`in
 26127  // the DRAFT version of this integration. It then performs the same
 26128  // action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT
 26129  // version of the integration as a SNAPSHOT and then creates a new DRAFT
 26130  // version with the `locked_by` set to the `user_taking_over` and the
 26131  // `locked_at_timestamp` set to the current timestamp). Both the
 26132  // `locked_by` and `user_taking_over` are notified via email about the
 26133  // takeover. This RPC throws an exception if the integration is not in
 26134  // DRAFT status or if the `locked_by` and `locked_at_timestamp` fields
 26135  // are not set.The TakeoverEdit lock is treated the same as an edit of
 26136  // the integration, and hence shares ACLs with edit. Audit fields
 26137  // updated include last_modified_timestamp, last_modified_by.
 26138  //
 26139  //   - integrationVersion: The version to take over edit lock. Format:
 26140  //     projects/{project}/locations/{location}/integrations/{integration}/v
 26141  //     ersions/{version}.
 26142  func (r *ProjectsLocationsProductsIntegrationsVersionsService) TakeoverEditLock(integrationVersion string, googlecloudintegrationsv1alphatakeovereditlockrequest *GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest) *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall {
 26143  	c := &ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26144  	c.integrationVersion = integrationVersion
 26145  	c.googlecloudintegrationsv1alphatakeovereditlockrequest = googlecloudintegrationsv1alphatakeovereditlockrequest
 26146  	return c
 26147  }
 26148  
 26149  // Fields allows partial responses to be retrieved. See
 26150  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26151  // for more information.
 26152  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall {
 26153  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26154  	return c
 26155  }
 26156  
 26157  // Context sets the context to be used in this call's Do method. Any
 26158  // pending HTTP request will be aborted if the provided context is
 26159  // canceled.
 26160  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall {
 26161  	c.ctx_ = ctx
 26162  	return c
 26163  }
 26164  
 26165  // Header returns an http.Header that can be modified by the caller to
 26166  // add HTTP headers to the request.
 26167  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Header() http.Header {
 26168  	if c.header_ == nil {
 26169  		c.header_ = make(http.Header)
 26170  	}
 26171  	return c.header_
 26172  }
 26173  
 26174  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) doRequest(alt string) (*http.Response, error) {
 26175  	reqHeaders := make(http.Header)
 26176  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26177  	for k, v := range c.header_ {
 26178  		reqHeaders[k] = v
 26179  	}
 26180  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26181  	var body io.Reader = nil
 26182  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphatakeovereditlockrequest)
 26183  	if err != nil {
 26184  		return nil, err
 26185  	}
 26186  	reqHeaders.Set("Content-Type", "application/json")
 26187  	c.urlParams_.Set("alt", alt)
 26188  	c.urlParams_.Set("prettyPrint", "false")
 26189  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+integrationVersion}:takeoverEditLock")
 26190  	urls += "?" + c.urlParams_.Encode()
 26191  	req, err := http.NewRequest("POST", urls, body)
 26192  	if err != nil {
 26193  		return nil, err
 26194  	}
 26195  	req.Header = reqHeaders
 26196  	googleapi.Expand(req.URL, map[string]string{
 26197  		"integrationVersion": c.integrationVersion,
 26198  	})
 26199  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26200  }
 26201  
 26202  // Do executes the "integrations.projects.locations.products.integrations.versions.takeoverEditLock" call.
 26203  // Exactly one of
 26204  // *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse or error will
 26205  // be non-nil. Any non-2xx status code is an error. Response headers are
 26206  // in either
 26207  // *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse.ServerResponse
 26208  // .Header or (if a response was returned at all) in
 26209  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26210  // whether the returned error was because http.StatusNotModified was
 26211  // returned.
 26212  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse, error) {
 26213  	gensupport.SetOptions(c.urlParams_, opts...)
 26214  	res, err := c.doRequest("json")
 26215  	if res != nil && res.StatusCode == http.StatusNotModified {
 26216  		if res.Body != nil {
 26217  			res.Body.Close()
 26218  		}
 26219  		return nil, gensupport.WrapError(&googleapi.Error{
 26220  			Code:   res.StatusCode,
 26221  			Header: res.Header,
 26222  		})
 26223  	}
 26224  	if err != nil {
 26225  		return nil, err
 26226  	}
 26227  	defer googleapi.CloseBody(res)
 26228  	if err := googleapi.CheckResponse(res); err != nil {
 26229  		return nil, gensupport.WrapError(err)
 26230  	}
 26231  	ret := &GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse{
 26232  		ServerResponse: googleapi.ServerResponse{
 26233  			Header:         res.Header,
 26234  			HTTPStatusCode: res.StatusCode,
 26235  		},
 26236  	}
 26237  	target := &ret
 26238  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26239  		return nil, err
 26240  	}
 26241  	return ret, nil
 26242  	// {
 26243  	//   "description": "Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.",
 26244  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock",
 26245  	//   "httpMethod": "POST",
 26246  	//   "id": "integrations.projects.locations.products.integrations.versions.takeoverEditLock",
 26247  	//   "parameterOrder": [
 26248  	//     "integrationVersion"
 26249  	//   ],
 26250  	//   "parameters": {
 26251  	//     "integrationVersion": {
 26252  	//       "description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 26253  	//       "location": "path",
 26254  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 26255  	//       "required": true,
 26256  	//       "type": "string"
 26257  	//     }
 26258  	//   },
 26259  	//   "path": "v1/{+integrationVersion}:takeoverEditLock",
 26260  	//   "request": {
 26261  	//     "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest"
 26262  	//   },
 26263  	//   "response": {
 26264  	//     "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse"
 26265  	//   },
 26266  	//   "scopes": [
 26267  	//     "https://www.googleapis.com/auth/cloud-platform"
 26268  	//   ]
 26269  	// }
 26270  
 26271  }
 26272  
 26273  // method id "integrations.projects.locations.products.integrations.versions.unpublish":
 26274  
 26275  type ProjectsLocationsProductsIntegrationsVersionsUnpublishCall struct {
 26276  	s                                                                *Service
 26277  	name                                                             string
 26278  	googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
 26279  	urlParams_                                                       gensupport.URLParams
 26280  	ctx_                                                             context.Context
 26281  	header_                                                          http.Header
 26282  }
 26283  
 26284  // Unpublish: Sets the status of the ACTIVE integration to SNAPSHOT with
 26285  // a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and
 26286  // "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception
 26287  // if the version being snapshot is not ACTIVE. Audit fields added
 26288  // include action, action_by, action_timestamp.
 26289  //
 26290  //   - name: The version to deactivate. Format:
 26291  //     projects/{project}/locations/{location}/integrations/{integration}/v
 26292  //     ersions/{version}.
 26293  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Unpublish(name string, googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall {
 26294  	c := &ProjectsLocationsProductsIntegrationsVersionsUnpublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26295  	c.name = name
 26296  	c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest = googlecloudintegrationsv1alphaunpublishintegrationversionrequest
 26297  	return c
 26298  }
 26299  
 26300  // Fields allows partial responses to be retrieved. See
 26301  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26302  // for more information.
 26303  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall {
 26304  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26305  	return c
 26306  }
 26307  
 26308  // Context sets the context to be used in this call's Do method. Any
 26309  // pending HTTP request will be aborted if the provided context is
 26310  // canceled.
 26311  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall {
 26312  	c.ctx_ = ctx
 26313  	return c
 26314  }
 26315  
 26316  // Header returns an http.Header that can be modified by the caller to
 26317  // add HTTP headers to the request.
 26318  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Header() http.Header {
 26319  	if c.header_ == nil {
 26320  		c.header_ = make(http.Header)
 26321  	}
 26322  	return c.header_
 26323  }
 26324  
 26325  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) doRequest(alt string) (*http.Response, error) {
 26326  	reqHeaders := make(http.Header)
 26327  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26328  	for k, v := range c.header_ {
 26329  		reqHeaders[k] = v
 26330  	}
 26331  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26332  	var body io.Reader = nil
 26333  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest)
 26334  	if err != nil {
 26335  		return nil, err
 26336  	}
 26337  	reqHeaders.Set("Content-Type", "application/json")
 26338  	c.urlParams_.Set("alt", alt)
 26339  	c.urlParams_.Set("prettyPrint", "false")
 26340  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:unpublish")
 26341  	urls += "?" + c.urlParams_.Encode()
 26342  	req, err := http.NewRequest("POST", urls, body)
 26343  	if err != nil {
 26344  		return nil, err
 26345  	}
 26346  	req.Header = reqHeaders
 26347  	googleapi.Expand(req.URL, map[string]string{
 26348  		"name": c.name,
 26349  	})
 26350  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26351  }
 26352  
 26353  // Do executes the "integrations.projects.locations.products.integrations.versions.unpublish" call.
 26354  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 26355  // non-2xx status code is an error. Response headers are in either
 26356  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 26357  // returned at all) in error.(*googleapi.Error).Header. Use
 26358  // googleapi.IsNotModified to check whether the returned error was
 26359  // because http.StatusNotModified was returned.
 26360  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 26361  	gensupport.SetOptions(c.urlParams_, opts...)
 26362  	res, err := c.doRequest("json")
 26363  	if res != nil && res.StatusCode == http.StatusNotModified {
 26364  		if res.Body != nil {
 26365  			res.Body.Close()
 26366  		}
 26367  		return nil, gensupport.WrapError(&googleapi.Error{
 26368  			Code:   res.StatusCode,
 26369  			Header: res.Header,
 26370  		})
 26371  	}
 26372  	if err != nil {
 26373  		return nil, err
 26374  	}
 26375  	defer googleapi.CloseBody(res)
 26376  	if err := googleapi.CheckResponse(res); err != nil {
 26377  		return nil, gensupport.WrapError(err)
 26378  	}
 26379  	ret := &GoogleProtobufEmpty{
 26380  		ServerResponse: googleapi.ServerResponse{
 26381  			Header:         res.Header,
 26382  			HTTPStatusCode: res.StatusCode,
 26383  		},
 26384  	}
 26385  	target := &ret
 26386  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26387  		return nil, err
 26388  	}
 26389  	return ret, nil
 26390  	// {
 26391  	//   "description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.",
 26392  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish",
 26393  	//   "httpMethod": "POST",
 26394  	//   "id": "integrations.projects.locations.products.integrations.versions.unpublish",
 26395  	//   "parameterOrder": [
 26396  	//     "name"
 26397  	//   ],
 26398  	//   "parameters": {
 26399  	//     "name": {
 26400  	//       "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 26401  	//       "location": "path",
 26402  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 26403  	//       "required": true,
 26404  	//       "type": "string"
 26405  	//     }
 26406  	//   },
 26407  	//   "path": "v1/{+name}:unpublish",
 26408  	//   "request": {
 26409  	//     "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest"
 26410  	//   },
 26411  	//   "response": {
 26412  	//     "$ref": "GoogleProtobufEmpty"
 26413  	//   },
 26414  	//   "scopes": [
 26415  	//     "https://www.googleapis.com/auth/cloud-platform"
 26416  	//   ]
 26417  	// }
 26418  
 26419  }
 26420  
 26421  // method id "integrations.projects.locations.products.integrations.versions.updateBundle":
 26422  
 26423  type ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall struct {
 26424  	s                                                 *Service
 26425  	name                                              string
 26426  	googlecloudintegrationsv1alphaupdatebundlerequest *GoogleCloudIntegrationsV1alphaUpdateBundleRequest
 26427  	urlParams_                                        gensupport.URLParams
 26428  	ctx_                                              context.Context
 26429  	header_                                           http.Header
 26430  }
 26431  
 26432  // UpdateBundle: THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to
 26433  // update the Bundle
 26434  //
 26435  // - name: Bundle name.
 26436  func (r *ProjectsLocationsProductsIntegrationsVersionsService) UpdateBundle(name string, googlecloudintegrationsv1alphaupdatebundlerequest *GoogleCloudIntegrationsV1alphaUpdateBundleRequest) *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall {
 26437  	c := &ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26438  	c.name = name
 26439  	c.googlecloudintegrationsv1alphaupdatebundlerequest = googlecloudintegrationsv1alphaupdatebundlerequest
 26440  	return c
 26441  }
 26442  
 26443  // Fields allows partial responses to be retrieved. See
 26444  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26445  // for more information.
 26446  func (c *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall {
 26447  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26448  	return c
 26449  }
 26450  
 26451  // Context sets the context to be used in this call's Do method. Any
 26452  // pending HTTP request will be aborted if the provided context is
 26453  // canceled.
 26454  func (c *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall {
 26455  	c.ctx_ = ctx
 26456  	return c
 26457  }
 26458  
 26459  // Header returns an http.Header that can be modified by the caller to
 26460  // add HTTP headers to the request.
 26461  func (c *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall) Header() http.Header {
 26462  	if c.header_ == nil {
 26463  		c.header_ = make(http.Header)
 26464  	}
 26465  	return c.header_
 26466  }
 26467  
 26468  func (c *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall) doRequest(alt string) (*http.Response, error) {
 26469  	reqHeaders := make(http.Header)
 26470  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26471  	for k, v := range c.header_ {
 26472  		reqHeaders[k] = v
 26473  	}
 26474  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26475  	var body io.Reader = nil
 26476  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaupdatebundlerequest)
 26477  	if err != nil {
 26478  		return nil, err
 26479  	}
 26480  	reqHeaders.Set("Content-Type", "application/json")
 26481  	c.urlParams_.Set("alt", alt)
 26482  	c.urlParams_.Set("prettyPrint", "false")
 26483  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:updateBundle")
 26484  	urls += "?" + c.urlParams_.Encode()
 26485  	req, err := http.NewRequest("PATCH", urls, body)
 26486  	if err != nil {
 26487  		return nil, err
 26488  	}
 26489  	req.Header = reqHeaders
 26490  	googleapi.Expand(req.URL, map[string]string{
 26491  		"name": c.name,
 26492  	})
 26493  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26494  }
 26495  
 26496  // Do executes the "integrations.projects.locations.products.integrations.versions.updateBundle" call.
 26497  // Exactly one of *GoogleCloudIntegrationsV1alphaUpdateBundleResponse or
 26498  // error will be non-nil. Any non-2xx status code is an error. Response
 26499  // headers are in either
 26500  // *GoogleCloudIntegrationsV1alphaUpdateBundleResponse.ServerResponse.Hea
 26501  // der or (if a response was returned at all) in
 26502  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26503  // whether the returned error was because http.StatusNotModified was
 26504  // returned.
 26505  func (c *ProjectsLocationsProductsIntegrationsVersionsUpdateBundleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaUpdateBundleResponse, error) {
 26506  	gensupport.SetOptions(c.urlParams_, opts...)
 26507  	res, err := c.doRequest("json")
 26508  	if res != nil && res.StatusCode == http.StatusNotModified {
 26509  		if res.Body != nil {
 26510  			res.Body.Close()
 26511  		}
 26512  		return nil, gensupport.WrapError(&googleapi.Error{
 26513  			Code:   res.StatusCode,
 26514  			Header: res.Header,
 26515  		})
 26516  	}
 26517  	if err != nil {
 26518  		return nil, err
 26519  	}
 26520  	defer googleapi.CloseBody(res)
 26521  	if err := googleapi.CheckResponse(res); err != nil {
 26522  		return nil, gensupport.WrapError(err)
 26523  	}
 26524  	ret := &GoogleCloudIntegrationsV1alphaUpdateBundleResponse{
 26525  		ServerResponse: googleapi.ServerResponse{
 26526  			Header:         res.Header,
 26527  			HTTPStatusCode: res.StatusCode,
 26528  		},
 26529  	}
 26530  	target := &ret
 26531  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26532  		return nil, err
 26533  	}
 26534  	return ret, nil
 26535  	// {
 26536  	//   "description": "THIS METHOD WILL BE MOVED TO A SEPARATE SERVICE. RPC to update the Bundle",
 26537  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:updateBundle",
 26538  	//   "httpMethod": "PATCH",
 26539  	//   "id": "integrations.projects.locations.products.integrations.versions.updateBundle",
 26540  	//   "parameterOrder": [
 26541  	//     "name"
 26542  	//   ],
 26543  	//   "parameters": {
 26544  	//     "name": {
 26545  	//       "description": "Required. Bundle name",
 26546  	//       "location": "path",
 26547  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 26548  	//       "required": true,
 26549  	//       "type": "string"
 26550  	//     }
 26551  	//   },
 26552  	//   "path": "v1/{+name}:updateBundle",
 26553  	//   "request": {
 26554  	//     "$ref": "GoogleCloudIntegrationsV1alphaUpdateBundleRequest"
 26555  	//   },
 26556  	//   "response": {
 26557  	//     "$ref": "GoogleCloudIntegrationsV1alphaUpdateBundleResponse"
 26558  	//   },
 26559  	//   "scopes": [
 26560  	//     "https://www.googleapis.com/auth/cloud-platform"
 26561  	//   ]
 26562  	// }
 26563  
 26564  }
 26565  
 26566  // method id "integrations.projects.locations.products.integrations.versions.upload":
 26567  
 26568  type ProjectsLocationsProductsIntegrationsVersionsUploadCall struct {
 26569  	s                                                             *Service
 26570  	parent                                                        string
 26571  	googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
 26572  	urlParams_                                                    gensupport.URLParams
 26573  	ctx_                                                          context.Context
 26574  	header_                                                       http.Header
 26575  }
 26576  
 26577  // Upload: Uploads an integration. The content can be a previously
 26578  // downloaded integration. Performs the same function as
 26579  // CreateDraftIntegrationVersion, but accepts input in a string format,
 26580  // which holds the complete representation of the IntegrationVersion
 26581  // content.
 26582  //
 26583  //   - parent: The version to upload. Format:
 26584  //     projects/{project}/locations/{location}/integrations/{integration}.
 26585  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Upload(parent string, googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsUploadCall {
 26586  	c := &ProjectsLocationsProductsIntegrationsVersionsUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26587  	c.parent = parent
 26588  	c.googlecloudintegrationsv1alphauploadintegrationversionrequest = googlecloudintegrationsv1alphauploadintegrationversionrequest
 26589  	return c
 26590  }
 26591  
 26592  // Fields allows partial responses to be retrieved. See
 26593  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26594  // for more information.
 26595  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsUploadCall {
 26596  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26597  	return c
 26598  }
 26599  
 26600  // Context sets the context to be used in this call's Do method. Any
 26601  // pending HTTP request will be aborted if the provided context is
 26602  // canceled.
 26603  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsUploadCall {
 26604  	c.ctx_ = ctx
 26605  	return c
 26606  }
 26607  
 26608  // Header returns an http.Header that can be modified by the caller to
 26609  // add HTTP headers to the request.
 26610  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Header() http.Header {
 26611  	if c.header_ == nil {
 26612  		c.header_ = make(http.Header)
 26613  	}
 26614  	return c.header_
 26615  }
 26616  
 26617  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) doRequest(alt string) (*http.Response, error) {
 26618  	reqHeaders := make(http.Header)
 26619  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26620  	for k, v := range c.header_ {
 26621  		reqHeaders[k] = v
 26622  	}
 26623  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26624  	var body io.Reader = nil
 26625  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphauploadintegrationversionrequest)
 26626  	if err != nil {
 26627  		return nil, err
 26628  	}
 26629  	reqHeaders.Set("Content-Type", "application/json")
 26630  	c.urlParams_.Set("alt", alt)
 26631  	c.urlParams_.Set("prettyPrint", "false")
 26632  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/versions:upload")
 26633  	urls += "?" + c.urlParams_.Encode()
 26634  	req, err := http.NewRequest("POST", urls, body)
 26635  	if err != nil {
 26636  		return nil, err
 26637  	}
 26638  	req.Header = reqHeaders
 26639  	googleapi.Expand(req.URL, map[string]string{
 26640  		"parent": c.parent,
 26641  	})
 26642  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26643  }
 26644  
 26645  // Do executes the "integrations.projects.locations.products.integrations.versions.upload" call.
 26646  // Exactly one of
 26647  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse or
 26648  // error will be non-nil. Any non-2xx status code is an error. Response
 26649  // headers are in either
 26650  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse.Server
 26651  // Response.Header or (if a response was returned at all) in
 26652  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26653  // whether the returned error was because http.StatusNotModified was
 26654  // returned.
 26655  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse, error) {
 26656  	gensupport.SetOptions(c.urlParams_, opts...)
 26657  	res, err := c.doRequest("json")
 26658  	if res != nil && res.StatusCode == http.StatusNotModified {
 26659  		if res.Body != nil {
 26660  			res.Body.Close()
 26661  		}
 26662  		return nil, gensupport.WrapError(&googleapi.Error{
 26663  			Code:   res.StatusCode,
 26664  			Header: res.Header,
 26665  		})
 26666  	}
 26667  	if err != nil {
 26668  		return nil, err
 26669  	}
 26670  	defer googleapi.CloseBody(res)
 26671  	if err := googleapi.CheckResponse(res); err != nil {
 26672  		return nil, gensupport.WrapError(err)
 26673  	}
 26674  	ret := &GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse{
 26675  		ServerResponse: googleapi.ServerResponse{
 26676  			Header:         res.Header,
 26677  			HTTPStatusCode: res.StatusCode,
 26678  		},
 26679  	}
 26680  	target := &ret
 26681  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26682  		return nil, err
 26683  	}
 26684  	return ret, nil
 26685  	// {
 26686  	//   "description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.",
 26687  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions:upload",
 26688  	//   "httpMethod": "POST",
 26689  	//   "id": "integrations.projects.locations.products.integrations.versions.upload",
 26690  	//   "parameterOrder": [
 26691  	//     "parent"
 26692  	//   ],
 26693  	//   "parameters": {
 26694  	//     "parent": {
 26695  	//       "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}",
 26696  	//       "location": "path",
 26697  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 26698  	//       "required": true,
 26699  	//       "type": "string"
 26700  	//     }
 26701  	//   },
 26702  	//   "path": "v1/{+parent}/versions:upload",
 26703  	//   "request": {
 26704  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest"
 26705  	//   },
 26706  	//   "response": {
 26707  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse"
 26708  	//   },
 26709  	//   "scopes": [
 26710  	//     "https://www.googleapis.com/auth/cloud-platform"
 26711  	//   ]
 26712  	// }
 26713  
 26714  }
 26715  
 26716  // method id "integrations.projects.locations.products.integrations.versions.validate":
 26717  
 26718  type ProjectsLocationsProductsIntegrationsVersionsValidateCall struct {
 26719  	s                                                               *Service
 26720  	name                                                            string
 26721  	googlecloudintegrationsv1alphavalidateintegrationversionrequest *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest
 26722  	urlParams_                                                      gensupport.URLParams
 26723  	ctx_                                                            context.Context
 26724  	header_                                                         http.Header
 26725  }
 26726  
 26727  // Validate: Validates the given integration. If the id doesn't exist, a
 26728  // NotFoundException is thrown. If validation fails a
 26729  // CanonicalCodeException is thrown. If there was no failure an empty
 26730  // response is returned.
 26731  //
 26732  //   - name: The version to validate. Format:
 26733  //     projects/{project}/locations/{location}/integrations/{integration}/v
 26734  //     ersions/{version}.
 26735  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Validate(name string, googlecloudintegrationsv1alphavalidateintegrationversionrequest *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsValidateCall {
 26736  	c := &ProjectsLocationsProductsIntegrationsVersionsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26737  	c.name = name
 26738  	c.googlecloudintegrationsv1alphavalidateintegrationversionrequest = googlecloudintegrationsv1alphavalidateintegrationversionrequest
 26739  	return c
 26740  }
 26741  
 26742  // Fields allows partial responses to be retrieved. See
 26743  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26744  // for more information.
 26745  func (c *ProjectsLocationsProductsIntegrationsVersionsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsValidateCall {
 26746  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26747  	return c
 26748  }
 26749  
 26750  // Context sets the context to be used in this call's Do method. Any
 26751  // pending HTTP request will be aborted if the provided context is
 26752  // canceled.
 26753  func (c *ProjectsLocationsProductsIntegrationsVersionsValidateCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsValidateCall {
 26754  	c.ctx_ = ctx
 26755  	return c
 26756  }
 26757  
 26758  // Header returns an http.Header that can be modified by the caller to
 26759  // add HTTP headers to the request.
 26760  func (c *ProjectsLocationsProductsIntegrationsVersionsValidateCall) Header() http.Header {
 26761  	if c.header_ == nil {
 26762  		c.header_ = make(http.Header)
 26763  	}
 26764  	return c.header_
 26765  }
 26766  
 26767  func (c *ProjectsLocationsProductsIntegrationsVersionsValidateCall) doRequest(alt string) (*http.Response, error) {
 26768  	reqHeaders := make(http.Header)
 26769  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26770  	for k, v := range c.header_ {
 26771  		reqHeaders[k] = v
 26772  	}
 26773  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26774  	var body io.Reader = nil
 26775  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphavalidateintegrationversionrequest)
 26776  	if err != nil {
 26777  		return nil, err
 26778  	}
 26779  	reqHeaders.Set("Content-Type", "application/json")
 26780  	c.urlParams_.Set("alt", alt)
 26781  	c.urlParams_.Set("prettyPrint", "false")
 26782  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:validate")
 26783  	urls += "?" + c.urlParams_.Encode()
 26784  	req, err := http.NewRequest("POST", urls, body)
 26785  	if err != nil {
 26786  		return nil, err
 26787  	}
 26788  	req.Header = reqHeaders
 26789  	googleapi.Expand(req.URL, map[string]string{
 26790  		"name": c.name,
 26791  	})
 26792  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26793  }
 26794  
 26795  // Do executes the "integrations.projects.locations.products.integrations.versions.validate" call.
 26796  // Exactly one of
 26797  // *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse or
 26798  // error will be non-nil. Any non-2xx status code is an error. Response
 26799  // headers are in either
 26800  // *GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse.Serv
 26801  // erResponse.Header or (if a response was returned at all) in
 26802  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26803  // whether the returned error was because http.StatusNotModified was
 26804  // returned.
 26805  func (c *ProjectsLocationsProductsIntegrationsVersionsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse, error) {
 26806  	gensupport.SetOptions(c.urlParams_, opts...)
 26807  	res, err := c.doRequest("json")
 26808  	if res != nil && res.StatusCode == http.StatusNotModified {
 26809  		if res.Body != nil {
 26810  			res.Body.Close()
 26811  		}
 26812  		return nil, gensupport.WrapError(&googleapi.Error{
 26813  			Code:   res.StatusCode,
 26814  			Header: res.Header,
 26815  		})
 26816  	}
 26817  	if err != nil {
 26818  		return nil, err
 26819  	}
 26820  	defer googleapi.CloseBody(res)
 26821  	if err := googleapi.CheckResponse(res); err != nil {
 26822  		return nil, gensupport.WrapError(err)
 26823  	}
 26824  	ret := &GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse{
 26825  		ServerResponse: googleapi.ServerResponse{
 26826  			Header:         res.Header,
 26827  			HTTPStatusCode: res.StatusCode,
 26828  		},
 26829  	}
 26830  	target := &ret
 26831  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26832  		return nil, err
 26833  	}
 26834  	return ret, nil
 26835  	// {
 26836  	//   "description": "Validates the given integration. If the id doesn't exist, a NotFoundException is thrown. If validation fails a CanonicalCodeException is thrown. If there was no failure an empty response is returned.",
 26837  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:validate",
 26838  	//   "httpMethod": "POST",
 26839  	//   "id": "integrations.projects.locations.products.integrations.versions.validate",
 26840  	//   "parameterOrder": [
 26841  	//     "name"
 26842  	//   ],
 26843  	//   "parameters": {
 26844  	//     "name": {
 26845  	//       "description": "Required. The version to validate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 26846  	//       "location": "path",
 26847  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 26848  	//       "required": true,
 26849  	//       "type": "string"
 26850  	//     }
 26851  	//   },
 26852  	//   "path": "v1/{+name}:validate",
 26853  	//   "request": {
 26854  	//     "$ref": "GoogleCloudIntegrationsV1alphaValidateIntegrationVersionRequest"
 26855  	//   },
 26856  	//   "response": {
 26857  	//     "$ref": "GoogleCloudIntegrationsV1alphaValidateIntegrationVersionResponse"
 26858  	//   },
 26859  	//   "scopes": [
 26860  	//     "https://www.googleapis.com/auth/cloud-platform"
 26861  	//   ]
 26862  	// }
 26863  
 26864  }
 26865  
 26866  // method id "integrations.projects.locations.products.sfdcInstances.create":
 26867  
 26868  type ProjectsLocationsProductsSfdcInstancesCreateCall struct {
 26869  	s                                          *Service
 26870  	parent                                     string
 26871  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 26872  	urlParams_                                 gensupport.URLParams
 26873  	ctx_                                       context.Context
 26874  	header_                                    http.Header
 26875  }
 26876  
 26877  // Create: Creates an sfdc instance record. Store the sfdc instance in
 26878  // Spanner. Returns the sfdc instance.
 26879  //
 26880  // - parent: "projects/{project}/locations/{location}" format.
 26881  func (r *ProjectsLocationsProductsSfdcInstancesService) Create(parent string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsProductsSfdcInstancesCreateCall {
 26882  	c := &ProjectsLocationsProductsSfdcInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26883  	c.parent = parent
 26884  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 26885  	return c
 26886  }
 26887  
 26888  // Fields allows partial responses to be retrieved. See
 26889  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26890  // for more information.
 26891  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesCreateCall {
 26892  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26893  	return c
 26894  }
 26895  
 26896  // Context sets the context to be used in this call's Do method. Any
 26897  // pending HTTP request will be aborted if the provided context is
 26898  // canceled.
 26899  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesCreateCall {
 26900  	c.ctx_ = ctx
 26901  	return c
 26902  }
 26903  
 26904  // Header returns an http.Header that can be modified by the caller to
 26905  // add HTTP headers to the request.
 26906  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Header() http.Header {
 26907  	if c.header_ == nil {
 26908  		c.header_ = make(http.Header)
 26909  	}
 26910  	return c.header_
 26911  }
 26912  
 26913  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) doRequest(alt string) (*http.Response, error) {
 26914  	reqHeaders := make(http.Header)
 26915  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26916  	for k, v := range c.header_ {
 26917  		reqHeaders[k] = v
 26918  	}
 26919  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26920  	var body io.Reader = nil
 26921  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 26922  	if err != nil {
 26923  		return nil, err
 26924  	}
 26925  	reqHeaders.Set("Content-Type", "application/json")
 26926  	c.urlParams_.Set("alt", alt)
 26927  	c.urlParams_.Set("prettyPrint", "false")
 26928  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcInstances")
 26929  	urls += "?" + c.urlParams_.Encode()
 26930  	req, err := http.NewRequest("POST", urls, body)
 26931  	if err != nil {
 26932  		return nil, err
 26933  	}
 26934  	req.Header = reqHeaders
 26935  	googleapi.Expand(req.URL, map[string]string{
 26936  		"parent": c.parent,
 26937  	})
 26938  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26939  }
 26940  
 26941  // Do executes the "integrations.projects.locations.products.sfdcInstances.create" call.
 26942  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 26943  // will be non-nil. Any non-2xx status code is an error. Response
 26944  // headers are in either
 26945  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 26946  // (if a response was returned at all) in
 26947  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26948  // whether the returned error was because http.StatusNotModified was
 26949  // returned.
 26950  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 26951  	gensupport.SetOptions(c.urlParams_, opts...)
 26952  	res, err := c.doRequest("json")
 26953  	if res != nil && res.StatusCode == http.StatusNotModified {
 26954  		if res.Body != nil {
 26955  			res.Body.Close()
 26956  		}
 26957  		return nil, gensupport.WrapError(&googleapi.Error{
 26958  			Code:   res.StatusCode,
 26959  			Header: res.Header,
 26960  		})
 26961  	}
 26962  	if err != nil {
 26963  		return nil, err
 26964  	}
 26965  	defer googleapi.CloseBody(res)
 26966  	if err := googleapi.CheckResponse(res); err != nil {
 26967  		return nil, gensupport.WrapError(err)
 26968  	}
 26969  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 26970  		ServerResponse: googleapi.ServerResponse{
 26971  			Header:         res.Header,
 26972  			HTTPStatusCode: res.StatusCode,
 26973  		},
 26974  	}
 26975  	target := &ret
 26976  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26977  		return nil, err
 26978  	}
 26979  	return ret, nil
 26980  	// {
 26981  	//   "description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.",
 26982  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances",
 26983  	//   "httpMethod": "POST",
 26984  	//   "id": "integrations.projects.locations.products.sfdcInstances.create",
 26985  	//   "parameterOrder": [
 26986  	//     "parent"
 26987  	//   ],
 26988  	//   "parameters": {
 26989  	//     "parent": {
 26990  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 26991  	//       "location": "path",
 26992  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 26993  	//       "required": true,
 26994  	//       "type": "string"
 26995  	//     }
 26996  	//   },
 26997  	//   "path": "v1/{+parent}/sfdcInstances",
 26998  	//   "request": {
 26999  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 27000  	//   },
 27001  	//   "response": {
 27002  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 27003  	//   },
 27004  	//   "scopes": [
 27005  	//     "https://www.googleapis.com/auth/cloud-platform"
 27006  	//   ]
 27007  	// }
 27008  
 27009  }
 27010  
 27011  // method id "integrations.projects.locations.products.sfdcInstances.delete":
 27012  
 27013  type ProjectsLocationsProductsSfdcInstancesDeleteCall struct {
 27014  	s          *Service
 27015  	name       string
 27016  	urlParams_ gensupport.URLParams
 27017  	ctx_       context.Context
 27018  	header_    http.Header
 27019  }
 27020  
 27021  // Delete: Deletes an sfdc instance.
 27022  //
 27023  // - name: The name that is associated with the SfdcInstance.
 27024  func (r *ProjectsLocationsProductsSfdcInstancesService) Delete(name string) *ProjectsLocationsProductsSfdcInstancesDeleteCall {
 27025  	c := &ProjectsLocationsProductsSfdcInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27026  	c.name = name
 27027  	return c
 27028  }
 27029  
 27030  // Fields allows partial responses to be retrieved. See
 27031  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27032  // for more information.
 27033  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesDeleteCall {
 27034  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27035  	return c
 27036  }
 27037  
 27038  // Context sets the context to be used in this call's Do method. Any
 27039  // pending HTTP request will be aborted if the provided context is
 27040  // canceled.
 27041  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesDeleteCall {
 27042  	c.ctx_ = ctx
 27043  	return c
 27044  }
 27045  
 27046  // Header returns an http.Header that can be modified by the caller to
 27047  // add HTTP headers to the request.
 27048  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Header() http.Header {
 27049  	if c.header_ == nil {
 27050  		c.header_ = make(http.Header)
 27051  	}
 27052  	return c.header_
 27053  }
 27054  
 27055  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) doRequest(alt string) (*http.Response, error) {
 27056  	reqHeaders := make(http.Header)
 27057  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 27058  	for k, v := range c.header_ {
 27059  		reqHeaders[k] = v
 27060  	}
 27061  	reqHeaders.Set("User-Agent", c.s.userAgent())
 27062  	var body io.Reader = nil
 27063  	c.urlParams_.Set("alt", alt)
 27064  	c.urlParams_.Set("prettyPrint", "false")
 27065  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 27066  	urls += "?" + c.urlParams_.Encode()
 27067  	req, err := http.NewRequest("DELETE", urls, body)
 27068  	if err != nil {
 27069  		return nil, err
 27070  	}
 27071  	req.Header = reqHeaders
 27072  	googleapi.Expand(req.URL, map[string]string{
 27073  		"name": c.name,
 27074  	})
 27075  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27076  }
 27077  
 27078  // Do executes the "integrations.projects.locations.products.sfdcInstances.delete" call.
 27079  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 27080  // non-2xx status code is an error. Response headers are in either
 27081  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 27082  // returned at all) in error.(*googleapi.Error).Header. Use
 27083  // googleapi.IsNotModified to check whether the returned error was
 27084  // because http.StatusNotModified was returned.
 27085  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 27086  	gensupport.SetOptions(c.urlParams_, opts...)
 27087  	res, err := c.doRequest("json")
 27088  	if res != nil && res.StatusCode == http.StatusNotModified {
 27089  		if res.Body != nil {
 27090  			res.Body.Close()
 27091  		}
 27092  		return nil, gensupport.WrapError(&googleapi.Error{
 27093  			Code:   res.StatusCode,
 27094  			Header: res.Header,
 27095  		})
 27096  	}
 27097  	if err != nil {
 27098  		return nil, err
 27099  	}
 27100  	defer googleapi.CloseBody(res)
 27101  	if err := googleapi.CheckResponse(res); err != nil {
 27102  		return nil, gensupport.WrapError(err)
 27103  	}
 27104  	ret := &GoogleProtobufEmpty{
 27105  		ServerResponse: googleapi.ServerResponse{
 27106  			Header:         res.Header,
 27107  			HTTPStatusCode: res.StatusCode,
 27108  		},
 27109  	}
 27110  	target := &ret
 27111  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27112  		return nil, err
 27113  	}
 27114  	return ret, nil
 27115  	// {
 27116  	//   "description": "Deletes an sfdc instance.",
 27117  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}",
 27118  	//   "httpMethod": "DELETE",
 27119  	//   "id": "integrations.projects.locations.products.sfdcInstances.delete",
 27120  	//   "parameterOrder": [
 27121  	//     "name"
 27122  	//   ],
 27123  	//   "parameters": {
 27124  	//     "name": {
 27125  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 27126  	//       "location": "path",
 27127  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 27128  	//       "required": true,
 27129  	//       "type": "string"
 27130  	//     }
 27131  	//   },
 27132  	//   "path": "v1/{+name}",
 27133  	//   "response": {
 27134  	//     "$ref": "GoogleProtobufEmpty"
 27135  	//   },
 27136  	//   "scopes": [
 27137  	//     "https://www.googleapis.com/auth/cloud-platform"
 27138  	//   ]
 27139  	// }
 27140  
 27141  }
 27142  
 27143  // method id "integrations.projects.locations.products.sfdcInstances.get":
 27144  
 27145  type ProjectsLocationsProductsSfdcInstancesGetCall struct {
 27146  	s            *Service
 27147  	name         string
 27148  	urlParams_   gensupport.URLParams
 27149  	ifNoneMatch_ string
 27150  	ctx_         context.Context
 27151  	header_      http.Header
 27152  }
 27153  
 27154  // Get: Gets an sfdc instance. If the instance doesn't exist,
 27155  // Code.NOT_FOUND exception will be thrown.
 27156  //
 27157  // - name: The name that is associated with the SfdcInstance.
 27158  func (r *ProjectsLocationsProductsSfdcInstancesService) Get(name string) *ProjectsLocationsProductsSfdcInstancesGetCall {
 27159  	c := &ProjectsLocationsProductsSfdcInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27160  	c.name = name
 27161  	return c
 27162  }
 27163  
 27164  // Fields allows partial responses to be retrieved. See
 27165  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27166  // for more information.
 27167  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesGetCall {
 27168  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27169  	return c
 27170  }
 27171  
 27172  // IfNoneMatch sets the optional parameter which makes the operation
 27173  // fail if the object's ETag matches the given value. This is useful for
 27174  // getting updates only after the object has changed since the last
 27175  // request. Use googleapi.IsNotModified to check whether the response
 27176  // error from Do is the result of In-None-Match.
 27177  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesGetCall {
 27178  	c.ifNoneMatch_ = entityTag
 27179  	return c
 27180  }
 27181  
 27182  // Context sets the context to be used in this call's Do method. Any
 27183  // pending HTTP request will be aborted if the provided context is
 27184  // canceled.
 27185  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesGetCall {
 27186  	c.ctx_ = ctx
 27187  	return c
 27188  }
 27189  
 27190  // Header returns an http.Header that can be modified by the caller to
 27191  // add HTTP headers to the request.
 27192  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Header() http.Header {
 27193  	if c.header_ == nil {
 27194  		c.header_ = make(http.Header)
 27195  	}
 27196  	return c.header_
 27197  }
 27198  
 27199  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) doRequest(alt string) (*http.Response, error) {
 27200  	reqHeaders := make(http.Header)
 27201  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 27202  	for k, v := range c.header_ {
 27203  		reqHeaders[k] = v
 27204  	}
 27205  	reqHeaders.Set("User-Agent", c.s.userAgent())
 27206  	if c.ifNoneMatch_ != "" {
 27207  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 27208  	}
 27209  	var body io.Reader = nil
 27210  	c.urlParams_.Set("alt", alt)
 27211  	c.urlParams_.Set("prettyPrint", "false")
 27212  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 27213  	urls += "?" + c.urlParams_.Encode()
 27214  	req, err := http.NewRequest("GET", urls, body)
 27215  	if err != nil {
 27216  		return nil, err
 27217  	}
 27218  	req.Header = reqHeaders
 27219  	googleapi.Expand(req.URL, map[string]string{
 27220  		"name": c.name,
 27221  	})
 27222  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27223  }
 27224  
 27225  // Do executes the "integrations.projects.locations.products.sfdcInstances.get" call.
 27226  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 27227  // will be non-nil. Any non-2xx status code is an error. Response
 27228  // headers are in either
 27229  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 27230  // (if a response was returned at all) in
 27231  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 27232  // whether the returned error was because http.StatusNotModified was
 27233  // returned.
 27234  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 27235  	gensupport.SetOptions(c.urlParams_, opts...)
 27236  	res, err := c.doRequest("json")
 27237  	if res != nil && res.StatusCode == http.StatusNotModified {
 27238  		if res.Body != nil {
 27239  			res.Body.Close()
 27240  		}
 27241  		return nil, gensupport.WrapError(&googleapi.Error{
 27242  			Code:   res.StatusCode,
 27243  			Header: res.Header,
 27244  		})
 27245  	}
 27246  	if err != nil {
 27247  		return nil, err
 27248  	}
 27249  	defer googleapi.CloseBody(res)
 27250  	if err := googleapi.CheckResponse(res); err != nil {
 27251  		return nil, gensupport.WrapError(err)
 27252  	}
 27253  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 27254  		ServerResponse: googleapi.ServerResponse{
 27255  			Header:         res.Header,
 27256  			HTTPStatusCode: res.StatusCode,
 27257  		},
 27258  	}
 27259  	target := &ret
 27260  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27261  		return nil, err
 27262  	}
 27263  	return ret, nil
 27264  	// {
 27265  	//   "description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.",
 27266  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}",
 27267  	//   "httpMethod": "GET",
 27268  	//   "id": "integrations.projects.locations.products.sfdcInstances.get",
 27269  	//   "parameterOrder": [
 27270  	//     "name"
 27271  	//   ],
 27272  	//   "parameters": {
 27273  	//     "name": {
 27274  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 27275  	//       "location": "path",
 27276  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 27277  	//       "required": true,
 27278  	//       "type": "string"
 27279  	//     }
 27280  	//   },
 27281  	//   "path": "v1/{+name}",
 27282  	//   "response": {
 27283  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 27284  	//   },
 27285  	//   "scopes": [
 27286  	//     "https://www.googleapis.com/auth/cloud-platform"
 27287  	//   ]
 27288  	// }
 27289  
 27290  }
 27291  
 27292  // method id "integrations.projects.locations.products.sfdcInstances.list":
 27293  
 27294  type ProjectsLocationsProductsSfdcInstancesListCall struct {
 27295  	s            *Service
 27296  	parent       string
 27297  	urlParams_   gensupport.URLParams
 27298  	ifNoneMatch_ string
 27299  	ctx_         context.Context
 27300  	header_      http.Header
 27301  }
 27302  
 27303  // List: Lists all sfdc instances that match the filter. Restrict to
 27304  // sfdc instances belonging to the current client only.
 27305  //
 27306  // - parent: The client, which owns this collection of SfdcInstances.
 27307  func (r *ProjectsLocationsProductsSfdcInstancesService) List(parent string) *ProjectsLocationsProductsSfdcInstancesListCall {
 27308  	c := &ProjectsLocationsProductsSfdcInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27309  	c.parent = parent
 27310  	return c
 27311  }
 27312  
 27313  // Filter sets the optional parameter "filter": Filtering as supported
 27314  // in
 27315  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 27316  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Filter(filter string) *ProjectsLocationsProductsSfdcInstancesListCall {
 27317  	c.urlParams_.Set("filter", filter)
 27318  	return c
 27319  }
 27320  
 27321  // PageSize sets the optional parameter "pageSize": The size of entries
 27322  // in the response. If unspecified, defaults to 100.
 27323  func (c *ProjectsLocationsProductsSfdcInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsProductsSfdcInstancesListCall {
 27324  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 27325  	return c
 27326  }
 27327  
 27328  // PageToken sets the optional parameter "pageToken": The token returned
 27329  // in the previous response.
 27330  func (c *ProjectsLocationsProductsSfdcInstancesListCall) PageToken(pageToken string) *ProjectsLocationsProductsSfdcInstancesListCall {
 27331  	c.urlParams_.Set("pageToken", pageToken)
 27332  	return c
 27333  }
 27334  
 27335  // ReadMask sets the optional parameter "readMask": The mask which
 27336  // specifies fields that need to be returned in the SfdcInstance's
 27337  // response.
 27338  func (c *ProjectsLocationsProductsSfdcInstancesListCall) ReadMask(readMask string) *ProjectsLocationsProductsSfdcInstancesListCall {
 27339  	c.urlParams_.Set("readMask", readMask)
 27340  	return c
 27341  }
 27342  
 27343  // Fields allows partial responses to be retrieved. See
 27344  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27345  // for more information.
 27346  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesListCall {
 27347  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27348  	return c
 27349  }
 27350  
 27351  // IfNoneMatch sets the optional parameter which makes the operation
 27352  // fail if the object's ETag matches the given value. This is useful for
 27353  // getting updates only after the object has changed since the last
 27354  // request. Use googleapi.IsNotModified to check whether the response
 27355  // error from Do is the result of In-None-Match.
 27356  func (c *ProjectsLocationsProductsSfdcInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesListCall {
 27357  	c.ifNoneMatch_ = entityTag
 27358  	return c
 27359  }
 27360  
 27361  // Context sets the context to be used in this call's Do method. Any
 27362  // pending HTTP request will be aborted if the provided context is
 27363  // canceled.
 27364  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesListCall {
 27365  	c.ctx_ = ctx
 27366  	return c
 27367  }
 27368  
 27369  // Header returns an http.Header that can be modified by the caller to
 27370  // add HTTP headers to the request.
 27371  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Header() http.Header {
 27372  	if c.header_ == nil {
 27373  		c.header_ = make(http.Header)
 27374  	}
 27375  	return c.header_
 27376  }
 27377  
 27378  func (c *ProjectsLocationsProductsSfdcInstancesListCall) doRequest(alt string) (*http.Response, error) {
 27379  	reqHeaders := make(http.Header)
 27380  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 27381  	for k, v := range c.header_ {
 27382  		reqHeaders[k] = v
 27383  	}
 27384  	reqHeaders.Set("User-Agent", c.s.userAgent())
 27385  	if c.ifNoneMatch_ != "" {
 27386  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 27387  	}
 27388  	var body io.Reader = nil
 27389  	c.urlParams_.Set("alt", alt)
 27390  	c.urlParams_.Set("prettyPrint", "false")
 27391  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcInstances")
 27392  	urls += "?" + c.urlParams_.Encode()
 27393  	req, err := http.NewRequest("GET", urls, body)
 27394  	if err != nil {
 27395  		return nil, err
 27396  	}
 27397  	req.Header = reqHeaders
 27398  	googleapi.Expand(req.URL, map[string]string{
 27399  		"parent": c.parent,
 27400  	})
 27401  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27402  }
 27403  
 27404  // Do executes the "integrations.projects.locations.products.sfdcInstances.list" call.
 27405  // Exactly one of
 27406  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse or error
 27407  // will be non-nil. Any non-2xx status code is an error. Response
 27408  // headers are in either
 27409  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse.ServerRespons
 27410  // e.Header or (if a response was returned at all) in
 27411  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 27412  // whether the returned error was because http.StatusNotModified was
 27413  // returned.
 27414  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse, error) {
 27415  	gensupport.SetOptions(c.urlParams_, opts...)
 27416  	res, err := c.doRequest("json")
 27417  	if res != nil && res.StatusCode == http.StatusNotModified {
 27418  		if res.Body != nil {
 27419  			res.Body.Close()
 27420  		}
 27421  		return nil, gensupport.WrapError(&googleapi.Error{
 27422  			Code:   res.StatusCode,
 27423  			Header: res.Header,
 27424  		})
 27425  	}
 27426  	if err != nil {
 27427  		return nil, err
 27428  	}
 27429  	defer googleapi.CloseBody(res)
 27430  	if err := googleapi.CheckResponse(res); err != nil {
 27431  		return nil, gensupport.WrapError(err)
 27432  	}
 27433  	ret := &GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse{
 27434  		ServerResponse: googleapi.ServerResponse{
 27435  			Header:         res.Header,
 27436  			HTTPStatusCode: res.StatusCode,
 27437  		},
 27438  	}
 27439  	target := &ret
 27440  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27441  		return nil, err
 27442  	}
 27443  	return ret, nil
 27444  	// {
 27445  	//   "description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.",
 27446  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances",
 27447  	//   "httpMethod": "GET",
 27448  	//   "id": "integrations.projects.locations.products.sfdcInstances.list",
 27449  	//   "parameterOrder": [
 27450  	//     "parent"
 27451  	//   ],
 27452  	//   "parameters": {
 27453  	//     "filter": {
 27454  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 27455  	//       "location": "query",
 27456  	//       "type": "string"
 27457  	//     },
 27458  	//     "pageSize": {
 27459  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 27460  	//       "format": "int32",
 27461  	//       "location": "query",
 27462  	//       "type": "integer"
 27463  	//     },
 27464  	//     "pageToken": {
 27465  	//       "description": "The token returned in the previous response.",
 27466  	//       "location": "query",
 27467  	//       "type": "string"
 27468  	//     },
 27469  	//     "parent": {
 27470  	//       "description": "Required. The client, which owns this collection of SfdcInstances.",
 27471  	//       "location": "path",
 27472  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 27473  	//       "required": true,
 27474  	//       "type": "string"
 27475  	//     },
 27476  	//     "readMask": {
 27477  	//       "description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.",
 27478  	//       "format": "google-fieldmask",
 27479  	//       "location": "query",
 27480  	//       "type": "string"
 27481  	//     }
 27482  	//   },
 27483  	//   "path": "v1/{+parent}/sfdcInstances",
 27484  	//   "response": {
 27485  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse"
 27486  	//   },
 27487  	//   "scopes": [
 27488  	//     "https://www.googleapis.com/auth/cloud-platform"
 27489  	//   ]
 27490  	// }
 27491  
 27492  }
 27493  
 27494  // Pages invokes f for each page of results.
 27495  // A non-nil error returned from f will halt the iteration.
 27496  // The provided context supersedes any context provided to the Context method.
 27497  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse) error) error {
 27498  	c.ctx_ = ctx
 27499  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 27500  	for {
 27501  		x, err := c.Do()
 27502  		if err != nil {
 27503  			return err
 27504  		}
 27505  		if err := f(x); err != nil {
 27506  			return err
 27507  		}
 27508  		if x.NextPageToken == "" {
 27509  			return nil
 27510  		}
 27511  		c.PageToken(x.NextPageToken)
 27512  	}
 27513  }
 27514  
 27515  // method id "integrations.projects.locations.products.sfdcInstances.patch":
 27516  
 27517  type ProjectsLocationsProductsSfdcInstancesPatchCall struct {
 27518  	s                                          *Service
 27519  	name                                       string
 27520  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 27521  	urlParams_                                 gensupport.URLParams
 27522  	ctx_                                       context.Context
 27523  	header_                                    http.Header
 27524  }
 27525  
 27526  // Patch: Updates an sfdc instance. Updates the sfdc instance in
 27527  // spanner. Returns the sfdc instance.
 27528  //
 27529  //   - name: Resource name of the SFDC instance
 27530  //     projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}
 27531  //     .
 27532  func (r *ProjectsLocationsProductsSfdcInstancesService) Patch(name string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 27533  	c := &ProjectsLocationsProductsSfdcInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27534  	c.name = name
 27535  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 27536  	return c
 27537  }
 27538  
 27539  // UpdateMask sets the optional parameter "updateMask": Field mask
 27540  // specifying the fields in the above SfdcInstance that have been
 27541  // modified and need to be updated.
 27542  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 27543  	c.urlParams_.Set("updateMask", updateMask)
 27544  	return c
 27545  }
 27546  
 27547  // Fields allows partial responses to be retrieved. See
 27548  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27549  // for more information.
 27550  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 27551  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27552  	return c
 27553  }
 27554  
 27555  // Context sets the context to be used in this call's Do method. Any
 27556  // pending HTTP request will be aborted if the provided context is
 27557  // canceled.
 27558  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 27559  	c.ctx_ = ctx
 27560  	return c
 27561  }
 27562  
 27563  // Header returns an http.Header that can be modified by the caller to
 27564  // add HTTP headers to the request.
 27565  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Header() http.Header {
 27566  	if c.header_ == nil {
 27567  		c.header_ = make(http.Header)
 27568  	}
 27569  	return c.header_
 27570  }
 27571  
 27572  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) doRequest(alt string) (*http.Response, error) {
 27573  	reqHeaders := make(http.Header)
 27574  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 27575  	for k, v := range c.header_ {
 27576  		reqHeaders[k] = v
 27577  	}
 27578  	reqHeaders.Set("User-Agent", c.s.userAgent())
 27579  	var body io.Reader = nil
 27580  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 27581  	if err != nil {
 27582  		return nil, err
 27583  	}
 27584  	reqHeaders.Set("Content-Type", "application/json")
 27585  	c.urlParams_.Set("alt", alt)
 27586  	c.urlParams_.Set("prettyPrint", "false")
 27587  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 27588  	urls += "?" + c.urlParams_.Encode()
 27589  	req, err := http.NewRequest("PATCH", urls, body)
 27590  	if err != nil {
 27591  		return nil, err
 27592  	}
 27593  	req.Header = reqHeaders
 27594  	googleapi.Expand(req.URL, map[string]string{
 27595  		"name": c.name,
 27596  	})
 27597  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27598  }
 27599  
 27600  // Do executes the "integrations.projects.locations.products.sfdcInstances.patch" call.
 27601  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 27602  // will be non-nil. Any non-2xx status code is an error. Response
 27603  // headers are in either
 27604  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 27605  // (if a response was returned at all) in
 27606  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 27607  // whether the returned error was because http.StatusNotModified was
 27608  // returned.
 27609  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 27610  	gensupport.SetOptions(c.urlParams_, opts...)
 27611  	res, err := c.doRequest("json")
 27612  	if res != nil && res.StatusCode == http.StatusNotModified {
 27613  		if res.Body != nil {
 27614  			res.Body.Close()
 27615  		}
 27616  		return nil, gensupport.WrapError(&googleapi.Error{
 27617  			Code:   res.StatusCode,
 27618  			Header: res.Header,
 27619  		})
 27620  	}
 27621  	if err != nil {
 27622  		return nil, err
 27623  	}
 27624  	defer googleapi.CloseBody(res)
 27625  	if err := googleapi.CheckResponse(res); err != nil {
 27626  		return nil, gensupport.WrapError(err)
 27627  	}
 27628  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 27629  		ServerResponse: googleapi.ServerResponse{
 27630  			Header:         res.Header,
 27631  			HTTPStatusCode: res.StatusCode,
 27632  		},
 27633  	}
 27634  	target := &ret
 27635  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27636  		return nil, err
 27637  	}
 27638  	return ret, nil
 27639  	// {
 27640  	//   "description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.",
 27641  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}",
 27642  	//   "httpMethod": "PATCH",
 27643  	//   "id": "integrations.projects.locations.products.sfdcInstances.patch",
 27644  	//   "parameterOrder": [
 27645  	//     "name"
 27646  	//   ],
 27647  	//   "parameters": {
 27648  	//     "name": {
 27649  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.",
 27650  	//       "location": "path",
 27651  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 27652  	//       "required": true,
 27653  	//       "type": "string"
 27654  	//     },
 27655  	//     "updateMask": {
 27656  	//       "description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.",
 27657  	//       "format": "google-fieldmask",
 27658  	//       "location": "query",
 27659  	//       "type": "string"
 27660  	//     }
 27661  	//   },
 27662  	//   "path": "v1/{+name}",
 27663  	//   "request": {
 27664  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 27665  	//   },
 27666  	//   "response": {
 27667  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 27668  	//   },
 27669  	//   "scopes": [
 27670  	//     "https://www.googleapis.com/auth/cloud-platform"
 27671  	//   ]
 27672  	// }
 27673  
 27674  }
 27675  
 27676  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create":
 27677  
 27678  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall struct {
 27679  	s                                         *Service
 27680  	parent                                    string
 27681  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 27682  	urlParams_                                gensupport.URLParams
 27683  	ctx_                                      context.Context
 27684  	header_                                   http.Header
 27685  }
 27686  
 27687  // Create: Creates an sfdc channel record. Store the sfdc channel in
 27688  // Spanner. Returns the sfdc channel.
 27689  //
 27690  // - parent: "projects/{project}/locations/{location}" format.
 27691  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Create(parent string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall {
 27692  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27693  	c.parent = parent
 27694  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 27695  	return c
 27696  }
 27697  
 27698  // Fields allows partial responses to be retrieved. See
 27699  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27700  // for more information.
 27701  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall {
 27702  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27703  	return c
 27704  }
 27705  
 27706  // Context sets the context to be used in this call's Do method. Any
 27707  // pending HTTP request will be aborted if the provided context is
 27708  // canceled.
 27709  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall {
 27710  	c.ctx_ = ctx
 27711  	return c
 27712  }
 27713  
 27714  // Header returns an http.Header that can be modified by the caller to
 27715  // add HTTP headers to the request.
 27716  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Header() http.Header {
 27717  	if c.header_ == nil {
 27718  		c.header_ = make(http.Header)
 27719  	}
 27720  	return c.header_
 27721  }
 27722  
 27723  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) doRequest(alt string) (*http.Response, error) {
 27724  	reqHeaders := make(http.Header)
 27725  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 27726  	for k, v := range c.header_ {
 27727  		reqHeaders[k] = v
 27728  	}
 27729  	reqHeaders.Set("User-Agent", c.s.userAgent())
 27730  	var body io.Reader = nil
 27731  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 27732  	if err != nil {
 27733  		return nil, err
 27734  	}
 27735  	reqHeaders.Set("Content-Type", "application/json")
 27736  	c.urlParams_.Set("alt", alt)
 27737  	c.urlParams_.Set("prettyPrint", "false")
 27738  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcChannels")
 27739  	urls += "?" + c.urlParams_.Encode()
 27740  	req, err := http.NewRequest("POST", urls, body)
 27741  	if err != nil {
 27742  		return nil, err
 27743  	}
 27744  	req.Header = reqHeaders
 27745  	googleapi.Expand(req.URL, map[string]string{
 27746  		"parent": c.parent,
 27747  	})
 27748  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27749  }
 27750  
 27751  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create" call.
 27752  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 27753  // will be non-nil. Any non-2xx status code is an error. Response
 27754  // headers are in either
 27755  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 27756  // (if a response was returned at all) in
 27757  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 27758  // whether the returned error was because http.StatusNotModified was
 27759  // returned.
 27760  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 27761  	gensupport.SetOptions(c.urlParams_, opts...)
 27762  	res, err := c.doRequest("json")
 27763  	if res != nil && res.StatusCode == http.StatusNotModified {
 27764  		if res.Body != nil {
 27765  			res.Body.Close()
 27766  		}
 27767  		return nil, gensupport.WrapError(&googleapi.Error{
 27768  			Code:   res.StatusCode,
 27769  			Header: res.Header,
 27770  		})
 27771  	}
 27772  	if err != nil {
 27773  		return nil, err
 27774  	}
 27775  	defer googleapi.CloseBody(res)
 27776  	if err := googleapi.CheckResponse(res); err != nil {
 27777  		return nil, gensupport.WrapError(err)
 27778  	}
 27779  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 27780  		ServerResponse: googleapi.ServerResponse{
 27781  			Header:         res.Header,
 27782  			HTTPStatusCode: res.StatusCode,
 27783  		},
 27784  	}
 27785  	target := &ret
 27786  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27787  		return nil, err
 27788  	}
 27789  	return ret, nil
 27790  	// {
 27791  	//   "description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.",
 27792  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 27793  	//   "httpMethod": "POST",
 27794  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create",
 27795  	//   "parameterOrder": [
 27796  	//     "parent"
 27797  	//   ],
 27798  	//   "parameters": {
 27799  	//     "parent": {
 27800  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 27801  	//       "location": "path",
 27802  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 27803  	//       "required": true,
 27804  	//       "type": "string"
 27805  	//     }
 27806  	//   },
 27807  	//   "path": "v1/{+parent}/sfdcChannels",
 27808  	//   "request": {
 27809  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 27810  	//   },
 27811  	//   "response": {
 27812  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 27813  	//   },
 27814  	//   "scopes": [
 27815  	//     "https://www.googleapis.com/auth/cloud-platform"
 27816  	//   ]
 27817  	// }
 27818  
 27819  }
 27820  
 27821  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete":
 27822  
 27823  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall struct {
 27824  	s          *Service
 27825  	name       string
 27826  	urlParams_ gensupport.URLParams
 27827  	ctx_       context.Context
 27828  	header_    http.Header
 27829  }
 27830  
 27831  // Delete: Deletes an sfdc channel.
 27832  //
 27833  // - name: The name that is associated with the SfdcChannel.
 27834  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Delete(name string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall {
 27835  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27836  	c.name = name
 27837  	return c
 27838  }
 27839  
 27840  // Fields allows partial responses to be retrieved. See
 27841  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27842  // for more information.
 27843  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall {
 27844  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27845  	return c
 27846  }
 27847  
 27848  // Context sets the context to be used in this call's Do method. Any
 27849  // pending HTTP request will be aborted if the provided context is
 27850  // canceled.
 27851  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall {
 27852  	c.ctx_ = ctx
 27853  	return c
 27854  }
 27855  
 27856  // Header returns an http.Header that can be modified by the caller to
 27857  // add HTTP headers to the request.
 27858  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Header() http.Header {
 27859  	if c.header_ == nil {
 27860  		c.header_ = make(http.Header)
 27861  	}
 27862  	return c.header_
 27863  }
 27864  
 27865  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) doRequest(alt string) (*http.Response, error) {
 27866  	reqHeaders := make(http.Header)
 27867  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 27868  	for k, v := range c.header_ {
 27869  		reqHeaders[k] = v
 27870  	}
 27871  	reqHeaders.Set("User-Agent", c.s.userAgent())
 27872  	var body io.Reader = nil
 27873  	c.urlParams_.Set("alt", alt)
 27874  	c.urlParams_.Set("prettyPrint", "false")
 27875  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 27876  	urls += "?" + c.urlParams_.Encode()
 27877  	req, err := http.NewRequest("DELETE", urls, body)
 27878  	if err != nil {
 27879  		return nil, err
 27880  	}
 27881  	req.Header = reqHeaders
 27882  	googleapi.Expand(req.URL, map[string]string{
 27883  		"name": c.name,
 27884  	})
 27885  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27886  }
 27887  
 27888  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete" call.
 27889  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 27890  // non-2xx status code is an error. Response headers are in either
 27891  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 27892  // returned at all) in error.(*googleapi.Error).Header. Use
 27893  // googleapi.IsNotModified to check whether the returned error was
 27894  // because http.StatusNotModified was returned.
 27895  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 27896  	gensupport.SetOptions(c.urlParams_, opts...)
 27897  	res, err := c.doRequest("json")
 27898  	if res != nil && res.StatusCode == http.StatusNotModified {
 27899  		if res.Body != nil {
 27900  			res.Body.Close()
 27901  		}
 27902  		return nil, gensupport.WrapError(&googleapi.Error{
 27903  			Code:   res.StatusCode,
 27904  			Header: res.Header,
 27905  		})
 27906  	}
 27907  	if err != nil {
 27908  		return nil, err
 27909  	}
 27910  	defer googleapi.CloseBody(res)
 27911  	if err := googleapi.CheckResponse(res); err != nil {
 27912  		return nil, gensupport.WrapError(err)
 27913  	}
 27914  	ret := &GoogleProtobufEmpty{
 27915  		ServerResponse: googleapi.ServerResponse{
 27916  			Header:         res.Header,
 27917  			HTTPStatusCode: res.StatusCode,
 27918  		},
 27919  	}
 27920  	target := &ret
 27921  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27922  		return nil, err
 27923  	}
 27924  	return ret, nil
 27925  	// {
 27926  	//   "description": "Deletes an sfdc channel.",
 27927  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 27928  	//   "httpMethod": "DELETE",
 27929  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete",
 27930  	//   "parameterOrder": [
 27931  	//     "name"
 27932  	//   ],
 27933  	//   "parameters": {
 27934  	//     "name": {
 27935  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 27936  	//       "location": "path",
 27937  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 27938  	//       "required": true,
 27939  	//       "type": "string"
 27940  	//     }
 27941  	//   },
 27942  	//   "path": "v1/{+name}",
 27943  	//   "response": {
 27944  	//     "$ref": "GoogleProtobufEmpty"
 27945  	//   },
 27946  	//   "scopes": [
 27947  	//     "https://www.googleapis.com/auth/cloud-platform"
 27948  	//   ]
 27949  	// }
 27950  
 27951  }
 27952  
 27953  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get":
 27954  
 27955  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall struct {
 27956  	s            *Service
 27957  	name         string
 27958  	urlParams_   gensupport.URLParams
 27959  	ifNoneMatch_ string
 27960  	ctx_         context.Context
 27961  	header_      http.Header
 27962  }
 27963  
 27964  // Get: Gets an sfdc channel. If the channel doesn't exist,
 27965  // Code.NOT_FOUND exception will be thrown.
 27966  //
 27967  // - name: The name that is associated with the SfdcChannel.
 27968  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Get(name string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 27969  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27970  	c.name = name
 27971  	return c
 27972  }
 27973  
 27974  // Fields allows partial responses to be retrieved. See
 27975  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 27976  // for more information.
 27977  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 27978  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27979  	return c
 27980  }
 27981  
 27982  // IfNoneMatch sets the optional parameter which makes the operation
 27983  // fail if the object's ETag matches the given value. This is useful for
 27984  // getting updates only after the object has changed since the last
 27985  // request. Use googleapi.IsNotModified to check whether the response
 27986  // error from Do is the result of In-None-Match.
 27987  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 27988  	c.ifNoneMatch_ = entityTag
 27989  	return c
 27990  }
 27991  
 27992  // Context sets the context to be used in this call's Do method. Any
 27993  // pending HTTP request will be aborted if the provided context is
 27994  // canceled.
 27995  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 27996  	c.ctx_ = ctx
 27997  	return c
 27998  }
 27999  
 28000  // Header returns an http.Header that can be modified by the caller to
 28001  // add HTTP headers to the request.
 28002  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Header() http.Header {
 28003  	if c.header_ == nil {
 28004  		c.header_ = make(http.Header)
 28005  	}
 28006  	return c.header_
 28007  }
 28008  
 28009  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) doRequest(alt string) (*http.Response, error) {
 28010  	reqHeaders := make(http.Header)
 28011  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 28012  	for k, v := range c.header_ {
 28013  		reqHeaders[k] = v
 28014  	}
 28015  	reqHeaders.Set("User-Agent", c.s.userAgent())
 28016  	if c.ifNoneMatch_ != "" {
 28017  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 28018  	}
 28019  	var body io.Reader = nil
 28020  	c.urlParams_.Set("alt", alt)
 28021  	c.urlParams_.Set("prettyPrint", "false")
 28022  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 28023  	urls += "?" + c.urlParams_.Encode()
 28024  	req, err := http.NewRequest("GET", urls, body)
 28025  	if err != nil {
 28026  		return nil, err
 28027  	}
 28028  	req.Header = reqHeaders
 28029  	googleapi.Expand(req.URL, map[string]string{
 28030  		"name": c.name,
 28031  	})
 28032  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28033  }
 28034  
 28035  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get" call.
 28036  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 28037  // will be non-nil. Any non-2xx status code is an error. Response
 28038  // headers are in either
 28039  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 28040  // (if a response was returned at all) in
 28041  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 28042  // whether the returned error was because http.StatusNotModified was
 28043  // returned.
 28044  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 28045  	gensupport.SetOptions(c.urlParams_, opts...)
 28046  	res, err := c.doRequest("json")
 28047  	if res != nil && res.StatusCode == http.StatusNotModified {
 28048  		if res.Body != nil {
 28049  			res.Body.Close()
 28050  		}
 28051  		return nil, gensupport.WrapError(&googleapi.Error{
 28052  			Code:   res.StatusCode,
 28053  			Header: res.Header,
 28054  		})
 28055  	}
 28056  	if err != nil {
 28057  		return nil, err
 28058  	}
 28059  	defer googleapi.CloseBody(res)
 28060  	if err := googleapi.CheckResponse(res); err != nil {
 28061  		return nil, gensupport.WrapError(err)
 28062  	}
 28063  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 28064  		ServerResponse: googleapi.ServerResponse{
 28065  			Header:         res.Header,
 28066  			HTTPStatusCode: res.StatusCode,
 28067  		},
 28068  	}
 28069  	target := &ret
 28070  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28071  		return nil, err
 28072  	}
 28073  	return ret, nil
 28074  	// {
 28075  	//   "description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.",
 28076  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 28077  	//   "httpMethod": "GET",
 28078  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get",
 28079  	//   "parameterOrder": [
 28080  	//     "name"
 28081  	//   ],
 28082  	//   "parameters": {
 28083  	//     "name": {
 28084  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 28085  	//       "location": "path",
 28086  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 28087  	//       "required": true,
 28088  	//       "type": "string"
 28089  	//     }
 28090  	//   },
 28091  	//   "path": "v1/{+name}",
 28092  	//   "response": {
 28093  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 28094  	//   },
 28095  	//   "scopes": [
 28096  	//     "https://www.googleapis.com/auth/cloud-platform"
 28097  	//   ]
 28098  	// }
 28099  
 28100  }
 28101  
 28102  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list":
 28103  
 28104  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall struct {
 28105  	s            *Service
 28106  	parent       string
 28107  	urlParams_   gensupport.URLParams
 28108  	ifNoneMatch_ string
 28109  	ctx_         context.Context
 28110  	header_      http.Header
 28111  }
 28112  
 28113  // List: Lists all sfdc channels that match the filter. Restrict to sfdc
 28114  // channels belonging to the current client only.
 28115  //
 28116  // - parent: The client, which owns this collection of SfdcChannels.
 28117  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) List(parent string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28118  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28119  	c.parent = parent
 28120  	return c
 28121  }
 28122  
 28123  // Filter sets the optional parameter "filter": Filtering as supported
 28124  // in
 28125  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 28126  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Filter(filter string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28127  	c.urlParams_.Set("filter", filter)
 28128  	return c
 28129  }
 28130  
 28131  // PageSize sets the optional parameter "pageSize": The size of entries
 28132  // in the response. If unspecified, defaults to 100.
 28133  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28134  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 28135  	return c
 28136  }
 28137  
 28138  // PageToken sets the optional parameter "pageToken": The token returned
 28139  // in the previous response.
 28140  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) PageToken(pageToken string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28141  	c.urlParams_.Set("pageToken", pageToken)
 28142  	return c
 28143  }
 28144  
 28145  // ReadMask sets the optional parameter "readMask": The mask which
 28146  // specifies fields that need to be returned in the SfdcChannel's
 28147  // response.
 28148  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) ReadMask(readMask string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28149  	c.urlParams_.Set("readMask", readMask)
 28150  	return c
 28151  }
 28152  
 28153  // Fields allows partial responses to be retrieved. See
 28154  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 28155  // for more information.
 28156  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28157  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28158  	return c
 28159  }
 28160  
 28161  // IfNoneMatch sets the optional parameter which makes the operation
 28162  // fail if the object's ETag matches the given value. This is useful for
 28163  // getting updates only after the object has changed since the last
 28164  // request. Use googleapi.IsNotModified to check whether the response
 28165  // error from Do is the result of In-None-Match.
 28166  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28167  	c.ifNoneMatch_ = entityTag
 28168  	return c
 28169  }
 28170  
 28171  // Context sets the context to be used in this call's Do method. Any
 28172  // pending HTTP request will be aborted if the provided context is
 28173  // canceled.
 28174  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 28175  	c.ctx_ = ctx
 28176  	return c
 28177  }
 28178  
 28179  // Header returns an http.Header that can be modified by the caller to
 28180  // add HTTP headers to the request.
 28181  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Header() http.Header {
 28182  	if c.header_ == nil {
 28183  		c.header_ = make(http.Header)
 28184  	}
 28185  	return c.header_
 28186  }
 28187  
 28188  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) doRequest(alt string) (*http.Response, error) {
 28189  	reqHeaders := make(http.Header)
 28190  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 28191  	for k, v := range c.header_ {
 28192  		reqHeaders[k] = v
 28193  	}
 28194  	reqHeaders.Set("User-Agent", c.s.userAgent())
 28195  	if c.ifNoneMatch_ != "" {
 28196  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 28197  	}
 28198  	var body io.Reader = nil
 28199  	c.urlParams_.Set("alt", alt)
 28200  	c.urlParams_.Set("prettyPrint", "false")
 28201  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcChannels")
 28202  	urls += "?" + c.urlParams_.Encode()
 28203  	req, err := http.NewRequest("GET", urls, body)
 28204  	if err != nil {
 28205  		return nil, err
 28206  	}
 28207  	req.Header = reqHeaders
 28208  	googleapi.Expand(req.URL, map[string]string{
 28209  		"parent": c.parent,
 28210  	})
 28211  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28212  }
 28213  
 28214  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list" call.
 28215  // Exactly one of
 28216  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse or error will
 28217  // be non-nil. Any non-2xx status code is an error. Response headers are
 28218  // in either
 28219  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse.ServerResponse
 28220  // .Header or (if a response was returned at all) in
 28221  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 28222  // whether the returned error was because http.StatusNotModified was
 28223  // returned.
 28224  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse, error) {
 28225  	gensupport.SetOptions(c.urlParams_, opts...)
 28226  	res, err := c.doRequest("json")
 28227  	if res != nil && res.StatusCode == http.StatusNotModified {
 28228  		if res.Body != nil {
 28229  			res.Body.Close()
 28230  		}
 28231  		return nil, gensupport.WrapError(&googleapi.Error{
 28232  			Code:   res.StatusCode,
 28233  			Header: res.Header,
 28234  		})
 28235  	}
 28236  	if err != nil {
 28237  		return nil, err
 28238  	}
 28239  	defer googleapi.CloseBody(res)
 28240  	if err := googleapi.CheckResponse(res); err != nil {
 28241  		return nil, gensupport.WrapError(err)
 28242  	}
 28243  	ret := &GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse{
 28244  		ServerResponse: googleapi.ServerResponse{
 28245  			Header:         res.Header,
 28246  			HTTPStatusCode: res.StatusCode,
 28247  		},
 28248  	}
 28249  	target := &ret
 28250  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28251  		return nil, err
 28252  	}
 28253  	return ret, nil
 28254  	// {
 28255  	//   "description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.",
 28256  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 28257  	//   "httpMethod": "GET",
 28258  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list",
 28259  	//   "parameterOrder": [
 28260  	//     "parent"
 28261  	//   ],
 28262  	//   "parameters": {
 28263  	//     "filter": {
 28264  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 28265  	//       "location": "query",
 28266  	//       "type": "string"
 28267  	//     },
 28268  	//     "pageSize": {
 28269  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 28270  	//       "format": "int32",
 28271  	//       "location": "query",
 28272  	//       "type": "integer"
 28273  	//     },
 28274  	//     "pageToken": {
 28275  	//       "description": "The token returned in the previous response.",
 28276  	//       "location": "query",
 28277  	//       "type": "string"
 28278  	//     },
 28279  	//     "parent": {
 28280  	//       "description": "Required. The client, which owns this collection of SfdcChannels.",
 28281  	//       "location": "path",
 28282  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 28283  	//       "required": true,
 28284  	//       "type": "string"
 28285  	//     },
 28286  	//     "readMask": {
 28287  	//       "description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.",
 28288  	//       "format": "google-fieldmask",
 28289  	//       "location": "query",
 28290  	//       "type": "string"
 28291  	//     }
 28292  	//   },
 28293  	//   "path": "v1/{+parent}/sfdcChannels",
 28294  	//   "response": {
 28295  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse"
 28296  	//   },
 28297  	//   "scopes": [
 28298  	//     "https://www.googleapis.com/auth/cloud-platform"
 28299  	//   ]
 28300  	// }
 28301  
 28302  }
 28303  
 28304  // Pages invokes f for each page of results.
 28305  // A non-nil error returned from f will halt the iteration.
 28306  // The provided context supersedes any context provided to the Context method.
 28307  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse) error) error {
 28308  	c.ctx_ = ctx
 28309  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 28310  	for {
 28311  		x, err := c.Do()
 28312  		if err != nil {
 28313  			return err
 28314  		}
 28315  		if err := f(x); err != nil {
 28316  			return err
 28317  		}
 28318  		if x.NextPageToken == "" {
 28319  			return nil
 28320  		}
 28321  		c.PageToken(x.NextPageToken)
 28322  	}
 28323  }
 28324  
 28325  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch":
 28326  
 28327  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall struct {
 28328  	s                                         *Service
 28329  	name                                      string
 28330  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 28331  	urlParams_                                gensupport.URLParams
 28332  	ctx_                                      context.Context
 28333  	header_                                   http.Header
 28334  }
 28335  
 28336  // Patch: Updates an sfdc channel. Updates the sfdc channel in spanner.
 28337  // Returns the sfdc channel.
 28338  //
 28339  //   - name: Resource name of the SFDC channel
 28340  //     projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance
 28341  //     }/sfdcChannels/{sfdc_channel}.
 28342  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Patch(name string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 28343  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28344  	c.name = name
 28345  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 28346  	return c
 28347  }
 28348  
 28349  // UpdateMask sets the optional parameter "updateMask": Field mask
 28350  // specifying the fields in the above SfdcChannel that have been
 28351  // modified and need to be updated.
 28352  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 28353  	c.urlParams_.Set("updateMask", updateMask)
 28354  	return c
 28355  }
 28356  
 28357  // Fields allows partial responses to be retrieved. See
 28358  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 28359  // for more information.
 28360  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 28361  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28362  	return c
 28363  }
 28364  
 28365  // Context sets the context to be used in this call's Do method. Any
 28366  // pending HTTP request will be aborted if the provided context is
 28367  // canceled.
 28368  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 28369  	c.ctx_ = ctx
 28370  	return c
 28371  }
 28372  
 28373  // Header returns an http.Header that can be modified by the caller to
 28374  // add HTTP headers to the request.
 28375  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Header() http.Header {
 28376  	if c.header_ == nil {
 28377  		c.header_ = make(http.Header)
 28378  	}
 28379  	return c.header_
 28380  }
 28381  
 28382  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) doRequest(alt string) (*http.Response, error) {
 28383  	reqHeaders := make(http.Header)
 28384  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 28385  	for k, v := range c.header_ {
 28386  		reqHeaders[k] = v
 28387  	}
 28388  	reqHeaders.Set("User-Agent", c.s.userAgent())
 28389  	var body io.Reader = nil
 28390  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 28391  	if err != nil {
 28392  		return nil, err
 28393  	}
 28394  	reqHeaders.Set("Content-Type", "application/json")
 28395  	c.urlParams_.Set("alt", alt)
 28396  	c.urlParams_.Set("prettyPrint", "false")
 28397  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 28398  	urls += "?" + c.urlParams_.Encode()
 28399  	req, err := http.NewRequest("PATCH", urls, body)
 28400  	if err != nil {
 28401  		return nil, err
 28402  	}
 28403  	req.Header = reqHeaders
 28404  	googleapi.Expand(req.URL, map[string]string{
 28405  		"name": c.name,
 28406  	})
 28407  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28408  }
 28409  
 28410  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch" call.
 28411  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 28412  // will be non-nil. Any non-2xx status code is an error. Response
 28413  // headers are in either
 28414  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 28415  // (if a response was returned at all) in
 28416  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 28417  // whether the returned error was because http.StatusNotModified was
 28418  // returned.
 28419  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 28420  	gensupport.SetOptions(c.urlParams_, opts...)
 28421  	res, err := c.doRequest("json")
 28422  	if res != nil && res.StatusCode == http.StatusNotModified {
 28423  		if res.Body != nil {
 28424  			res.Body.Close()
 28425  		}
 28426  		return nil, gensupport.WrapError(&googleapi.Error{
 28427  			Code:   res.StatusCode,
 28428  			Header: res.Header,
 28429  		})
 28430  	}
 28431  	if err != nil {
 28432  		return nil, err
 28433  	}
 28434  	defer googleapi.CloseBody(res)
 28435  	if err := googleapi.CheckResponse(res); err != nil {
 28436  		return nil, gensupport.WrapError(err)
 28437  	}
 28438  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 28439  		ServerResponse: googleapi.ServerResponse{
 28440  			Header:         res.Header,
 28441  			HTTPStatusCode: res.StatusCode,
 28442  		},
 28443  	}
 28444  	target := &ret
 28445  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28446  		return nil, err
 28447  	}
 28448  	return ret, nil
 28449  	// {
 28450  	//   "description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.",
 28451  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 28452  	//   "httpMethod": "PATCH",
 28453  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch",
 28454  	//   "parameterOrder": [
 28455  	//     "name"
 28456  	//   ],
 28457  	//   "parameters": {
 28458  	//     "name": {
 28459  	//       "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.",
 28460  	//       "location": "path",
 28461  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 28462  	//       "required": true,
 28463  	//       "type": "string"
 28464  	//     },
 28465  	//     "updateMask": {
 28466  	//       "description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.",
 28467  	//       "format": "google-fieldmask",
 28468  	//       "location": "query",
 28469  	//       "type": "string"
 28470  	//     }
 28471  	//   },
 28472  	//   "path": "v1/{+name}",
 28473  	//   "request": {
 28474  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 28475  	//   },
 28476  	//   "response": {
 28477  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 28478  	//   },
 28479  	//   "scopes": [
 28480  	//     "https://www.googleapis.com/auth/cloud-platform"
 28481  	//   ]
 28482  	// }
 28483  
 28484  }
 28485  
 28486  // method id "integrations.projects.locations.sfdcInstances.create":
 28487  
 28488  type ProjectsLocationsSfdcInstancesCreateCall struct {
 28489  	s                                          *Service
 28490  	parent                                     string
 28491  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 28492  	urlParams_                                 gensupport.URLParams
 28493  	ctx_                                       context.Context
 28494  	header_                                    http.Header
 28495  }
 28496  
 28497  // Create: Creates an sfdc instance record. Store the sfdc instance in
 28498  // Spanner. Returns the sfdc instance.
 28499  //
 28500  // - parent: "projects/{project}/locations/{location}" format.
 28501  func (r *ProjectsLocationsSfdcInstancesService) Create(parent string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsSfdcInstancesCreateCall {
 28502  	c := &ProjectsLocationsSfdcInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28503  	c.parent = parent
 28504  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 28505  	return c
 28506  }
 28507  
 28508  // Fields allows partial responses to be retrieved. See
 28509  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 28510  // for more information.
 28511  func (c *ProjectsLocationsSfdcInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesCreateCall {
 28512  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28513  	return c
 28514  }
 28515  
 28516  // Context sets the context to be used in this call's Do method. Any
 28517  // pending HTTP request will be aborted if the provided context is
 28518  // canceled.
 28519  func (c *ProjectsLocationsSfdcInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesCreateCall {
 28520  	c.ctx_ = ctx
 28521  	return c
 28522  }
 28523  
 28524  // Header returns an http.Header that can be modified by the caller to
 28525  // add HTTP headers to the request.
 28526  func (c *ProjectsLocationsSfdcInstancesCreateCall) Header() http.Header {
 28527  	if c.header_ == nil {
 28528  		c.header_ = make(http.Header)
 28529  	}
 28530  	return c.header_
 28531  }
 28532  
 28533  func (c *ProjectsLocationsSfdcInstancesCreateCall) doRequest(alt string) (*http.Response, error) {
 28534  	reqHeaders := make(http.Header)
 28535  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 28536  	for k, v := range c.header_ {
 28537  		reqHeaders[k] = v
 28538  	}
 28539  	reqHeaders.Set("User-Agent", c.s.userAgent())
 28540  	var body io.Reader = nil
 28541  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 28542  	if err != nil {
 28543  		return nil, err
 28544  	}
 28545  	reqHeaders.Set("Content-Type", "application/json")
 28546  	c.urlParams_.Set("alt", alt)
 28547  	c.urlParams_.Set("prettyPrint", "false")
 28548  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcInstances")
 28549  	urls += "?" + c.urlParams_.Encode()
 28550  	req, err := http.NewRequest("POST", urls, body)
 28551  	if err != nil {
 28552  		return nil, err
 28553  	}
 28554  	req.Header = reqHeaders
 28555  	googleapi.Expand(req.URL, map[string]string{
 28556  		"parent": c.parent,
 28557  	})
 28558  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28559  }
 28560  
 28561  // Do executes the "integrations.projects.locations.sfdcInstances.create" call.
 28562  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 28563  // will be non-nil. Any non-2xx status code is an error. Response
 28564  // headers are in either
 28565  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 28566  // (if a response was returned at all) in
 28567  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 28568  // whether the returned error was because http.StatusNotModified was
 28569  // returned.
 28570  func (c *ProjectsLocationsSfdcInstancesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 28571  	gensupport.SetOptions(c.urlParams_, opts...)
 28572  	res, err := c.doRequest("json")
 28573  	if res != nil && res.StatusCode == http.StatusNotModified {
 28574  		if res.Body != nil {
 28575  			res.Body.Close()
 28576  		}
 28577  		return nil, gensupport.WrapError(&googleapi.Error{
 28578  			Code:   res.StatusCode,
 28579  			Header: res.Header,
 28580  		})
 28581  	}
 28582  	if err != nil {
 28583  		return nil, err
 28584  	}
 28585  	defer googleapi.CloseBody(res)
 28586  	if err := googleapi.CheckResponse(res); err != nil {
 28587  		return nil, gensupport.WrapError(err)
 28588  	}
 28589  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 28590  		ServerResponse: googleapi.ServerResponse{
 28591  			Header:         res.Header,
 28592  			HTTPStatusCode: res.StatusCode,
 28593  		},
 28594  	}
 28595  	target := &ret
 28596  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28597  		return nil, err
 28598  	}
 28599  	return ret, nil
 28600  	// {
 28601  	//   "description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.",
 28602  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances",
 28603  	//   "httpMethod": "POST",
 28604  	//   "id": "integrations.projects.locations.sfdcInstances.create",
 28605  	//   "parameterOrder": [
 28606  	//     "parent"
 28607  	//   ],
 28608  	//   "parameters": {
 28609  	//     "parent": {
 28610  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 28611  	//       "location": "path",
 28612  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 28613  	//       "required": true,
 28614  	//       "type": "string"
 28615  	//     }
 28616  	//   },
 28617  	//   "path": "v1/{+parent}/sfdcInstances",
 28618  	//   "request": {
 28619  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 28620  	//   },
 28621  	//   "response": {
 28622  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 28623  	//   },
 28624  	//   "scopes": [
 28625  	//     "https://www.googleapis.com/auth/cloud-platform"
 28626  	//   ]
 28627  	// }
 28628  
 28629  }
 28630  
 28631  // method id "integrations.projects.locations.sfdcInstances.delete":
 28632  
 28633  type ProjectsLocationsSfdcInstancesDeleteCall struct {
 28634  	s          *Service
 28635  	name       string
 28636  	urlParams_ gensupport.URLParams
 28637  	ctx_       context.Context
 28638  	header_    http.Header
 28639  }
 28640  
 28641  // Delete: Deletes an sfdc instance.
 28642  //
 28643  // - name: The name that is associated with the SfdcInstance.
 28644  func (r *ProjectsLocationsSfdcInstancesService) Delete(name string) *ProjectsLocationsSfdcInstancesDeleteCall {
 28645  	c := &ProjectsLocationsSfdcInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28646  	c.name = name
 28647  	return c
 28648  }
 28649  
 28650  // Fields allows partial responses to be retrieved. See
 28651  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 28652  // for more information.
 28653  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesDeleteCall {
 28654  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28655  	return c
 28656  }
 28657  
 28658  // Context sets the context to be used in this call's Do method. Any
 28659  // pending HTTP request will be aborted if the provided context is
 28660  // canceled.
 28661  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesDeleteCall {
 28662  	c.ctx_ = ctx
 28663  	return c
 28664  }
 28665  
 28666  // Header returns an http.Header that can be modified by the caller to
 28667  // add HTTP headers to the request.
 28668  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Header() http.Header {
 28669  	if c.header_ == nil {
 28670  		c.header_ = make(http.Header)
 28671  	}
 28672  	return c.header_
 28673  }
 28674  
 28675  func (c *ProjectsLocationsSfdcInstancesDeleteCall) doRequest(alt string) (*http.Response, error) {
 28676  	reqHeaders := make(http.Header)
 28677  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 28678  	for k, v := range c.header_ {
 28679  		reqHeaders[k] = v
 28680  	}
 28681  	reqHeaders.Set("User-Agent", c.s.userAgent())
 28682  	var body io.Reader = nil
 28683  	c.urlParams_.Set("alt", alt)
 28684  	c.urlParams_.Set("prettyPrint", "false")
 28685  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 28686  	urls += "?" + c.urlParams_.Encode()
 28687  	req, err := http.NewRequest("DELETE", urls, body)
 28688  	if err != nil {
 28689  		return nil, err
 28690  	}
 28691  	req.Header = reqHeaders
 28692  	googleapi.Expand(req.URL, map[string]string{
 28693  		"name": c.name,
 28694  	})
 28695  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28696  }
 28697  
 28698  // Do executes the "integrations.projects.locations.sfdcInstances.delete" call.
 28699  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 28700  // non-2xx status code is an error. Response headers are in either
 28701  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 28702  // returned at all) in error.(*googleapi.Error).Header. Use
 28703  // googleapi.IsNotModified to check whether the returned error was
 28704  // because http.StatusNotModified was returned.
 28705  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 28706  	gensupport.SetOptions(c.urlParams_, opts...)
 28707  	res, err := c.doRequest("json")
 28708  	if res != nil && res.StatusCode == http.StatusNotModified {
 28709  		if res.Body != nil {
 28710  			res.Body.Close()
 28711  		}
 28712  		return nil, gensupport.WrapError(&googleapi.Error{
 28713  			Code:   res.StatusCode,
 28714  			Header: res.Header,
 28715  		})
 28716  	}
 28717  	if err != nil {
 28718  		return nil, err
 28719  	}
 28720  	defer googleapi.CloseBody(res)
 28721  	if err := googleapi.CheckResponse(res); err != nil {
 28722  		return nil, gensupport.WrapError(err)
 28723  	}
 28724  	ret := &GoogleProtobufEmpty{
 28725  		ServerResponse: googleapi.ServerResponse{
 28726  			Header:         res.Header,
 28727  			HTTPStatusCode: res.StatusCode,
 28728  		},
 28729  	}
 28730  	target := &ret
 28731  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28732  		return nil, err
 28733  	}
 28734  	return ret, nil
 28735  	// {
 28736  	//   "description": "Deletes an sfdc instance.",
 28737  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}",
 28738  	//   "httpMethod": "DELETE",
 28739  	//   "id": "integrations.projects.locations.sfdcInstances.delete",
 28740  	//   "parameterOrder": [
 28741  	//     "name"
 28742  	//   ],
 28743  	//   "parameters": {
 28744  	//     "name": {
 28745  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 28746  	//       "location": "path",
 28747  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 28748  	//       "required": true,
 28749  	//       "type": "string"
 28750  	//     }
 28751  	//   },
 28752  	//   "path": "v1/{+name}",
 28753  	//   "response": {
 28754  	//     "$ref": "GoogleProtobufEmpty"
 28755  	//   },
 28756  	//   "scopes": [
 28757  	//     "https://www.googleapis.com/auth/cloud-platform"
 28758  	//   ]
 28759  	// }
 28760  
 28761  }
 28762  
 28763  // method id "integrations.projects.locations.sfdcInstances.get":
 28764  
 28765  type ProjectsLocationsSfdcInstancesGetCall struct {
 28766  	s            *Service
 28767  	name         string
 28768  	urlParams_   gensupport.URLParams
 28769  	ifNoneMatch_ string
 28770  	ctx_         context.Context
 28771  	header_      http.Header
 28772  }
 28773  
 28774  // Get: Gets an sfdc instance. If the instance doesn't exist,
 28775  // Code.NOT_FOUND exception will be thrown.
 28776  //
 28777  // - name: The name that is associated with the SfdcInstance.
 28778  func (r *ProjectsLocationsSfdcInstancesService) Get(name string) *ProjectsLocationsSfdcInstancesGetCall {
 28779  	c := &ProjectsLocationsSfdcInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28780  	c.name = name
 28781  	return c
 28782  }
 28783  
 28784  // Fields allows partial responses to be retrieved. See
 28785  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 28786  // for more information.
 28787  func (c *ProjectsLocationsSfdcInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesGetCall {
 28788  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28789  	return c
 28790  }
 28791  
 28792  // IfNoneMatch sets the optional parameter which makes the operation
 28793  // fail if the object's ETag matches the given value. This is useful for
 28794  // getting updates only after the object has changed since the last
 28795  // request. Use googleapi.IsNotModified to check whether the response
 28796  // error from Do is the result of In-None-Match.
 28797  func (c *ProjectsLocationsSfdcInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesGetCall {
 28798  	c.ifNoneMatch_ = entityTag
 28799  	return c
 28800  }
 28801  
 28802  // Context sets the context to be used in this call's Do method. Any
 28803  // pending HTTP request will be aborted if the provided context is
 28804  // canceled.
 28805  func (c *ProjectsLocationsSfdcInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesGetCall {
 28806  	c.ctx_ = ctx
 28807  	return c
 28808  }
 28809  
 28810  // Header returns an http.Header that can be modified by the caller to
 28811  // add HTTP headers to the request.
 28812  func (c *ProjectsLocationsSfdcInstancesGetCall) Header() http.Header {
 28813  	if c.header_ == nil {
 28814  		c.header_ = make(http.Header)
 28815  	}
 28816  	return c.header_
 28817  }
 28818  
 28819  func (c *ProjectsLocationsSfdcInstancesGetCall) doRequest(alt string) (*http.Response, error) {
 28820  	reqHeaders := make(http.Header)
 28821  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 28822  	for k, v := range c.header_ {
 28823  		reqHeaders[k] = v
 28824  	}
 28825  	reqHeaders.Set("User-Agent", c.s.userAgent())
 28826  	if c.ifNoneMatch_ != "" {
 28827  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 28828  	}
 28829  	var body io.Reader = nil
 28830  	c.urlParams_.Set("alt", alt)
 28831  	c.urlParams_.Set("prettyPrint", "false")
 28832  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 28833  	urls += "?" + c.urlParams_.Encode()
 28834  	req, err := http.NewRequest("GET", urls, body)
 28835  	if err != nil {
 28836  		return nil, err
 28837  	}
 28838  	req.Header = reqHeaders
 28839  	googleapi.Expand(req.URL, map[string]string{
 28840  		"name": c.name,
 28841  	})
 28842  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28843  }
 28844  
 28845  // Do executes the "integrations.projects.locations.sfdcInstances.get" call.
 28846  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 28847  // will be non-nil. Any non-2xx status code is an error. Response
 28848  // headers are in either
 28849  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 28850  // (if a response was returned at all) in
 28851  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 28852  // whether the returned error was because http.StatusNotModified was
 28853  // returned.
 28854  func (c *ProjectsLocationsSfdcInstancesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 28855  	gensupport.SetOptions(c.urlParams_, opts...)
 28856  	res, err := c.doRequest("json")
 28857  	if res != nil && res.StatusCode == http.StatusNotModified {
 28858  		if res.Body != nil {
 28859  			res.Body.Close()
 28860  		}
 28861  		return nil, gensupport.WrapError(&googleapi.Error{
 28862  			Code:   res.StatusCode,
 28863  			Header: res.Header,
 28864  		})
 28865  	}
 28866  	if err != nil {
 28867  		return nil, err
 28868  	}
 28869  	defer googleapi.CloseBody(res)
 28870  	if err := googleapi.CheckResponse(res); err != nil {
 28871  		return nil, gensupport.WrapError(err)
 28872  	}
 28873  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 28874  		ServerResponse: googleapi.ServerResponse{
 28875  			Header:         res.Header,
 28876  			HTTPStatusCode: res.StatusCode,
 28877  		},
 28878  	}
 28879  	target := &ret
 28880  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28881  		return nil, err
 28882  	}
 28883  	return ret, nil
 28884  	// {
 28885  	//   "description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.",
 28886  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}",
 28887  	//   "httpMethod": "GET",
 28888  	//   "id": "integrations.projects.locations.sfdcInstances.get",
 28889  	//   "parameterOrder": [
 28890  	//     "name"
 28891  	//   ],
 28892  	//   "parameters": {
 28893  	//     "name": {
 28894  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 28895  	//       "location": "path",
 28896  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 28897  	//       "required": true,
 28898  	//       "type": "string"
 28899  	//     }
 28900  	//   },
 28901  	//   "path": "v1/{+name}",
 28902  	//   "response": {
 28903  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 28904  	//   },
 28905  	//   "scopes": [
 28906  	//     "https://www.googleapis.com/auth/cloud-platform"
 28907  	//   ]
 28908  	// }
 28909  
 28910  }
 28911  
 28912  // method id "integrations.projects.locations.sfdcInstances.list":
 28913  
 28914  type ProjectsLocationsSfdcInstancesListCall struct {
 28915  	s            *Service
 28916  	parent       string
 28917  	urlParams_   gensupport.URLParams
 28918  	ifNoneMatch_ string
 28919  	ctx_         context.Context
 28920  	header_      http.Header
 28921  }
 28922  
 28923  // List: Lists all sfdc instances that match the filter. Restrict to
 28924  // sfdc instances belonging to the current client only.
 28925  //
 28926  // - parent: The client, which owns this collection of SfdcInstances.
 28927  func (r *ProjectsLocationsSfdcInstancesService) List(parent string) *ProjectsLocationsSfdcInstancesListCall {
 28928  	c := &ProjectsLocationsSfdcInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28929  	c.parent = parent
 28930  	return c
 28931  }
 28932  
 28933  // Filter sets the optional parameter "filter": Filtering as supported
 28934  // in
 28935  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 28936  func (c *ProjectsLocationsSfdcInstancesListCall) Filter(filter string) *ProjectsLocationsSfdcInstancesListCall {
 28937  	c.urlParams_.Set("filter", filter)
 28938  	return c
 28939  }
 28940  
 28941  // PageSize sets the optional parameter "pageSize": The size of entries
 28942  // in the response. If unspecified, defaults to 100.
 28943  func (c *ProjectsLocationsSfdcInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsSfdcInstancesListCall {
 28944  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 28945  	return c
 28946  }
 28947  
 28948  // PageToken sets the optional parameter "pageToken": The token returned
 28949  // in the previous response.
 28950  func (c *ProjectsLocationsSfdcInstancesListCall) PageToken(pageToken string) *ProjectsLocationsSfdcInstancesListCall {
 28951  	c.urlParams_.Set("pageToken", pageToken)
 28952  	return c
 28953  }
 28954  
 28955  // ReadMask sets the optional parameter "readMask": The mask which
 28956  // specifies fields that need to be returned in the SfdcInstance's
 28957  // response.
 28958  func (c *ProjectsLocationsSfdcInstancesListCall) ReadMask(readMask string) *ProjectsLocationsSfdcInstancesListCall {
 28959  	c.urlParams_.Set("readMask", readMask)
 28960  	return c
 28961  }
 28962  
 28963  // Fields allows partial responses to be retrieved. See
 28964  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 28965  // for more information.
 28966  func (c *ProjectsLocationsSfdcInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesListCall {
 28967  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28968  	return c
 28969  }
 28970  
 28971  // IfNoneMatch sets the optional parameter which makes the operation
 28972  // fail if the object's ETag matches the given value. This is useful for
 28973  // getting updates only after the object has changed since the last
 28974  // request. Use googleapi.IsNotModified to check whether the response
 28975  // error from Do is the result of In-None-Match.
 28976  func (c *ProjectsLocationsSfdcInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesListCall {
 28977  	c.ifNoneMatch_ = entityTag
 28978  	return c
 28979  }
 28980  
 28981  // Context sets the context to be used in this call's Do method. Any
 28982  // pending HTTP request will be aborted if the provided context is
 28983  // canceled.
 28984  func (c *ProjectsLocationsSfdcInstancesListCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesListCall {
 28985  	c.ctx_ = ctx
 28986  	return c
 28987  }
 28988  
 28989  // Header returns an http.Header that can be modified by the caller to
 28990  // add HTTP headers to the request.
 28991  func (c *ProjectsLocationsSfdcInstancesListCall) Header() http.Header {
 28992  	if c.header_ == nil {
 28993  		c.header_ = make(http.Header)
 28994  	}
 28995  	return c.header_
 28996  }
 28997  
 28998  func (c *ProjectsLocationsSfdcInstancesListCall) doRequest(alt string) (*http.Response, error) {
 28999  	reqHeaders := make(http.Header)
 29000  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 29001  	for k, v := range c.header_ {
 29002  		reqHeaders[k] = v
 29003  	}
 29004  	reqHeaders.Set("User-Agent", c.s.userAgent())
 29005  	if c.ifNoneMatch_ != "" {
 29006  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 29007  	}
 29008  	var body io.Reader = nil
 29009  	c.urlParams_.Set("alt", alt)
 29010  	c.urlParams_.Set("prettyPrint", "false")
 29011  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcInstances")
 29012  	urls += "?" + c.urlParams_.Encode()
 29013  	req, err := http.NewRequest("GET", urls, body)
 29014  	if err != nil {
 29015  		return nil, err
 29016  	}
 29017  	req.Header = reqHeaders
 29018  	googleapi.Expand(req.URL, map[string]string{
 29019  		"parent": c.parent,
 29020  	})
 29021  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29022  }
 29023  
 29024  // Do executes the "integrations.projects.locations.sfdcInstances.list" call.
 29025  // Exactly one of
 29026  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse or error
 29027  // will be non-nil. Any non-2xx status code is an error. Response
 29028  // headers are in either
 29029  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse.ServerRespons
 29030  // e.Header or (if a response was returned at all) in
 29031  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 29032  // whether the returned error was because http.StatusNotModified was
 29033  // returned.
 29034  func (c *ProjectsLocationsSfdcInstancesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse, error) {
 29035  	gensupport.SetOptions(c.urlParams_, opts...)
 29036  	res, err := c.doRequest("json")
 29037  	if res != nil && res.StatusCode == http.StatusNotModified {
 29038  		if res.Body != nil {
 29039  			res.Body.Close()
 29040  		}
 29041  		return nil, gensupport.WrapError(&googleapi.Error{
 29042  			Code:   res.StatusCode,
 29043  			Header: res.Header,
 29044  		})
 29045  	}
 29046  	if err != nil {
 29047  		return nil, err
 29048  	}
 29049  	defer googleapi.CloseBody(res)
 29050  	if err := googleapi.CheckResponse(res); err != nil {
 29051  		return nil, gensupport.WrapError(err)
 29052  	}
 29053  	ret := &GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse{
 29054  		ServerResponse: googleapi.ServerResponse{
 29055  			Header:         res.Header,
 29056  			HTTPStatusCode: res.StatusCode,
 29057  		},
 29058  	}
 29059  	target := &ret
 29060  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29061  		return nil, err
 29062  	}
 29063  	return ret, nil
 29064  	// {
 29065  	//   "description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.",
 29066  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances",
 29067  	//   "httpMethod": "GET",
 29068  	//   "id": "integrations.projects.locations.sfdcInstances.list",
 29069  	//   "parameterOrder": [
 29070  	//     "parent"
 29071  	//   ],
 29072  	//   "parameters": {
 29073  	//     "filter": {
 29074  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 29075  	//       "location": "query",
 29076  	//       "type": "string"
 29077  	//     },
 29078  	//     "pageSize": {
 29079  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 29080  	//       "format": "int32",
 29081  	//       "location": "query",
 29082  	//       "type": "integer"
 29083  	//     },
 29084  	//     "pageToken": {
 29085  	//       "description": "The token returned in the previous response.",
 29086  	//       "location": "query",
 29087  	//       "type": "string"
 29088  	//     },
 29089  	//     "parent": {
 29090  	//       "description": "Required. The client, which owns this collection of SfdcInstances.",
 29091  	//       "location": "path",
 29092  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 29093  	//       "required": true,
 29094  	//       "type": "string"
 29095  	//     },
 29096  	//     "readMask": {
 29097  	//       "description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.",
 29098  	//       "format": "google-fieldmask",
 29099  	//       "location": "query",
 29100  	//       "type": "string"
 29101  	//     }
 29102  	//   },
 29103  	//   "path": "v1/{+parent}/sfdcInstances",
 29104  	//   "response": {
 29105  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse"
 29106  	//   },
 29107  	//   "scopes": [
 29108  	//     "https://www.googleapis.com/auth/cloud-platform"
 29109  	//   ]
 29110  	// }
 29111  
 29112  }
 29113  
 29114  // Pages invokes f for each page of results.
 29115  // A non-nil error returned from f will halt the iteration.
 29116  // The provided context supersedes any context provided to the Context method.
 29117  func (c *ProjectsLocationsSfdcInstancesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse) error) error {
 29118  	c.ctx_ = ctx
 29119  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 29120  	for {
 29121  		x, err := c.Do()
 29122  		if err != nil {
 29123  			return err
 29124  		}
 29125  		if err := f(x); err != nil {
 29126  			return err
 29127  		}
 29128  		if x.NextPageToken == "" {
 29129  			return nil
 29130  		}
 29131  		c.PageToken(x.NextPageToken)
 29132  	}
 29133  }
 29134  
 29135  // method id "integrations.projects.locations.sfdcInstances.patch":
 29136  
 29137  type ProjectsLocationsSfdcInstancesPatchCall struct {
 29138  	s                                          *Service
 29139  	name                                       string
 29140  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 29141  	urlParams_                                 gensupport.URLParams
 29142  	ctx_                                       context.Context
 29143  	header_                                    http.Header
 29144  }
 29145  
 29146  // Patch: Updates an sfdc instance. Updates the sfdc instance in
 29147  // spanner. Returns the sfdc instance.
 29148  //
 29149  //   - name: Resource name of the SFDC instance
 29150  //     projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}
 29151  //     .
 29152  func (r *ProjectsLocationsSfdcInstancesService) Patch(name string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsSfdcInstancesPatchCall {
 29153  	c := &ProjectsLocationsSfdcInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29154  	c.name = name
 29155  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 29156  	return c
 29157  }
 29158  
 29159  // UpdateMask sets the optional parameter "updateMask": Field mask
 29160  // specifying the fields in the above SfdcInstance that have been
 29161  // modified and need to be updated.
 29162  func (c *ProjectsLocationsSfdcInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSfdcInstancesPatchCall {
 29163  	c.urlParams_.Set("updateMask", updateMask)
 29164  	return c
 29165  }
 29166  
 29167  // Fields allows partial responses to be retrieved. See
 29168  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 29169  // for more information.
 29170  func (c *ProjectsLocationsSfdcInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesPatchCall {
 29171  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29172  	return c
 29173  }
 29174  
 29175  // Context sets the context to be used in this call's Do method. Any
 29176  // pending HTTP request will be aborted if the provided context is
 29177  // canceled.
 29178  func (c *ProjectsLocationsSfdcInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesPatchCall {
 29179  	c.ctx_ = ctx
 29180  	return c
 29181  }
 29182  
 29183  // Header returns an http.Header that can be modified by the caller to
 29184  // add HTTP headers to the request.
 29185  func (c *ProjectsLocationsSfdcInstancesPatchCall) Header() http.Header {
 29186  	if c.header_ == nil {
 29187  		c.header_ = make(http.Header)
 29188  	}
 29189  	return c.header_
 29190  }
 29191  
 29192  func (c *ProjectsLocationsSfdcInstancesPatchCall) doRequest(alt string) (*http.Response, error) {
 29193  	reqHeaders := make(http.Header)
 29194  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 29195  	for k, v := range c.header_ {
 29196  		reqHeaders[k] = v
 29197  	}
 29198  	reqHeaders.Set("User-Agent", c.s.userAgent())
 29199  	var body io.Reader = nil
 29200  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 29201  	if err != nil {
 29202  		return nil, err
 29203  	}
 29204  	reqHeaders.Set("Content-Type", "application/json")
 29205  	c.urlParams_.Set("alt", alt)
 29206  	c.urlParams_.Set("prettyPrint", "false")
 29207  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 29208  	urls += "?" + c.urlParams_.Encode()
 29209  	req, err := http.NewRequest("PATCH", urls, body)
 29210  	if err != nil {
 29211  		return nil, err
 29212  	}
 29213  	req.Header = reqHeaders
 29214  	googleapi.Expand(req.URL, map[string]string{
 29215  		"name": c.name,
 29216  	})
 29217  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29218  }
 29219  
 29220  // Do executes the "integrations.projects.locations.sfdcInstances.patch" call.
 29221  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 29222  // will be non-nil. Any non-2xx status code is an error. Response
 29223  // headers are in either
 29224  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 29225  // (if a response was returned at all) in
 29226  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 29227  // whether the returned error was because http.StatusNotModified was
 29228  // returned.
 29229  func (c *ProjectsLocationsSfdcInstancesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 29230  	gensupport.SetOptions(c.urlParams_, opts...)
 29231  	res, err := c.doRequest("json")
 29232  	if res != nil && res.StatusCode == http.StatusNotModified {
 29233  		if res.Body != nil {
 29234  			res.Body.Close()
 29235  		}
 29236  		return nil, gensupport.WrapError(&googleapi.Error{
 29237  			Code:   res.StatusCode,
 29238  			Header: res.Header,
 29239  		})
 29240  	}
 29241  	if err != nil {
 29242  		return nil, err
 29243  	}
 29244  	defer googleapi.CloseBody(res)
 29245  	if err := googleapi.CheckResponse(res); err != nil {
 29246  		return nil, gensupport.WrapError(err)
 29247  	}
 29248  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 29249  		ServerResponse: googleapi.ServerResponse{
 29250  			Header:         res.Header,
 29251  			HTTPStatusCode: res.StatusCode,
 29252  		},
 29253  	}
 29254  	target := &ret
 29255  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29256  		return nil, err
 29257  	}
 29258  	return ret, nil
 29259  	// {
 29260  	//   "description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.",
 29261  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}",
 29262  	//   "httpMethod": "PATCH",
 29263  	//   "id": "integrations.projects.locations.sfdcInstances.patch",
 29264  	//   "parameterOrder": [
 29265  	//     "name"
 29266  	//   ],
 29267  	//   "parameters": {
 29268  	//     "name": {
 29269  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.",
 29270  	//       "location": "path",
 29271  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 29272  	//       "required": true,
 29273  	//       "type": "string"
 29274  	//     },
 29275  	//     "updateMask": {
 29276  	//       "description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.",
 29277  	//       "format": "google-fieldmask",
 29278  	//       "location": "query",
 29279  	//       "type": "string"
 29280  	//     }
 29281  	//   },
 29282  	//   "path": "v1/{+name}",
 29283  	//   "request": {
 29284  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 29285  	//   },
 29286  	//   "response": {
 29287  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 29288  	//   },
 29289  	//   "scopes": [
 29290  	//     "https://www.googleapis.com/auth/cloud-platform"
 29291  	//   ]
 29292  	// }
 29293  
 29294  }
 29295  
 29296  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.create":
 29297  
 29298  type ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall struct {
 29299  	s                                         *Service
 29300  	parent                                    string
 29301  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 29302  	urlParams_                                gensupport.URLParams
 29303  	ctx_                                      context.Context
 29304  	header_                                   http.Header
 29305  }
 29306  
 29307  // Create: Creates an sfdc channel record. Store the sfdc channel in
 29308  // Spanner. Returns the sfdc channel.
 29309  //
 29310  // - parent: "projects/{project}/locations/{location}" format.
 29311  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Create(parent string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall {
 29312  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29313  	c.parent = parent
 29314  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 29315  	return c
 29316  }
 29317  
 29318  // Fields allows partial responses to be retrieved. See
 29319  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 29320  // for more information.
 29321  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall {
 29322  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29323  	return c
 29324  }
 29325  
 29326  // Context sets the context to be used in this call's Do method. Any
 29327  // pending HTTP request will be aborted if the provided context is
 29328  // canceled.
 29329  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall {
 29330  	c.ctx_ = ctx
 29331  	return c
 29332  }
 29333  
 29334  // Header returns an http.Header that can be modified by the caller to
 29335  // add HTTP headers to the request.
 29336  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Header() http.Header {
 29337  	if c.header_ == nil {
 29338  		c.header_ = make(http.Header)
 29339  	}
 29340  	return c.header_
 29341  }
 29342  
 29343  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) doRequest(alt string) (*http.Response, error) {
 29344  	reqHeaders := make(http.Header)
 29345  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 29346  	for k, v := range c.header_ {
 29347  		reqHeaders[k] = v
 29348  	}
 29349  	reqHeaders.Set("User-Agent", c.s.userAgent())
 29350  	var body io.Reader = nil
 29351  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 29352  	if err != nil {
 29353  		return nil, err
 29354  	}
 29355  	reqHeaders.Set("Content-Type", "application/json")
 29356  	c.urlParams_.Set("alt", alt)
 29357  	c.urlParams_.Set("prettyPrint", "false")
 29358  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcChannels")
 29359  	urls += "?" + c.urlParams_.Encode()
 29360  	req, err := http.NewRequest("POST", urls, body)
 29361  	if err != nil {
 29362  		return nil, err
 29363  	}
 29364  	req.Header = reqHeaders
 29365  	googleapi.Expand(req.URL, map[string]string{
 29366  		"parent": c.parent,
 29367  	})
 29368  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29369  }
 29370  
 29371  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.create" call.
 29372  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 29373  // will be non-nil. Any non-2xx status code is an error. Response
 29374  // headers are in either
 29375  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 29376  // (if a response was returned at all) in
 29377  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 29378  // whether the returned error was because http.StatusNotModified was
 29379  // returned.
 29380  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 29381  	gensupport.SetOptions(c.urlParams_, opts...)
 29382  	res, err := c.doRequest("json")
 29383  	if res != nil && res.StatusCode == http.StatusNotModified {
 29384  		if res.Body != nil {
 29385  			res.Body.Close()
 29386  		}
 29387  		return nil, gensupport.WrapError(&googleapi.Error{
 29388  			Code:   res.StatusCode,
 29389  			Header: res.Header,
 29390  		})
 29391  	}
 29392  	if err != nil {
 29393  		return nil, err
 29394  	}
 29395  	defer googleapi.CloseBody(res)
 29396  	if err := googleapi.CheckResponse(res); err != nil {
 29397  		return nil, gensupport.WrapError(err)
 29398  	}
 29399  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 29400  		ServerResponse: googleapi.ServerResponse{
 29401  			Header:         res.Header,
 29402  			HTTPStatusCode: res.StatusCode,
 29403  		},
 29404  	}
 29405  	target := &ret
 29406  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29407  		return nil, err
 29408  	}
 29409  	return ret, nil
 29410  	// {
 29411  	//   "description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.",
 29412  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 29413  	//   "httpMethod": "POST",
 29414  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.create",
 29415  	//   "parameterOrder": [
 29416  	//     "parent"
 29417  	//   ],
 29418  	//   "parameters": {
 29419  	//     "parent": {
 29420  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 29421  	//       "location": "path",
 29422  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 29423  	//       "required": true,
 29424  	//       "type": "string"
 29425  	//     }
 29426  	//   },
 29427  	//   "path": "v1/{+parent}/sfdcChannels",
 29428  	//   "request": {
 29429  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 29430  	//   },
 29431  	//   "response": {
 29432  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 29433  	//   },
 29434  	//   "scopes": [
 29435  	//     "https://www.googleapis.com/auth/cloud-platform"
 29436  	//   ]
 29437  	// }
 29438  
 29439  }
 29440  
 29441  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.delete":
 29442  
 29443  type ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall struct {
 29444  	s          *Service
 29445  	name       string
 29446  	urlParams_ gensupport.URLParams
 29447  	ctx_       context.Context
 29448  	header_    http.Header
 29449  }
 29450  
 29451  // Delete: Deletes an sfdc channel.
 29452  //
 29453  // - name: The name that is associated with the SfdcChannel.
 29454  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Delete(name string) *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall {
 29455  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29456  	c.name = name
 29457  	return c
 29458  }
 29459  
 29460  // Fields allows partial responses to be retrieved. See
 29461  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 29462  // for more information.
 29463  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall {
 29464  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29465  	return c
 29466  }
 29467  
 29468  // Context sets the context to be used in this call's Do method. Any
 29469  // pending HTTP request will be aborted if the provided context is
 29470  // canceled.
 29471  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall {
 29472  	c.ctx_ = ctx
 29473  	return c
 29474  }
 29475  
 29476  // Header returns an http.Header that can be modified by the caller to
 29477  // add HTTP headers to the request.
 29478  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Header() http.Header {
 29479  	if c.header_ == nil {
 29480  		c.header_ = make(http.Header)
 29481  	}
 29482  	return c.header_
 29483  }
 29484  
 29485  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) doRequest(alt string) (*http.Response, error) {
 29486  	reqHeaders := make(http.Header)
 29487  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 29488  	for k, v := range c.header_ {
 29489  		reqHeaders[k] = v
 29490  	}
 29491  	reqHeaders.Set("User-Agent", c.s.userAgent())
 29492  	var body io.Reader = nil
 29493  	c.urlParams_.Set("alt", alt)
 29494  	c.urlParams_.Set("prettyPrint", "false")
 29495  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 29496  	urls += "?" + c.urlParams_.Encode()
 29497  	req, err := http.NewRequest("DELETE", urls, body)
 29498  	if err != nil {
 29499  		return nil, err
 29500  	}
 29501  	req.Header = reqHeaders
 29502  	googleapi.Expand(req.URL, map[string]string{
 29503  		"name": c.name,
 29504  	})
 29505  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29506  }
 29507  
 29508  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.delete" call.
 29509  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 29510  // non-2xx status code is an error. Response headers are in either
 29511  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 29512  // returned at all) in error.(*googleapi.Error).Header. Use
 29513  // googleapi.IsNotModified to check whether the returned error was
 29514  // because http.StatusNotModified was returned.
 29515  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 29516  	gensupport.SetOptions(c.urlParams_, opts...)
 29517  	res, err := c.doRequest("json")
 29518  	if res != nil && res.StatusCode == http.StatusNotModified {
 29519  		if res.Body != nil {
 29520  			res.Body.Close()
 29521  		}
 29522  		return nil, gensupport.WrapError(&googleapi.Error{
 29523  			Code:   res.StatusCode,
 29524  			Header: res.Header,
 29525  		})
 29526  	}
 29527  	if err != nil {
 29528  		return nil, err
 29529  	}
 29530  	defer googleapi.CloseBody(res)
 29531  	if err := googleapi.CheckResponse(res); err != nil {
 29532  		return nil, gensupport.WrapError(err)
 29533  	}
 29534  	ret := &GoogleProtobufEmpty{
 29535  		ServerResponse: googleapi.ServerResponse{
 29536  			Header:         res.Header,
 29537  			HTTPStatusCode: res.StatusCode,
 29538  		},
 29539  	}
 29540  	target := &ret
 29541  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29542  		return nil, err
 29543  	}
 29544  	return ret, nil
 29545  	// {
 29546  	//   "description": "Deletes an sfdc channel.",
 29547  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 29548  	//   "httpMethod": "DELETE",
 29549  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.delete",
 29550  	//   "parameterOrder": [
 29551  	//     "name"
 29552  	//   ],
 29553  	//   "parameters": {
 29554  	//     "name": {
 29555  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 29556  	//       "location": "path",
 29557  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 29558  	//       "required": true,
 29559  	//       "type": "string"
 29560  	//     }
 29561  	//   },
 29562  	//   "path": "v1/{+name}",
 29563  	//   "response": {
 29564  	//     "$ref": "GoogleProtobufEmpty"
 29565  	//   },
 29566  	//   "scopes": [
 29567  	//     "https://www.googleapis.com/auth/cloud-platform"
 29568  	//   ]
 29569  	// }
 29570  
 29571  }
 29572  
 29573  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.get":
 29574  
 29575  type ProjectsLocationsSfdcInstancesSfdcChannelsGetCall struct {
 29576  	s            *Service
 29577  	name         string
 29578  	urlParams_   gensupport.URLParams
 29579  	ifNoneMatch_ string
 29580  	ctx_         context.Context
 29581  	header_      http.Header
 29582  }
 29583  
 29584  // Get: Gets an sfdc channel. If the channel doesn't exist,
 29585  // Code.NOT_FOUND exception will be thrown.
 29586  //
 29587  // - name: The name that is associated with the SfdcChannel.
 29588  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Get(name string) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 29589  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29590  	c.name = name
 29591  	return c
 29592  }
 29593  
 29594  // Fields allows partial responses to be retrieved. See
 29595  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 29596  // for more information.
 29597  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 29598  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29599  	return c
 29600  }
 29601  
 29602  // IfNoneMatch sets the optional parameter which makes the operation
 29603  // fail if the object's ETag matches the given value. This is useful for
 29604  // getting updates only after the object has changed since the last
 29605  // request. Use googleapi.IsNotModified to check whether the response
 29606  // error from Do is the result of In-None-Match.
 29607  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 29608  	c.ifNoneMatch_ = entityTag
 29609  	return c
 29610  }
 29611  
 29612  // Context sets the context to be used in this call's Do method. Any
 29613  // pending HTTP request will be aborted if the provided context is
 29614  // canceled.
 29615  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 29616  	c.ctx_ = ctx
 29617  	return c
 29618  }
 29619  
 29620  // Header returns an http.Header that can be modified by the caller to
 29621  // add HTTP headers to the request.
 29622  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Header() http.Header {
 29623  	if c.header_ == nil {
 29624  		c.header_ = make(http.Header)
 29625  	}
 29626  	return c.header_
 29627  }
 29628  
 29629  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) doRequest(alt string) (*http.Response, error) {
 29630  	reqHeaders := make(http.Header)
 29631  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 29632  	for k, v := range c.header_ {
 29633  		reqHeaders[k] = v
 29634  	}
 29635  	reqHeaders.Set("User-Agent", c.s.userAgent())
 29636  	if c.ifNoneMatch_ != "" {
 29637  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 29638  	}
 29639  	var body io.Reader = nil
 29640  	c.urlParams_.Set("alt", alt)
 29641  	c.urlParams_.Set("prettyPrint", "false")
 29642  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 29643  	urls += "?" + c.urlParams_.Encode()
 29644  	req, err := http.NewRequest("GET", urls, body)
 29645  	if err != nil {
 29646  		return nil, err
 29647  	}
 29648  	req.Header = reqHeaders
 29649  	googleapi.Expand(req.URL, map[string]string{
 29650  		"name": c.name,
 29651  	})
 29652  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29653  }
 29654  
 29655  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.get" call.
 29656  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 29657  // will be non-nil. Any non-2xx status code is an error. Response
 29658  // headers are in either
 29659  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 29660  // (if a response was returned at all) in
 29661  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 29662  // whether the returned error was because http.StatusNotModified was
 29663  // returned.
 29664  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 29665  	gensupport.SetOptions(c.urlParams_, opts...)
 29666  	res, err := c.doRequest("json")
 29667  	if res != nil && res.StatusCode == http.StatusNotModified {
 29668  		if res.Body != nil {
 29669  			res.Body.Close()
 29670  		}
 29671  		return nil, gensupport.WrapError(&googleapi.Error{
 29672  			Code:   res.StatusCode,
 29673  			Header: res.Header,
 29674  		})
 29675  	}
 29676  	if err != nil {
 29677  		return nil, err
 29678  	}
 29679  	defer googleapi.CloseBody(res)
 29680  	if err := googleapi.CheckResponse(res); err != nil {
 29681  		return nil, gensupport.WrapError(err)
 29682  	}
 29683  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 29684  		ServerResponse: googleapi.ServerResponse{
 29685  			Header:         res.Header,
 29686  			HTTPStatusCode: res.StatusCode,
 29687  		},
 29688  	}
 29689  	target := &ret
 29690  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29691  		return nil, err
 29692  	}
 29693  	return ret, nil
 29694  	// {
 29695  	//   "description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.",
 29696  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 29697  	//   "httpMethod": "GET",
 29698  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.get",
 29699  	//   "parameterOrder": [
 29700  	//     "name"
 29701  	//   ],
 29702  	//   "parameters": {
 29703  	//     "name": {
 29704  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 29705  	//       "location": "path",
 29706  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 29707  	//       "required": true,
 29708  	//       "type": "string"
 29709  	//     }
 29710  	//   },
 29711  	//   "path": "v1/{+name}",
 29712  	//   "response": {
 29713  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 29714  	//   },
 29715  	//   "scopes": [
 29716  	//     "https://www.googleapis.com/auth/cloud-platform"
 29717  	//   ]
 29718  	// }
 29719  
 29720  }
 29721  
 29722  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.list":
 29723  
 29724  type ProjectsLocationsSfdcInstancesSfdcChannelsListCall struct {
 29725  	s            *Service
 29726  	parent       string
 29727  	urlParams_   gensupport.URLParams
 29728  	ifNoneMatch_ string
 29729  	ctx_         context.Context
 29730  	header_      http.Header
 29731  }
 29732  
 29733  // List: Lists all sfdc channels that match the filter. Restrict to sfdc
 29734  // channels belonging to the current client only.
 29735  //
 29736  // - parent: The client, which owns this collection of SfdcChannels.
 29737  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) List(parent string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29738  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29739  	c.parent = parent
 29740  	return c
 29741  }
 29742  
 29743  // Filter sets the optional parameter "filter": Filtering as supported
 29744  // in
 29745  // https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
 29746  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Filter(filter string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29747  	c.urlParams_.Set("filter", filter)
 29748  	return c
 29749  }
 29750  
 29751  // PageSize sets the optional parameter "pageSize": The size of entries
 29752  // in the response. If unspecified, defaults to 100.
 29753  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) PageSize(pageSize int64) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29754  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 29755  	return c
 29756  }
 29757  
 29758  // PageToken sets the optional parameter "pageToken": The token returned
 29759  // in the previous response.
 29760  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) PageToken(pageToken string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29761  	c.urlParams_.Set("pageToken", pageToken)
 29762  	return c
 29763  }
 29764  
 29765  // ReadMask sets the optional parameter "readMask": The mask which
 29766  // specifies fields that need to be returned in the SfdcChannel's
 29767  // response.
 29768  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) ReadMask(readMask string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29769  	c.urlParams_.Set("readMask", readMask)
 29770  	return c
 29771  }
 29772  
 29773  // Fields allows partial responses to be retrieved. See
 29774  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 29775  // for more information.
 29776  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29777  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29778  	return c
 29779  }
 29780  
 29781  // IfNoneMatch sets the optional parameter which makes the operation
 29782  // fail if the object's ETag matches the given value. This is useful for
 29783  // getting updates only after the object has changed since the last
 29784  // request. Use googleapi.IsNotModified to check whether the response
 29785  // error from Do is the result of In-None-Match.
 29786  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29787  	c.ifNoneMatch_ = entityTag
 29788  	return c
 29789  }
 29790  
 29791  // Context sets the context to be used in this call's Do method. Any
 29792  // pending HTTP request will be aborted if the provided context is
 29793  // canceled.
 29794  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 29795  	c.ctx_ = ctx
 29796  	return c
 29797  }
 29798  
 29799  // Header returns an http.Header that can be modified by the caller to
 29800  // add HTTP headers to the request.
 29801  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Header() http.Header {
 29802  	if c.header_ == nil {
 29803  		c.header_ = make(http.Header)
 29804  	}
 29805  	return c.header_
 29806  }
 29807  
 29808  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) doRequest(alt string) (*http.Response, error) {
 29809  	reqHeaders := make(http.Header)
 29810  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 29811  	for k, v := range c.header_ {
 29812  		reqHeaders[k] = v
 29813  	}
 29814  	reqHeaders.Set("User-Agent", c.s.userAgent())
 29815  	if c.ifNoneMatch_ != "" {
 29816  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 29817  	}
 29818  	var body io.Reader = nil
 29819  	c.urlParams_.Set("alt", alt)
 29820  	c.urlParams_.Set("prettyPrint", "false")
 29821  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/sfdcChannels")
 29822  	urls += "?" + c.urlParams_.Encode()
 29823  	req, err := http.NewRequest("GET", urls, body)
 29824  	if err != nil {
 29825  		return nil, err
 29826  	}
 29827  	req.Header = reqHeaders
 29828  	googleapi.Expand(req.URL, map[string]string{
 29829  		"parent": c.parent,
 29830  	})
 29831  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29832  }
 29833  
 29834  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.list" call.
 29835  // Exactly one of
 29836  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse or error will
 29837  // be non-nil. Any non-2xx status code is an error. Response headers are
 29838  // in either
 29839  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse.ServerResponse
 29840  // .Header or (if a response was returned at all) in
 29841  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 29842  // whether the returned error was because http.StatusNotModified was
 29843  // returned.
 29844  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse, error) {
 29845  	gensupport.SetOptions(c.urlParams_, opts...)
 29846  	res, err := c.doRequest("json")
 29847  	if res != nil && res.StatusCode == http.StatusNotModified {
 29848  		if res.Body != nil {
 29849  			res.Body.Close()
 29850  		}
 29851  		return nil, gensupport.WrapError(&googleapi.Error{
 29852  			Code:   res.StatusCode,
 29853  			Header: res.Header,
 29854  		})
 29855  	}
 29856  	if err != nil {
 29857  		return nil, err
 29858  	}
 29859  	defer googleapi.CloseBody(res)
 29860  	if err := googleapi.CheckResponse(res); err != nil {
 29861  		return nil, gensupport.WrapError(err)
 29862  	}
 29863  	ret := &GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse{
 29864  		ServerResponse: googleapi.ServerResponse{
 29865  			Header:         res.Header,
 29866  			HTTPStatusCode: res.StatusCode,
 29867  		},
 29868  	}
 29869  	target := &ret
 29870  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29871  		return nil, err
 29872  	}
 29873  	return ret, nil
 29874  	// {
 29875  	//   "description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.",
 29876  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 29877  	//   "httpMethod": "GET",
 29878  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.list",
 29879  	//   "parameterOrder": [
 29880  	//     "parent"
 29881  	//   ],
 29882  	//   "parameters": {
 29883  	//     "filter": {
 29884  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.",
 29885  	//       "location": "query",
 29886  	//       "type": "string"
 29887  	//     },
 29888  	//     "pageSize": {
 29889  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 29890  	//       "format": "int32",
 29891  	//       "location": "query",
 29892  	//       "type": "integer"
 29893  	//     },
 29894  	//     "pageToken": {
 29895  	//       "description": "The token returned in the previous response.",
 29896  	//       "location": "query",
 29897  	//       "type": "string"
 29898  	//     },
 29899  	//     "parent": {
 29900  	//       "description": "Required. The client, which owns this collection of SfdcChannels.",
 29901  	//       "location": "path",
 29902  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 29903  	//       "required": true,
 29904  	//       "type": "string"
 29905  	//     },
 29906  	//     "readMask": {
 29907  	//       "description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.",
 29908  	//       "format": "google-fieldmask",
 29909  	//       "location": "query",
 29910  	//       "type": "string"
 29911  	//     }
 29912  	//   },
 29913  	//   "path": "v1/{+parent}/sfdcChannels",
 29914  	//   "response": {
 29915  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse"
 29916  	//   },
 29917  	//   "scopes": [
 29918  	//     "https://www.googleapis.com/auth/cloud-platform"
 29919  	//   ]
 29920  	// }
 29921  
 29922  }
 29923  
 29924  // Pages invokes f for each page of results.
 29925  // A non-nil error returned from f will halt the iteration.
 29926  // The provided context supersedes any context provided to the Context method.
 29927  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse) error) error {
 29928  	c.ctx_ = ctx
 29929  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 29930  	for {
 29931  		x, err := c.Do()
 29932  		if err != nil {
 29933  			return err
 29934  		}
 29935  		if err := f(x); err != nil {
 29936  			return err
 29937  		}
 29938  		if x.NextPageToken == "" {
 29939  			return nil
 29940  		}
 29941  		c.PageToken(x.NextPageToken)
 29942  	}
 29943  }
 29944  
 29945  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.patch":
 29946  
 29947  type ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall struct {
 29948  	s                                         *Service
 29949  	name                                      string
 29950  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 29951  	urlParams_                                gensupport.URLParams
 29952  	ctx_                                      context.Context
 29953  	header_                                   http.Header
 29954  }
 29955  
 29956  // Patch: Updates an sfdc channel. Updates the sfdc channel in spanner.
 29957  // Returns the sfdc channel.
 29958  //
 29959  //   - name: Resource name of the SFDC channel
 29960  //     projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance
 29961  //     }/sfdcChannels/{sfdc_channel}.
 29962  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Patch(name string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 29963  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29964  	c.name = name
 29965  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 29966  	return c
 29967  }
 29968  
 29969  // UpdateMask sets the optional parameter "updateMask": Field mask
 29970  // specifying the fields in the above SfdcChannel that have been
 29971  // modified and need to be updated.
 29972  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 29973  	c.urlParams_.Set("updateMask", updateMask)
 29974  	return c
 29975  }
 29976  
 29977  // Fields allows partial responses to be retrieved. See
 29978  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 29979  // for more information.
 29980  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 29981  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29982  	return c
 29983  }
 29984  
 29985  // Context sets the context to be used in this call's Do method. Any
 29986  // pending HTTP request will be aborted if the provided context is
 29987  // canceled.
 29988  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 29989  	c.ctx_ = ctx
 29990  	return c
 29991  }
 29992  
 29993  // Header returns an http.Header that can be modified by the caller to
 29994  // add HTTP headers to the request.
 29995  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Header() http.Header {
 29996  	if c.header_ == nil {
 29997  		c.header_ = make(http.Header)
 29998  	}
 29999  	return c.header_
 30000  }
 30001  
 30002  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) doRequest(alt string) (*http.Response, error) {
 30003  	reqHeaders := make(http.Header)
 30004  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 30005  	for k, v := range c.header_ {
 30006  		reqHeaders[k] = v
 30007  	}
 30008  	reqHeaders.Set("User-Agent", c.s.userAgent())
 30009  	var body io.Reader = nil
 30010  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 30011  	if err != nil {
 30012  		return nil, err
 30013  	}
 30014  	reqHeaders.Set("Content-Type", "application/json")
 30015  	c.urlParams_.Set("alt", alt)
 30016  	c.urlParams_.Set("prettyPrint", "false")
 30017  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 30018  	urls += "?" + c.urlParams_.Encode()
 30019  	req, err := http.NewRequest("PATCH", urls, body)
 30020  	if err != nil {
 30021  		return nil, err
 30022  	}
 30023  	req.Header = reqHeaders
 30024  	googleapi.Expand(req.URL, map[string]string{
 30025  		"name": c.name,
 30026  	})
 30027  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30028  }
 30029  
 30030  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.patch" call.
 30031  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 30032  // will be non-nil. Any non-2xx status code is an error. Response
 30033  // headers are in either
 30034  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 30035  // (if a response was returned at all) in
 30036  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 30037  // whether the returned error was because http.StatusNotModified was
 30038  // returned.
 30039  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 30040  	gensupport.SetOptions(c.urlParams_, opts...)
 30041  	res, err := c.doRequest("json")
 30042  	if res != nil && res.StatusCode == http.StatusNotModified {
 30043  		if res.Body != nil {
 30044  			res.Body.Close()
 30045  		}
 30046  		return nil, gensupport.WrapError(&googleapi.Error{
 30047  			Code:   res.StatusCode,
 30048  			Header: res.Header,
 30049  		})
 30050  	}
 30051  	if err != nil {
 30052  		return nil, err
 30053  	}
 30054  	defer googleapi.CloseBody(res)
 30055  	if err := googleapi.CheckResponse(res); err != nil {
 30056  		return nil, gensupport.WrapError(err)
 30057  	}
 30058  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 30059  		ServerResponse: googleapi.ServerResponse{
 30060  			Header:         res.Header,
 30061  			HTTPStatusCode: res.StatusCode,
 30062  		},
 30063  	}
 30064  	target := &ret
 30065  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30066  		return nil, err
 30067  	}
 30068  	return ret, nil
 30069  	// {
 30070  	//   "description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.",
 30071  	//   "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 30072  	//   "httpMethod": "PATCH",
 30073  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.patch",
 30074  	//   "parameterOrder": [
 30075  	//     "name"
 30076  	//   ],
 30077  	//   "parameters": {
 30078  	//     "name": {
 30079  	//       "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.",
 30080  	//       "location": "path",
 30081  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 30082  	//       "required": true,
 30083  	//       "type": "string"
 30084  	//     },
 30085  	//     "updateMask": {
 30086  	//       "description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.",
 30087  	//       "format": "google-fieldmask",
 30088  	//       "location": "query",
 30089  	//       "type": "string"
 30090  	//     }
 30091  	//   },
 30092  	//   "path": "v1/{+name}",
 30093  	//   "request": {
 30094  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 30095  	//   },
 30096  	//   "response": {
 30097  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 30098  	//   },
 30099  	//   "scopes": [
 30100  	//     "https://www.googleapis.com/auth/cloud-platform"
 30101  	//   ]
 30102  	// }
 30103  
 30104  }
 30105  

View as plain text