...

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

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

     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/v1alpha"
    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/v1alpha"
    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  var _ = internal.Version
    75  
    76  const apiId = "integrations:v1alpha"
    77  const apiName = "integrations"
    78  const apiVersion = "v1alpha"
    79  const basePath = "https://integrations.googleapis.com/"
    80  const mtlsBasePath = "https://integrations.mtls.googleapis.com/"
    81  
    82  // OAuth2 scopes used by this API.
    83  const (
    84  	// See, edit, configure, and delete your Google Cloud data and see the
    85  	// email address for your Google Account.
    86  	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
    87  )
    88  
    89  // NewService creates a new Service.
    90  func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
    91  	scopesOption := internaloption.WithDefaultScopes(
    92  		"https://www.googleapis.com/auth/cloud-platform",
    93  	)
    94  	// NOTE: prepend, so we don't override user-specified scopes.
    95  	opts = append([]option.ClientOption{scopesOption}, opts...)
    96  	opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
    97  	opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))
    98  	client, endpoint, err := htransport.NewClient(ctx, opts...)
    99  	if err != nil {
   100  		return nil, err
   101  	}
   102  	s, err := New(client)
   103  	if err != nil {
   104  		return nil, err
   105  	}
   106  	if endpoint != "" {
   107  		s.BasePath = endpoint
   108  	}
   109  	return s, nil
   110  }
   111  
   112  // New creates a new Service. It uses the provided http.Client for requests.
   113  //
   114  // Deprecated: please use NewService instead.
   115  // To provide a custom HTTP client, use option.WithHTTPClient.
   116  // If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
   117  func New(client *http.Client) (*Service, error) {
   118  	if client == nil {
   119  		return nil, errors.New("client is nil")
   120  	}
   121  	s := &Service{client: client, BasePath: basePath}
   122  	s.Callback = NewCallbackService(s)
   123  	s.ConnectorPlatformRegions = NewConnectorPlatformRegionsService(s)
   124  	s.Projects = NewProjectsService(s)
   125  	return s, nil
   126  }
   127  
   128  type Service struct {
   129  	client    *http.Client
   130  	BasePath  string // API endpoint base URL
   131  	UserAgent string // optional additional User-Agent fragment
   132  
   133  	Callback *CallbackService
   134  
   135  	ConnectorPlatformRegions *ConnectorPlatformRegionsService
   136  
   137  	Projects *ProjectsService
   138  }
   139  
   140  func (s *Service) userAgent() string {
   141  	if s.UserAgent == "" {
   142  		return googleapi.UserAgent
   143  	}
   144  	return googleapi.UserAgent + " " + s.UserAgent
   145  }
   146  
   147  func NewCallbackService(s *Service) *CallbackService {
   148  	rs := &CallbackService{s: s}
   149  	return rs
   150  }
   151  
   152  type CallbackService struct {
   153  	s *Service
   154  }
   155  
   156  func NewConnectorPlatformRegionsService(s *Service) *ConnectorPlatformRegionsService {
   157  	rs := &ConnectorPlatformRegionsService{s: s}
   158  	return rs
   159  }
   160  
   161  type ConnectorPlatformRegionsService struct {
   162  	s *Service
   163  }
   164  
   165  func NewProjectsService(s *Service) *ProjectsService {
   166  	rs := &ProjectsService{s: s}
   167  	rs.Locations = NewProjectsLocationsService(s)
   168  	return rs
   169  }
   170  
   171  type ProjectsService struct {
   172  	s *Service
   173  
   174  	Locations *ProjectsLocationsService
   175  }
   176  
   177  func NewProjectsLocationsService(s *Service) *ProjectsLocationsService {
   178  	rs := &ProjectsLocationsService{s: s}
   179  	rs.AppsScriptProjects = NewProjectsLocationsAppsScriptProjectsService(s)
   180  	rs.AuthConfigs = NewProjectsLocationsAuthConfigsService(s)
   181  	rs.Certificates = NewProjectsLocationsCertificatesService(s)
   182  	rs.Connections = NewProjectsLocationsConnectionsService(s)
   183  	rs.Integrations = NewProjectsLocationsIntegrationsService(s)
   184  	rs.Products = NewProjectsLocationsProductsService(s)
   185  	rs.SfdcInstances = NewProjectsLocationsSfdcInstancesService(s)
   186  	return rs
   187  }
   188  
   189  type ProjectsLocationsService struct {
   190  	s *Service
   191  
   192  	AppsScriptProjects *ProjectsLocationsAppsScriptProjectsService
   193  
   194  	AuthConfigs *ProjectsLocationsAuthConfigsService
   195  
   196  	Certificates *ProjectsLocationsCertificatesService
   197  
   198  	Connections *ProjectsLocationsConnectionsService
   199  
   200  	Integrations *ProjectsLocationsIntegrationsService
   201  
   202  	Products *ProjectsLocationsProductsService
   203  
   204  	SfdcInstances *ProjectsLocationsSfdcInstancesService
   205  }
   206  
   207  func NewProjectsLocationsAppsScriptProjectsService(s *Service) *ProjectsLocationsAppsScriptProjectsService {
   208  	rs := &ProjectsLocationsAppsScriptProjectsService{s: s}
   209  	return rs
   210  }
   211  
   212  type ProjectsLocationsAppsScriptProjectsService struct {
   213  	s *Service
   214  }
   215  
   216  func NewProjectsLocationsAuthConfigsService(s *Service) *ProjectsLocationsAuthConfigsService {
   217  	rs := &ProjectsLocationsAuthConfigsService{s: s}
   218  	return rs
   219  }
   220  
   221  type ProjectsLocationsAuthConfigsService struct {
   222  	s *Service
   223  }
   224  
   225  func NewProjectsLocationsCertificatesService(s *Service) *ProjectsLocationsCertificatesService {
   226  	rs := &ProjectsLocationsCertificatesService{s: s}
   227  	return rs
   228  }
   229  
   230  type ProjectsLocationsCertificatesService struct {
   231  	s *Service
   232  }
   233  
   234  func NewProjectsLocationsConnectionsService(s *Service) *ProjectsLocationsConnectionsService {
   235  	rs := &ProjectsLocationsConnectionsService{s: s}
   236  	rs.RuntimeActionSchemas = NewProjectsLocationsConnectionsRuntimeActionSchemasService(s)
   237  	rs.RuntimeEntitySchemas = NewProjectsLocationsConnectionsRuntimeEntitySchemasService(s)
   238  	return rs
   239  }
   240  
   241  type ProjectsLocationsConnectionsService struct {
   242  	s *Service
   243  
   244  	RuntimeActionSchemas *ProjectsLocationsConnectionsRuntimeActionSchemasService
   245  
   246  	RuntimeEntitySchemas *ProjectsLocationsConnectionsRuntimeEntitySchemasService
   247  }
   248  
   249  func NewProjectsLocationsConnectionsRuntimeActionSchemasService(s *Service) *ProjectsLocationsConnectionsRuntimeActionSchemasService {
   250  	rs := &ProjectsLocationsConnectionsRuntimeActionSchemasService{s: s}
   251  	return rs
   252  }
   253  
   254  type ProjectsLocationsConnectionsRuntimeActionSchemasService struct {
   255  	s *Service
   256  }
   257  
   258  func NewProjectsLocationsConnectionsRuntimeEntitySchemasService(s *Service) *ProjectsLocationsConnectionsRuntimeEntitySchemasService {
   259  	rs := &ProjectsLocationsConnectionsRuntimeEntitySchemasService{s: s}
   260  	return rs
   261  }
   262  
   263  type ProjectsLocationsConnectionsRuntimeEntitySchemasService struct {
   264  	s *Service
   265  }
   266  
   267  func NewProjectsLocationsIntegrationsService(s *Service) *ProjectsLocationsIntegrationsService {
   268  	rs := &ProjectsLocationsIntegrationsService{s: s}
   269  	rs.Executions = NewProjectsLocationsIntegrationsExecutionsService(s)
   270  	rs.Versions = NewProjectsLocationsIntegrationsVersionsService(s)
   271  	return rs
   272  }
   273  
   274  type ProjectsLocationsIntegrationsService struct {
   275  	s *Service
   276  
   277  	Executions *ProjectsLocationsIntegrationsExecutionsService
   278  
   279  	Versions *ProjectsLocationsIntegrationsVersionsService
   280  }
   281  
   282  func NewProjectsLocationsIntegrationsExecutionsService(s *Service) *ProjectsLocationsIntegrationsExecutionsService {
   283  	rs := &ProjectsLocationsIntegrationsExecutionsService{s: s}
   284  	rs.Suspensions = NewProjectsLocationsIntegrationsExecutionsSuspensionsService(s)
   285  	return rs
   286  }
   287  
   288  type ProjectsLocationsIntegrationsExecutionsService struct {
   289  	s *Service
   290  
   291  	Suspensions *ProjectsLocationsIntegrationsExecutionsSuspensionsService
   292  }
   293  
   294  func NewProjectsLocationsIntegrationsExecutionsSuspensionsService(s *Service) *ProjectsLocationsIntegrationsExecutionsSuspensionsService {
   295  	rs := &ProjectsLocationsIntegrationsExecutionsSuspensionsService{s: s}
   296  	return rs
   297  }
   298  
   299  type ProjectsLocationsIntegrationsExecutionsSuspensionsService struct {
   300  	s *Service
   301  }
   302  
   303  func NewProjectsLocationsIntegrationsVersionsService(s *Service) *ProjectsLocationsIntegrationsVersionsService {
   304  	rs := &ProjectsLocationsIntegrationsVersionsService{s: s}
   305  	return rs
   306  }
   307  
   308  type ProjectsLocationsIntegrationsVersionsService struct {
   309  	s *Service
   310  }
   311  
   312  func NewProjectsLocationsProductsService(s *Service) *ProjectsLocationsProductsService {
   313  	rs := &ProjectsLocationsProductsService{s: s}
   314  	rs.AuthConfigs = NewProjectsLocationsProductsAuthConfigsService(s)
   315  	rs.Certificates = NewProjectsLocationsProductsCertificatesService(s)
   316  	rs.Integrations = NewProjectsLocationsProductsIntegrationsService(s)
   317  	rs.Integrationtemplates = NewProjectsLocationsProductsIntegrationtemplatesService(s)
   318  	rs.SfdcInstances = NewProjectsLocationsProductsSfdcInstancesService(s)
   319  	return rs
   320  }
   321  
   322  type ProjectsLocationsProductsService struct {
   323  	s *Service
   324  
   325  	AuthConfigs *ProjectsLocationsProductsAuthConfigsService
   326  
   327  	Certificates *ProjectsLocationsProductsCertificatesService
   328  
   329  	Integrations *ProjectsLocationsProductsIntegrationsService
   330  
   331  	Integrationtemplates *ProjectsLocationsProductsIntegrationtemplatesService
   332  
   333  	SfdcInstances *ProjectsLocationsProductsSfdcInstancesService
   334  }
   335  
   336  func NewProjectsLocationsProductsAuthConfigsService(s *Service) *ProjectsLocationsProductsAuthConfigsService {
   337  	rs := &ProjectsLocationsProductsAuthConfigsService{s: s}
   338  	return rs
   339  }
   340  
   341  type ProjectsLocationsProductsAuthConfigsService struct {
   342  	s *Service
   343  }
   344  
   345  func NewProjectsLocationsProductsCertificatesService(s *Service) *ProjectsLocationsProductsCertificatesService {
   346  	rs := &ProjectsLocationsProductsCertificatesService{s: s}
   347  	return rs
   348  }
   349  
   350  type ProjectsLocationsProductsCertificatesService struct {
   351  	s *Service
   352  }
   353  
   354  func NewProjectsLocationsProductsIntegrationsService(s *Service) *ProjectsLocationsProductsIntegrationsService {
   355  	rs := &ProjectsLocationsProductsIntegrationsService{s: s}
   356  	rs.Executions = NewProjectsLocationsProductsIntegrationsExecutionsService(s)
   357  	rs.Versions = NewProjectsLocationsProductsIntegrationsVersionsService(s)
   358  	return rs
   359  }
   360  
   361  type ProjectsLocationsProductsIntegrationsService struct {
   362  	s *Service
   363  
   364  	Executions *ProjectsLocationsProductsIntegrationsExecutionsService
   365  
   366  	Versions *ProjectsLocationsProductsIntegrationsVersionsService
   367  }
   368  
   369  func NewProjectsLocationsProductsIntegrationsExecutionsService(s *Service) *ProjectsLocationsProductsIntegrationsExecutionsService {
   370  	rs := &ProjectsLocationsProductsIntegrationsExecutionsService{s: s}
   371  	rs.Suspensions = NewProjectsLocationsProductsIntegrationsExecutionsSuspensionsService(s)
   372  	return rs
   373  }
   374  
   375  type ProjectsLocationsProductsIntegrationsExecutionsService struct {
   376  	s *Service
   377  
   378  	Suspensions *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService
   379  }
   380  
   381  func NewProjectsLocationsProductsIntegrationsExecutionsSuspensionsService(s *Service) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService {
   382  	rs := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService{s: s}
   383  	return rs
   384  }
   385  
   386  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService struct {
   387  	s *Service
   388  }
   389  
   390  func NewProjectsLocationsProductsIntegrationsVersionsService(s *Service) *ProjectsLocationsProductsIntegrationsVersionsService {
   391  	rs := &ProjectsLocationsProductsIntegrationsVersionsService{s: s}
   392  	return rs
   393  }
   394  
   395  type ProjectsLocationsProductsIntegrationsVersionsService struct {
   396  	s *Service
   397  }
   398  
   399  func NewProjectsLocationsProductsIntegrationtemplatesService(s *Service) *ProjectsLocationsProductsIntegrationtemplatesService {
   400  	rs := &ProjectsLocationsProductsIntegrationtemplatesService{s: s}
   401  	rs.Versions = NewProjectsLocationsProductsIntegrationtemplatesVersionsService(s)
   402  	return rs
   403  }
   404  
   405  type ProjectsLocationsProductsIntegrationtemplatesService struct {
   406  	s *Service
   407  
   408  	Versions *ProjectsLocationsProductsIntegrationtemplatesVersionsService
   409  }
   410  
   411  func NewProjectsLocationsProductsIntegrationtemplatesVersionsService(s *Service) *ProjectsLocationsProductsIntegrationtemplatesVersionsService {
   412  	rs := &ProjectsLocationsProductsIntegrationtemplatesVersionsService{s: s}
   413  	return rs
   414  }
   415  
   416  type ProjectsLocationsProductsIntegrationtemplatesVersionsService struct {
   417  	s *Service
   418  }
   419  
   420  func NewProjectsLocationsProductsSfdcInstancesService(s *Service) *ProjectsLocationsProductsSfdcInstancesService {
   421  	rs := &ProjectsLocationsProductsSfdcInstancesService{s: s}
   422  	rs.SfdcChannels = NewProjectsLocationsProductsSfdcInstancesSfdcChannelsService(s)
   423  	return rs
   424  }
   425  
   426  type ProjectsLocationsProductsSfdcInstancesService struct {
   427  	s *Service
   428  
   429  	SfdcChannels *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService
   430  }
   431  
   432  func NewProjectsLocationsProductsSfdcInstancesSfdcChannelsService(s *Service) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService {
   433  	rs := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsService{s: s}
   434  	return rs
   435  }
   436  
   437  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsService struct {
   438  	s *Service
   439  }
   440  
   441  func NewProjectsLocationsSfdcInstancesService(s *Service) *ProjectsLocationsSfdcInstancesService {
   442  	rs := &ProjectsLocationsSfdcInstancesService{s: s}
   443  	rs.SfdcChannels = NewProjectsLocationsSfdcInstancesSfdcChannelsService(s)
   444  	return rs
   445  }
   446  
   447  type ProjectsLocationsSfdcInstancesService struct {
   448  	s *Service
   449  
   450  	SfdcChannels *ProjectsLocationsSfdcInstancesSfdcChannelsService
   451  }
   452  
   453  func NewProjectsLocationsSfdcInstancesSfdcChannelsService(s *Service) *ProjectsLocationsSfdcInstancesSfdcChannelsService {
   454  	rs := &ProjectsLocationsSfdcInstancesSfdcChannelsService{s: s}
   455  	return rs
   456  }
   457  
   458  type ProjectsLocationsSfdcInstancesSfdcChannelsService struct {
   459  	s *Service
   460  }
   461  
   462  // CrmlogErrorCode: Registered ids for errors, as "oneof" enums. Each
   463  // task or logical grouping of tasks may share the same enum.
   464  type CrmlogErrorCode struct {
   465  	// Possible values:
   466  	//   "COMMON_ERROR_CODE_UNSPECIFIED"
   467  	//   "INVALID_CREDENTIALS"
   468  	//   "REQUIRED_FIELDS_MISSING"
   469  	//   "INVALID_FIELDS"
   470  	//   "BACKEND"
   471  	//   "GENERAL"
   472  	//   "INTERNAL"
   473  	//   "IO_ERROR"
   474  	//   "NOT_FOUND"
   475  	//   "EVENT_BUS"
   476  	//   "ALREADY_EXISTS"
   477  	//   "CONCORD"
   478  	//   "CONVERSION"
   479  	//   "FLUME"
   480  	//   "PERMISSION"
   481  	//   "SALES_FORCE"
   482  	//   "SPANNER"
   483  	//   "UNIMPLEMENTED"
   484  	//   "RELTIO"
   485  	//   "WORKFLOW_NOT_FOUND"
   486  	//   "QUOTA_THROTTLED"
   487  	//   "QUOTA_ENQUEUED"
   488  	//   "INVALID_QUOTA_CONFIGURATION"
   489  	//   "TASK_NOT_FOUND"
   490  	//   "EXECUTION_TIMEOUT"
   491  	//   "INVALID_EVENT_EXECUTION_STATE"
   492  	//   "INVALID_ATTRIBUTE"
   493  	//   "MISSING_ATTRIBUTE"
   494  	//   "CLIENT_UNAUTHORIZED_FOR_WORKFLOW"
   495  	//   "INVALID_PARAMETER"
   496  	//   "MISSING_PARAMETER"
   497  	//   "UNAUTHROIZED_WORKFLOW_EDITOR_ACTION"
   498  	//   "FAILED_PRECONDITION"
   499  	//   "INVALID_CLIENT"
   500  	//   "MISSING_CLIENT"
   501  	//   "INVALID_WORKFLOW"
   502  	//   "MISSING_QUOTA_CONFIGURATION"
   503  	//   "UNHANDLED_TASK_ERROR"
   504  	//   "SCRIPT_TASK_RUNTIME_ERROR"
   505  	//   "RPC"
   506  	//   "INVALID_PROTO"
   507  	//   "UNHANDLED_EVENTBUS_ERROR"
   508  	//   "INVALID_TASK_STATE"
   509  	//   "TYPED_TASK_INVALID_INPUT_OPERATION"
   510  	//   "TYPED_TASK_INVALID_OUTPUT_OPERATION"
   511  	//   "VALIDATION_ERROR"
   512  	//   "RESUME_ERROR"
   513  	//   "APPS_SCRIPT_EXECUTION_ERROR"
   514  	//   "INVALID_VECTOR_USER"
   515  	//   "INFORMATICA"
   516  	//   "RETRYABLE_TASK_ERROR"
   517  	//   "INVALID_TENANT"
   518  	//   "WRONG_TENANT"
   519  	//   "INFORMATICA_BACKEND_UNAVAILABLE"
   520  	//   "RPC_PERMISSION_DENIED"
   521  	//   "SYNC_EVENTBUS_EXECUTION_TIMEOUT" - SYNC_EVENTBUS_EXECUTION_TIMEOUT
   522  	// is for eventbus internal use only.
   523  	//   "ASYNC_EVENTBUS_EXECUTION_TIMEOUT" -
   524  	// ASYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only.
   525  	// This error will be counted as server availability error.
   526  	//   "NOT_SUPPORTED_DATA_TYPE"
   527  	//   "UNSANITIZED_USER_INPUT"
   528  	//   "TRANSFORM_EXPRESSION_EVALUATION_ERROR"
   529  	//   "HTTP_EXCEPTION"
   530  	//   "EXECUTION_CANCELLED"
   531  	CommonErrorCode string `json:"commonErrorCode,omitempty"`
   532  
   533  	// ForceSendFields is a list of field names (e.g. "CommonErrorCode") to
   534  	// unconditionally include in API requests. By default, fields with
   535  	// empty or default values are omitted from API requests. However, any
   536  	// non-pointer, non-interface field appearing in ForceSendFields will be
   537  	// sent to the server regardless of whether the field is empty or not.
   538  	// This may be used to include empty fields in Patch requests.
   539  	ForceSendFields []string `json:"-"`
   540  
   541  	// NullFields is a list of field names (e.g. "CommonErrorCode") to
   542  	// include in API requests with the JSON null value. By default, fields
   543  	// with empty values are omitted from API requests. However, any field
   544  	// with an empty value appearing in NullFields will be sent to the
   545  	// server as null. It is an error if a field in this list has a
   546  	// non-empty value. This may be used to include null fields in Patch
   547  	// requests.
   548  	NullFields []string `json:"-"`
   549  }
   550  
   551  func (s *CrmlogErrorCode) MarshalJSON() ([]byte, error) {
   552  	type NoMethod CrmlogErrorCode
   553  	raw := NoMethod(*s)
   554  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   555  }
   556  
   557  type EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam struct {
   558  	// AllowedCredentialTypes: Defines the credential types to be supported
   559  	// as Task may restrict specific types to use, e.g. Cloud SQL Task will
   560  	// use username/password type only.
   561  	//
   562  	// Possible values:
   563  	//   "CREDENTIAL_TYPE_UNSPECIFIED"
   564  	//   "USERNAME_AND_PASSWORD" - Regular username/password pair.
   565  	//   "API_KEY" - API key.
   566  	//   "OAUTH2_AUTHORIZATION_CODE" - OAuth 2.0 Authorization Code Grant
   567  	// Type.
   568  	//   "OAUTH2_IMPLICIT" - OAuth 2.0 Implicit Grant Type.
   569  	//   "OAUTH2_CLIENT_CREDENTIALS" - OAuth 2.0 Client Credentials Grant
   570  	// Type.
   571  	//   "OAUTH2_RESOURCE_OWNER_CREDENTIALS" - OAuth 2.0 Resource Owner
   572  	// Credentials Grant Type.
   573  	//   "JWT" - JWT Token.
   574  	//   "AUTH_TOKEN" - Auth Token, e.g. bearer token.
   575  	//   "SERVICE_ACCOUNT" - Service Account which can be used to generate
   576  	// token for authentication.
   577  	//   "CLIENT_CERTIFICATE_ONLY" - Client Certificate only.
   578  	//   "OIDC_TOKEN" - Google OIDC ID Token
   579  	AllowedCredentialTypes []string `json:"allowedCredentialTypes,omitempty"`
   580  
   581  	AllowedServiceAccountInContext bool `json:"allowedServiceAccountInContext,omitempty"`
   582  
   583  	// AuthConfigId: UUID of the AuthConfig.
   584  	AuthConfigId string `json:"authConfigId,omitempty"`
   585  
   586  	// Scope: A space-delimited list of requested scope permissions.
   587  	Scope string `json:"scope,omitempty"`
   588  
   589  	UseServiceAccountInContext bool `json:"useServiceAccountInContext,omitempty"`
   590  
   591  	// ForceSendFields is a list of field names (e.g.
   592  	// "AllowedCredentialTypes") to unconditionally include in API requests.
   593  	// By default, fields with empty or default values are omitted from API
   594  	// requests. However, any non-pointer, non-interface field appearing in
   595  	// ForceSendFields will be sent to the server regardless of whether the
   596  	// field is empty or not. This may be used to include empty fields in
   597  	// Patch requests.
   598  	ForceSendFields []string `json:"-"`
   599  
   600  	// NullFields is a list of field names (e.g. "AllowedCredentialTypes")
   601  	// to include in API requests with the JSON null value. By default,
   602  	// fields with empty values are omitted from API requests. However, any
   603  	// field with an empty value appearing in NullFields will be sent to the
   604  	// server as null. It is an error if a field in this list has a
   605  	// non-empty value. This may be used to include null fields in Patch
   606  	// requests.
   607  	NullFields []string `json:"-"`
   608  }
   609  
   610  func (s *EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam) MarshalJSON() ([]byte, error) {
   611  	type NoMethod EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam
   612  	raw := NoMethod(*s)
   613  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   614  }
   615  
   616  // EnterpriseCrmEventbusProtoAddress: Email address along with optional
   617  // name and tokens. These tokens will be substituted for the variables
   618  // in the form of [{var_name}], where var_name could be any string of no
   619  // more than 32 bytes.
   620  type EnterpriseCrmEventbusProtoAddress struct {
   621  	// Email: Required.
   622  	Email string `json:"email,omitempty"`
   623  
   624  	Name string `json:"name,omitempty"`
   625  
   626  	Tokens []*EnterpriseCrmEventbusProtoToken `json:"tokens,omitempty"`
   627  
   628  	// ForceSendFields is a list of field names (e.g. "Email") to
   629  	// unconditionally include in API requests. By default, fields with
   630  	// empty or default values are omitted from API requests. However, any
   631  	// non-pointer, non-interface field appearing in ForceSendFields will be
   632  	// sent to the server regardless of whether the field is empty or not.
   633  	// This may be used to include empty fields in Patch requests.
   634  	ForceSendFields []string `json:"-"`
   635  
   636  	// NullFields is a list of field names (e.g. "Email") to include in API
   637  	// requests with the JSON null value. By default, fields with empty
   638  	// values are omitted from API requests. However, any field with an
   639  	// empty value appearing in NullFields will be sent to the server as
   640  	// null. It is an error if a field in this list has a non-empty value.
   641  	// This may be used to include null fields in Patch requests.
   642  	NullFields []string `json:"-"`
   643  }
   644  
   645  func (s *EnterpriseCrmEventbusProtoAddress) MarshalJSON() ([]byte, error) {
   646  	type NoMethod EnterpriseCrmEventbusProtoAddress
   647  	raw := NoMethod(*s)
   648  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   649  }
   650  
   651  // EnterpriseCrmEventbusProtoAttributes: Attributes are additional
   652  // options that can be associated with each event property. For more
   653  // information, see
   654  type EnterpriseCrmEventbusProtoAttributes struct {
   655  	// DataType: Things like URL, Email, Currency, Timestamp (rather than
   656  	// string, int64...)
   657  	//
   658  	// Possible values:
   659  	//   "DATA_TYPE_UNSPECIFIED"
   660  	//   "EMAIL"
   661  	//   "URL"
   662  	//   "CURRENCY"
   663  	//   "TIMESTAMP"
   664  	//   "DOMAIN_NAME" - Domain is a web url string with one top-level
   665  	// private domain and a suffix (for example: google.com, walmart.com)
   666  	DataType string `json:"dataType,omitempty"`
   667  
   668  	// DefaultValue: Used to define defaults.
   669  	DefaultValue *EnterpriseCrmEventbusProtoValueType `json:"defaultValue,omitempty"`
   670  
   671  	// IsRequired: Required for event execution. The validation will be done
   672  	// by the event bus when the event is triggered.
   673  	IsRequired bool `json:"isRequired,omitempty"`
   674  
   675  	// IsSearchable: Used to indicate if a ParameterEntry should be
   676  	// converted to ParamIndexes for ST-Spanner full-text search.
   677  	// DEPRECATED: use searchable.
   678  	IsSearchable bool `json:"isSearchable,omitempty"`
   679  
   680  	// LogSettings: See
   681  	LogSettings *EnterpriseCrmEventbusProtoLogSettings `json:"logSettings,omitempty"`
   682  
   683  	// Possible values:
   684  	//   "UNSPECIFIED"
   685  	//   "YES" - If yes, the parameter key and value will be full-text
   686  	// indexed. In a proto, this value will propagate to all children whose
   687  	// searchable is unspecified.
   688  	//   "NO" - If no, the parameter key and value will not be full-text
   689  	// indexed. In a proto, this value will propagate to all children whose
   690  	// searchable is unspecified.
   691  	Searchable string `json:"searchable,omitempty"`
   692  
   693  	// TaskVisibility: List of tasks that can view this property, if empty
   694  	// then all.
   695  	TaskVisibility []string `json:"taskVisibility,omitempty"`
   696  
   697  	// ForceSendFields is a list of field names (e.g. "DataType") to
   698  	// unconditionally include in API requests. By default, fields with
   699  	// empty or default values are omitted from API requests. However, any
   700  	// non-pointer, non-interface field appearing in ForceSendFields will be
   701  	// sent to the server regardless of whether the field is empty or not.
   702  	// This may be used to include empty fields in Patch requests.
   703  	ForceSendFields []string `json:"-"`
   704  
   705  	// NullFields is a list of field names (e.g. "DataType") to include in
   706  	// API requests with the JSON null value. By default, fields with empty
   707  	// values are omitted from API requests. However, any field with an
   708  	// empty value appearing in NullFields will be sent to the server as
   709  	// null. It is an error if a field in this list has a non-empty value.
   710  	// This may be used to include null fields in Patch requests.
   711  	NullFields []string `json:"-"`
   712  }
   713  
   714  func (s *EnterpriseCrmEventbusProtoAttributes) MarshalJSON() ([]byte, error) {
   715  	type NoMethod EnterpriseCrmEventbusProtoAttributes
   716  	raw := NoMethod(*s)
   717  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   718  }
   719  
   720  // EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList: List of error
   721  // enums for alerts.
   722  type EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList struct {
   723  	EnumStrings []string `json:"enumStrings,omitempty"`
   724  
   725  	// Possible values:
   726  	//   "DEFAULT_INCLUSIVE"
   727  	//   "EXCLUSIVE"
   728  	FilterType string `json:"filterType,omitempty"`
   729  
   730  	// ForceSendFields is a list of field names (e.g. "EnumStrings") to
   731  	// unconditionally include in API requests. By default, fields with
   732  	// empty or default values are omitted from API requests. However, any
   733  	// non-pointer, non-interface field appearing in ForceSendFields will be
   734  	// sent to the server regardless of whether the field is empty or not.
   735  	// This may be used to include empty fields in Patch requests.
   736  	ForceSendFields []string `json:"-"`
   737  
   738  	// NullFields is a list of field names (e.g. "EnumStrings") to include
   739  	// in API requests with the JSON null value. By default, fields with
   740  	// empty values are omitted from API requests. However, any field with
   741  	// an empty value appearing in NullFields will be sent to the server as
   742  	// null. It is an error if a field in this list has a non-empty value.
   743  	// This may be used to include null fields in Patch requests.
   744  	NullFields []string `json:"-"`
   745  }
   746  
   747  func (s *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList) MarshalJSON() ([]byte, error) {
   748  	type NoMethod EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
   749  	raw := NoMethod(*s)
   750  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   751  }
   752  
   753  // EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue: The
   754  // threshold value of the metric, above or below which the alert should
   755  // be triggered. See EventAlertConfig or TaskAlertConfig for the
   756  // different alert metric types in each case. For the *RATE metrics, one
   757  // or both of these fields may be set. Zero is the default value and can
   758  // be left at that. For *PERCENTILE_DURATION metrics, one or both of
   759  // these fields may be set, and also, the duration threshold value
   760  // should be specified in the threshold_duration_ms member below. For
   761  // *AVERAGE_DURATION metrics, these fields should not be set at all. A
   762  // different member, threshold_duration_ms, must be set in the
   763  // EventAlertConfig or the TaskAlertConfig.
   764  type EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue struct {
   765  	Absolute int64 `json:"absolute,omitempty,string"`
   766  
   767  	Percentage int64 `json:"percentage,omitempty"`
   768  
   769  	// ForceSendFields is a list of field names (e.g. "Absolute") to
   770  	// unconditionally include in API requests. By default, fields with
   771  	// empty or default values are omitted from API requests. However, any
   772  	// non-pointer, non-interface field appearing in ForceSendFields will be
   773  	// sent to the server regardless of whether the field is empty or not.
   774  	// This may be used to include empty fields in Patch requests.
   775  	ForceSendFields []string `json:"-"`
   776  
   777  	// NullFields is a list of field names (e.g. "Absolute") to include in
   778  	// API requests with the JSON null value. By default, fields with empty
   779  	// values are omitted from API requests. However, any field with an
   780  	// empty value appearing in NullFields will be sent to the server as
   781  	// null. It is an error if a field in this list has a non-empty value.
   782  	// This may be used to include null fields in Patch requests.
   783  	NullFields []string `json:"-"`
   784  }
   785  
   786  func (s *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue) MarshalJSON() ([]byte, error) {
   787  	type NoMethod EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue
   788  	raw := NoMethod(*s)
   789  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   790  }
   791  
   792  type EnterpriseCrmEventbusProtoBaseFunction struct {
   793  	// Possible values:
   794  	//   "UNSPECIFIED"
   795  	//   "NOW_IN_MILLIS"
   796  	//   "INT_LIST"
   797  	//   "ENVIRONMENT"
   798  	//   "GET_EXECUTION_ID"
   799  	//   "GET_INTEGRATION_NAME"
   800  	//   "GET_REGION"
   801  	//   "GET_UUID"
   802  	//   "GET_PROJECT_ID"
   803  	FunctionName string `json:"functionName,omitempty"`
   804  
   805  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
   806  	// unconditionally include in API requests. By default, fields with
   807  	// empty or default values are omitted from API requests. However, any
   808  	// non-pointer, non-interface field appearing in ForceSendFields will be
   809  	// sent to the server regardless of whether the field is empty or not.
   810  	// This may be used to include empty fields in Patch requests.
   811  	ForceSendFields []string `json:"-"`
   812  
   813  	// NullFields is a list of field names (e.g. "FunctionName") to include
   814  	// in API requests with the JSON null value. By default, fields with
   815  	// empty values are omitted from API requests. However, any field with
   816  	// an empty value appearing in NullFields will be sent to the server as
   817  	// null. It is an error if a field in this list has a non-empty value.
   818  	// This may be used to include null fields in Patch requests.
   819  	NullFields []string `json:"-"`
   820  }
   821  
   822  func (s *EnterpriseCrmEventbusProtoBaseFunction) MarshalJSON() ([]byte, error) {
   823  	type NoMethod EnterpriseCrmEventbusProtoBaseFunction
   824  	raw := NoMethod(*s)
   825  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   826  }
   827  
   828  type EnterpriseCrmEventbusProtoBaseValue struct {
   829  	// BaseFunction: Start with a function that does not build on existing
   830  	// values. Eg. CurrentTime, Min, Max, Exists, etc.
   831  	BaseFunction *EnterpriseCrmEventbusProtoFunction `json:"baseFunction,omitempty"`
   832  
   833  	// LiteralValue: Start with a literal value.
   834  	LiteralValue *EnterpriseCrmEventbusProtoParameterValueType `json:"literalValue,omitempty"`
   835  
   836  	// ReferenceValue: Start with a reference value to dereference.
   837  	ReferenceValue string `json:"referenceValue,omitempty"`
   838  
   839  	// ForceSendFields is a list of field names (e.g. "BaseFunction") to
   840  	// unconditionally include in API requests. By default, fields with
   841  	// empty or default values are omitted from API requests. However, any
   842  	// non-pointer, non-interface field appearing in ForceSendFields will be
   843  	// sent to the server regardless of whether the field is empty or not.
   844  	// This may be used to include empty fields in Patch requests.
   845  	ForceSendFields []string `json:"-"`
   846  
   847  	// NullFields is a list of field names (e.g. "BaseFunction") to include
   848  	// in API requests with the JSON null value. By default, fields with
   849  	// empty values are omitted from API requests. However, any field with
   850  	// an empty value appearing in NullFields will be sent to the server as
   851  	// null. It is an error if a field in this list has a non-empty value.
   852  	// This may be used to include null fields in Patch requests.
   853  	NullFields []string `json:"-"`
   854  }
   855  
   856  func (s *EnterpriseCrmEventbusProtoBaseValue) MarshalJSON() ([]byte, error) {
   857  	type NoMethod EnterpriseCrmEventbusProtoBaseValue
   858  	raw := NoMethod(*s)
   859  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   860  }
   861  
   862  type EnterpriseCrmEventbusProtoBooleanArrayFunction struct {
   863  	// Possible values:
   864  	//   "UNSPECIFIED"
   865  	//   "GET"
   866  	//   "APPEND"
   867  	//   "SIZE"
   868  	//   "TO_SET"
   869  	//   "APPEND_ALL"
   870  	//   "TO_JSON"
   871  	//   "SET"
   872  	//   "REMOVE"
   873  	//   "REMOVE_AT"
   874  	//   "CONTAINS"
   875  	//   "FOR_EACH"
   876  	//   "FILTER"
   877  	FunctionName string `json:"functionName,omitempty"`
   878  
   879  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
   880  	// unconditionally include in API requests. By default, fields with
   881  	// empty or default values are omitted from API requests. However, any
   882  	// non-pointer, non-interface field appearing in ForceSendFields will be
   883  	// sent to the server regardless of whether the field is empty or not.
   884  	// This may be used to include empty fields in Patch requests.
   885  	ForceSendFields []string `json:"-"`
   886  
   887  	// NullFields is a list of field names (e.g. "FunctionName") to include
   888  	// in API requests with the JSON null value. By default, fields with
   889  	// empty values are omitted from API requests. However, any field with
   890  	// an empty value appearing in NullFields will be sent to the server as
   891  	// null. It is an error if a field in this list has a non-empty value.
   892  	// This may be used to include null fields in Patch requests.
   893  	NullFields []string `json:"-"`
   894  }
   895  
   896  func (s *EnterpriseCrmEventbusProtoBooleanArrayFunction) MarshalJSON() ([]byte, error) {
   897  	type NoMethod EnterpriseCrmEventbusProtoBooleanArrayFunction
   898  	raw := NoMethod(*s)
   899  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   900  }
   901  
   902  type EnterpriseCrmEventbusProtoBooleanFunction struct {
   903  	// Possible values:
   904  	//   "UNSPECIFIED"
   905  	//   "TO_JSON"
   906  	//   "NOT"
   907  	//   "AND"
   908  	//   "NAND"
   909  	//   "OR"
   910  	//   "XOR"
   911  	//   "NOR"
   912  	//   "XNOR"
   913  	//   "TO_STRING"
   914  	//   "EQUALS"
   915  	FunctionName string `json:"functionName,omitempty"`
   916  
   917  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
   918  	// unconditionally include in API requests. By default, fields with
   919  	// empty or default values are omitted from API requests. However, any
   920  	// non-pointer, non-interface field appearing in ForceSendFields will be
   921  	// sent to the server regardless of whether the field is empty or not.
   922  	// This may be used to include empty fields in Patch requests.
   923  	ForceSendFields []string `json:"-"`
   924  
   925  	// NullFields is a list of field names (e.g. "FunctionName") to include
   926  	// in API requests with the JSON null value. By default, fields with
   927  	// empty values are omitted from API requests. However, any field with
   928  	// an empty value appearing in NullFields will be sent to the server as
   929  	// null. It is an error if a field in this list has a non-empty value.
   930  	// This may be used to include null fields in Patch requests.
   931  	NullFields []string `json:"-"`
   932  }
   933  
   934  func (s *EnterpriseCrmEventbusProtoBooleanFunction) MarshalJSON() ([]byte, error) {
   935  	type NoMethod EnterpriseCrmEventbusProtoBooleanFunction
   936  	raw := NoMethod(*s)
   937  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   938  }
   939  
   940  type EnterpriseCrmEventbusProtoBooleanParameterArray struct {
   941  	BooleanValues []bool `json:"booleanValues,omitempty"`
   942  
   943  	// ForceSendFields is a list of field names (e.g. "BooleanValues") to
   944  	// unconditionally include in API requests. By default, fields with
   945  	// empty or default values are omitted from API requests. However, any
   946  	// non-pointer, non-interface field appearing in ForceSendFields will be
   947  	// sent to the server regardless of whether the field is empty or not.
   948  	// This may be used to include empty fields in Patch requests.
   949  	ForceSendFields []string `json:"-"`
   950  
   951  	// NullFields is a list of field names (e.g. "BooleanValues") to include
   952  	// in API requests with the JSON null value. By default, fields with
   953  	// empty values are omitted from API requests. However, any field with
   954  	// an empty value appearing in NullFields will be sent to the server as
   955  	// null. It is an error if a field in this list has a non-empty value.
   956  	// This may be used to include null fields in Patch requests.
   957  	NullFields []string `json:"-"`
   958  }
   959  
   960  func (s *EnterpriseCrmEventbusProtoBooleanParameterArray) MarshalJSON() ([]byte, error) {
   961  	type NoMethod EnterpriseCrmEventbusProtoBooleanParameterArray
   962  	raw := NoMethod(*s)
   963  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
   964  }
   965  
   966  type EnterpriseCrmEventbusProtoBuganizerNotification struct {
   967  	// AssigneeEmailAddress: Whom to assign the new bug. Optional.
   968  	AssigneeEmailAddress string `json:"assigneeEmailAddress,omitempty"`
   969  
   970  	// ComponentId: ID of the buganizer component within which to create a
   971  	// new issue. Required.
   972  	ComponentId int64 `json:"componentId,omitempty,string"`
   973  
   974  	// TemplateId: ID of the buganizer template to use. Optional.
   975  	TemplateId int64 `json:"templateId,omitempty,string"`
   976  
   977  	// Title: Title of the issue to be created. Required.
   978  	Title string `json:"title,omitempty"`
   979  
   980  	// ForceSendFields is a list of field names (e.g.
   981  	// "AssigneeEmailAddress") to unconditionally include in API requests.
   982  	// By default, fields with empty or default values are omitted from API
   983  	// requests. However, any non-pointer, non-interface field appearing in
   984  	// ForceSendFields will be sent to the server regardless of whether the
   985  	// field is empty or not. This may be used to include empty fields in
   986  	// Patch requests.
   987  	ForceSendFields []string `json:"-"`
   988  
   989  	// NullFields is a list of field names (e.g. "AssigneeEmailAddress") to
   990  	// include in API requests with the JSON null value. By default, fields
   991  	// with empty values are omitted from API requests. However, any field
   992  	// with an empty value appearing in NullFields will be sent to the
   993  	// server as null. It is an error if a field in this list has a
   994  	// non-empty value. This may be used to include null fields in Patch
   995  	// requests.
   996  	NullFields []string `json:"-"`
   997  }
   998  
   999  func (s *EnterpriseCrmEventbusProtoBuganizerNotification) MarshalJSON() ([]byte, error) {
  1000  	type NoMethod EnterpriseCrmEventbusProtoBuganizerNotification
  1001  	raw := NoMethod(*s)
  1002  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1003  }
  1004  
  1005  type EnterpriseCrmEventbusProtoCloudKmsConfig struct {
  1006  	// GcpProjectId: Optional. The id of GCP project where the KMS key is
  1007  	// stored. If not provided, assume the key is stored in the same GCP
  1008  	// project defined in Client (tag 14).
  1009  	GcpProjectId string `json:"gcpProjectId,omitempty"`
  1010  
  1011  	// KeyName: A Cloud KMS key is a named object containing one or more key
  1012  	// versions, along with metadata for the key. A key exists on exactly
  1013  	// one key ring tied to a specific location.
  1014  	KeyName string `json:"keyName,omitempty"`
  1015  
  1016  	// KeyRingName: A key ring organizes keys in a specific Google Cloud
  1017  	// location and allows you to manage access control on groups of keys. A
  1018  	// key ring's name does not need to be unique across a Google Cloud
  1019  	// project, but must be unique within a given location.
  1020  	KeyRingName string `json:"keyRingName,omitempty"`
  1021  
  1022  	// KeyVersionName: Optional. Each version of a key contains key material
  1023  	// used for encryption or signing. A key's version is represented by an
  1024  	// integer, starting at 1. To decrypt data or verify a signature, you
  1025  	// must use the same key version that was used to encrypt or sign the
  1026  	// data.
  1027  	KeyVersionName string `json:"keyVersionName,omitempty"`
  1028  
  1029  	// LocationName: Location name of the key ring, e.g. "us-west1".
  1030  	LocationName string `json:"locationName,omitempty"`
  1031  
  1032  	// ServiceAccount: Optional. The service account used for authentication
  1033  	// of this KMS key. If this is not provided, the service account in
  1034  	// Client.clientSource will be used.
  1035  	ServiceAccount string `json:"serviceAccount,omitempty"`
  1036  
  1037  	// ForceSendFields is a list of field names (e.g. "GcpProjectId") to
  1038  	// unconditionally include in API requests. By default, fields with
  1039  	// empty or default values are omitted from API requests. However, any
  1040  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1041  	// sent to the server regardless of whether the field is empty or not.
  1042  	// This may be used to include empty fields in Patch requests.
  1043  	ForceSendFields []string `json:"-"`
  1044  
  1045  	// NullFields is a list of field names (e.g. "GcpProjectId") to include
  1046  	// in API requests with the JSON null value. By default, fields with
  1047  	// empty values are omitted from API requests. However, any field with
  1048  	// an empty value appearing in NullFields will be sent to the server as
  1049  	// null. It is an error if a field in this list has a non-empty value.
  1050  	// This may be used to include null fields in Patch requests.
  1051  	NullFields []string `json:"-"`
  1052  }
  1053  
  1054  func (s *EnterpriseCrmEventbusProtoCloudKmsConfig) MarshalJSON() ([]byte, error) {
  1055  	type NoMethod EnterpriseCrmEventbusProtoCloudKmsConfig
  1056  	raw := NoMethod(*s)
  1057  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1058  }
  1059  
  1060  // EnterpriseCrmEventbusProtoCloudSchedulerConfig: Cloud Scheduler
  1061  // Trigger configuration
  1062  type EnterpriseCrmEventbusProtoCloudSchedulerConfig struct {
  1063  	// CronTab: Required. The cron tab of cloud scheduler trigger.
  1064  	CronTab string `json:"cronTab,omitempty"`
  1065  
  1066  	// ErrorMessage: Optional. When the job was deleted from Pantheon UI,
  1067  	// error_message will be populated when Get/List integrations
  1068  	ErrorMessage string `json:"errorMessage,omitempty"`
  1069  
  1070  	// Location: Required. The location where associated cloud scheduler job
  1071  	// will be created
  1072  	Location string `json:"location,omitempty"`
  1073  
  1074  	// ServiceAccountEmail: Required. Service account used by Cloud
  1075  	// Scheduler to trigger the integration at scheduled time
  1076  	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
  1077  
  1078  	// ForceSendFields is a list of field names (e.g. "CronTab") to
  1079  	// unconditionally include in API requests. By default, fields with
  1080  	// empty or default values are omitted from API requests. However, any
  1081  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1082  	// sent to the server regardless of whether the field is empty or not.
  1083  	// This may be used to include empty fields in Patch requests.
  1084  	ForceSendFields []string `json:"-"`
  1085  
  1086  	// NullFields is a list of field names (e.g. "CronTab") to include in
  1087  	// API requests with the JSON null value. By default, fields with empty
  1088  	// values are omitted from API requests. However, any field with an
  1089  	// empty value appearing in NullFields will be sent to the server as
  1090  	// null. It is an error if a field in this list has a non-empty value.
  1091  	// This may be used to include null fields in Patch requests.
  1092  	NullFields []string `json:"-"`
  1093  }
  1094  
  1095  func (s *EnterpriseCrmEventbusProtoCloudSchedulerConfig) MarshalJSON() ([]byte, error) {
  1096  	type NoMethod EnterpriseCrmEventbusProtoCloudSchedulerConfig
  1097  	raw := NoMethod(*s)
  1098  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1099  }
  1100  
  1101  // EnterpriseCrmEventbusProtoCombinedCondition: This message recursively
  1102  // combines constituent conditions using logical AND.
  1103  type EnterpriseCrmEventbusProtoCombinedCondition struct {
  1104  	// Conditions: A set of individual constituent conditions.
  1105  	Conditions []*EnterpriseCrmEventbusProtoCondition `json:"conditions,omitempty"`
  1106  
  1107  	// ForceSendFields is a list of field names (e.g. "Conditions") to
  1108  	// unconditionally include in API requests. By default, fields with
  1109  	// empty or default values are omitted from API requests. However, any
  1110  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1111  	// sent to the server regardless of whether the field is empty or not.
  1112  	// This may be used to include empty fields in Patch requests.
  1113  	ForceSendFields []string `json:"-"`
  1114  
  1115  	// NullFields is a list of field names (e.g. "Conditions") to include in
  1116  	// API requests with the JSON null value. By default, fields with empty
  1117  	// values are omitted from API requests. However, any field with an
  1118  	// empty value appearing in NullFields will be sent to the server as
  1119  	// null. It is an error if a field in this list has a non-empty value.
  1120  	// This may be used to include null fields in Patch requests.
  1121  	NullFields []string `json:"-"`
  1122  }
  1123  
  1124  func (s *EnterpriseCrmEventbusProtoCombinedCondition) MarshalJSON() ([]byte, error) {
  1125  	type NoMethod EnterpriseCrmEventbusProtoCombinedCondition
  1126  	raw := NoMethod(*s)
  1127  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1128  }
  1129  
  1130  // EnterpriseCrmEventbusProtoCondition: Condition that uses `operator`
  1131  // to evaluate the key against the value.
  1132  type EnterpriseCrmEventbusProtoCondition struct {
  1133  	// EventPropertyKey: Key that's evaluated against the `value`. Please
  1134  	// note the data type of the runtime value associated with the key
  1135  	// should match the data type of `value`, else an
  1136  	// IllegalArgumentException is thrown.
  1137  	EventPropertyKey string `json:"eventPropertyKey,omitempty"`
  1138  
  1139  	// Operator: Operator used to evaluate the condition. Please note that
  1140  	// an operator with an inappropriate key/value operand will result in
  1141  	// IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
  1142  	//
  1143  	// Possible values:
  1144  	//   "UNSET"
  1145  	//   "EQUALS"
  1146  	//   "CONTAINS"
  1147  	//   "LESS_THAN"
  1148  	//   "GREATER_THAN"
  1149  	//   "EXISTS"
  1150  	//   "DOES_NOT_EXIST"
  1151  	//   "IS_EMPTY"
  1152  	//   "IS_NOT_EMPTY"
  1153  	Operator string `json:"operator,omitempty"`
  1154  
  1155  	// Value: Value that's checked for the key.
  1156  	Value *EnterpriseCrmEventbusProtoValueType `json:"value,omitempty"`
  1157  
  1158  	// ForceSendFields is a list of field names (e.g. "EventPropertyKey") to
  1159  	// unconditionally include in API requests. By default, fields with
  1160  	// empty or default values are omitted from API requests. However, any
  1161  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1162  	// sent to the server regardless of whether the field is empty or not.
  1163  	// This may be used to include empty fields in Patch requests.
  1164  	ForceSendFields []string `json:"-"`
  1165  
  1166  	// NullFields is a list of field names (e.g. "EventPropertyKey") to
  1167  	// include in API requests with the JSON null value. By default, fields
  1168  	// with empty values are omitted from API requests. However, any field
  1169  	// with an empty value appearing in NullFields will be sent to the
  1170  	// server as null. It is an error if a field in this list has a
  1171  	// non-empty value. This may be used to include null fields in Patch
  1172  	// requests.
  1173  	NullFields []string `json:"-"`
  1174  }
  1175  
  1176  func (s *EnterpriseCrmEventbusProtoCondition) MarshalJSON() ([]byte, error) {
  1177  	type NoMethod EnterpriseCrmEventbusProtoCondition
  1178  	raw := NoMethod(*s)
  1179  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1180  }
  1181  
  1182  // EnterpriseCrmEventbusProtoConditionResult: Contains the combined
  1183  // condition calculation results.
  1184  type EnterpriseCrmEventbusProtoConditionResult struct {
  1185  	// CurrentTaskNumber: the current task number.
  1186  	CurrentTaskNumber string `json:"currentTaskNumber,omitempty"`
  1187  
  1188  	// NextTaskNumber: the next task number.
  1189  	NextTaskNumber string `json:"nextTaskNumber,omitempty"`
  1190  
  1191  	// Result: the result comes out after evaluate the combined condition.
  1192  	// True if there's no combined condition specified.
  1193  	Result bool `json:"result,omitempty"`
  1194  
  1195  	// ForceSendFields is a list of field names (e.g. "CurrentTaskNumber")
  1196  	// to unconditionally include in API requests. By default, fields with
  1197  	// empty or default values are omitted from API requests. However, any
  1198  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1199  	// sent to the server regardless of whether the field is empty or not.
  1200  	// This may be used to include empty fields in Patch requests.
  1201  	ForceSendFields []string `json:"-"`
  1202  
  1203  	// NullFields is a list of field names (e.g. "CurrentTaskNumber") to
  1204  	// include in API requests with the JSON null value. By default, fields
  1205  	// with empty values are omitted from API requests. However, any field
  1206  	// with an empty value appearing in NullFields will be sent to the
  1207  	// server as null. It is an error if a field in this list has a
  1208  	// non-empty value. This may be used to include null fields in Patch
  1209  	// requests.
  1210  	NullFields []string `json:"-"`
  1211  }
  1212  
  1213  func (s *EnterpriseCrmEventbusProtoConditionResult) MarshalJSON() ([]byte, error) {
  1214  	type NoMethod EnterpriseCrmEventbusProtoConditionResult
  1215  	raw := NoMethod(*s)
  1216  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1217  }
  1218  
  1219  type EnterpriseCrmEventbusProtoConnectorsConnection struct {
  1220  	// ConnectionName: Connection name Format:
  1221  	// projects/{project}/locations/{location}/connections/{connection}
  1222  	ConnectionName string `json:"connectionName,omitempty"`
  1223  
  1224  	// ConnectorVersion: Connector version Format:
  1225  	// projects/{project}/locations/{location}/providers/{provider}/connector
  1226  	// s/{connector}/versions/{version}
  1227  	ConnectorVersion string `json:"connectorVersion,omitempty"`
  1228  
  1229  	// ServiceName: Service name Format:
  1230  	// projects/{project}/locations/{location}/namespaces/{namespace}/service
  1231  	// s/{service}
  1232  	ServiceName string `json:"serviceName,omitempty"`
  1233  
  1234  	// ForceSendFields is a list of field names (e.g. "ConnectionName") to
  1235  	// unconditionally include in API requests. By default, fields with
  1236  	// empty or default values are omitted from API requests. However, any
  1237  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1238  	// sent to the server regardless of whether the field is empty or not.
  1239  	// This may be used to include empty fields in Patch requests.
  1240  	ForceSendFields []string `json:"-"`
  1241  
  1242  	// NullFields is a list of field names (e.g. "ConnectionName") to
  1243  	// include in API requests with the JSON null value. By default, fields
  1244  	// with empty values are omitted from API requests. However, any field
  1245  	// with an empty value appearing in NullFields will be sent to the
  1246  	// server as null. It is an error if a field in this list has a
  1247  	// non-empty value. This may be used to include null fields in Patch
  1248  	// requests.
  1249  	NullFields []string `json:"-"`
  1250  }
  1251  
  1252  func (s *EnterpriseCrmEventbusProtoConnectorsConnection) MarshalJSON() ([]byte, error) {
  1253  	type NoMethod EnterpriseCrmEventbusProtoConnectorsConnection
  1254  	raw := NoMethod(*s)
  1255  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1256  }
  1257  
  1258  type EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig struct {
  1259  	// Connection: User-selected connection.
  1260  	Connection *EnterpriseCrmEventbusProtoConnectorsConnection `json:"connection,omitempty"`
  1261  
  1262  	// Operation: Operation to perform using the configured connection.
  1263  	//
  1264  	// Possible values:
  1265  	//   "OPERATION_UNSPECIFIED"
  1266  	//   "EXECUTE_ACTION"
  1267  	//   "LIST_ENTITIES"
  1268  	//   "GET_ENTITY"
  1269  	//   "CREATE_ENTITY"
  1270  	//   "UPDATE_ENTITY"
  1271  	//   "DELETE_ENTITY"
  1272  	Operation string `json:"operation,omitempty"`
  1273  
  1274  	// ForceSendFields is a list of field names (e.g. "Connection") to
  1275  	// unconditionally include in API requests. By default, fields with
  1276  	// empty or default values are omitted from API requests. However, any
  1277  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1278  	// sent to the server regardless of whether the field is empty or not.
  1279  	// This may be used to include empty fields in Patch requests.
  1280  	ForceSendFields []string `json:"-"`
  1281  
  1282  	// NullFields is a list of field names (e.g. "Connection") to include in
  1283  	// API requests with the JSON null value. By default, fields with empty
  1284  	// values are omitted from API requests. However, any field with an
  1285  	// empty value appearing in NullFields will be sent to the server as
  1286  	// null. It is an error if a field in this list has a non-empty value.
  1287  	// This may be used to include null fields in Patch requests.
  1288  	NullFields []string `json:"-"`
  1289  }
  1290  
  1291  func (s *EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig) MarshalJSON() ([]byte, error) {
  1292  	type NoMethod EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig
  1293  	raw := NoMethod(*s)
  1294  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1295  }
  1296  
  1297  // EnterpriseCrmEventbusProtoCoordinate: Represents two-dimensional
  1298  // positions.
  1299  type EnterpriseCrmEventbusProtoCoordinate struct {
  1300  	X int64 `json:"x,omitempty"`
  1301  
  1302  	Y int64 `json:"y,omitempty"`
  1303  
  1304  	// ForceSendFields is a list of field names (e.g. "X") to
  1305  	// unconditionally include in API requests. By default, fields with
  1306  	// empty or default values are omitted from API requests. However, any
  1307  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1308  	// sent to the server regardless of whether the field is empty or not.
  1309  	// This may be used to include empty fields in Patch requests.
  1310  	ForceSendFields []string `json:"-"`
  1311  
  1312  	// NullFields is a list of field names (e.g. "X") to include in API
  1313  	// requests with the JSON null value. By default, fields with empty
  1314  	// values are omitted from API requests. However, any field with an
  1315  	// empty value appearing in NullFields will be sent to the server as
  1316  	// null. It is an error if a field in this list has a non-empty value.
  1317  	// This may be used to include null fields in Patch requests.
  1318  	NullFields []string `json:"-"`
  1319  }
  1320  
  1321  func (s *EnterpriseCrmEventbusProtoCoordinate) MarshalJSON() ([]byte, error) {
  1322  	type NoMethod EnterpriseCrmEventbusProtoCoordinate
  1323  	raw := NoMethod(*s)
  1324  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1325  }
  1326  
  1327  type EnterpriseCrmEventbusProtoCustomSuspensionRequest struct {
  1328  	// PostToQueueWithTriggerIdRequest: Request to fire an event containing
  1329  	// the SuspensionInfo message.
  1330  	PostToQueueWithTriggerIdRequest *GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest `json:"postToQueueWithTriggerIdRequest,omitempty"`
  1331  
  1332  	// SuspensionInfoEventParameterKey: In the fired event, set the
  1333  	// SuspensionInfo message as the value for this key.
  1334  	SuspensionInfoEventParameterKey string `json:"suspensionInfoEventParameterKey,omitempty"`
  1335  
  1336  	// ForceSendFields is a list of field names (e.g.
  1337  	// "PostToQueueWithTriggerIdRequest") to unconditionally include in API
  1338  	// requests. By default, fields with empty or default values are omitted
  1339  	// from API requests. However, any non-pointer, non-interface field
  1340  	// appearing in ForceSendFields will be sent to the server regardless of
  1341  	// whether the field is empty or not. This may be used to include empty
  1342  	// fields in Patch requests.
  1343  	ForceSendFields []string `json:"-"`
  1344  
  1345  	// NullFields is a list of field names (e.g.
  1346  	// "PostToQueueWithTriggerIdRequest") to include in API requests with
  1347  	// the JSON null value. By default, fields with empty values are omitted
  1348  	// from API requests. However, any field with an empty value appearing
  1349  	// in NullFields will be sent to the server as null. It is an error if a
  1350  	// field in this list has a non-empty value. This may be used to include
  1351  	// null fields in Patch requests.
  1352  	NullFields []string `json:"-"`
  1353  }
  1354  
  1355  func (s *EnterpriseCrmEventbusProtoCustomSuspensionRequest) MarshalJSON() ([]byte, error) {
  1356  	type NoMethod EnterpriseCrmEventbusProtoCustomSuspensionRequest
  1357  	raw := NoMethod(*s)
  1358  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1359  }
  1360  
  1361  type EnterpriseCrmEventbusProtoDoubleArray struct {
  1362  	Values []float64 `json:"values,omitempty"`
  1363  
  1364  	// ForceSendFields is a list of field names (e.g. "Values") to
  1365  	// unconditionally include in API requests. By default, fields with
  1366  	// empty or default values are omitted from API requests. However, any
  1367  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1368  	// sent to the server regardless of whether the field is empty or not.
  1369  	// This may be used to include empty fields in Patch requests.
  1370  	ForceSendFields []string `json:"-"`
  1371  
  1372  	// NullFields is a list of field names (e.g. "Values") to include in API
  1373  	// requests with the JSON null value. By default, fields with empty
  1374  	// values are omitted from API requests. However, any field with an
  1375  	// empty value appearing in NullFields will be sent to the server as
  1376  	// null. It is an error if a field in this list has a non-empty value.
  1377  	// This may be used to include null fields in Patch requests.
  1378  	NullFields []string `json:"-"`
  1379  }
  1380  
  1381  func (s *EnterpriseCrmEventbusProtoDoubleArray) MarshalJSON() ([]byte, error) {
  1382  	type NoMethod EnterpriseCrmEventbusProtoDoubleArray
  1383  	raw := NoMethod(*s)
  1384  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1385  }
  1386  
  1387  func (s *EnterpriseCrmEventbusProtoDoubleArray) UnmarshalJSON(data []byte) error {
  1388  	type NoMethod EnterpriseCrmEventbusProtoDoubleArray
  1389  	var s1 struct {
  1390  		Values []gensupport.JSONFloat64 `json:"values"`
  1391  		*NoMethod
  1392  	}
  1393  	s1.NoMethod = (*NoMethod)(s)
  1394  	if err := json.Unmarshal(data, &s1); err != nil {
  1395  		return err
  1396  	}
  1397  	s.Values = make([]float64, len(s1.Values))
  1398  	for i := range s1.Values {
  1399  		s.Values[i] = float64(s1.Values[i])
  1400  	}
  1401  	return nil
  1402  }
  1403  
  1404  type EnterpriseCrmEventbusProtoDoubleArrayFunction struct {
  1405  	// Possible values:
  1406  	//   "UNSPECIFIED"
  1407  	//   "GET"
  1408  	//   "APPEND"
  1409  	//   "SIZE"
  1410  	//   "SUM"
  1411  	//   "AVG"
  1412  	//   "MAX"
  1413  	//   "MIN"
  1414  	//   "TO_SET"
  1415  	//   "APPEND_ALL"
  1416  	//   "TO_JSON"
  1417  	//   "SET"
  1418  	//   "REMOVE"
  1419  	//   "REMOVE_AT"
  1420  	//   "CONTAINS"
  1421  	//   "FOR_EACH"
  1422  	//   "FILTER"
  1423  	FunctionName string `json:"functionName,omitempty"`
  1424  
  1425  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  1426  	// unconditionally include in API requests. By default, fields with
  1427  	// empty or default values are omitted from API requests. However, any
  1428  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1429  	// sent to the server regardless of whether the field is empty or not.
  1430  	// This may be used to include empty fields in Patch requests.
  1431  	ForceSendFields []string `json:"-"`
  1432  
  1433  	// NullFields is a list of field names (e.g. "FunctionName") to include
  1434  	// in API requests with the JSON null value. By default, fields with
  1435  	// empty values are omitted from API requests. However, any field with
  1436  	// an empty value appearing in NullFields will be sent to the server as
  1437  	// null. It is an error if a field in this list has a non-empty value.
  1438  	// This may be used to include null fields in Patch requests.
  1439  	NullFields []string `json:"-"`
  1440  }
  1441  
  1442  func (s *EnterpriseCrmEventbusProtoDoubleArrayFunction) MarshalJSON() ([]byte, error) {
  1443  	type NoMethod EnterpriseCrmEventbusProtoDoubleArrayFunction
  1444  	raw := NoMethod(*s)
  1445  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1446  }
  1447  
  1448  type EnterpriseCrmEventbusProtoDoubleFunction struct {
  1449  	// Possible values:
  1450  	//   "UNSPECIFIED"
  1451  	//   "TO_JSON"
  1452  	//   "TO_STRING"
  1453  	//   "ADD"
  1454  	//   "SUBTRACT"
  1455  	//   "MULTIPLY"
  1456  	//   "DIVIDE"
  1457  	//   "EXPONENT"
  1458  	//   "ROUND"
  1459  	//   "FLOOR"
  1460  	//   "CEIL"
  1461  	//   "GREATER_THAN"
  1462  	//   "LESS_THAN"
  1463  	//   "EQUALS"
  1464  	//   "GREATER_THAN_EQUALS"
  1465  	//   "LESS_THAN_EQUALS"
  1466  	//   "MOD"
  1467  	FunctionName string `json:"functionName,omitempty"`
  1468  
  1469  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  1470  	// unconditionally include in API requests. By default, fields with
  1471  	// empty or default values are omitted from API requests. However, any
  1472  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1473  	// sent to the server regardless of whether the field is empty or not.
  1474  	// This may be used to include empty fields in Patch requests.
  1475  	ForceSendFields []string `json:"-"`
  1476  
  1477  	// NullFields is a list of field names (e.g. "FunctionName") to include
  1478  	// in API requests with the JSON null value. By default, fields with
  1479  	// empty values are omitted from API requests. However, any field with
  1480  	// an empty value appearing in NullFields will be sent to the server as
  1481  	// null. It is an error if a field in this list has a non-empty value.
  1482  	// This may be used to include null fields in Patch requests.
  1483  	NullFields []string `json:"-"`
  1484  }
  1485  
  1486  func (s *EnterpriseCrmEventbusProtoDoubleFunction) MarshalJSON() ([]byte, error) {
  1487  	type NoMethod EnterpriseCrmEventbusProtoDoubleFunction
  1488  	raw := NoMethod(*s)
  1489  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1490  }
  1491  
  1492  type EnterpriseCrmEventbusProtoDoubleParameterArray struct {
  1493  	DoubleValues []float64 `json:"doubleValues,omitempty"`
  1494  
  1495  	// ForceSendFields is a list of field names (e.g. "DoubleValues") to
  1496  	// unconditionally include in API requests. By default, fields with
  1497  	// empty or default values are omitted from API requests. However, any
  1498  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1499  	// sent to the server regardless of whether the field is empty or not.
  1500  	// This may be used to include empty fields in Patch requests.
  1501  	ForceSendFields []string `json:"-"`
  1502  
  1503  	// NullFields is a list of field names (e.g. "DoubleValues") to include
  1504  	// in API requests with the JSON null value. By default, fields with
  1505  	// empty values are omitted from API requests. However, any field with
  1506  	// an empty value appearing in NullFields will be sent to the server as
  1507  	// null. It is an error if a field in this list has a non-empty value.
  1508  	// This may be used to include null fields in Patch requests.
  1509  	NullFields []string `json:"-"`
  1510  }
  1511  
  1512  func (s *EnterpriseCrmEventbusProtoDoubleParameterArray) MarshalJSON() ([]byte, error) {
  1513  	type NoMethod EnterpriseCrmEventbusProtoDoubleParameterArray
  1514  	raw := NoMethod(*s)
  1515  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1516  }
  1517  
  1518  func (s *EnterpriseCrmEventbusProtoDoubleParameterArray) UnmarshalJSON(data []byte) error {
  1519  	type NoMethod EnterpriseCrmEventbusProtoDoubleParameterArray
  1520  	var s1 struct {
  1521  		DoubleValues []gensupport.JSONFloat64 `json:"doubleValues"`
  1522  		*NoMethod
  1523  	}
  1524  	s1.NoMethod = (*NoMethod)(s)
  1525  	if err := json.Unmarshal(data, &s1); err != nil {
  1526  		return err
  1527  	}
  1528  	s.DoubleValues = make([]float64, len(s1.DoubleValues))
  1529  	for i := range s1.DoubleValues {
  1530  		s.DoubleValues[i] = float64(s1.DoubleValues[i])
  1531  	}
  1532  	return nil
  1533  }
  1534  
  1535  // EnterpriseCrmEventbusProtoErrorDetail: An error, warning, or
  1536  // information message associated with a workflow.
  1537  type EnterpriseCrmEventbusProtoErrorDetail struct {
  1538  	// ErrorCode: The associated error-code, which can be a common or
  1539  	// internal code.
  1540  	ErrorCode *CrmlogErrorCode `json:"errorCode,omitempty"`
  1541  
  1542  	// ErrorMessage: The full text of the error message, including any
  1543  	// parameters that were thrown along with the exception.
  1544  	ErrorMessage string `json:"errorMessage,omitempty"`
  1545  
  1546  	// Severity: The severity of the error: ERROR|WARN|INFO.
  1547  	//
  1548  	// Possible values:
  1549  	//   "SEVERITY_UNSPECIFIED"
  1550  	//   "ERROR"
  1551  	//   "WARN"
  1552  	//   "INFO"
  1553  	Severity string `json:"severity,omitempty"`
  1554  
  1555  	// TaskNumber: The task try-number, in which, the error occurred. If
  1556  	// zero, the error happened at the event level.
  1557  	TaskNumber int64 `json:"taskNumber,omitempty"`
  1558  
  1559  	// ForceSendFields is a list of field names (e.g. "ErrorCode") to
  1560  	// unconditionally include in API requests. By default, fields with
  1561  	// empty or default values are omitted from API requests. However, any
  1562  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1563  	// sent to the server regardless of whether the field is empty or not.
  1564  	// This may be used to include empty fields in Patch requests.
  1565  	ForceSendFields []string `json:"-"`
  1566  
  1567  	// NullFields is a list of field names (e.g. "ErrorCode") to include in
  1568  	// API requests with the JSON null value. By default, fields with empty
  1569  	// values are omitted from API requests. However, any field with an
  1570  	// empty value appearing in NullFields will be sent to the server as
  1571  	// null. It is an error if a field in this list has a non-empty value.
  1572  	// This may be used to include null fields in Patch requests.
  1573  	NullFields []string `json:"-"`
  1574  }
  1575  
  1576  func (s *EnterpriseCrmEventbusProtoErrorDetail) MarshalJSON() ([]byte, error) {
  1577  	type NoMethod EnterpriseCrmEventbusProtoErrorDetail
  1578  	raw := NoMethod(*s)
  1579  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1580  }
  1581  
  1582  // EnterpriseCrmEventbusProtoEventBusProperties: LINT.IfChange This
  1583  // message is used for storing key value pair properties for each Event
  1584  // / Task in the EventBus.
  1585  type EnterpriseCrmEventbusProtoEventBusProperties struct {
  1586  	// Properties: An unordered list of property entries.
  1587  	Properties []*EnterpriseCrmEventbusProtoPropertyEntry `json:"properties,omitempty"`
  1588  
  1589  	// ForceSendFields is a list of field names (e.g. "Properties") to
  1590  	// unconditionally include in API requests. By default, fields with
  1591  	// empty or default values are omitted from API requests. However, any
  1592  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1593  	// sent to the server regardless of whether the field is empty or not.
  1594  	// This may be used to include empty fields in Patch requests.
  1595  	ForceSendFields []string `json:"-"`
  1596  
  1597  	// NullFields is a list of field names (e.g. "Properties") to include in
  1598  	// API requests with the JSON null value. By default, fields with empty
  1599  	// values are omitted from API requests. However, any field with an
  1600  	// empty value appearing in NullFields will be sent to the server as
  1601  	// null. It is an error if a field in this list has a non-empty value.
  1602  	// This may be used to include null fields in Patch requests.
  1603  	NullFields []string `json:"-"`
  1604  }
  1605  
  1606  func (s *EnterpriseCrmEventbusProtoEventBusProperties) MarshalJSON() ([]byte, error) {
  1607  	type NoMethod EnterpriseCrmEventbusProtoEventBusProperties
  1608  	raw := NoMethod(*s)
  1609  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1610  }
  1611  
  1612  // EnterpriseCrmEventbusProtoEventExecutionDetails: Contains the details
  1613  // of the execution info of this event: this includes the tasks
  1614  // execution details plus the event execution statistics. Next available
  1615  // id: 10
  1616  type EnterpriseCrmEventbusProtoEventExecutionDetails struct {
  1617  	EventAttemptStats []*EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats `json:"eventAttemptStats,omitempty"`
  1618  
  1619  	EventExecutionSnapshot []*EnterpriseCrmEventbusProtoEventExecutionSnapshot `json:"eventExecutionSnapshot,omitempty"`
  1620  
  1621  	// Possible values:
  1622  	//   "UNSPECIFIED"
  1623  	//   "ON_HOLD" - Event is received and waiting for the execution. This
  1624  	// happens when firing the event via "postToQueue" or "schedule".
  1625  	//   "IN_PROCESS" - Event is under processing.
  1626  	//   "SUCCEEDED" - Event execution successfully finished. There's no
  1627  	// more change after this state.
  1628  	//   "FAILED" - Event execution failed. There's no more change after
  1629  	// this state.
  1630  	//   "CANCELED" - Event execution canceled by user. There's no more
  1631  	// change after this state.
  1632  	//   "RETRY_ON_HOLD" - Event execution failed and waiting for retry.
  1633  	//   "SUSPENDED" - Event execution suspended and waiting for manual
  1634  	// intervention.
  1635  	EventExecutionState string `json:"eventExecutionState,omitempty"`
  1636  
  1637  	// EventRetriesFromBeginningCount: Indicates the number of times the
  1638  	// execution has restarted from the beginning.
  1639  	EventRetriesFromBeginningCount int64 `json:"eventRetriesFromBeginningCount,omitempty"`
  1640  
  1641  	// LogFilePath: The log file path (aka. cns address) for this event.
  1642  	LogFilePath string `json:"logFilePath,omitempty"`
  1643  
  1644  	// NetworkAddress: The network address (aka. bns address) that indicates
  1645  	// where the event executor is running.
  1646  	NetworkAddress string `json:"networkAddress,omitempty"`
  1647  
  1648  	// NextExecutionTime: Next scheduled execution time in case the
  1649  	// execution status was RETRY_ON_HOLD.
  1650  	NextExecutionTime int64 `json:"nextExecutionTime,omitempty,string"`
  1651  
  1652  	// RyeLockUnheldCount: Used internally and shouldn't be exposed to
  1653  	// users. A counter for the cron job to record how many times this event
  1654  	// is in in_process state but don't have a lock consecutively/
  1655  	RyeLockUnheldCount int64 `json:"ryeLockUnheldCount,omitempty"`
  1656  
  1657  	// ForceSendFields is a list of field names (e.g. "EventAttemptStats")
  1658  	// to unconditionally include in API requests. By default, fields with
  1659  	// empty or default values are omitted from API requests. However, any
  1660  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1661  	// sent to the server regardless of whether the field is empty or not.
  1662  	// This may be used to include empty fields in Patch requests.
  1663  	ForceSendFields []string `json:"-"`
  1664  
  1665  	// NullFields is a list of field names (e.g. "EventAttemptStats") to
  1666  	// include in API requests with the JSON null value. By default, fields
  1667  	// with empty values are omitted from API requests. However, any field
  1668  	// with an empty value appearing in NullFields will be sent to the
  1669  	// server as null. It is an error if a field in this list has a
  1670  	// non-empty value. This may be used to include null fields in Patch
  1671  	// requests.
  1672  	NullFields []string `json:"-"`
  1673  }
  1674  
  1675  func (s *EnterpriseCrmEventbusProtoEventExecutionDetails) MarshalJSON() ([]byte, error) {
  1676  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionDetails
  1677  	raw := NoMethod(*s)
  1678  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1679  }
  1680  
  1681  type EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats struct {
  1682  	// EndTime: The end time of the event execution for current attempt.
  1683  	EndTime int64 `json:"endTime,omitempty,string"`
  1684  
  1685  	// StartTime: The start time of the event execution for current attempt.
  1686  	// This could be in the future if it's been scheduled.
  1687  	StartTime int64 `json:"startTime,omitempty,string"`
  1688  
  1689  	// ForceSendFields is a list of field names (e.g. "EndTime") to
  1690  	// unconditionally include in API requests. By default, fields with
  1691  	// empty or default values are omitted from API requests. However, any
  1692  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1693  	// sent to the server regardless of whether the field is empty or not.
  1694  	// This may be used to include empty fields in Patch requests.
  1695  	ForceSendFields []string `json:"-"`
  1696  
  1697  	// NullFields is a list of field names (e.g. "EndTime") to include in
  1698  	// API requests with the JSON null value. By default, fields with empty
  1699  	// values are omitted from API requests. However, any field with an
  1700  	// empty value appearing in NullFields will be sent to the server as
  1701  	// null. It is an error if a field in this list has a non-empty value.
  1702  	// This may be used to include null fields in Patch requests.
  1703  	NullFields []string `json:"-"`
  1704  }
  1705  
  1706  func (s *EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats) MarshalJSON() ([]byte, error) {
  1707  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats
  1708  	raw := NoMethod(*s)
  1709  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1710  }
  1711  
  1712  // EnterpriseCrmEventbusProtoEventExecutionSnapshot: Contains the
  1713  // snapshot of the event execution for a given checkpoint. Next
  1714  // available id: 13
  1715  type EnterpriseCrmEventbusProtoEventExecutionSnapshot struct {
  1716  	// CheckpointTaskNumber: Indicates "right after which checkpoint task's
  1717  	// execution" this snapshot is taken.
  1718  	CheckpointTaskNumber string `json:"checkpointTaskNumber,omitempty"`
  1719  
  1720  	// ConditionResults: All of the computed conditions that been
  1721  	// calculated.
  1722  	ConditionResults []*EnterpriseCrmEventbusProtoConditionResult `json:"conditionResults,omitempty"`
  1723  
  1724  	// DiffParams: The parameters in Event object that differs from last
  1725  	// snapshot.
  1726  	DiffParams *EnterpriseCrmEventbusProtoEventParameters `json:"diffParams,omitempty"`
  1727  
  1728  	// EventExecutionInfoId: Points to the event execution info this
  1729  	// snapshot belongs to.
  1730  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  1731  
  1732  	// EventExecutionSnapshotId: Auto-generated. Used as primary key for
  1733  	// EventExecutionSnapshots table.
  1734  	EventExecutionSnapshotId string `json:"eventExecutionSnapshotId,omitempty"`
  1735  
  1736  	EventExecutionSnapshotMetadata *EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata `json:"eventExecutionSnapshotMetadata,omitempty"`
  1737  
  1738  	// EventParams: The parameters in Event object.
  1739  	EventParams *EnterpriseCrmEventbusProtoEventParameters `json:"eventParams,omitempty"`
  1740  
  1741  	// ExceedMaxSize: indicate whether snapshot exceeded maximum size before
  1742  	// clean up
  1743  	ExceedMaxSize bool `json:"exceedMaxSize,omitempty"`
  1744  
  1745  	// SnapshotTime: Indicates when this snapshot is taken.
  1746  	SnapshotTime int64 `json:"snapshotTime,omitempty,string"`
  1747  
  1748  	// TaskExecutionDetails: All of the task execution details at the given
  1749  	// point of time.
  1750  	TaskExecutionDetails []*EnterpriseCrmEventbusProtoTaskExecutionDetails `json:"taskExecutionDetails,omitempty"`
  1751  
  1752  	// TaskName: The task name associated with this snapshot. Could be
  1753  	// empty.
  1754  	TaskName string `json:"taskName,omitempty"`
  1755  
  1756  	// ForceSendFields is a list of field names (e.g.
  1757  	// "CheckpointTaskNumber") to unconditionally include in API requests.
  1758  	// By default, fields with empty or default values are omitted from API
  1759  	// requests. However, any non-pointer, non-interface field appearing in
  1760  	// ForceSendFields will be sent to the server regardless of whether the
  1761  	// field is empty or not. This may be used to include empty fields in
  1762  	// Patch requests.
  1763  	ForceSendFields []string `json:"-"`
  1764  
  1765  	// NullFields is a list of field names (e.g. "CheckpointTaskNumber") to
  1766  	// include in API requests with the JSON null value. By default, fields
  1767  	// with empty values are omitted from API requests. However, any field
  1768  	// with an empty value appearing in NullFields will be sent to the
  1769  	// server as null. It is an error if a field in this list has a
  1770  	// non-empty value. This may be used to include null fields in Patch
  1771  	// requests.
  1772  	NullFields []string `json:"-"`
  1773  }
  1774  
  1775  func (s *EnterpriseCrmEventbusProtoEventExecutionSnapshot) MarshalJSON() ([]byte, error) {
  1776  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionSnapshot
  1777  	raw := NoMethod(*s)
  1778  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1779  }
  1780  
  1781  type EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata struct {
  1782  	// EventAttemptNum: the event attempt number this snapshot belongs to.
  1783  	EventAttemptNum int64 `json:"eventAttemptNum,omitempty"`
  1784  
  1785  	// TaskAttemptNum: the task attempt number this snapshot belongs to.
  1786  	// Could be empty.
  1787  	TaskAttemptNum int64 `json:"taskAttemptNum,omitempty"`
  1788  
  1789  	// TaskLabel: the task label associated with this snapshot. Could be
  1790  	// empty.
  1791  	TaskLabel string `json:"taskLabel,omitempty"`
  1792  
  1793  	// TaskName: the task name associated with this snapshot. Could be
  1794  	// empty.
  1795  	TaskName string `json:"taskName,omitempty"`
  1796  
  1797  	// TaskNumber: The task number associated with this snapshot. Could be
  1798  	// empty.
  1799  	TaskNumber string `json:"taskNumber,omitempty"`
  1800  
  1801  	// ForceSendFields is a list of field names (e.g. "EventAttemptNum") to
  1802  	// unconditionally include in API requests. By default, fields with
  1803  	// empty or default values are omitted from API requests. However, any
  1804  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1805  	// sent to the server regardless of whether the field is empty or not.
  1806  	// This may be used to include empty fields in Patch requests.
  1807  	ForceSendFields []string `json:"-"`
  1808  
  1809  	// NullFields is a list of field names (e.g. "EventAttemptNum") to
  1810  	// include in API requests with the JSON null value. By default, fields
  1811  	// with empty values are omitted from API requests. However, any field
  1812  	// with an empty value appearing in NullFields will be sent to the
  1813  	// server as null. It is an error if a field in this list has a
  1814  	// non-empty value. This may be used to include null fields in Patch
  1815  	// requests.
  1816  	NullFields []string `json:"-"`
  1817  }
  1818  
  1819  func (s *EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata) MarshalJSON() ([]byte, error) {
  1820  	type NoMethod EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata
  1821  	raw := NoMethod(*s)
  1822  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1823  }
  1824  
  1825  // EnterpriseCrmEventbusProtoEventParameters: LINT.IfChange This message
  1826  // is used for processing and persisting (when applicable) key value
  1827  // pair parameters for each event in the event bus. Please see
  1828  type EnterpriseCrmEventbusProtoEventParameters struct {
  1829  	// Parameters: Parameters are a part of Event and can be used to
  1830  	// communicate between different tasks that are part of the same
  1831  	// integration execution.
  1832  	Parameters []*EnterpriseCrmEventbusProtoParameterEntry `json:"parameters,omitempty"`
  1833  
  1834  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  1835  	// unconditionally include in API requests. By default, fields with
  1836  	// empty or default values are omitted from API requests. However, any
  1837  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1838  	// sent to the server regardless of whether the field is empty or not.
  1839  	// This may be used to include empty fields in Patch requests.
  1840  	ForceSendFields []string `json:"-"`
  1841  
  1842  	// NullFields is a list of field names (e.g. "Parameters") to include in
  1843  	// API requests with the JSON null value. By default, fields with empty
  1844  	// values are omitted from API requests. However, any field with an
  1845  	// empty value appearing in NullFields will be sent to the server as
  1846  	// null. It is an error if a field in this list has a non-empty value.
  1847  	// This may be used to include null fields in Patch requests.
  1848  	NullFields []string `json:"-"`
  1849  }
  1850  
  1851  func (s *EnterpriseCrmEventbusProtoEventParameters) MarshalJSON() ([]byte, error) {
  1852  	type NoMethod EnterpriseCrmEventbusProtoEventParameters
  1853  	raw := NoMethod(*s)
  1854  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1855  }
  1856  
  1857  // EnterpriseCrmEventbusProtoExecutionTraceInfo: Message that helps
  1858  // aggregate all sub-executions triggered by one execution and keeps
  1859  // track of child-parent relationships.
  1860  type EnterpriseCrmEventbusProtoExecutionTraceInfo struct {
  1861  	// ParentEventExecutionInfoId: Parent event execution info id that
  1862  	// triggers the current execution through SubWorkflowExecutorTask.
  1863  	ParentEventExecutionInfoId string `json:"parentEventExecutionInfoId,omitempty"`
  1864  
  1865  	// TraceId: Used to aggregate ExecutionTraceInfo.
  1866  	TraceId string `json:"traceId,omitempty"`
  1867  
  1868  	// ForceSendFields is a list of field names (e.g.
  1869  	// "ParentEventExecutionInfoId") to unconditionally include in API
  1870  	// requests. By default, fields with empty or default values are omitted
  1871  	// from API requests. However, any non-pointer, non-interface field
  1872  	// appearing in ForceSendFields will be sent to the server regardless of
  1873  	// whether the field is empty or not. This may be used to include empty
  1874  	// fields in Patch requests.
  1875  	ForceSendFields []string `json:"-"`
  1876  
  1877  	// NullFields is a list of field names (e.g.
  1878  	// "ParentEventExecutionInfoId") to include in API requests with the
  1879  	// JSON null value. By default, fields with empty values are omitted
  1880  	// from API requests. However, any field with an empty value appearing
  1881  	// in NullFields will be sent to the server as null. It is an error if a
  1882  	// field in this list has a non-empty value. This may be used to include
  1883  	// null fields in Patch requests.
  1884  	NullFields []string `json:"-"`
  1885  }
  1886  
  1887  func (s *EnterpriseCrmEventbusProtoExecutionTraceInfo) MarshalJSON() ([]byte, error) {
  1888  	type NoMethod EnterpriseCrmEventbusProtoExecutionTraceInfo
  1889  	raw := NoMethod(*s)
  1890  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1891  }
  1892  
  1893  // EnterpriseCrmEventbusProtoExternalTraffic: Represents external
  1894  // traffic type and id.
  1895  type EnterpriseCrmEventbusProtoExternalTraffic struct {
  1896  	// GcpProjectId: User’s GCP project id the traffic is referring to.
  1897  	GcpProjectId string `json:"gcpProjectId,omitempty"`
  1898  
  1899  	// GcpProjectNumber: User’s GCP project number the traffic is
  1900  	// referring to.
  1901  	GcpProjectNumber string `json:"gcpProjectNumber,omitempty"`
  1902  
  1903  	// Location: Location for the user's request.
  1904  	Location string `json:"location,omitempty"`
  1905  
  1906  	// Source:
  1907  	// LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.
  1908  	// proto:product,
  1909  	// //depot/google3/java/com/google/enterprise/crm/integrationplatform/api
  1910  	// /utils/ConverterUtils.java:source_to_product)
  1911  	//
  1912  	// Possible values:
  1913  	//   "SOURCE_UNSPECIFIED"
  1914  	//   "APIGEE"
  1915  	//   "SECURITY"
  1916  	Source string `json:"source,omitempty"`
  1917  
  1918  	// ForceSendFields is a list of field names (e.g. "GcpProjectId") to
  1919  	// unconditionally include in API requests. By default, fields with
  1920  	// empty or default values are omitted from API requests. However, any
  1921  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1922  	// sent to the server regardless of whether the field is empty or not.
  1923  	// This may be used to include empty fields in Patch requests.
  1924  	ForceSendFields []string `json:"-"`
  1925  
  1926  	// NullFields is a list of field names (e.g. "GcpProjectId") to include
  1927  	// in API requests with the JSON null value. By default, fields with
  1928  	// empty values are omitted from API requests. However, any field with
  1929  	// an empty value appearing in NullFields will be sent to the server as
  1930  	// null. It is an error if a field in this list has a non-empty value.
  1931  	// This may be used to include null fields in Patch requests.
  1932  	NullFields []string `json:"-"`
  1933  }
  1934  
  1935  func (s *EnterpriseCrmEventbusProtoExternalTraffic) MarshalJSON() ([]byte, error) {
  1936  	type NoMethod EnterpriseCrmEventbusProtoExternalTraffic
  1937  	raw := NoMethod(*s)
  1938  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  1939  }
  1940  
  1941  // EnterpriseCrmEventbusProtoFailurePolicy: Policy that defines the task
  1942  // retry logic and failure type. If no FailurePolicy is defined for a
  1943  // task, all its dependent tasks will not be executed (i.e, a
  1944  // `retry_strategy` of NONE will be applied).
  1945  type EnterpriseCrmEventbusProtoFailurePolicy struct {
  1946  	// IntervalInSeconds: Required if retry_strategy is FIXED_INTERVAL or
  1947  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
  1948  	// initial interval for backoff.
  1949  	IntervalInSeconds int64 `json:"intervalInSeconds,omitempty,string"`
  1950  
  1951  	// MaxNumRetries: Required if retry_strategy is FIXED_INTERVAL or
  1952  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the
  1953  	// number of times the task will be retried if failed.
  1954  	MaxNumRetries int64 `json:"maxNumRetries,omitempty"`
  1955  
  1956  	// RetryStrategy: Defines what happens to the task upon failure.
  1957  	//
  1958  	// Possible values:
  1959  	//   "UNSPECIFIED"
  1960  	//   "IGNORE" - Ignores the failure of this task. The rest of the
  1961  	// workflow will be executed Assuming this task succeeded.
  1962  	//   "NONE" - Causes a permanent failure of the task. However, if the
  1963  	// last task(s) of event was successfully completed despite the failure
  1964  	// of this task, it has no impact on the workflow.
  1965  	//   "FATAL" - Causes a permanent failure of the event. It is different
  1966  	// from NONE because this will mark the event as FAILED by shutting down
  1967  	// the event execution.
  1968  	//   "FIXED_INTERVAL" - The task will be retried from the failed task
  1969  	// onwards after a fixed delay. A max-retry count is required to be
  1970  	// specified with this strategy. A jitter is added to each exponential
  1971  	// interval so that concurrently failing tasks of the same type do not
  1972  	// end up retrying after the exact same exponential interval.
  1973  	// Max_num_retries and interval_in_seconds must be specified.
  1974  	//   "LINEAR_BACKOFF" - The task will be retried from the failed task
  1975  	// onwards after a fixed delay that linearly increases with each retry
  1976  	// attempt. A jitter is added to each exponential interval so that
  1977  	// concurrently failing tasks of the same type do not end up retrying
  1978  	// after the exact same exponential interval. A max-retry count is
  1979  	// required to be specified with this strategy. Max_num_retries and
  1980  	// interval_in_seconds must be specified.
  1981  	//   "EXPONENTIAL_BACKOFF" - The task will be retried after an
  1982  	// exponentially increasing period of time with each failure. A jitter
  1983  	// is added to each exponential interval so that concurrently failing
  1984  	// tasks of the same type do not end up retrying after the exact same
  1985  	// exponential interval. A max-retry count is required to be specified
  1986  	// with this strategy. `max_num_retries` and `interval_in_seconds` must
  1987  	// be specified.
  1988  	//   "RESTART_WORKFLOW_WITH_BACKOFF" - The entire workflow will be
  1989  	// restarted with the initial parameters that were set when the event
  1990  	// was fired. A max-retry count is required to be specified with this
  1991  	// strategy. `max_num_retries` and `interval_in_seconds` must be
  1992  	// specified.
  1993  	RetryStrategy string `json:"retryStrategy,omitempty"`
  1994  
  1995  	// ForceSendFields is a list of field names (e.g. "IntervalInSeconds")
  1996  	// to unconditionally include in API requests. By default, fields with
  1997  	// empty or default values are omitted from API requests. However, any
  1998  	// non-pointer, non-interface field appearing in ForceSendFields will be
  1999  	// sent to the server regardless of whether the field is empty or not.
  2000  	// This may be used to include empty fields in Patch requests.
  2001  	ForceSendFields []string `json:"-"`
  2002  
  2003  	// NullFields is a list of field names (e.g. "IntervalInSeconds") to
  2004  	// include in API requests with the JSON null value. By default, fields
  2005  	// with empty values are omitted from API requests. However, any field
  2006  	// with an empty value appearing in NullFields will be sent to the
  2007  	// server as null. It is an error if a field in this list has a
  2008  	// non-empty value. This may be used to include null fields in Patch
  2009  	// requests.
  2010  	NullFields []string `json:"-"`
  2011  }
  2012  
  2013  func (s *EnterpriseCrmEventbusProtoFailurePolicy) MarshalJSON() ([]byte, error) {
  2014  	type NoMethod EnterpriseCrmEventbusProtoFailurePolicy
  2015  	raw := NoMethod(*s)
  2016  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2017  }
  2018  
  2019  // EnterpriseCrmEventbusProtoField: Information about the value and type
  2020  // of the field.
  2021  type EnterpriseCrmEventbusProtoField struct {
  2022  	// Cardinality: By default, if the cardinality is unspecified the field
  2023  	// is considered required while mapping.
  2024  	//
  2025  	// Possible values:
  2026  	//   "UNSPECIFIED" - For fields with unspecified cardinality.
  2027  	//   "OPTIONAL" - If field cardinality is set to optional, ignore errors
  2028  	// if input field value is null or the reference_key is not found.
  2029  	Cardinality string `json:"cardinality,omitempty"`
  2030  
  2031  	// DefaultValue: This holds the default values for the fields. This
  2032  	// value is supplied by user so may or may not contain PII or SPII data.
  2033  	DefaultValue *EnterpriseCrmEventbusProtoParameterValueType `json:"defaultValue,omitempty"`
  2034  
  2035  	// FieldType: Specifies the data type of the field.
  2036  	//
  2037  	// Possible values:
  2038  	//   "DATA_TYPE_UNSPECIFIED"
  2039  	//   "STRING_VALUE"
  2040  	//   "INT_VALUE"
  2041  	//   "DOUBLE_VALUE"
  2042  	//   "BOOLEAN_VALUE"
  2043  	//   "PROTO_VALUE"
  2044  	//   "SERIALIZED_OBJECT_VALUE"
  2045  	//   "STRING_ARRAY"
  2046  	//   "INT_ARRAY"
  2047  	//   "DOUBLE_ARRAY"
  2048  	//   "PROTO_ARRAY"
  2049  	//   "PROTO_ENUM"
  2050  	//   "BOOLEAN_ARRAY"
  2051  	//   "PROTO_ENUM_ARRAY"
  2052  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  2053  	// top-level params. They're only meant to support protobufs with BYTES
  2054  	// (sub)fields.
  2055  	//   "BYTES_ARRAY"
  2056  	//   "NON_SERIALIZABLE_OBJECT"
  2057  	//   "JSON_VALUE"
  2058  	FieldType string `json:"fieldType,omitempty"`
  2059  
  2060  	// ProtoDefPath: Optional. The fully qualified proto name (e.g.
  2061  	// enterprise.crm.storage.Account). Required for output field of type
  2062  	// PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES
  2063  	// and output field_type is PROTO_VALUE, then fully qualified proto type
  2064  	// url should be provided to parse the input bytes. If field_type is
  2065  	// *_ARRAY, then all the converted protos are of the same type.
  2066  	ProtoDefPath string `json:"protoDefPath,omitempty"`
  2067  
  2068  	// ReferenceKey: This holds the reference key of the workflow or task
  2069  	// parameter. 1. Any workflow parameter, for e.g. $workflowParam1$. 2.
  2070  	// Any task input or output parameter, for e.g. $task1_param1$. 3. Any
  2071  	// workflow or task parameters with subfield references, for e.g.,
  2072  	// $task1_param1.employee.id$
  2073  	ReferenceKey string `json:"referenceKey,omitempty"`
  2074  
  2075  	// TransformExpression: This is the transform expression to fetch the
  2076  	// input field value. for e.g. $param1$.CONCAT('test'). Keep points - 1.
  2077  	// Only input field can have a transform expression. 2. If a transform
  2078  	// expression is provided, reference_key will be ignored. 3. If no value
  2079  	// is returned after evaluation of transform expression, default_value
  2080  	// can be mapped if provided. 4. The field_type should be the type of
  2081  	// the final object returned after the transform expression is
  2082  	// evaluated. Scrubs the transform expression before logging as value
  2083  	// provided by user so may or may not contain PII or SPII data.
  2084  	TransformExpression *EnterpriseCrmEventbusProtoTransformExpression `json:"transformExpression,omitempty"`
  2085  
  2086  	// ForceSendFields is a list of field names (e.g. "Cardinality") to
  2087  	// unconditionally include in API requests. By default, fields with
  2088  	// empty or default values are omitted from API requests. However, any
  2089  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2090  	// sent to the server regardless of whether the field is empty or not.
  2091  	// This may be used to include empty fields in Patch requests.
  2092  	ForceSendFields []string `json:"-"`
  2093  
  2094  	// NullFields is a list of field names (e.g. "Cardinality") to include
  2095  	// in API requests with the JSON null value. By default, fields with
  2096  	// empty values are omitted from API requests. However, any field with
  2097  	// an empty value appearing in NullFields will be sent to the server as
  2098  	// null. It is an error if a field in this list has a non-empty value.
  2099  	// This may be used to include null fields in Patch requests.
  2100  	NullFields []string `json:"-"`
  2101  }
  2102  
  2103  func (s *EnterpriseCrmEventbusProtoField) MarshalJSON() ([]byte, error) {
  2104  	type NoMethod EnterpriseCrmEventbusProtoField
  2105  	raw := NoMethod(*s)
  2106  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2107  }
  2108  
  2109  // EnterpriseCrmEventbusProtoFieldMappingConfig: Field Mapping Config to
  2110  // map multiple output fields values from input fields values.
  2111  type EnterpriseCrmEventbusProtoFieldMappingConfig struct {
  2112  	MappedFields []*EnterpriseCrmEventbusProtoMappedField `json:"mappedFields,omitempty"`
  2113  
  2114  	// ForceSendFields is a list of field names (e.g. "MappedFields") to
  2115  	// unconditionally include in API requests. By default, fields with
  2116  	// empty or default values are omitted from API requests. However, any
  2117  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2118  	// sent to the server regardless of whether the field is empty or not.
  2119  	// This may be used to include empty fields in Patch requests.
  2120  	ForceSendFields []string `json:"-"`
  2121  
  2122  	// NullFields is a list of field names (e.g. "MappedFields") to include
  2123  	// in API requests with the JSON null value. By default, fields with
  2124  	// empty values are omitted from API requests. However, any field with
  2125  	// an empty value appearing in NullFields will be sent to the server as
  2126  	// null. It is an error if a field in this list has a non-empty value.
  2127  	// This may be used to include null fields in Patch requests.
  2128  	NullFields []string `json:"-"`
  2129  }
  2130  
  2131  func (s *EnterpriseCrmEventbusProtoFieldMappingConfig) MarshalJSON() ([]byte, error) {
  2132  	type NoMethod EnterpriseCrmEventbusProtoFieldMappingConfig
  2133  	raw := NoMethod(*s)
  2134  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2135  }
  2136  
  2137  type EnterpriseCrmEventbusProtoFunction struct {
  2138  	// FunctionType: The name of the function to perform.
  2139  	FunctionType *EnterpriseCrmEventbusProtoFunctionType `json:"functionType,omitempty"`
  2140  
  2141  	// Parameters: List of parameters required for the transformation.
  2142  	Parameters []*EnterpriseCrmEventbusProtoTransformExpression `json:"parameters,omitempty"`
  2143  
  2144  	// ForceSendFields is a list of field names (e.g. "FunctionType") to
  2145  	// unconditionally include in API requests. By default, fields with
  2146  	// empty or default values are omitted from API requests. However, any
  2147  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2148  	// sent to the server regardless of whether the field is empty or not.
  2149  	// This may be used to include empty fields in Patch requests.
  2150  	ForceSendFields []string `json:"-"`
  2151  
  2152  	// NullFields is a list of field names (e.g. "FunctionType") to include
  2153  	// in API requests with the JSON null value. By default, fields with
  2154  	// empty values are omitted from API requests. However, any field with
  2155  	// an empty value appearing in NullFields will be sent to the server as
  2156  	// null. It is an error if a field in this list has a non-empty value.
  2157  	// This may be used to include null fields in Patch requests.
  2158  	NullFields []string `json:"-"`
  2159  }
  2160  
  2161  func (s *EnterpriseCrmEventbusProtoFunction) MarshalJSON() ([]byte, error) {
  2162  	type NoMethod EnterpriseCrmEventbusProtoFunction
  2163  	raw := NoMethod(*s)
  2164  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2165  }
  2166  
  2167  type EnterpriseCrmEventbusProtoFunctionType struct {
  2168  	// BaseFunction: LINT.IfChange
  2169  	BaseFunction *EnterpriseCrmEventbusProtoBaseFunction `json:"baseFunction,omitempty"`
  2170  
  2171  	BooleanArrayFunction *EnterpriseCrmEventbusProtoBooleanArrayFunction `json:"booleanArrayFunction,omitempty"`
  2172  
  2173  	BooleanFunction *EnterpriseCrmEventbusProtoBooleanFunction `json:"booleanFunction,omitempty"`
  2174  
  2175  	DoubleArrayFunction *EnterpriseCrmEventbusProtoDoubleArrayFunction `json:"doubleArrayFunction,omitempty"`
  2176  
  2177  	DoubleFunction *EnterpriseCrmEventbusProtoDoubleFunction `json:"doubleFunction,omitempty"`
  2178  
  2179  	IntArrayFunction *EnterpriseCrmEventbusProtoIntArrayFunction `json:"intArrayFunction,omitempty"`
  2180  
  2181  	IntFunction *EnterpriseCrmEventbusProtoIntFunction `json:"intFunction,omitempty"`
  2182  
  2183  	// JsonFunction:
  2184  	// LINT.ThenChange(//depot/google3/alkali/apps/integrationplatform/client
  2185  	// /workflow_editor/utils/transform_function.ts)
  2186  	JsonFunction *EnterpriseCrmEventbusProtoJsonFunction `json:"jsonFunction,omitempty"`
  2187  
  2188  	ProtoArrayFunction *EnterpriseCrmEventbusProtoProtoArrayFunction `json:"protoArrayFunction,omitempty"`
  2189  
  2190  	ProtoFunction *EnterpriseCrmEventbusProtoProtoFunction `json:"protoFunction,omitempty"`
  2191  
  2192  	StringArrayFunction *EnterpriseCrmEventbusProtoStringArrayFunction `json:"stringArrayFunction,omitempty"`
  2193  
  2194  	StringFunction *EnterpriseCrmEventbusProtoStringFunction `json:"stringFunction,omitempty"`
  2195  
  2196  	// ForceSendFields is a list of field names (e.g. "BaseFunction") to
  2197  	// unconditionally include in API requests. By default, fields with
  2198  	// empty or default values are omitted from API requests. However, any
  2199  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2200  	// sent to the server regardless of whether the field is empty or not.
  2201  	// This may be used to include empty fields in Patch requests.
  2202  	ForceSendFields []string `json:"-"`
  2203  
  2204  	// NullFields is a list of field names (e.g. "BaseFunction") to include
  2205  	// in API requests with the JSON null value. By default, fields with
  2206  	// empty values are omitted from API requests. However, any field with
  2207  	// an empty value appearing in NullFields will be sent to the server as
  2208  	// null. It is an error if a field in this list has a non-empty value.
  2209  	// This may be used to include null fields in Patch requests.
  2210  	NullFields []string `json:"-"`
  2211  }
  2212  
  2213  func (s *EnterpriseCrmEventbusProtoFunctionType) MarshalJSON() ([]byte, error) {
  2214  	type NoMethod EnterpriseCrmEventbusProtoFunctionType
  2215  	raw := NoMethod(*s)
  2216  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2217  }
  2218  
  2219  type EnterpriseCrmEventbusProtoIntArray struct {
  2220  	Values googleapi.Int64s `json:"values,omitempty"`
  2221  
  2222  	// ForceSendFields is a list of field names (e.g. "Values") to
  2223  	// unconditionally include in API requests. By default, fields with
  2224  	// empty or default values are omitted from API requests. However, any
  2225  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2226  	// sent to the server regardless of whether the field is empty or not.
  2227  	// This may be used to include empty fields in Patch requests.
  2228  	ForceSendFields []string `json:"-"`
  2229  
  2230  	// NullFields is a list of field names (e.g. "Values") to include in API
  2231  	// requests with the JSON null value. By default, fields with empty
  2232  	// values are omitted from API requests. However, any field with an
  2233  	// empty value appearing in NullFields will be sent to the server as
  2234  	// null. It is an error if a field in this list has a non-empty value.
  2235  	// This may be used to include null fields in Patch requests.
  2236  	NullFields []string `json:"-"`
  2237  }
  2238  
  2239  func (s *EnterpriseCrmEventbusProtoIntArray) MarshalJSON() ([]byte, error) {
  2240  	type NoMethod EnterpriseCrmEventbusProtoIntArray
  2241  	raw := NoMethod(*s)
  2242  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2243  }
  2244  
  2245  type EnterpriseCrmEventbusProtoIntArrayFunction struct {
  2246  	// Possible values:
  2247  	//   "UNSPECIFIED"
  2248  	//   "GET"
  2249  	//   "APPEND"
  2250  	//   "SIZE"
  2251  	//   "SUM"
  2252  	//   "AVG"
  2253  	//   "MAX"
  2254  	//   "MIN"
  2255  	//   "TO_SET"
  2256  	//   "APPEND_ALL"
  2257  	//   "TO_JSON"
  2258  	//   "SET"
  2259  	//   "REMOVE"
  2260  	//   "REMOVE_AT"
  2261  	//   "CONTAINS"
  2262  	//   "FOR_EACH"
  2263  	//   "FILTER"
  2264  	FunctionName string `json:"functionName,omitempty"`
  2265  
  2266  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  2267  	// unconditionally include in API requests. By default, fields with
  2268  	// empty or default values are omitted from API requests. However, any
  2269  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2270  	// sent to the server regardless of whether the field is empty or not.
  2271  	// This may be used to include empty fields in Patch requests.
  2272  	ForceSendFields []string `json:"-"`
  2273  
  2274  	// NullFields is a list of field names (e.g. "FunctionName") to include
  2275  	// in API requests with the JSON null value. By default, fields with
  2276  	// empty values are omitted from API requests. However, any field with
  2277  	// an empty value appearing in NullFields will be sent to the server as
  2278  	// null. It is an error if a field in this list has a non-empty value.
  2279  	// This may be used to include null fields in Patch requests.
  2280  	NullFields []string `json:"-"`
  2281  }
  2282  
  2283  func (s *EnterpriseCrmEventbusProtoIntArrayFunction) MarshalJSON() ([]byte, error) {
  2284  	type NoMethod EnterpriseCrmEventbusProtoIntArrayFunction
  2285  	raw := NoMethod(*s)
  2286  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2287  }
  2288  
  2289  type EnterpriseCrmEventbusProtoIntFunction struct {
  2290  	// Possible values:
  2291  	//   "UNSPECIFIED"
  2292  	//   "ADD"
  2293  	//   "SUBTRACT"
  2294  	//   "MULTIPLY"
  2295  	//   "DIVIDE"
  2296  	//   "EXPONENT"
  2297  	//   "GREATER_THAN_EQUAL_TO"
  2298  	//   "GREATER_THAN"
  2299  	//   "LESS_THAN_EQUAL_TO"
  2300  	//   "LESS_THAN"
  2301  	//   "TO_DOUBLE"
  2302  	//   "TO_STRING"
  2303  	//   "EQUALS"
  2304  	//   "TO_JSON"
  2305  	//   "MOD"
  2306  	//   "EPOCH_TO_HUMAN_READABLE_TIME"
  2307  	FunctionName string `json:"functionName,omitempty"`
  2308  
  2309  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  2310  	// unconditionally include in API requests. By default, fields with
  2311  	// empty or default values are omitted from API requests. However, any
  2312  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2313  	// sent to the server regardless of whether the field is empty or not.
  2314  	// This may be used to include empty fields in Patch requests.
  2315  	ForceSendFields []string `json:"-"`
  2316  
  2317  	// NullFields is a list of field names (e.g. "FunctionName") to include
  2318  	// in API requests with the JSON null value. By default, fields with
  2319  	// empty values are omitted from API requests. However, any field with
  2320  	// an empty value appearing in NullFields will be sent to the server as
  2321  	// null. It is an error if a field in this list has a non-empty value.
  2322  	// This may be used to include null fields in Patch requests.
  2323  	NullFields []string `json:"-"`
  2324  }
  2325  
  2326  func (s *EnterpriseCrmEventbusProtoIntFunction) MarshalJSON() ([]byte, error) {
  2327  	type NoMethod EnterpriseCrmEventbusProtoIntFunction
  2328  	raw := NoMethod(*s)
  2329  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2330  }
  2331  
  2332  type EnterpriseCrmEventbusProtoIntParameterArray struct {
  2333  	IntValues googleapi.Int64s `json:"intValues,omitempty"`
  2334  
  2335  	// ForceSendFields is a list of field names (e.g. "IntValues") to
  2336  	// unconditionally include in API requests. By default, fields with
  2337  	// empty or default values are omitted from API requests. However, any
  2338  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2339  	// sent to the server regardless of whether the field is empty or not.
  2340  	// This may be used to include empty fields in Patch requests.
  2341  	ForceSendFields []string `json:"-"`
  2342  
  2343  	// NullFields is a list of field names (e.g. "IntValues") to include in
  2344  	// API requests with the JSON null value. By default, fields with empty
  2345  	// values are omitted from API requests. However, any field with an
  2346  	// empty value appearing in NullFields will be sent to the server as
  2347  	// null. It is an error if a field in this list has a non-empty value.
  2348  	// This may be used to include null fields in Patch requests.
  2349  	NullFields []string `json:"-"`
  2350  }
  2351  
  2352  func (s *EnterpriseCrmEventbusProtoIntParameterArray) MarshalJSON() ([]byte, error) {
  2353  	type NoMethod EnterpriseCrmEventbusProtoIntParameterArray
  2354  	raw := NoMethod(*s)
  2355  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2356  }
  2357  
  2358  type EnterpriseCrmEventbusProtoJsonFunction struct {
  2359  	// Possible values:
  2360  	//   "UNSPECIFIED"
  2361  	//   "GET_PROPERTY"
  2362  	//   "GET_ELEMENT"
  2363  	//   "APPEND_ELEMENT"
  2364  	//   "SIZE"
  2365  	//   "SET_PROPERTY"
  2366  	//   "FLATTEN"
  2367  	//   "FLATTEN_ONCE"
  2368  	//   "MERGE"
  2369  	//   "TO_STRING"
  2370  	//   "TO_INT"
  2371  	//   "TO_DOUBLE"
  2372  	//   "TO_BOOLEAN"
  2373  	//   "TO_PROTO"
  2374  	//   "TO_STRING_ARRAY"
  2375  	//   "TO_INT_ARRAY"
  2376  	//   "TO_DOUBLE_ARRAY"
  2377  	//   "TO_PROTO_ARRAY"
  2378  	//   "TO_BOOLEAN_ARRAY"
  2379  	//   "REMOVE_PROPERTY"
  2380  	//   "RESOLVE_TEMPLATE"
  2381  	//   "EQUALS"
  2382  	//   "FOR_EACH"
  2383  	//   "FILTER_ELEMENTS" - next id: 24
  2384  	FunctionName string `json:"functionName,omitempty"`
  2385  
  2386  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  2387  	// unconditionally include in API requests. By default, fields with
  2388  	// empty or default values are omitted from API requests. However, any
  2389  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2390  	// sent to the server regardless of whether the field is empty or not.
  2391  	// This may be used to include empty fields in Patch requests.
  2392  	ForceSendFields []string `json:"-"`
  2393  
  2394  	// NullFields is a list of field names (e.g. "FunctionName") to include
  2395  	// in API requests with the JSON null value. By default, fields with
  2396  	// empty values are omitted from API requests. However, any field with
  2397  	// an empty value appearing in NullFields will be sent to the server as
  2398  	// null. It is an error if a field in this list has a non-empty value.
  2399  	// This may be used to include null fields in Patch requests.
  2400  	NullFields []string `json:"-"`
  2401  }
  2402  
  2403  func (s *EnterpriseCrmEventbusProtoJsonFunction) MarshalJSON() ([]byte, error) {
  2404  	type NoMethod EnterpriseCrmEventbusProtoJsonFunction
  2405  	raw := NoMethod(*s)
  2406  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2407  }
  2408  
  2409  // EnterpriseCrmEventbusProtoLogSettings: The LogSettings define the
  2410  // logging attributes for an event property. These attributes are used
  2411  // to map the property to the parameter in the log proto. Also used to
  2412  // define scrubbing/truncation behavior and PII information.
  2413  type EnterpriseCrmEventbusProtoLogSettings struct {
  2414  	// LogFieldName: The name of corresponding logging field of the event
  2415  	// property. If omitted, assumes the same name as the event property
  2416  	// key.
  2417  	LogFieldName string `json:"logFieldName,omitempty"`
  2418  
  2419  	// SanitizeOptions: Contains the scrubbing options, such as whether to
  2420  	// scrub, obfuscate, etc.
  2421  	SanitizeOptions *EnterpriseCrmLoggingGwsSanitizeOptions `json:"sanitizeOptions,omitempty"`
  2422  
  2423  	// Possible values:
  2424  	//   "SEED_PERIOD_UNSPECIFIED"
  2425  	//   "DAY" - Sanitized values remain constant for the day of the event.
  2426  	//   "WEEK" - Sanitized values remain constant for the week of the
  2427  	// event; may cross month boundaries.
  2428  	//   "MONTH" - Sanitized values remain constant for the month of the
  2429  	// event.
  2430  	SeedPeriod string `json:"seedPeriod,omitempty"`
  2431  
  2432  	// Possible values:
  2433  	//   "SEED_SCOPE_UNSPECIFIED"
  2434  	//   "EVENT_NAME" - Hash computations include the event name.
  2435  	//   "TIME_PERIOD" - Hash computations include a time period.
  2436  	//   "PARAM_NAME" - Hash computations include the param name.
  2437  	SeedScope string `json:"seedScope,omitempty"`
  2438  
  2439  	// ShorteningLimits: Contains the field limits for shortening, such as
  2440  	// max string length and max array length.
  2441  	ShorteningLimits *EnterpriseCrmLoggingGwsFieldLimits `json:"shorteningLimits,omitempty"`
  2442  
  2443  	// ForceSendFields is a list of field names (e.g. "LogFieldName") to
  2444  	// unconditionally include in API requests. By default, fields with
  2445  	// empty or default values are omitted from API requests. However, any
  2446  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2447  	// sent to the server regardless of whether the field is empty or not.
  2448  	// This may be used to include empty fields in Patch requests.
  2449  	ForceSendFields []string `json:"-"`
  2450  
  2451  	// NullFields is a list of field names (e.g. "LogFieldName") to include
  2452  	// in API requests with the JSON null value. By default, fields with
  2453  	// empty values are omitted from API requests. However, any field with
  2454  	// an empty value appearing in NullFields will be sent to the server as
  2455  	// null. It is an error if a field in this list has a non-empty value.
  2456  	// This may be used to include null fields in Patch requests.
  2457  	NullFields []string `json:"-"`
  2458  }
  2459  
  2460  func (s *EnterpriseCrmEventbusProtoLogSettings) MarshalJSON() ([]byte, error) {
  2461  	type NoMethod EnterpriseCrmEventbusProtoLogSettings
  2462  	raw := NoMethod(*s)
  2463  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2464  }
  2465  
  2466  type EnterpriseCrmEventbusProtoLoopMetadata struct {
  2467  	// CurrentIterationCount: Starting from 1, not 0.
  2468  	CurrentIterationCount int64 `json:"currentIterationCount,omitempty,string"`
  2469  
  2470  	// CurrentIterationDetail: Needs to be set by the loop impl class before
  2471  	// each iteration. The abstract loop class will append the request and
  2472  	// response to it. Eg. The foreach Loop will clean up and set it as the
  2473  	// current iteration element at the start of each loop. The post request
  2474  	// and response will be appended to the value once they are available.
  2475  	CurrentIterationDetail string `json:"currentIterationDetail,omitempty"`
  2476  
  2477  	// ErrorMsg: Add the error message when loops fail.
  2478  	ErrorMsg string `json:"errorMsg,omitempty"`
  2479  
  2480  	// FailureLocation: Indicates where in the loop logic did it error out.
  2481  	//
  2482  	// Possible values:
  2483  	//   "UNKNOWN" - No error or Unknown.
  2484  	//   "SUBWORKFLOW" - Subworkflow failed while firing/running.
  2485  	//   "PARAM_OVERRIDING" - Param overrides failed.
  2486  	//   "PARAM_AGGREGATING" - Param aggregation failed.
  2487  	//   "SETTING_ITERATION_ELEMENT" - Setting for loop current element
  2488  	// failed.
  2489  	//   "GETTING_LIST_TO_ITERATE" - Getting the list to iterate.
  2490  	//   "CONDITION_EVALUATION" - Evaluating the while loop condition.
  2491  	//   "BUILDING_REQUEST" - Building the iteration request
  2492  	FailureLocation string `json:"failureLocation,omitempty"`
  2493  
  2494  	// ForceSendFields is a list of field names (e.g.
  2495  	// "CurrentIterationCount") to unconditionally include in API requests.
  2496  	// By default, fields with empty or default values are omitted from API
  2497  	// requests. However, any non-pointer, non-interface field appearing in
  2498  	// ForceSendFields will be sent to the server regardless of whether the
  2499  	// field is empty or not. This may be used to include empty fields in
  2500  	// Patch requests.
  2501  	ForceSendFields []string `json:"-"`
  2502  
  2503  	// NullFields is a list of field names (e.g. "CurrentIterationCount") to
  2504  	// include in API requests with the JSON null value. By default, fields
  2505  	// with empty values are omitted from API requests. However, any field
  2506  	// with an empty value appearing in NullFields will be sent to the
  2507  	// server as null. It is an error if a field in this list has a
  2508  	// non-empty value. This may be used to include null fields in Patch
  2509  	// requests.
  2510  	NullFields []string `json:"-"`
  2511  }
  2512  
  2513  func (s *EnterpriseCrmEventbusProtoLoopMetadata) MarshalJSON() ([]byte, error) {
  2514  	type NoMethod EnterpriseCrmEventbusProtoLoopMetadata
  2515  	raw := NoMethod(*s)
  2516  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2517  }
  2518  
  2519  // EnterpriseCrmEventbusProtoMappedField: Mapped field is a pair of
  2520  // input field and output field.
  2521  type EnterpriseCrmEventbusProtoMappedField struct {
  2522  	// InputField: The input field being mapped from.
  2523  	InputField *EnterpriseCrmEventbusProtoField `json:"inputField,omitempty"`
  2524  
  2525  	// OutputField: The output field being mapped to.
  2526  	OutputField *EnterpriseCrmEventbusProtoField `json:"outputField,omitempty"`
  2527  
  2528  	// ForceSendFields is a list of field names (e.g. "InputField") to
  2529  	// unconditionally include in API requests. By default, fields with
  2530  	// empty or default values are omitted from API requests. However, any
  2531  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2532  	// sent to the server regardless of whether the field is empty or not.
  2533  	// This may be used to include empty fields in Patch requests.
  2534  	ForceSendFields []string `json:"-"`
  2535  
  2536  	// NullFields is a list of field names (e.g. "InputField") to include in
  2537  	// API requests with the JSON null value. By default, fields with empty
  2538  	// values are omitted from API requests. However, any field with an
  2539  	// empty value appearing in NullFields will be sent to the server as
  2540  	// null. It is an error if a field in this list has a non-empty value.
  2541  	// This may be used to include null fields in Patch requests.
  2542  	NullFields []string `json:"-"`
  2543  }
  2544  
  2545  func (s *EnterpriseCrmEventbusProtoMappedField) MarshalJSON() ([]byte, error) {
  2546  	type NoMethod EnterpriseCrmEventbusProtoMappedField
  2547  	raw := NoMethod(*s)
  2548  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2549  }
  2550  
  2551  // EnterpriseCrmEventbusProtoNextTask: The task that is next in line to
  2552  // be executed, if the condition specified evaluated to true.
  2553  type EnterpriseCrmEventbusProtoNextTask struct {
  2554  	// CombinedConditions: Combined condition for this task to become an
  2555  	// eligible next task. Each of these combined_conditions are joined with
  2556  	// logical OR. DEPRECATED: use `condition`
  2557  	CombinedConditions []*EnterpriseCrmEventbusProtoCombinedCondition `json:"combinedConditions,omitempty"`
  2558  
  2559  	// Condition: Standard filter expression for this task to become an
  2560  	// eligible next task.
  2561  	Condition string `json:"condition,omitempty"`
  2562  
  2563  	// Description: User-provided description intended to give more business
  2564  	// context about the next task edge or condition.
  2565  	Description string `json:"description,omitempty"`
  2566  
  2567  	// Label: User-provided label that is attached to this edge in the UI.
  2568  	Label string `json:"label,omitempty"`
  2569  
  2570  	// TaskConfigId: ID of the next task.
  2571  	TaskConfigId string `json:"taskConfigId,omitempty"`
  2572  
  2573  	// TaskNumber: Task number of the next task.
  2574  	TaskNumber string `json:"taskNumber,omitempty"`
  2575  
  2576  	// ForceSendFields is a list of field names (e.g. "CombinedConditions")
  2577  	// to unconditionally include in API requests. By default, fields with
  2578  	// empty or default values are omitted from API requests. However, any
  2579  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2580  	// sent to the server regardless of whether the field is empty or not.
  2581  	// This may be used to include empty fields in Patch requests.
  2582  	ForceSendFields []string `json:"-"`
  2583  
  2584  	// NullFields is a list of field names (e.g. "CombinedConditions") to
  2585  	// include in API requests with the JSON null value. By default, fields
  2586  	// with empty values are omitted from API requests. However, any field
  2587  	// with an empty value appearing in NullFields will be sent to the
  2588  	// server as null. It is an error if a field in this list has a
  2589  	// non-empty value. This may be used to include null fields in Patch
  2590  	// requests.
  2591  	NullFields []string `json:"-"`
  2592  }
  2593  
  2594  func (s *EnterpriseCrmEventbusProtoNextTask) MarshalJSON() ([]byte, error) {
  2595  	type NoMethod EnterpriseCrmEventbusProtoNextTask
  2596  	raw := NoMethod(*s)
  2597  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2598  }
  2599  
  2600  // EnterpriseCrmEventbusProtoNextTeardownTask: The teardown task that is
  2601  // next in line to be executed. We support only sequential execution of
  2602  // teardown tasks (i.e. no branching).
  2603  type EnterpriseCrmEventbusProtoNextTeardownTask struct {
  2604  	// Name: Required. Name of the next teardown task.
  2605  	Name string `json:"name,omitempty"`
  2606  
  2607  	// ForceSendFields is a list of field names (e.g. "Name") to
  2608  	// unconditionally include in API requests. By default, fields with
  2609  	// empty or default values are omitted from API requests. However, any
  2610  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2611  	// sent to the server regardless of whether the field is empty or not.
  2612  	// This may be used to include empty fields in Patch requests.
  2613  	ForceSendFields []string `json:"-"`
  2614  
  2615  	// NullFields is a list of field names (e.g. "Name") to include in API
  2616  	// requests with the JSON null value. By default, fields with empty
  2617  	// values are omitted from API requests. However, any field with an
  2618  	// empty value appearing in NullFields will be sent to the server as
  2619  	// null. It is an error if a field in this list has a non-empty value.
  2620  	// This may be used to include null fields in Patch requests.
  2621  	NullFields []string `json:"-"`
  2622  }
  2623  
  2624  func (s *EnterpriseCrmEventbusProtoNextTeardownTask) MarshalJSON() ([]byte, error) {
  2625  	type NoMethod EnterpriseCrmEventbusProtoNextTeardownTask
  2626  	raw := NoMethod(*s)
  2627  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2628  }
  2629  
  2630  // EnterpriseCrmEventbusProtoNodeIdentifier: Represents a node
  2631  // identifier (type + id). Next highest id: 3
  2632  type EnterpriseCrmEventbusProtoNodeIdentifier struct {
  2633  	// ElementIdentifier: Configuration of the edge.
  2634  	ElementIdentifier string `json:"elementIdentifier,omitempty"`
  2635  
  2636  	// ElementType: Destination node where the edge ends. It can only be a
  2637  	// task config.
  2638  	//
  2639  	// Possible values:
  2640  	//   "UNKNOWN_TYPE"
  2641  	//   "TASK_CONFIG"
  2642  	//   "TRIGGER_CONFIG"
  2643  	ElementType string `json:"elementType,omitempty"`
  2644  
  2645  	// ForceSendFields is a list of field names (e.g. "ElementIdentifier")
  2646  	// to unconditionally include in API requests. By default, fields with
  2647  	// empty or default values are omitted from API requests. However, any
  2648  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2649  	// sent to the server regardless of whether the field is empty or not.
  2650  	// This may be used to include empty fields in Patch requests.
  2651  	ForceSendFields []string `json:"-"`
  2652  
  2653  	// NullFields is a list of field names (e.g. "ElementIdentifier") to
  2654  	// include in API requests with the JSON null value. By default, fields
  2655  	// with empty values are omitted from API requests. However, any field
  2656  	// with an empty value appearing in NullFields will be sent to the
  2657  	// server as null. It is an error if a field in this list has a
  2658  	// non-empty value. This may be used to include null fields in Patch
  2659  	// requests.
  2660  	NullFields []string `json:"-"`
  2661  }
  2662  
  2663  func (s *EnterpriseCrmEventbusProtoNodeIdentifier) MarshalJSON() ([]byte, error) {
  2664  	type NoMethod EnterpriseCrmEventbusProtoNodeIdentifier
  2665  	raw := NoMethod(*s)
  2666  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2667  }
  2668  
  2669  type EnterpriseCrmEventbusProtoNotification struct {
  2670  	BuganizerNotification *EnterpriseCrmEventbusProtoBuganizerNotification `json:"buganizerNotification,omitempty"`
  2671  
  2672  	EmailAddress *EnterpriseCrmEventbusProtoAddress `json:"emailAddress,omitempty"`
  2673  
  2674  	EscalatorQueue string `json:"escalatorQueue,omitempty"`
  2675  
  2676  	PubsubTopic string `json:"pubsubTopic,omitempty"`
  2677  
  2678  	// Request: If the out-of-the-box email/pubsub notifications are not
  2679  	// suitable and custom logic is required, fire a workflow containing all
  2680  	// info needed to notify users to resume execution.
  2681  	Request *EnterpriseCrmEventbusProtoCustomSuspensionRequest `json:"request,omitempty"`
  2682  
  2683  	// ForceSendFields is a list of field names (e.g.
  2684  	// "BuganizerNotification") to unconditionally include in API requests.
  2685  	// By default, fields with empty or default values are omitted from API
  2686  	// requests. However, any non-pointer, non-interface field appearing in
  2687  	// ForceSendFields will be sent to the server regardless of whether the
  2688  	// field is empty or not. This may be used to include empty fields in
  2689  	// Patch requests.
  2690  	ForceSendFields []string `json:"-"`
  2691  
  2692  	// NullFields is a list of field names (e.g. "BuganizerNotification") to
  2693  	// include in API requests with the JSON null value. By default, fields
  2694  	// with empty values are omitted from API requests. However, any field
  2695  	// with an empty value appearing in NullFields will be sent to the
  2696  	// server as null. It is an error if a field in this list has a
  2697  	// non-empty value. This may be used to include null fields in Patch
  2698  	// requests.
  2699  	NullFields []string `json:"-"`
  2700  }
  2701  
  2702  func (s *EnterpriseCrmEventbusProtoNotification) MarshalJSON() ([]byte, error) {
  2703  	type NoMethod EnterpriseCrmEventbusProtoNotification
  2704  	raw := NoMethod(*s)
  2705  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2706  }
  2707  
  2708  type EnterpriseCrmEventbusProtoParamSpecEntryConfig struct {
  2709  	// DescriptivePhrase: A short phrase to describe what this parameter
  2710  	// contains.
  2711  	DescriptivePhrase string `json:"descriptivePhrase,omitempty"`
  2712  
  2713  	// HelpText: Detailed help text for this parameter containing
  2714  	// information not provided elsewhere. For example, instructions on how
  2715  	// to migrate from a deprecated parameter.
  2716  	HelpText string `json:"helpText,omitempty"`
  2717  
  2718  	// HideDefaultValue: Whether the default value is hidden in the UI.
  2719  	HideDefaultValue bool `json:"hideDefaultValue,omitempty"`
  2720  
  2721  	// Possible values:
  2722  	//   "DEFAULT" - A single-line input for strings, a numeric input box
  2723  	// for numbers, or a checkbox for booleans.
  2724  	//   "STRING_MULTI_LINE" - A multi-line input box for longer
  2725  	// strings/string templates.
  2726  	//   "NUMBER_SLIDER" - A slider to select a numerical value. The default
  2727  	// range is [0, 100].
  2728  	//   "BOOLEAN_TOGGLE" - A toggle button for boolean parameters.
  2729  	InputDisplayOption string `json:"inputDisplayOption,omitempty"`
  2730  
  2731  	// IsHidden: Whether this field is hidden in the UI.
  2732  	IsHidden bool `json:"isHidden,omitempty"`
  2733  
  2734  	// Label: A user-friendly label for the parameter.
  2735  	Label string `json:"label,omitempty"`
  2736  
  2737  	// Possible values:
  2738  	//   "DEFAULT_NOT_PARAMETER_NAME" - This field is not a parameter name.
  2739  	//   "IS_PARAMETER_NAME" - If this field is a string and this option is
  2740  	// selected, the field will be interpreted as a parameter name. Users
  2741  	// will be able to choose a variable using the autocomplete, but the
  2742  	// name will be stored as a literal string.
  2743  	//   "KEY_IS_PARAMETER_NAME" - If this field is a ParameterMap and this
  2744  	// option is selected, the map's keys will be interpreted as parameter
  2745  	// names. Ignored if this field is not a ParameterMap.
  2746  	//   "VALUE_IS_PARAMETER_NAME" - If this field is a ParameterMap and
  2747  	// this option is selected, the map's values will be interpreted as
  2748  	// parameter names. Ignored if this field is not a ParameterMap.
  2749  	ParameterNameOption string `json:"parameterNameOption,omitempty"`
  2750  
  2751  	// SubSectionLabel: A user-friendly label for subSection under which the
  2752  	// parameter will be displayed.
  2753  	SubSectionLabel string `json:"subSectionLabel,omitempty"`
  2754  
  2755  	// UiPlaceholderText: Placeholder text which will appear in the UI input
  2756  	// form for this parameter.
  2757  	UiPlaceholderText string `json:"uiPlaceholderText,omitempty"`
  2758  
  2759  	// ForceSendFields is a list of field names (e.g. "DescriptivePhrase")
  2760  	// to unconditionally include in API requests. By default, fields with
  2761  	// empty or default values are omitted from API requests. However, any
  2762  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2763  	// sent to the server regardless of whether the field is empty or not.
  2764  	// This may be used to include empty fields in Patch requests.
  2765  	ForceSendFields []string `json:"-"`
  2766  
  2767  	// NullFields is a list of field names (e.g. "DescriptivePhrase") to
  2768  	// include in API requests with the JSON null value. By default, fields
  2769  	// with empty values are omitted from API requests. However, any field
  2770  	// with an empty value appearing in NullFields will be sent to the
  2771  	// server as null. It is an error if a field in this list has a
  2772  	// non-empty value. This may be used to include null fields in Patch
  2773  	// requests.
  2774  	NullFields []string `json:"-"`
  2775  }
  2776  
  2777  func (s *EnterpriseCrmEventbusProtoParamSpecEntryConfig) MarshalJSON() ([]byte, error) {
  2778  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryConfig
  2779  	raw := NoMethod(*s)
  2780  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2781  }
  2782  
  2783  type EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition struct {
  2784  	// FullName: The fully-qualified proto name. This message, for example,
  2785  	// would be
  2786  	// "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition".
  2787  	FullName string `json:"fullName,omitempty"`
  2788  
  2789  	// Path: Path to the proto file that contains the message type's
  2790  	// definition.
  2791  	Path string `json:"path,omitempty"`
  2792  
  2793  	// ForceSendFields is a list of field names (e.g. "FullName") to
  2794  	// unconditionally include in API requests. By default, fields with
  2795  	// empty or default values are omitted from API requests. However, any
  2796  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2797  	// sent to the server regardless of whether the field is empty or not.
  2798  	// This may be used to include empty fields in Patch requests.
  2799  	ForceSendFields []string `json:"-"`
  2800  
  2801  	// NullFields is a list of field names (e.g. "FullName") to include in
  2802  	// API requests with the JSON null value. By default, fields with empty
  2803  	// values are omitted from API requests. However, any field with an
  2804  	// empty value appearing in NullFields will be sent to the server as
  2805  	// null. It is an error if a field in this list has a non-empty value.
  2806  	// This may be used to include null fields in Patch requests.
  2807  	NullFields []string `json:"-"`
  2808  }
  2809  
  2810  func (s *EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition) MarshalJSON() ([]byte, error) {
  2811  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition
  2812  	raw := NoMethod(*s)
  2813  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2814  }
  2815  
  2816  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRule struct {
  2817  	DoubleRange *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange `json:"doubleRange,omitempty"`
  2818  
  2819  	IntRange *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange `json:"intRange,omitempty"`
  2820  
  2821  	StringRegex *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex `json:"stringRegex,omitempty"`
  2822  
  2823  	// ForceSendFields is a list of field names (e.g. "DoubleRange") to
  2824  	// unconditionally include in API requests. By default, fields with
  2825  	// empty or default values are omitted from API requests. However, any
  2826  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2827  	// sent to the server regardless of whether the field is empty or not.
  2828  	// This may be used to include empty fields in Patch requests.
  2829  	ForceSendFields []string `json:"-"`
  2830  
  2831  	// NullFields is a list of field names (e.g. "DoubleRange") to include
  2832  	// in API requests with the JSON null value. By default, fields with
  2833  	// empty values are omitted from API requests. However, any field with
  2834  	// an empty value appearing in NullFields will be sent to the server as
  2835  	// null. It is an error if a field in this list has a non-empty value.
  2836  	// This may be used to include null fields in Patch requests.
  2837  	NullFields []string `json:"-"`
  2838  }
  2839  
  2840  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRule) MarshalJSON() ([]byte, error) {
  2841  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRule
  2842  	raw := NoMethod(*s)
  2843  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2844  }
  2845  
  2846  // EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange:
  2847  // Range used to validate doubles and floats.
  2848  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange struct {
  2849  	// Max: The inclusive maximum of the acceptable range.
  2850  	Max float64 `json:"max,omitempty"`
  2851  
  2852  	// Min: The inclusive minimum of the acceptable range.
  2853  	Min float64 `json:"min,omitempty"`
  2854  
  2855  	// ForceSendFields is a list of field names (e.g. "Max") to
  2856  	// unconditionally include in API requests. By default, fields with
  2857  	// empty or default values are omitted from API requests. However, any
  2858  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2859  	// sent to the server regardless of whether the field is empty or not.
  2860  	// This may be used to include empty fields in Patch requests.
  2861  	ForceSendFields []string `json:"-"`
  2862  
  2863  	// NullFields is a list of field names (e.g. "Max") to include in API
  2864  	// requests with the JSON null value. By default, fields with empty
  2865  	// values are omitted from API requests. However, any field with an
  2866  	// empty value appearing in NullFields will be sent to the server as
  2867  	// null. It is an error if a field in this list has a non-empty value.
  2868  	// This may be used to include null fields in Patch requests.
  2869  	NullFields []string `json:"-"`
  2870  }
  2871  
  2872  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange) MarshalJSON() ([]byte, error) {
  2873  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
  2874  	raw := NoMethod(*s)
  2875  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2876  }
  2877  
  2878  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange) UnmarshalJSON(data []byte) error {
  2879  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
  2880  	var s1 struct {
  2881  		Max gensupport.JSONFloat64 `json:"max"`
  2882  		Min gensupport.JSONFloat64 `json:"min"`
  2883  		*NoMethod
  2884  	}
  2885  	s1.NoMethod = (*NoMethod)(s)
  2886  	if err := json.Unmarshal(data, &s1); err != nil {
  2887  		return err
  2888  	}
  2889  	s.Max = float64(s1.Max)
  2890  	s.Min = float64(s1.Min)
  2891  	return nil
  2892  }
  2893  
  2894  // EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange: Range
  2895  // used to validate longs and ints.
  2896  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange struct {
  2897  	// Max: The inclusive maximum of the acceptable range.
  2898  	Max int64 `json:"max,omitempty,string"`
  2899  
  2900  	// Min: The inclusive minimum of the acceptable range.
  2901  	Min int64 `json:"min,omitempty,string"`
  2902  
  2903  	// ForceSendFields is a list of field names (e.g. "Max") to
  2904  	// unconditionally include in API requests. By default, fields with
  2905  	// empty or default values are omitted from API requests. However, any
  2906  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2907  	// sent to the server regardless of whether the field is empty or not.
  2908  	// This may be used to include empty fields in Patch requests.
  2909  	ForceSendFields []string `json:"-"`
  2910  
  2911  	// NullFields is a list of field names (e.g. "Max") to include in API
  2912  	// requests with the JSON null value. By default, fields with empty
  2913  	// values are omitted from API requests. However, any field with an
  2914  	// empty value appearing in NullFields will be sent to the server as
  2915  	// null. It is an error if a field in this list has a non-empty value.
  2916  	// This may be used to include null fields in Patch requests.
  2917  	NullFields []string `json:"-"`
  2918  }
  2919  
  2920  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange) MarshalJSON() ([]byte, error) {
  2921  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange
  2922  	raw := NoMethod(*s)
  2923  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2924  }
  2925  
  2926  // EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex:
  2927  // Rule used to validate strings.
  2928  type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex struct {
  2929  	// Exclusive: Whether the regex matcher is applied exclusively (if true,
  2930  	// matching values will be rejected).
  2931  	Exclusive bool `json:"exclusive,omitempty"`
  2932  
  2933  	// Regex: The regex applied to the input value(s).
  2934  	Regex string `json:"regex,omitempty"`
  2935  
  2936  	// ForceSendFields is a list of field names (e.g. "Exclusive") to
  2937  	// unconditionally include in API requests. By default, fields with
  2938  	// empty or default values are omitted from API requests. However, any
  2939  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2940  	// sent to the server regardless of whether the field is empty or not.
  2941  	// This may be used to include empty fields in Patch requests.
  2942  	ForceSendFields []string `json:"-"`
  2943  
  2944  	// NullFields is a list of field names (e.g. "Exclusive") to include in
  2945  	// API requests with the JSON null value. By default, fields with empty
  2946  	// values are omitted from API requests. However, any field with an
  2947  	// empty value appearing in NullFields will be sent to the server as
  2948  	// null. It is an error if a field in this list has a non-empty value.
  2949  	// This may be used to include null fields in Patch requests.
  2950  	NullFields []string `json:"-"`
  2951  }
  2952  
  2953  func (s *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex) MarshalJSON() ([]byte, error) {
  2954  	type NoMethod EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
  2955  	raw := NoMethod(*s)
  2956  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2957  }
  2958  
  2959  // EnterpriseCrmEventbusProtoParameterEntry: Key-value pair of EventBus
  2960  // parameters.
  2961  type EnterpriseCrmEventbusProtoParameterEntry struct {
  2962  	// Key: Key is used to retrieve the corresponding parameter value. This
  2963  	// should be unique for a given fired event. These parameters must be
  2964  	// predefined in the integration definition.
  2965  	Key string `json:"key,omitempty"`
  2966  
  2967  	// Value: Values for the defined keys. Each value can either be string,
  2968  	// int, double or any proto message.
  2969  	Value *EnterpriseCrmEventbusProtoParameterValueType `json:"value,omitempty"`
  2970  
  2971  	// ForceSendFields is a list of field names (e.g. "Key") to
  2972  	// unconditionally include in API requests. By default, fields with
  2973  	// empty or default values are omitted from API requests. However, any
  2974  	// non-pointer, non-interface field appearing in ForceSendFields will be
  2975  	// sent to the server regardless of whether the field is empty or not.
  2976  	// This may be used to include empty fields in Patch requests.
  2977  	ForceSendFields []string `json:"-"`
  2978  
  2979  	// NullFields is a list of field names (e.g. "Key") to include in API
  2980  	// requests with the JSON null value. By default, fields with empty
  2981  	// values are omitted from API requests. However, any field with an
  2982  	// empty value appearing in NullFields will be sent to the server as
  2983  	// null. It is an error if a field in this list has a non-empty value.
  2984  	// This may be used to include null fields in Patch requests.
  2985  	NullFields []string `json:"-"`
  2986  }
  2987  
  2988  func (s *EnterpriseCrmEventbusProtoParameterEntry) MarshalJSON() ([]byte, error) {
  2989  	type NoMethod EnterpriseCrmEventbusProtoParameterEntry
  2990  	raw := NoMethod(*s)
  2991  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  2992  }
  2993  
  2994  // EnterpriseCrmEventbusProtoParameterMap: A generic multi-map that
  2995  // holds key value pairs. They keys and values can be of any type,
  2996  // unless specified.
  2997  type EnterpriseCrmEventbusProtoParameterMap struct {
  2998  	Entries []*EnterpriseCrmEventbusProtoParameterMapEntry `json:"entries,omitempty"`
  2999  
  3000  	// KeyType: Option to specify key value type for all entries of the map.
  3001  	// If provided then field types for all entries must conform to this.
  3002  	//
  3003  	// Possible values:
  3004  	//   "DATA_TYPE_UNSPECIFIED"
  3005  	//   "STRING_VALUE"
  3006  	//   "INT_VALUE"
  3007  	//   "DOUBLE_VALUE"
  3008  	//   "BOOLEAN_VALUE"
  3009  	//   "PROTO_VALUE"
  3010  	//   "SERIALIZED_OBJECT_VALUE"
  3011  	//   "STRING_ARRAY"
  3012  	//   "INT_ARRAY"
  3013  	//   "DOUBLE_ARRAY"
  3014  	//   "PROTO_ARRAY"
  3015  	//   "PROTO_ENUM"
  3016  	//   "BOOLEAN_ARRAY"
  3017  	//   "PROTO_ENUM_ARRAY"
  3018  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  3019  	// top-level params. They're only meant to support protobufs with BYTES
  3020  	// (sub)fields.
  3021  	//   "BYTES_ARRAY"
  3022  	//   "NON_SERIALIZABLE_OBJECT"
  3023  	//   "JSON_VALUE"
  3024  	KeyType string `json:"keyType,omitempty"`
  3025  
  3026  	// Possible values:
  3027  	//   "DATA_TYPE_UNSPECIFIED"
  3028  	//   "STRING_VALUE"
  3029  	//   "INT_VALUE"
  3030  	//   "DOUBLE_VALUE"
  3031  	//   "BOOLEAN_VALUE"
  3032  	//   "PROTO_VALUE"
  3033  	//   "SERIALIZED_OBJECT_VALUE"
  3034  	//   "STRING_ARRAY"
  3035  	//   "INT_ARRAY"
  3036  	//   "DOUBLE_ARRAY"
  3037  	//   "PROTO_ARRAY"
  3038  	//   "PROTO_ENUM"
  3039  	//   "BOOLEAN_ARRAY"
  3040  	//   "PROTO_ENUM_ARRAY"
  3041  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  3042  	// top-level params. They're only meant to support protobufs with BYTES
  3043  	// (sub)fields.
  3044  	//   "BYTES_ARRAY"
  3045  	//   "NON_SERIALIZABLE_OBJECT"
  3046  	//   "JSON_VALUE"
  3047  	ValueType string `json:"valueType,omitempty"`
  3048  
  3049  	// ForceSendFields is a list of field names (e.g. "Entries") to
  3050  	// unconditionally include in API requests. By default, fields with
  3051  	// empty or default values are omitted from API requests. However, any
  3052  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3053  	// sent to the server regardless of whether the field is empty or not.
  3054  	// This may be used to include empty fields in Patch requests.
  3055  	ForceSendFields []string `json:"-"`
  3056  
  3057  	// NullFields is a list of field names (e.g. "Entries") to include in
  3058  	// API requests with the JSON null value. By default, fields with empty
  3059  	// values are omitted from API requests. However, any field with an
  3060  	// empty value appearing in NullFields will be sent to the server as
  3061  	// null. It is an error if a field in this list has a non-empty value.
  3062  	// This may be used to include null fields in Patch requests.
  3063  	NullFields []string `json:"-"`
  3064  }
  3065  
  3066  func (s *EnterpriseCrmEventbusProtoParameterMap) MarshalJSON() ([]byte, error) {
  3067  	type NoMethod EnterpriseCrmEventbusProtoParameterMap
  3068  	raw := NoMethod(*s)
  3069  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3070  }
  3071  
  3072  // EnterpriseCrmEventbusProtoParameterMapEntry: Entry is a pair of key
  3073  // and value.
  3074  type EnterpriseCrmEventbusProtoParameterMapEntry struct {
  3075  	Key *EnterpriseCrmEventbusProtoParameterMapField `json:"key,omitempty"`
  3076  
  3077  	Value *EnterpriseCrmEventbusProtoParameterMapField `json:"value,omitempty"`
  3078  
  3079  	// ForceSendFields is a list of field names (e.g. "Key") to
  3080  	// unconditionally include in API requests. By default, fields with
  3081  	// empty or default values are omitted from API requests. However, any
  3082  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3083  	// sent to the server regardless of whether the field is empty or not.
  3084  	// This may be used to include empty fields in Patch requests.
  3085  	ForceSendFields []string `json:"-"`
  3086  
  3087  	// NullFields is a list of field names (e.g. "Key") to include in API
  3088  	// requests with the JSON null value. By default, fields with empty
  3089  	// values are omitted from API requests. However, any field with an
  3090  	// empty value appearing in NullFields will be sent to the server as
  3091  	// null. It is an error if a field in this list has a non-empty value.
  3092  	// This may be used to include null fields in Patch requests.
  3093  	NullFields []string `json:"-"`
  3094  }
  3095  
  3096  func (s *EnterpriseCrmEventbusProtoParameterMapEntry) MarshalJSON() ([]byte, error) {
  3097  	type NoMethod EnterpriseCrmEventbusProtoParameterMapEntry
  3098  	raw := NoMethod(*s)
  3099  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3100  }
  3101  
  3102  // EnterpriseCrmEventbusProtoParameterMapField: Field represents either
  3103  // the key or value in an entry.
  3104  type EnterpriseCrmEventbusProtoParameterMapField struct {
  3105  	// LiteralValue: Passing a literal value.
  3106  	LiteralValue *EnterpriseCrmEventbusProtoParameterValueType `json:"literalValue,omitempty"`
  3107  
  3108  	// ReferenceKey: Referencing one of the WF variables.
  3109  	ReferenceKey string `json:"referenceKey,omitempty"`
  3110  
  3111  	// ForceSendFields is a list of field names (e.g. "LiteralValue") to
  3112  	// unconditionally include in API requests. By default, fields with
  3113  	// empty or default values are omitted from API requests. However, any
  3114  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3115  	// sent to the server regardless of whether the field is empty or not.
  3116  	// This may be used to include empty fields in Patch requests.
  3117  	ForceSendFields []string `json:"-"`
  3118  
  3119  	// NullFields is a list of field names (e.g. "LiteralValue") to include
  3120  	// in API requests with the JSON null value. By default, fields with
  3121  	// empty values are omitted from API requests. However, any field with
  3122  	// an empty value appearing in NullFields will be sent to the server as
  3123  	// null. It is an error if a field in this list has a non-empty value.
  3124  	// This may be used to include null fields in Patch requests.
  3125  	NullFields []string `json:"-"`
  3126  }
  3127  
  3128  func (s *EnterpriseCrmEventbusProtoParameterMapField) MarshalJSON() ([]byte, error) {
  3129  	type NoMethod EnterpriseCrmEventbusProtoParameterMapField
  3130  	raw := NoMethod(*s)
  3131  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3132  }
  3133  
  3134  // EnterpriseCrmEventbusProtoParameterValueType: LINT.IfChange To
  3135  // support various types of parameter values. Next available id: 14
  3136  type EnterpriseCrmEventbusProtoParameterValueType struct {
  3137  	BooleanArray *EnterpriseCrmEventbusProtoBooleanParameterArray `json:"booleanArray,omitempty"`
  3138  
  3139  	BooleanValue bool `json:"booleanValue,omitempty"`
  3140  
  3141  	DoubleArray *EnterpriseCrmEventbusProtoDoubleParameterArray `json:"doubleArray,omitempty"`
  3142  
  3143  	DoubleValue float64 `json:"doubleValue,omitempty"`
  3144  
  3145  	IntArray *EnterpriseCrmEventbusProtoIntParameterArray `json:"intArray,omitempty"`
  3146  
  3147  	IntValue int64 `json:"intValue,omitempty,string"`
  3148  
  3149  	ProtoArray *EnterpriseCrmEventbusProtoProtoParameterArray `json:"protoArray,omitempty"`
  3150  
  3151  	ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
  3152  
  3153  	SerializedObjectValue *EnterpriseCrmEventbusProtoSerializedObjectParameter `json:"serializedObjectValue,omitempty"`
  3154  
  3155  	StringArray *EnterpriseCrmEventbusProtoStringParameterArray `json:"stringArray,omitempty"`
  3156  
  3157  	StringValue string `json:"stringValue,omitempty"`
  3158  
  3159  	// ForceSendFields is a list of field names (e.g. "BooleanArray") to
  3160  	// unconditionally include in API requests. By default, fields with
  3161  	// empty or default values are omitted from API requests. However, any
  3162  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3163  	// sent to the server regardless of whether the field is empty or not.
  3164  	// This may be used to include empty fields in Patch requests.
  3165  	ForceSendFields []string `json:"-"`
  3166  
  3167  	// NullFields is a list of field names (e.g. "BooleanArray") to include
  3168  	// in API requests with the JSON null value. By default, fields with
  3169  	// empty values are omitted from API requests. However, any field with
  3170  	// an empty value appearing in NullFields will be sent to the server as
  3171  	// null. It is an error if a field in this list has a non-empty value.
  3172  	// This may be used to include null fields in Patch requests.
  3173  	NullFields []string `json:"-"`
  3174  }
  3175  
  3176  func (s *EnterpriseCrmEventbusProtoParameterValueType) MarshalJSON() ([]byte, error) {
  3177  	type NoMethod EnterpriseCrmEventbusProtoParameterValueType
  3178  	raw := NoMethod(*s)
  3179  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3180  }
  3181  
  3182  func (s *EnterpriseCrmEventbusProtoParameterValueType) UnmarshalJSON(data []byte) error {
  3183  	type NoMethod EnterpriseCrmEventbusProtoParameterValueType
  3184  	var s1 struct {
  3185  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
  3186  		*NoMethod
  3187  	}
  3188  	s1.NoMethod = (*NoMethod)(s)
  3189  	if err := json.Unmarshal(data, &s1); err != nil {
  3190  		return err
  3191  	}
  3192  	s.DoubleValue = float64(s1.DoubleValue)
  3193  	return nil
  3194  }
  3195  
  3196  // EnterpriseCrmEventbusProtoPropertyEntry: Key-value pair of EventBus
  3197  // property.
  3198  type EnterpriseCrmEventbusProtoPropertyEntry struct {
  3199  	// Key: Key is used to retrieve the corresponding property value. This
  3200  	// should be unique for a given fired event. The Tasks should be aware
  3201  	// of the keys used while firing the events for them to be able to
  3202  	// retrieve the values.
  3203  	Key string `json:"key,omitempty"`
  3204  
  3205  	// Value: Values for the defined keys. Each value can either be string,
  3206  	// int, double or any proto message.
  3207  	Value *EnterpriseCrmEventbusProtoValueType `json:"value,omitempty"`
  3208  
  3209  	// ForceSendFields is a list of field names (e.g. "Key") to
  3210  	// unconditionally include in API requests. By default, fields with
  3211  	// empty or default values are omitted from API requests. However, any
  3212  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3213  	// sent to the server regardless of whether the field is empty or not.
  3214  	// This may be used to include empty fields in Patch requests.
  3215  	ForceSendFields []string `json:"-"`
  3216  
  3217  	// NullFields is a list of field names (e.g. "Key") to include in API
  3218  	// requests with the JSON null value. By default, fields with empty
  3219  	// values are omitted from API requests. However, any field with an
  3220  	// empty value appearing in NullFields will be sent to the server as
  3221  	// null. It is an error if a field in this list has a non-empty value.
  3222  	// This may be used to include null fields in Patch requests.
  3223  	NullFields []string `json:"-"`
  3224  }
  3225  
  3226  func (s *EnterpriseCrmEventbusProtoPropertyEntry) MarshalJSON() ([]byte, error) {
  3227  	type NoMethod EnterpriseCrmEventbusProtoPropertyEntry
  3228  	raw := NoMethod(*s)
  3229  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3230  }
  3231  
  3232  type EnterpriseCrmEventbusProtoProtoArrayFunction struct {
  3233  	// Possible values:
  3234  	//   "UNSPECIFIED"
  3235  	//   "GET"
  3236  	//   "APPEND"
  3237  	//   "SIZE"
  3238  	//   "TO_SET"
  3239  	//   "APPEND_ALL"
  3240  	//   "TO_JSON"
  3241  	//   "SET"
  3242  	//   "REMOVE"
  3243  	//   "REMOVE_AT"
  3244  	//   "CONTAINS"
  3245  	//   "FOR_EACH"
  3246  	//   "FILTER"
  3247  	FunctionName string `json:"functionName,omitempty"`
  3248  
  3249  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3250  	// unconditionally include in API requests. By default, fields with
  3251  	// empty or default values are omitted from API requests. However, any
  3252  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3253  	// sent to the server regardless of whether the field is empty or not.
  3254  	// This may be used to include empty fields in Patch requests.
  3255  	ForceSendFields []string `json:"-"`
  3256  
  3257  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3258  	// in API requests with the JSON null value. By default, fields with
  3259  	// empty values are omitted from API requests. However, any field with
  3260  	// an empty value appearing in NullFields will be sent to the server as
  3261  	// null. It is an error if a field in this list has a non-empty value.
  3262  	// This may be used to include null fields in Patch requests.
  3263  	NullFields []string `json:"-"`
  3264  }
  3265  
  3266  func (s *EnterpriseCrmEventbusProtoProtoArrayFunction) MarshalJSON() ([]byte, error) {
  3267  	type NoMethod EnterpriseCrmEventbusProtoProtoArrayFunction
  3268  	raw := NoMethod(*s)
  3269  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3270  }
  3271  
  3272  type EnterpriseCrmEventbusProtoProtoFunction struct {
  3273  	// Possible values:
  3274  	//   "UNSPECIFIED"
  3275  	//   "GET_STRING_SUBFIELD"
  3276  	//   "GET_INT_SUBFIELD"
  3277  	//   "GET_DOUBLE_SUBFIELD"
  3278  	//   "GET_BOOLEAN_SUBFIELD"
  3279  	//   "GET_STRING_ARRAY_SUBFIELD"
  3280  	//   "GET_INT_ARRAY_SUBFIELD"
  3281  	//   "GET_DOUBLE_ARRAY_SUBFIELD"
  3282  	//   "GET_BOOLEAN_ARRAY_SUBFIELD"
  3283  	//   "GET_PROTO_ARRAY_SUBFIELD"
  3284  	//   "GET_PROTO_SUBFIELD"
  3285  	//   "TO_JSON"
  3286  	//   "GET_BYTES_SUBFIELD_AS_UTF_8_STRING"
  3287  	//   "GET_BYTES_SUBFIELD_AS_PROTO"
  3288  	//   "EQUALS"
  3289  	FunctionName string `json:"functionName,omitempty"`
  3290  
  3291  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3292  	// unconditionally include in API requests. By default, fields with
  3293  	// empty or default values are omitted from API requests. However, any
  3294  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3295  	// sent to the server regardless of whether the field is empty or not.
  3296  	// This may be used to include empty fields in Patch requests.
  3297  	ForceSendFields []string `json:"-"`
  3298  
  3299  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3300  	// in API requests with the JSON null value. By default, fields with
  3301  	// empty values are omitted from API requests. However, any field with
  3302  	// an empty value appearing in NullFields will be sent to the server as
  3303  	// null. It is an error if a field in this list has a non-empty value.
  3304  	// This may be used to include null fields in Patch requests.
  3305  	NullFields []string `json:"-"`
  3306  }
  3307  
  3308  func (s *EnterpriseCrmEventbusProtoProtoFunction) MarshalJSON() ([]byte, error) {
  3309  	type NoMethod EnterpriseCrmEventbusProtoProtoFunction
  3310  	raw := NoMethod(*s)
  3311  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3312  }
  3313  
  3314  type EnterpriseCrmEventbusProtoProtoParameterArray struct {
  3315  	ProtoValues []googleapi.RawMessage `json:"protoValues,omitempty"`
  3316  
  3317  	// ForceSendFields is a list of field names (e.g. "ProtoValues") to
  3318  	// unconditionally include in API requests. By default, fields with
  3319  	// empty or default values are omitted from API requests. However, any
  3320  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3321  	// sent to the server regardless of whether the field is empty or not.
  3322  	// This may be used to include empty fields in Patch requests.
  3323  	ForceSendFields []string `json:"-"`
  3324  
  3325  	// NullFields is a list of field names (e.g. "ProtoValues") to include
  3326  	// in API requests with the JSON null value. By default, fields with
  3327  	// empty values are omitted from API requests. However, any field with
  3328  	// an empty value appearing in NullFields will be sent to the server as
  3329  	// null. It is an error if a field in this list has a non-empty value.
  3330  	// This may be used to include null fields in Patch requests.
  3331  	NullFields []string `json:"-"`
  3332  }
  3333  
  3334  func (s *EnterpriseCrmEventbusProtoProtoParameterArray) MarshalJSON() ([]byte, error) {
  3335  	type NoMethod EnterpriseCrmEventbusProtoProtoParameterArray
  3336  	raw := NoMethod(*s)
  3337  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3338  }
  3339  
  3340  type EnterpriseCrmEventbusProtoScatterResponse struct {
  3341  	// ErrorMsg: The error message of the failure if applicable.
  3342  	ErrorMsg string `json:"errorMsg,omitempty"`
  3343  
  3344  	// ExecutionIds: The execution ids of each Subworkflow fired by this
  3345  	// scatter.
  3346  	ExecutionIds []string `json:"executionIds,omitempty"`
  3347  
  3348  	// IsSuccessful: If execution is sync, this is true if the execution
  3349  	// passed and false if it failed. If the execution is async, this is
  3350  	// true if the WF was fired off successfully, and false if it failed to
  3351  	// execute. The success or failure of the subworkflows executed are not
  3352  	// captured.
  3353  	IsSuccessful bool `json:"isSuccessful,omitempty"`
  3354  
  3355  	// ResponseParams: A list of all the response parameters in the
  3356  	// aggregtorMap stored with the remapped key.
  3357  	ResponseParams []*EnterpriseCrmEventbusProtoParameterEntry `json:"responseParams,omitempty"`
  3358  
  3359  	// ScatterElement: The element that was scattered for this execution.
  3360  	ScatterElement *EnterpriseCrmEventbusProtoParameterValueType `json:"scatterElement,omitempty"`
  3361  
  3362  	// ForceSendFields is a list of field names (e.g. "ErrorMsg") to
  3363  	// unconditionally include in API requests. By default, fields with
  3364  	// empty or default values are omitted from API requests. However, any
  3365  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3366  	// sent to the server regardless of whether the field is empty or not.
  3367  	// This may be used to include empty fields in Patch requests.
  3368  	ForceSendFields []string `json:"-"`
  3369  
  3370  	// NullFields is a list of field names (e.g. "ErrorMsg") to include in
  3371  	// API requests with the JSON null value. By default, fields with empty
  3372  	// values are omitted from API requests. However, any field with an
  3373  	// empty value appearing in NullFields will be sent to the server as
  3374  	// null. It is an error if a field in this list has a non-empty value.
  3375  	// This may be used to include null fields in Patch requests.
  3376  	NullFields []string `json:"-"`
  3377  }
  3378  
  3379  func (s *EnterpriseCrmEventbusProtoScatterResponse) MarshalJSON() ([]byte, error) {
  3380  	type NoMethod EnterpriseCrmEventbusProtoScatterResponse
  3381  	raw := NoMethod(*s)
  3382  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3383  }
  3384  
  3385  type EnterpriseCrmEventbusProtoSerializedObjectParameter struct {
  3386  	ObjectValue string `json:"objectValue,omitempty"`
  3387  
  3388  	// ForceSendFields is a list of field names (e.g. "ObjectValue") to
  3389  	// unconditionally include in API requests. By default, fields with
  3390  	// empty or default values are omitted from API requests. However, any
  3391  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3392  	// sent to the server regardless of whether the field is empty or not.
  3393  	// This may be used to include empty fields in Patch requests.
  3394  	ForceSendFields []string `json:"-"`
  3395  
  3396  	// NullFields is a list of field names (e.g. "ObjectValue") to include
  3397  	// in API requests with the JSON null value. By default, fields with
  3398  	// empty values are omitted from API requests. However, any field with
  3399  	// an empty value appearing in NullFields will be sent to the server as
  3400  	// null. It is an error if a field in this list has a non-empty value.
  3401  	// This may be used to include null fields in Patch requests.
  3402  	NullFields []string `json:"-"`
  3403  }
  3404  
  3405  func (s *EnterpriseCrmEventbusProtoSerializedObjectParameter) MarshalJSON() ([]byte, error) {
  3406  	type NoMethod EnterpriseCrmEventbusProtoSerializedObjectParameter
  3407  	raw := NoMethod(*s)
  3408  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3409  }
  3410  
  3411  type EnterpriseCrmEventbusProtoStringArray struct {
  3412  	Values []string `json:"values,omitempty"`
  3413  
  3414  	// ForceSendFields is a list of field names (e.g. "Values") to
  3415  	// unconditionally include in API requests. By default, fields with
  3416  	// empty or default values are omitted from API requests. However, any
  3417  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3418  	// sent to the server regardless of whether the field is empty or not.
  3419  	// This may be used to include empty fields in Patch requests.
  3420  	ForceSendFields []string `json:"-"`
  3421  
  3422  	// NullFields is a list of field names (e.g. "Values") to include in API
  3423  	// requests with the JSON null value. By default, fields with empty
  3424  	// values are omitted from API requests. However, any field with an
  3425  	// empty value appearing in NullFields will be sent to the server as
  3426  	// null. It is an error if a field in this list has a non-empty value.
  3427  	// This may be used to include null fields in Patch requests.
  3428  	NullFields []string `json:"-"`
  3429  }
  3430  
  3431  func (s *EnterpriseCrmEventbusProtoStringArray) MarshalJSON() ([]byte, error) {
  3432  	type NoMethod EnterpriseCrmEventbusProtoStringArray
  3433  	raw := NoMethod(*s)
  3434  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3435  }
  3436  
  3437  type EnterpriseCrmEventbusProtoStringArrayFunction struct {
  3438  	// Possible values:
  3439  	//   "UNSPECIFIED"
  3440  	//   "GET"
  3441  	//   "APPEND"
  3442  	//   "SIZE"
  3443  	//   "TO_SET"
  3444  	//   "APPEND_ALL"
  3445  	//   "TO_JSON"
  3446  	//   "SET"
  3447  	//   "REMOVE"
  3448  	//   "REMOVE_AT"
  3449  	//   "CONTAINS"
  3450  	//   "FOR_EACH"
  3451  	//   "FILTER"
  3452  	FunctionName string `json:"functionName,omitempty"`
  3453  
  3454  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3455  	// unconditionally include in API requests. By default, fields with
  3456  	// empty or default values are omitted from API requests. However, any
  3457  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3458  	// sent to the server regardless of whether the field is empty or not.
  3459  	// This may be used to include empty fields in Patch requests.
  3460  	ForceSendFields []string `json:"-"`
  3461  
  3462  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3463  	// in API requests with the JSON null value. By default, fields with
  3464  	// empty values are omitted from API requests. However, any field with
  3465  	// an empty value appearing in NullFields will be sent to the server as
  3466  	// null. It is an error if a field in this list has a non-empty value.
  3467  	// This may be used to include null fields in Patch requests.
  3468  	NullFields []string `json:"-"`
  3469  }
  3470  
  3471  func (s *EnterpriseCrmEventbusProtoStringArrayFunction) MarshalJSON() ([]byte, error) {
  3472  	type NoMethod EnterpriseCrmEventbusProtoStringArrayFunction
  3473  	raw := NoMethod(*s)
  3474  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3475  }
  3476  
  3477  type EnterpriseCrmEventbusProtoStringFunction struct {
  3478  	// Possible values:
  3479  	//   "UNSPECIFIED"
  3480  	//   "CONCAT"
  3481  	//   "TO_UPPERCASE"
  3482  	//   "TO_LOWERCASE"
  3483  	//   "CONTAINS"
  3484  	//   "SPLIT"
  3485  	//   "LENGTH"
  3486  	//   "EQUALS"
  3487  	//   "TO_INT"
  3488  	//   "TO_DOUBLE"
  3489  	//   "TO_BOOLEAN"
  3490  	//   "TO_BASE_64"
  3491  	//   "TO_JSON"
  3492  	//   "EQUALS_IGNORE_CASE"
  3493  	//   "REPLACE_ALL"
  3494  	//   "SUBSTRING"
  3495  	//   "RESOLVE_TEMPLATE"
  3496  	//   "DECODE_BASE64_STRING"
  3497  	FunctionName string `json:"functionName,omitempty"`
  3498  
  3499  	// ForceSendFields is a list of field names (e.g. "FunctionName") to
  3500  	// unconditionally include in API requests. By default, fields with
  3501  	// empty or default values are omitted from API requests. However, any
  3502  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3503  	// sent to the server regardless of whether the field is empty or not.
  3504  	// This may be used to include empty fields in Patch requests.
  3505  	ForceSendFields []string `json:"-"`
  3506  
  3507  	// NullFields is a list of field names (e.g. "FunctionName") to include
  3508  	// in API requests with the JSON null value. By default, fields with
  3509  	// empty values are omitted from API requests. However, any field with
  3510  	// an empty value appearing in NullFields will be sent to the server as
  3511  	// null. It is an error if a field in this list has a non-empty value.
  3512  	// This may be used to include null fields in Patch requests.
  3513  	NullFields []string `json:"-"`
  3514  }
  3515  
  3516  func (s *EnterpriseCrmEventbusProtoStringFunction) MarshalJSON() ([]byte, error) {
  3517  	type NoMethod EnterpriseCrmEventbusProtoStringFunction
  3518  	raw := NoMethod(*s)
  3519  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3520  }
  3521  
  3522  type EnterpriseCrmEventbusProtoStringParameterArray struct {
  3523  	StringValues []string `json:"stringValues,omitempty"`
  3524  
  3525  	// ForceSendFields is a list of field names (e.g. "StringValues") to
  3526  	// unconditionally include in API requests. By default, fields with
  3527  	// empty or default values are omitted from API requests. However, any
  3528  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3529  	// sent to the server regardless of whether the field is empty or not.
  3530  	// This may be used to include empty fields in Patch requests.
  3531  	ForceSendFields []string `json:"-"`
  3532  
  3533  	// NullFields is a list of field names (e.g. "StringValues") to include
  3534  	// in API requests with the JSON null value. By default, fields with
  3535  	// empty values are omitted from API requests. However, any field with
  3536  	// an empty value appearing in NullFields will be sent to the server as
  3537  	// null. It is an error if a field in this list has a non-empty value.
  3538  	// This may be used to include null fields in Patch requests.
  3539  	NullFields []string `json:"-"`
  3540  }
  3541  
  3542  func (s *EnterpriseCrmEventbusProtoStringParameterArray) MarshalJSON() ([]byte, error) {
  3543  	type NoMethod EnterpriseCrmEventbusProtoStringParameterArray
  3544  	raw := NoMethod(*s)
  3545  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3546  }
  3547  
  3548  // EnterpriseCrmEventbusProtoSuccessPolicy: Policy that dictates the
  3549  // behavior for the task after it completes successfully.
  3550  type EnterpriseCrmEventbusProtoSuccessPolicy struct {
  3551  	// FinalState: State to which the execution snapshot status will be set
  3552  	// if the task succeeds.
  3553  	//
  3554  	// Possible values:
  3555  	//   "UNSPECIFIED"
  3556  	//   "SUCCEEDED" - The default behavior, where successful tasks will be
  3557  	// marked as SUCCEEDED.
  3558  	//   "SUSPENDED" - Sets the state to SUSPENDED after executing. This is
  3559  	// required for SuspensionTask; event execution will continue once the
  3560  	// user calls ResolveSuspensions with the event_execution_info_id and
  3561  	// the task number.
  3562  	FinalState string `json:"finalState,omitempty"`
  3563  
  3564  	// ForceSendFields is a list of field names (e.g. "FinalState") to
  3565  	// unconditionally include in API requests. By default, fields with
  3566  	// empty or default values are omitted from API requests. However, any
  3567  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3568  	// sent to the server regardless of whether the field is empty or not.
  3569  	// This may be used to include empty fields in Patch requests.
  3570  	ForceSendFields []string `json:"-"`
  3571  
  3572  	// NullFields is a list of field names (e.g. "FinalState") to include in
  3573  	// API requests with the JSON null value. By default, fields with empty
  3574  	// values are omitted from API requests. However, any field with an
  3575  	// empty value appearing in NullFields will be sent to the server as
  3576  	// null. It is an error if a field in this list has a non-empty value.
  3577  	// This may be used to include null fields in Patch requests.
  3578  	NullFields []string `json:"-"`
  3579  }
  3580  
  3581  func (s *EnterpriseCrmEventbusProtoSuccessPolicy) MarshalJSON() ([]byte, error) {
  3582  	type NoMethod EnterpriseCrmEventbusProtoSuccessPolicy
  3583  	raw := NoMethod(*s)
  3584  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3585  }
  3586  
  3587  // EnterpriseCrmEventbusProtoSuspensionAuthPermissions: LINT.IfChange
  3588  type EnterpriseCrmEventbusProtoSuspensionAuthPermissions struct {
  3589  	// GaiaIdentity: Represents a Gaia identity for a person or service
  3590  	// account.
  3591  	GaiaIdentity *EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity `json:"gaiaIdentity,omitempty"`
  3592  
  3593  	GoogleGroup *EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity `json:"googleGroup,omitempty"`
  3594  
  3595  	LoasRole string `json:"loasRole,omitempty"`
  3596  
  3597  	MdbGroup string `json:"mdbGroup,omitempty"`
  3598  
  3599  	// ForceSendFields is a list of field names (e.g. "GaiaIdentity") to
  3600  	// unconditionally include in API requests. By default, fields with
  3601  	// empty or default values are omitted from API requests. However, any
  3602  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3603  	// sent to the server regardless of whether the field is empty or not.
  3604  	// This may be used to include empty fields in Patch requests.
  3605  	ForceSendFields []string `json:"-"`
  3606  
  3607  	// NullFields is a list of field names (e.g. "GaiaIdentity") to include
  3608  	// in API requests with the JSON null value. By default, fields with
  3609  	// empty values are omitted from API requests. However, any field with
  3610  	// an empty value appearing in NullFields will be sent to the server as
  3611  	// null. It is an error if a field in this list has a non-empty value.
  3612  	// This may be used to include null fields in Patch requests.
  3613  	NullFields []string `json:"-"`
  3614  }
  3615  
  3616  func (s *EnterpriseCrmEventbusProtoSuspensionAuthPermissions) MarshalJSON() ([]byte, error) {
  3617  	type NoMethod EnterpriseCrmEventbusProtoSuspensionAuthPermissions
  3618  	raw := NoMethod(*s)
  3619  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3620  }
  3621  
  3622  type EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity struct {
  3623  	EmailAddress string `json:"emailAddress,omitempty"`
  3624  
  3625  	GaiaId int64 `json:"gaiaId,omitempty,string"`
  3626  
  3627  	// ForceSendFields is a list of field names (e.g. "EmailAddress") to
  3628  	// unconditionally include in API requests. By default, fields with
  3629  	// empty or default values are omitted from API requests. However, any
  3630  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3631  	// sent to the server regardless of whether the field is empty or not.
  3632  	// This may be used to include empty fields in Patch requests.
  3633  	ForceSendFields []string `json:"-"`
  3634  
  3635  	// NullFields is a list of field names (e.g. "EmailAddress") to include
  3636  	// in API requests with the JSON null value. By default, fields with
  3637  	// empty values are omitted from API requests. However, any field with
  3638  	// an empty value appearing in NullFields will be sent to the server as
  3639  	// null. It is an error if a field in this list has a non-empty value.
  3640  	// This may be used to include null fields in Patch requests.
  3641  	NullFields []string `json:"-"`
  3642  }
  3643  
  3644  func (s *EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity) MarshalJSON() ([]byte, error) {
  3645  	type NoMethod EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity
  3646  	raw := NoMethod(*s)
  3647  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3648  }
  3649  
  3650  type EnterpriseCrmEventbusProtoSuspensionConfig struct {
  3651  	// CustomMessage: Optional information to provide recipients of the
  3652  	// suspension in addition to the resolution URL, typically containing
  3653  	// relevant parameter values from the originating workflow.
  3654  	CustomMessage string `json:"customMessage,omitempty"`
  3655  
  3656  	Notifications []*EnterpriseCrmEventbusProtoNotification `json:"notifications,omitempty"`
  3657  
  3658  	// SuspensionExpiration: Indicates the next steps when no external
  3659  	// actions happen on the suspension.
  3660  	SuspensionExpiration *EnterpriseCrmEventbusProtoSuspensionExpiration `json:"suspensionExpiration,omitempty"`
  3661  
  3662  	// WhoMayResolve: Identities able to resolve this suspension.
  3663  	WhoMayResolve []*EnterpriseCrmEventbusProtoSuspensionAuthPermissions `json:"whoMayResolve,omitempty"`
  3664  
  3665  	// ForceSendFields is a list of field names (e.g. "CustomMessage") to
  3666  	// unconditionally include in API requests. By default, fields with
  3667  	// empty or default values are omitted from API requests. However, any
  3668  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3669  	// sent to the server regardless of whether the field is empty or not.
  3670  	// This may be used to include empty fields in Patch requests.
  3671  	ForceSendFields []string `json:"-"`
  3672  
  3673  	// NullFields is a list of field names (e.g. "CustomMessage") to include
  3674  	// in API requests with the JSON null value. By default, fields with
  3675  	// empty values are omitted from API requests. However, any field with
  3676  	// an empty value appearing in NullFields will be sent to the server as
  3677  	// null. It is an error if a field in this list has a non-empty value.
  3678  	// This may be used to include null fields in Patch requests.
  3679  	NullFields []string `json:"-"`
  3680  }
  3681  
  3682  func (s *EnterpriseCrmEventbusProtoSuspensionConfig) MarshalJSON() ([]byte, error) {
  3683  	type NoMethod EnterpriseCrmEventbusProtoSuspensionConfig
  3684  	raw := NoMethod(*s)
  3685  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3686  }
  3687  
  3688  type EnterpriseCrmEventbusProtoSuspensionExpiration struct {
  3689  	// ExpireAfterMs: Milliseconds after which the suspension expires, if no
  3690  	// action taken.
  3691  	ExpireAfterMs int64 `json:"expireAfterMs,omitempty"`
  3692  
  3693  	// LiftWhenExpired: Whether the suspension will be REJECTED or LIFTED
  3694  	// upon expiration. REJECTED is the default behavior.
  3695  	LiftWhenExpired bool `json:"liftWhenExpired,omitempty"`
  3696  
  3697  	// RemindAfterMs: Milliseconds after which the previous suspension
  3698  	// action reminder, if any, is sent using the selected notification
  3699  	// option, for a suspension which is still PENDING_UNSPECIFIED.
  3700  	RemindAfterMs int64 `json:"remindAfterMs,omitempty"`
  3701  
  3702  	// ForceSendFields is a list of field names (e.g. "ExpireAfterMs") to
  3703  	// unconditionally include in API requests. By default, fields with
  3704  	// empty or default values are omitted from API requests. However, any
  3705  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3706  	// sent to the server regardless of whether the field is empty or not.
  3707  	// This may be used to include empty fields in Patch requests.
  3708  	ForceSendFields []string `json:"-"`
  3709  
  3710  	// NullFields is a list of field names (e.g. "ExpireAfterMs") to include
  3711  	// in API requests with the JSON null value. By default, fields with
  3712  	// empty values are omitted from API requests. However, any field with
  3713  	// an empty value appearing in NullFields will be sent to the server as
  3714  	// null. It is an error if a field in this list has a non-empty value.
  3715  	// This may be used to include null fields in Patch requests.
  3716  	NullFields []string `json:"-"`
  3717  }
  3718  
  3719  func (s *EnterpriseCrmEventbusProtoSuspensionExpiration) MarshalJSON() ([]byte, error) {
  3720  	type NoMethod EnterpriseCrmEventbusProtoSuspensionExpiration
  3721  	raw := NoMethod(*s)
  3722  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3723  }
  3724  
  3725  type EnterpriseCrmEventbusProtoSuspensionResolutionInfo struct {
  3726  	Audit *EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit `json:"audit,omitempty"`
  3727  
  3728  	// ClientId: The event data user sends as request.
  3729  	ClientId string `json:"clientId,omitempty"`
  3730  
  3731  	// CloudKmsConfig: KMS info, used by cmek/gmek integration
  3732  	CloudKmsConfig *EnterpriseCrmEventbusProtoCloudKmsConfig `json:"cloudKmsConfig,omitempty"`
  3733  
  3734  	// CreatedTimestamp: Auto-generated.
  3735  	CreatedTimestamp string `json:"createdTimestamp,omitempty"`
  3736  
  3737  	// EncryptedSuspensionResolutionInfo: Encrypted SuspensionResolutionInfo
  3738  	EncryptedSuspensionResolutionInfo string `json:"encryptedSuspensionResolutionInfo,omitempty"`
  3739  
  3740  	// EventExecutionInfoId: Required. ID of the associated execution.
  3741  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  3742  
  3743  	// ExternalTraffic: The origin of the suspension for periodic
  3744  	// notifications.
  3745  	ExternalTraffic *EnterpriseCrmEventbusProtoExternalTraffic `json:"externalTraffic,omitempty"`
  3746  
  3747  	// LastModifiedTimestamp: Auto-generated.
  3748  	LastModifiedTimestamp string `json:"lastModifiedTimestamp,omitempty"`
  3749  
  3750  	// Product: Which Google product the suspension belongs to. If not set,
  3751  	// the suspension belongs to Integration Platform by default.
  3752  	//
  3753  	// Possible values:
  3754  	//   "UNSPECIFIED_PRODUCT"
  3755  	//   "IP"
  3756  	//   "APIGEE"
  3757  	//   "SECURITY"
  3758  	Product string `json:"product,omitempty"`
  3759  
  3760  	// Possible values:
  3761  	//   "PENDING_UNSPECIFIED"
  3762  	//   "REJECTED"
  3763  	//   "LIFTED"
  3764  	//   "CANCELED"
  3765  	Status string `json:"status,omitempty"`
  3766  
  3767  	SuspensionConfig *EnterpriseCrmEventbusProtoSuspensionConfig `json:"suspensionConfig,omitempty"`
  3768  
  3769  	// SuspensionId: Primary key for the SuspensionResolutionInfoTable.
  3770  	SuspensionId string `json:"suspensionId,omitempty"`
  3771  
  3772  	// TaskNumber: Required. Task number of the associated SuspensionTask.
  3773  	TaskNumber string `json:"taskNumber,omitempty"`
  3774  
  3775  	// WorkflowName: Required. The name of the originating workflow.
  3776  	WorkflowName string `json:"workflowName,omitempty"`
  3777  
  3778  	// WrappedDek: Wrapped dek
  3779  	WrappedDek string `json:"wrappedDek,omitempty"`
  3780  
  3781  	// ForceSendFields is a list of field names (e.g. "Audit") to
  3782  	// unconditionally include in API requests. By default, fields with
  3783  	// empty or default values are omitted from API requests. However, any
  3784  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3785  	// sent to the server regardless of whether the field is empty or not.
  3786  	// This may be used to include empty fields in Patch requests.
  3787  	ForceSendFields []string `json:"-"`
  3788  
  3789  	// NullFields is a list of field names (e.g. "Audit") to include in API
  3790  	// requests with the JSON null value. By default, fields with empty
  3791  	// values are omitted from API requests. However, any field with an
  3792  	// empty value appearing in NullFields will be sent to the server as
  3793  	// null. It is an error if a field in this list has a non-empty value.
  3794  	// This may be used to include null fields in Patch requests.
  3795  	NullFields []string `json:"-"`
  3796  }
  3797  
  3798  func (s *EnterpriseCrmEventbusProtoSuspensionResolutionInfo) MarshalJSON() ([]byte, error) {
  3799  	type NoMethod EnterpriseCrmEventbusProtoSuspensionResolutionInfo
  3800  	raw := NoMethod(*s)
  3801  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3802  }
  3803  
  3804  type EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit struct {
  3805  	ResolvedBy string `json:"resolvedBy,omitempty"`
  3806  
  3807  	ResolvedByCpi string `json:"resolvedByCpi,omitempty"`
  3808  
  3809  	Timestamp string `json:"timestamp,omitempty"`
  3810  
  3811  	// ForceSendFields is a list of field names (e.g. "ResolvedBy") to
  3812  	// unconditionally include in API requests. By default, fields with
  3813  	// empty or default values are omitted from API requests. However, any
  3814  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3815  	// sent to the server regardless of whether the field is empty or not.
  3816  	// This may be used to include empty fields in Patch requests.
  3817  	ForceSendFields []string `json:"-"`
  3818  
  3819  	// NullFields is a list of field names (e.g. "ResolvedBy") to include in
  3820  	// API requests with the JSON null value. By default, fields with empty
  3821  	// values are omitted from API requests. However, any field with an
  3822  	// empty value appearing in NullFields will be sent to the server as
  3823  	// null. It is an error if a field in this list has a non-empty value.
  3824  	// This may be used to include null fields in Patch requests.
  3825  	NullFields []string `json:"-"`
  3826  }
  3827  
  3828  func (s *EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit) MarshalJSON() ([]byte, error) {
  3829  	type NoMethod EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit
  3830  	raw := NoMethod(*s)
  3831  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3832  }
  3833  
  3834  // EnterpriseCrmEventbusProtoTaskAlertConfig: Message to be used to
  3835  // configure alerting in the {@code TaskConfig} protos for tasks in an
  3836  // event.
  3837  type EnterpriseCrmEventbusProtoTaskAlertConfig struct {
  3838  	// AggregationPeriod: The period over which the metric value should be
  3839  	// aggregated and evaluated. Format is , where integer should be a
  3840  	// positive integer and unit should be one of (s,m,h,d,w) meaning
  3841  	// (second, minute, hour, day, week).
  3842  	AggregationPeriod string `json:"aggregationPeriod,omitempty"`
  3843  
  3844  	// AlertDisabled: Set to false by default. When set to true, the metrics
  3845  	// are not aggregated or pushed to Monarch for this workflow alert.
  3846  	AlertDisabled bool `json:"alertDisabled,omitempty"`
  3847  
  3848  	// AlertName: A name to identify this alert. This will be displayed in
  3849  	// the alert subject. If set, this name should be unique in within the
  3850  	// scope of the containing workflow.
  3851  	AlertName string `json:"alertName,omitempty"`
  3852  
  3853  	// ClientId: Client associated with this alert configuration. Must be a
  3854  	// client enabled in one of the containing workflow's triggers.
  3855  	ClientId string `json:"clientId,omitempty"`
  3856  
  3857  	// DurationThresholdMs: Should be specified only for
  3858  	// TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This
  3859  	// member should be used to specify what duration value the metrics
  3860  	// should exceed for the alert to trigger.
  3861  	DurationThresholdMs int64 `json:"durationThresholdMs,omitempty,string"`
  3862  
  3863  	ErrorEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"errorEnumList,omitempty"`
  3864  
  3865  	// Possible values:
  3866  	//   "METRIC_TYPE_UNSPECIFIED" - The default value. Metric type should
  3867  	// always be set to one of the other non-default values, otherwise it
  3868  	// will result in an INVALID_ARGUMENT error.
  3869  	//   "TASK_ERROR_RATE" - Specifies alerting on the rate of errors
  3870  	// (potentially for a specific set of enum values) for the enclosing
  3871  	// TaskConfig.
  3872  	//   "TASK_WARNING_RATE" - Specifies alerting on the rate of warnings
  3873  	// (potentially for a specific set of enum values) for the enclosing
  3874  	// TaskConfig. Warnings use the same enum values as errors.
  3875  	//   "TASK_RATE" - Specifies alerting on the number of instances for the
  3876  	// enclosing TaskConfig executed in the given aggregation_period.
  3877  	//   "TASK_AVERAGE_DURATION" - Specifies alerting on the average
  3878  	// duration of execution for the enclosing task.
  3879  	//   "TASK_PERCENTILE_DURATION" - Specifies alerting on the duration of
  3880  	// a particular percentile of task executions. E.g. If 10% or more of
  3881  	// the task executions have durations above 5 seconds, alert.
  3882  	MetricType string `json:"metricType,omitempty"`
  3883  
  3884  	// NumAggregationPeriods: For how many contiguous aggregation periods
  3885  	// should the expected min or max be violated for the alert to be fired.
  3886  	NumAggregationPeriods int64 `json:"numAggregationPeriods,omitempty"`
  3887  
  3888  	// OnlyFinalAttempt: Only count final task attempts, not retries.
  3889  	OnlyFinalAttempt bool `json:"onlyFinalAttempt,omitempty"`
  3890  
  3891  	// PlaybookUrl: Link to a playbook for resolving the issue that
  3892  	// triggered this alert.
  3893  	PlaybookUrl string `json:"playbookUrl,omitempty"`
  3894  
  3895  	// ThresholdType: The threshold type for which this alert is being
  3896  	// configured. If value falls below expected_min or exceeds
  3897  	// expected_max, an alert will be fired.
  3898  	//
  3899  	// Possible values:
  3900  	//   "UNSPECIFIED_THRESHOLD_TYPE"
  3901  	//   "EXPECTED_MIN" - Note that this field will only trigger alerts if
  3902  	// the workflow specifying it runs at least once in 24 hours (which is
  3903  	// our in-memory retention period for monarch streams). Also note that
  3904  	// `aggregation_period` for this alert configuration must be less than
  3905  	// 24 hours.
  3906  	//   "EXPECTED_MAX"
  3907  	ThresholdType string `json:"thresholdType,omitempty"`
  3908  
  3909  	// ThresholdValue: The metric value, above or below which the alert
  3910  	// should be triggered.
  3911  	ThresholdValue *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue `json:"thresholdValue,omitempty"`
  3912  
  3913  	WarningEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"warningEnumList,omitempty"`
  3914  
  3915  	// ForceSendFields is a list of field names (e.g. "AggregationPeriod")
  3916  	// to unconditionally include in API requests. By default, fields with
  3917  	// empty or default values are omitted from API requests. However, any
  3918  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3919  	// sent to the server regardless of whether the field is empty or not.
  3920  	// This may be used to include empty fields in Patch requests.
  3921  	ForceSendFields []string `json:"-"`
  3922  
  3923  	// NullFields is a list of field names (e.g. "AggregationPeriod") to
  3924  	// include in API requests with the JSON null value. By default, fields
  3925  	// with empty values are omitted from API requests. However, any field
  3926  	// with an empty value appearing in NullFields will be sent to the
  3927  	// server as null. It is an error if a field in this list has a
  3928  	// non-empty value. This may be used to include null fields in Patch
  3929  	// requests.
  3930  	NullFields []string `json:"-"`
  3931  }
  3932  
  3933  func (s *EnterpriseCrmEventbusProtoTaskAlertConfig) MarshalJSON() ([]byte, error) {
  3934  	type NoMethod EnterpriseCrmEventbusProtoTaskAlertConfig
  3935  	raw := NoMethod(*s)
  3936  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3937  }
  3938  
  3939  // EnterpriseCrmEventbusProtoTaskExecutionDetails: Contains the details
  3940  // of the execution of this task. Next available id: 11
  3941  type EnterpriseCrmEventbusProtoTaskExecutionDetails struct {
  3942  	TaskAttemptStats []*EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats `json:"taskAttemptStats,omitempty"`
  3943  
  3944  	// Possible values:
  3945  	//   "UNSPECIFIED"
  3946  	//   "PENDING_EXECUTION" - Task is waiting for its precondition tasks to
  3947  	// finish to start the execution.
  3948  	//   "IN_PROCESS" - Task is under processing.
  3949  	//   "SUCCEED" - Task execution successfully finished. There's no more
  3950  	// change after this state.
  3951  	//   "FAILED" - Task execution failed. There's no more change after this
  3952  	// state.
  3953  	//   "FATAL" - Task execution failed and cause the whole event execution
  3954  	// to fail immediately. There's no more change after this state.
  3955  	//   "RETRY_ON_HOLD" - Task execution failed and waiting for retry.
  3956  	//   "SKIPPED" - Task execution skipped. This happens when its
  3957  	// precondition wasn't met, or the event execution been canceled before
  3958  	// reach to the task. There's no more changes after this state.
  3959  	//   "CANCELED" - Task execution canceled when in progress. This happens
  3960  	// when event execution been canceled or any other task fall in fatal
  3961  	// state.
  3962  	//   "PENDING_ROLLBACK" - Task is waiting for its dependency tasks'
  3963  	// rollback to finish to start its rollback.
  3964  	//   "ROLLBACK_IN_PROCESS" - Task is rolling back.
  3965  	//   "ROLLEDBACK" - Task is rolled back. This is the state we will set
  3966  	// regardless of rollback succeeding or failing.
  3967  	//   "SUSPENDED" - Task is a SuspensionTask which has executed once,
  3968  	// creating a pending suspension.
  3969  	TaskExecutionState string `json:"taskExecutionState,omitempty"`
  3970  
  3971  	// TaskNumber: Pointer to the task config it used for execution.
  3972  	TaskNumber string `json:"taskNumber,omitempty"`
  3973  
  3974  	// ForceSendFields is a list of field names (e.g. "TaskAttemptStats") to
  3975  	// unconditionally include in API requests. By default, fields with
  3976  	// empty or default values are omitted from API requests. However, any
  3977  	// non-pointer, non-interface field appearing in ForceSendFields will be
  3978  	// sent to the server regardless of whether the field is empty or not.
  3979  	// This may be used to include empty fields in Patch requests.
  3980  	ForceSendFields []string `json:"-"`
  3981  
  3982  	// NullFields is a list of field names (e.g. "TaskAttemptStats") to
  3983  	// include in API requests with the JSON null value. By default, fields
  3984  	// with empty values are omitted from API requests. However, any field
  3985  	// with an empty value appearing in NullFields will be sent to the
  3986  	// server as null. It is an error if a field in this list has a
  3987  	// non-empty value. This may be used to include null fields in Patch
  3988  	// requests.
  3989  	NullFields []string `json:"-"`
  3990  }
  3991  
  3992  func (s *EnterpriseCrmEventbusProtoTaskExecutionDetails) MarshalJSON() ([]byte, error) {
  3993  	type NoMethod EnterpriseCrmEventbusProtoTaskExecutionDetails
  3994  	raw := NoMethod(*s)
  3995  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  3996  }
  3997  
  3998  type EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats struct {
  3999  	// EndTime: The end time of the task execution for current attempt.
  4000  	EndTime int64 `json:"endTime,omitempty,string"`
  4001  
  4002  	// StartTime: The start time of the task execution for current attempt.
  4003  	// This could be in the future if it's been scheduled.
  4004  	StartTime int64 `json:"startTime,omitempty,string"`
  4005  
  4006  	// ForceSendFields is a list of field names (e.g. "EndTime") to
  4007  	// unconditionally include in API requests. By default, fields with
  4008  	// empty or default values are omitted from API requests. However, any
  4009  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4010  	// sent to the server regardless of whether the field is empty or not.
  4011  	// This may be used to include empty fields in Patch requests.
  4012  	ForceSendFields []string `json:"-"`
  4013  
  4014  	// NullFields is a list of field names (e.g. "EndTime") to include in
  4015  	// API requests with the JSON null value. By default, fields with empty
  4016  	// values are omitted from API requests. However, any field with an
  4017  	// empty value appearing in NullFields will be sent to the server as
  4018  	// null. It is an error if a field in this list has a non-empty value.
  4019  	// This may be used to include null fields in Patch requests.
  4020  	NullFields []string `json:"-"`
  4021  }
  4022  
  4023  func (s *EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats) MarshalJSON() ([]byte, error) {
  4024  	type NoMethod EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats
  4025  	raw := NoMethod(*s)
  4026  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4027  }
  4028  
  4029  // EnterpriseCrmEventbusProtoTaskMetadata: TaskMetadata are attributes
  4030  // that are associated to every common Task we have.
  4031  type EnterpriseCrmEventbusProtoTaskMetadata struct {
  4032  	// ActiveTaskName: The new task name to replace the current task if it
  4033  	// is deprecated. Otherwise, it is the same as the current task name.
  4034  	ActiveTaskName string `json:"activeTaskName,omitempty"`
  4035  
  4036  	Admins []*EnterpriseCrmEventbusProtoTaskMetadataAdmin `json:"admins,omitempty"`
  4037  
  4038  	// Possible values:
  4039  	//   "UNSPECIFIED_CATEGORY"
  4040  	//   "CUSTOM"
  4041  	//   "FLOW_CONTROL"
  4042  	//   "DATA_MANIPULATION"
  4043  	//   "SCRIPTING"
  4044  	//   "CONNECTOR"
  4045  	//   "HIDDEN" - Internal IP tasks that should not be available in the
  4046  	// UI.
  4047  	//   "CLOUD_SYSTEMS" - Tasks that are relevant to cloud systems teams
  4048  	// and typically
  4049  	//   "CUSTOM_TASK_TEMPLATE" - include connecting to Vector salesforce,
  4050  	// CRM Hub Spanner etc. Task entities that derive from a custom task
  4051  	// template.
  4052  	//   "TASK_RECOMMENDATIONS" - Category to show task recommendations
  4053  	Category string `json:"category,omitempty"`
  4054  
  4055  	// CodeSearchLink: The Code Search link to the Task Java file.
  4056  	CodeSearchLink string `json:"codeSearchLink,omitempty"`
  4057  
  4058  	// DefaultJsonValidationOption: Controls whether JSON workflow
  4059  	// parameters are validated against provided schemas before and/or after
  4060  	// this task's execution.
  4061  	//
  4062  	// Possible values:
  4063  	//   "UNSPECIFIED_JSON_VALIDATION_OPTION" - As per the default behavior,
  4064  	// no validation will be run. Will not override any option set in a
  4065  	// Task.
  4066  	//   "SKIP" - Do not run any validation against JSON schemas.
  4067  	//   "PRE_EXECUTION" - Validate all potential input JSON parameters
  4068  	// against schemas specified in WorkflowParameters.
  4069  	//   "POST_EXECUTION" - Validate all potential output JSON parameters
  4070  	// against schemas specified in WorkflowParameters.
  4071  	//   "PRE_POST_EXECUTION" - Perform both PRE_EXECUTION and
  4072  	// POST_EXECUTION validations.
  4073  	DefaultJsonValidationOption string `json:"defaultJsonValidationOption,omitempty"`
  4074  
  4075  	// DefaultSpec: Contains the initial configuration of the task with
  4076  	// default values set. For now, The string should be compatible to an
  4077  	// ASCII-proto format.
  4078  	DefaultSpec string `json:"defaultSpec,omitempty"`
  4079  
  4080  	// Description: In a few sentences, describe the purpose and usage of
  4081  	// the task.
  4082  	Description string `json:"description,omitempty"`
  4083  
  4084  	// DescriptiveName: The string name to show on the task list on the
  4085  	// Workflow editor screen. This should be a very short, one to two words
  4086  	// name for the task. (e.g. "Send Mail")
  4087  	DescriptiveName string `json:"descriptiveName,omitempty"`
  4088  
  4089  	// DocMarkdown: Snippet of markdown documentation to embed in the RHP
  4090  	// for this task.
  4091  	DocMarkdown string `json:"docMarkdown,omitempty"`
  4092  
  4093  	// Possible values:
  4094  	//   "UNSPECIFIED_EXTERNAL_CATEGORY"
  4095  	//   "CORE"
  4096  	//   "CONNECTORS"
  4097  	//   "EXTERNAL_HTTP" - HTTP tasks, e.g. rest api call task
  4098  	//   "EXTERNAL_INTEGRATION_SERVICES" - Integration services, e.g.
  4099  	// connector task
  4100  	//   "EXTERNAL_CUSTOMER_ACTIONS" - Customer ations, e.g. email task
  4101  	//   "EXTERNAL_FLOW_CONTROL" - Flow control, e.g. while loop task
  4102  	//   "EXTERNAL_WORKSPACE" - Workspace tasks, e.g. list drive task
  4103  	//   "EXTERNAL_SECURITY" - Security, e.g. kms related tasks
  4104  	//   "EXTERNAL_DATABASES" - Database operation tasks, e.g. read
  4105  	// firestore info tasks
  4106  	//   "EXTERNAL_ANALYTICS" - Analytics tasks, e.g. dataflow creattion
  4107  	// tasks
  4108  	//   "EXTERNAL_BYOC" - BYOC tasks
  4109  	//   "EXTERNAL_BYOT" - BYOT tasks
  4110  	//   "EXTERNAL_ARTIFICIAL_INTELIGENCE" - AI related tasks.
  4111  	//   "EXTERNAL_DATA_MANIPULATION" - Data manipulation related tasks,
  4112  	// e.g. data mapping task
  4113  	ExternalCategory string `json:"externalCategory,omitempty"`
  4114  
  4115  	// ExternalCategorySequence: Sequence with which the task in specific
  4116  	// category to be displayed in task discovery panel for external users.
  4117  	ExternalCategorySequence int64 `json:"externalCategorySequence,omitempty"`
  4118  
  4119  	// ExternalDocHtml: External-facing documention embedded in the RHP for
  4120  	// this task.
  4121  	ExternalDocHtml string `json:"externalDocHtml,omitempty"`
  4122  
  4123  	// ExternalDocLink: Doc link for external-facing documentation (separate
  4124  	// from g3doc).
  4125  	ExternalDocLink string `json:"externalDocLink,omitempty"`
  4126  
  4127  	// ExternalDocMarkdown: DEPRECATED: Use external_doc_html.
  4128  	ExternalDocMarkdown string `json:"externalDocMarkdown,omitempty"`
  4129  
  4130  	// G3DocLink: URL to the associated G3 Doc for the task if available
  4131  	G3DocLink string `json:"g3DocLink,omitempty"`
  4132  
  4133  	// IconLink: URL to gstatic image icon for this task. This icon shows up
  4134  	// on the task list panel along with the task name in the Workflow
  4135  	// Editor screen. Use the 24p, 2x, gray color icon image format.
  4136  	IconLink string `json:"iconLink,omitempty"`
  4137  
  4138  	// IsDeprecated: The deprecation status of the current task. Default
  4139  	// value is false;
  4140  	IsDeprecated bool `json:"isDeprecated,omitempty"`
  4141  
  4142  	// Name: The actual class name or the annotated name of the task. Task
  4143  	// Author should initialize this field with value from the getName()
  4144  	// method of the Task class.
  4145  	Name string `json:"name,omitempty"`
  4146  
  4147  	// StandaloneExternalDocHtml: External-facing documention for standalone
  4148  	// IP in pantheon embedded in the RHP for this task. Non null only if
  4149  	// different from external_doc_html
  4150  	StandaloneExternalDocHtml string `json:"standaloneExternalDocHtml,omitempty"`
  4151  
  4152  	// Status: Allows author to indicate if the task is ready to use or not.
  4153  	// If not set, then it will default to INACTIVE.
  4154  	//
  4155  	// Possible values:
  4156  	//   "UNSPECIFIED_STATUS" - Default value. Actual Task Status should
  4157  	// always be set to either INACTIVE or ACTIVE. If none is specified at
  4158  	// runtime, it will be set to INACTIVE.
  4159  	//   "DEFAULT_INACTIVE" - Still in-progress or incomplete, and not
  4160  	// intended for use.
  4161  	//   "ACTIVE" - Available for use.
  4162  	Status string `json:"status,omitempty"`
  4163  
  4164  	// Possible values:
  4165  	//   "UNSPECIFIED_SYSTEM"
  4166  	//   "GENERIC"
  4167  	//   "BUGANIZER"
  4168  	//   "SALESFORCE"
  4169  	//   "CLOUD_SQL"
  4170  	//   "PLX"
  4171  	//   "SHEETS"
  4172  	//   "GOOGLE_GROUPS"
  4173  	//   "EMAIL"
  4174  	//   "SPANNER"
  4175  	//   "DATA_BRIDGE"
  4176  	System string `json:"system,omitempty"`
  4177  
  4178  	// Tags: A set of tags that pertain to a particular task. This can be
  4179  	// used to improve the searchability of tasks with several names ("REST
  4180  	// Caller" vs. "Call REST Endpoint") or to help users find tasks based
  4181  	// on related words.
  4182  	Tags []string `json:"tags,omitempty"`
  4183  
  4184  	// ForceSendFields is a list of field names (e.g. "ActiveTaskName") to
  4185  	// unconditionally include in API requests. By default, fields with
  4186  	// empty or default values are omitted from API requests. However, any
  4187  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4188  	// sent to the server regardless of whether the field is empty or not.
  4189  	// This may be used to include empty fields in Patch requests.
  4190  	ForceSendFields []string `json:"-"`
  4191  
  4192  	// NullFields is a list of field names (e.g. "ActiveTaskName") to
  4193  	// include in API requests with the JSON null value. By default, fields
  4194  	// with empty values are omitted from API requests. However, any field
  4195  	// with an empty value appearing in NullFields will be sent to the
  4196  	// server as null. It is an error if a field in this list has a
  4197  	// non-empty value. This may be used to include null fields in Patch
  4198  	// requests.
  4199  	NullFields []string `json:"-"`
  4200  }
  4201  
  4202  func (s *EnterpriseCrmEventbusProtoTaskMetadata) MarshalJSON() ([]byte, error) {
  4203  	type NoMethod EnterpriseCrmEventbusProtoTaskMetadata
  4204  	raw := NoMethod(*s)
  4205  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4206  }
  4207  
  4208  // EnterpriseCrmEventbusProtoTaskMetadataAdmin: Admins are owners of a
  4209  // Task, and have all permissions on a particular task identified by the
  4210  // task name. By default, Eventbus periodically scans all task metadata
  4211  // and syncs (adds) any new admins defined here to Zanzibar.
  4212  type EnterpriseCrmEventbusProtoTaskMetadataAdmin struct {
  4213  	GoogleGroupEmail string `json:"googleGroupEmail,omitempty"`
  4214  
  4215  	UserEmail string `json:"userEmail,omitempty"`
  4216  
  4217  	// ForceSendFields is a list of field names (e.g. "GoogleGroupEmail") to
  4218  	// unconditionally include in API requests. By default, fields with
  4219  	// empty or default values are omitted from API requests. However, any
  4220  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4221  	// sent to the server regardless of whether the field is empty or not.
  4222  	// This may be used to include empty fields in Patch requests.
  4223  	ForceSendFields []string `json:"-"`
  4224  
  4225  	// NullFields is a list of field names (e.g. "GoogleGroupEmail") to
  4226  	// include in API requests with the JSON null value. By default, fields
  4227  	// with empty values are omitted from API requests. However, any field
  4228  	// with an empty value appearing in NullFields will be sent to the
  4229  	// server as null. It is an error if a field in this list has a
  4230  	// non-empty value. This may be used to include null fields in Patch
  4231  	// requests.
  4232  	NullFields []string `json:"-"`
  4233  }
  4234  
  4235  func (s *EnterpriseCrmEventbusProtoTaskMetadataAdmin) MarshalJSON() ([]byte, error) {
  4236  	type NoMethod EnterpriseCrmEventbusProtoTaskMetadataAdmin
  4237  	raw := NoMethod(*s)
  4238  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4239  }
  4240  
  4241  // EnterpriseCrmEventbusProtoTaskUiConfig: Task authors would use this
  4242  // type to configure the UI for a particular task by specifying what UI
  4243  // config modules should be included to compose the UI. Learn more about
  4244  // config module framework:
  4245  type EnterpriseCrmEventbusProtoTaskUiConfig struct {
  4246  	// TaskUiModuleConfigs: Configurations of included config modules.
  4247  	TaskUiModuleConfigs []*EnterpriseCrmEventbusProtoTaskUiModuleConfig `json:"taskUiModuleConfigs,omitempty"`
  4248  
  4249  	// ForceSendFields is a list of field names (e.g. "TaskUiModuleConfigs")
  4250  	// to unconditionally include in API requests. By default, fields with
  4251  	// empty or default values are omitted from API requests. However, any
  4252  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4253  	// sent to the server regardless of whether the field is empty or not.
  4254  	// This may be used to include empty fields in Patch requests.
  4255  	ForceSendFields []string `json:"-"`
  4256  
  4257  	// NullFields is a list of field names (e.g. "TaskUiModuleConfigs") to
  4258  	// include in API requests with the JSON null value. By default, fields
  4259  	// with empty values are omitted from API requests. However, any field
  4260  	// with an empty value appearing in NullFields will be sent to the
  4261  	// server as null. It is an error if a field in this list has a
  4262  	// non-empty value. This may be used to include null fields in Patch
  4263  	// requests.
  4264  	NullFields []string `json:"-"`
  4265  }
  4266  
  4267  func (s *EnterpriseCrmEventbusProtoTaskUiConfig) MarshalJSON() ([]byte, error) {
  4268  	type NoMethod EnterpriseCrmEventbusProtoTaskUiConfig
  4269  	raw := NoMethod(*s)
  4270  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4271  }
  4272  
  4273  // EnterpriseCrmEventbusProtoTaskUiModuleConfig: Task author would use
  4274  // this type to configure a config module.
  4275  type EnterpriseCrmEventbusProtoTaskUiModuleConfig struct {
  4276  	// ModuleId: ID of the config module.
  4277  	//
  4278  	// Possible values:
  4279  	//   "UNSPECIFIED_TASK_MODULE" - Default
  4280  	//   "LABEL" - Supports editing label of a task config.
  4281  	//   "ERROR_HANDLING" - Supports editing error handling settings such as
  4282  	// retry strategy.
  4283  	//   "TASK_PARAM_TABLE" - Supports adding, removing and editing task
  4284  	// parameter values in a table with little assistance or restriction.
  4285  	//   "TASK_PARAM_FORM" - Supports editing values of declared input
  4286  	// parameters of a task. Think of it as a "strongly typed" upgrade to
  4287  	// the TASK_PARAM_TABLE.
  4288  	//   "PRECONDITION" - Supports editing preconditions of a task config.
  4289  	//   "SCRIPT_EDITOR" - Supports adding, editing, and deleting the
  4290  	// scripts associated with a script task, as well as modifying the
  4291  	// input/output parameters.
  4292  	//   "RPC" - Supports editing task parameters associated with an
  4293  	// RPC/stubby task.
  4294  	//   "TASK_SUMMARY" - Contains readonly task information, including
  4295  	// input/output type info.
  4296  	//   "SUSPENSION" - Configures a SuspensionTask.
  4297  	//   "RPC_TYPED" - Configures a GenericStubbyTypedTask.
  4298  	//   "SUB_WORKFLOW" - Configures a SubWorkflowExecutorTask.
  4299  	//   "APPS_SCRIPT_NAVIGATOR" - Supports navigating to Apps Script editor
  4300  	//   "SUB_WORKFLOW_FOR_EACH_LOOP" - Configures a
  4301  	// SubWorkflowForEachLoopTask.
  4302  	//   "FIELD_MAPPING" - Configures a FieldMappingTask.
  4303  	//   "README" - Contains embedded in-product documentation for a task.
  4304  	//   "REST_CALLER" - UI widget for the rest caller task.
  4305  	//   "SUB_WORKFLOW_SCATTER_GATHER" - Configures a
  4306  	// SubWorkflowScatterGatherTask.
  4307  	//   "CLOUD_SQL" - Configures a CloudSql Task.
  4308  	//   "GENERIC_CONNECTOR_TASK" - Configure a GenericConnectorTask.
  4309  	ModuleId string `json:"moduleId,omitempty"`
  4310  
  4311  	// ForceSendFields is a list of field names (e.g. "ModuleId") to
  4312  	// unconditionally include in API requests. By default, fields with
  4313  	// empty or default values are omitted from API requests. However, any
  4314  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4315  	// sent to the server regardless of whether the field is empty or not.
  4316  	// This may be used to include empty fields in Patch requests.
  4317  	ForceSendFields []string `json:"-"`
  4318  
  4319  	// NullFields is a list of field names (e.g. "ModuleId") to include in
  4320  	// API requests with the JSON null value. By default, fields with empty
  4321  	// values are omitted from API requests. However, any field with an
  4322  	// empty value appearing in NullFields will be sent to the server as
  4323  	// null. It is an error if a field in this list has a non-empty value.
  4324  	// This may be used to include null fields in Patch requests.
  4325  	NullFields []string `json:"-"`
  4326  }
  4327  
  4328  func (s *EnterpriseCrmEventbusProtoTaskUiModuleConfig) MarshalJSON() ([]byte, error) {
  4329  	type NoMethod EnterpriseCrmEventbusProtoTaskUiModuleConfig
  4330  	raw := NoMethod(*s)
  4331  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4332  }
  4333  
  4334  type EnterpriseCrmEventbusProtoTeardown struct {
  4335  	// TeardownTaskConfigs: Required.
  4336  	TeardownTaskConfigs []*EnterpriseCrmEventbusProtoTeardownTaskConfig `json:"teardownTaskConfigs,omitempty"`
  4337  
  4338  	// ForceSendFields is a list of field names (e.g. "TeardownTaskConfigs")
  4339  	// to unconditionally include in API requests. By default, fields with
  4340  	// empty or default values are omitted from API requests. However, any
  4341  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4342  	// sent to the server regardless of whether the field is empty or not.
  4343  	// This may be used to include empty fields in Patch requests.
  4344  	ForceSendFields []string `json:"-"`
  4345  
  4346  	// NullFields is a list of field names (e.g. "TeardownTaskConfigs") to
  4347  	// include in API requests with the JSON null value. By default, fields
  4348  	// with empty values are omitted from API requests. However, any field
  4349  	// with an empty value appearing in NullFields will be sent to the
  4350  	// server as null. It is an error if a field in this list has a
  4351  	// non-empty value. This may be used to include null fields in Patch
  4352  	// requests.
  4353  	NullFields []string `json:"-"`
  4354  }
  4355  
  4356  func (s *EnterpriseCrmEventbusProtoTeardown) MarshalJSON() ([]byte, error) {
  4357  	type NoMethod EnterpriseCrmEventbusProtoTeardown
  4358  	raw := NoMethod(*s)
  4359  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4360  }
  4361  
  4362  type EnterpriseCrmEventbusProtoTeardownTaskConfig struct {
  4363  	// CreatorEmail: The creator's email address.
  4364  	CreatorEmail string `json:"creatorEmail,omitempty"`
  4365  
  4366  	// Name: Required. Unique identifier of the teardown task within this
  4367  	// Config. We use this field as the identifier to find next teardown
  4368  	// tasks.
  4369  	Name string `json:"name,omitempty"`
  4370  
  4371  	NextTeardownTask *EnterpriseCrmEventbusProtoNextTeardownTask `json:"nextTeardownTask,omitempty"`
  4372  
  4373  	// Parameters: The parameters the user can pass to this task.
  4374  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
  4375  
  4376  	Properties *EnterpriseCrmEventbusProtoEventBusProperties `json:"properties,omitempty"`
  4377  
  4378  	// TeardownTaskImplementationClassName: Required. Implementation class
  4379  	// name.
  4380  	TeardownTaskImplementationClassName string `json:"teardownTaskImplementationClassName,omitempty"`
  4381  
  4382  	// ForceSendFields is a list of field names (e.g. "CreatorEmail") to
  4383  	// unconditionally include in API requests. By default, fields with
  4384  	// empty or default values are omitted from API requests. However, any
  4385  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4386  	// sent to the server regardless of whether the field is empty or not.
  4387  	// This may be used to include empty fields in Patch requests.
  4388  	ForceSendFields []string `json:"-"`
  4389  
  4390  	// NullFields is a list of field names (e.g. "CreatorEmail") to include
  4391  	// in API requests with the JSON null value. By default, fields with
  4392  	// empty values are omitted from API requests. However, any field with
  4393  	// an empty value appearing in NullFields will be sent to the server as
  4394  	// null. It is an error if a field in this list has a non-empty value.
  4395  	// This may be used to include null fields in Patch requests.
  4396  	NullFields []string `json:"-"`
  4397  }
  4398  
  4399  func (s *EnterpriseCrmEventbusProtoTeardownTaskConfig) MarshalJSON() ([]byte, error) {
  4400  	type NoMethod EnterpriseCrmEventbusProtoTeardownTaskConfig
  4401  	raw := NoMethod(*s)
  4402  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4403  }
  4404  
  4405  type EnterpriseCrmEventbusProtoToken struct {
  4406  	Name string `json:"name,omitempty"`
  4407  
  4408  	Value string `json:"value,omitempty"`
  4409  
  4410  	// ForceSendFields is a list of field names (e.g. "Name") to
  4411  	// unconditionally include in API requests. By default, fields with
  4412  	// empty or default values are omitted from API requests. However, any
  4413  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4414  	// sent to the server regardless of whether the field is empty or not.
  4415  	// This may be used to include empty fields in Patch requests.
  4416  	ForceSendFields []string `json:"-"`
  4417  
  4418  	// NullFields is a list of field names (e.g. "Name") to include in API
  4419  	// requests with the JSON null value. By default, fields with empty
  4420  	// values are omitted from API requests. However, any field with an
  4421  	// empty value appearing in NullFields will be sent to the server as
  4422  	// null. It is an error if a field in this list has a non-empty value.
  4423  	// This may be used to include null fields in Patch requests.
  4424  	NullFields []string `json:"-"`
  4425  }
  4426  
  4427  func (s *EnterpriseCrmEventbusProtoToken) MarshalJSON() ([]byte, error) {
  4428  	type NoMethod EnterpriseCrmEventbusProtoToken
  4429  	raw := NoMethod(*s)
  4430  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4431  }
  4432  
  4433  type EnterpriseCrmEventbusProtoTransformExpression struct {
  4434  	// InitialValue: Initial value upon which to perform transformations.
  4435  	InitialValue *EnterpriseCrmEventbusProtoBaseValue `json:"initialValue,omitempty"`
  4436  
  4437  	// TransformationFunctions: Transformations to be applied sequentially.
  4438  	TransformationFunctions []*EnterpriseCrmEventbusProtoFunction `json:"transformationFunctions,omitempty"`
  4439  
  4440  	// ForceSendFields is a list of field names (e.g. "InitialValue") to
  4441  	// unconditionally include in API requests. By default, fields with
  4442  	// empty or default values are omitted from API requests. However, any
  4443  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4444  	// sent to the server regardless of whether the field is empty or not.
  4445  	// This may be used to include empty fields in Patch requests.
  4446  	ForceSendFields []string `json:"-"`
  4447  
  4448  	// NullFields is a list of field names (e.g. "InitialValue") to include
  4449  	// in API requests with the JSON null value. By default, fields with
  4450  	// empty values are omitted from API requests. However, any field with
  4451  	// an empty value appearing in NullFields will be sent to the server as
  4452  	// null. It is an error if a field in this list has a non-empty value.
  4453  	// This may be used to include null fields in Patch requests.
  4454  	NullFields []string `json:"-"`
  4455  }
  4456  
  4457  func (s *EnterpriseCrmEventbusProtoTransformExpression) MarshalJSON() ([]byte, error) {
  4458  	type NoMethod EnterpriseCrmEventbusProtoTransformExpression
  4459  	raw := NoMethod(*s)
  4460  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4461  }
  4462  
  4463  type EnterpriseCrmEventbusProtoTriggerCriteria struct {
  4464  	// Condition: Required. Standard filter expression, when true the
  4465  	// workflow will be executed. If there's no
  4466  	// trigger_criteria_task_implementation_class_name specified, the
  4467  	// condition will be validated directly.
  4468  	Condition string `json:"condition,omitempty"`
  4469  
  4470  	// Parameters: Optional. To be used in TaskConfig for the implementation
  4471  	// class.
  4472  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
  4473  
  4474  	// TriggerCriteriaTaskImplementationClassName: Optional. Implementation
  4475  	// class name. The class should implement the “TypedTask” interface.
  4476  	TriggerCriteriaTaskImplementationClassName string `json:"triggerCriteriaTaskImplementationClassName,omitempty"`
  4477  
  4478  	// ForceSendFields is a list of field names (e.g. "Condition") to
  4479  	// unconditionally include in API requests. By default, fields with
  4480  	// empty or default values are omitted from API requests. However, any
  4481  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4482  	// sent to the server regardless of whether the field is empty or not.
  4483  	// This may be used to include empty fields in Patch requests.
  4484  	ForceSendFields []string `json:"-"`
  4485  
  4486  	// NullFields is a list of field names (e.g. "Condition") to include in
  4487  	// API requests with the JSON null value. By default, fields with empty
  4488  	// values are omitted from API requests. However, any field with an
  4489  	// empty value appearing in NullFields will be sent to the server as
  4490  	// null. It is an error if a field in this list has a non-empty value.
  4491  	// This may be used to include null fields in Patch requests.
  4492  	NullFields []string `json:"-"`
  4493  }
  4494  
  4495  func (s *EnterpriseCrmEventbusProtoTriggerCriteria) MarshalJSON() ([]byte, error) {
  4496  	type NoMethod EnterpriseCrmEventbusProtoTriggerCriteria
  4497  	raw := NoMethod(*s)
  4498  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4499  }
  4500  
  4501  // EnterpriseCrmEventbusProtoValueType: Used for define type for values.
  4502  // Currently supported value types include int, string, double, array,
  4503  // and any proto message.
  4504  type EnterpriseCrmEventbusProtoValueType struct {
  4505  	BooleanValue bool `json:"booleanValue,omitempty"`
  4506  
  4507  	DoubleArray *EnterpriseCrmEventbusProtoDoubleArray `json:"doubleArray,omitempty"`
  4508  
  4509  	DoubleValue float64 `json:"doubleValue,omitempty"`
  4510  
  4511  	IntArray *EnterpriseCrmEventbusProtoIntArray `json:"intArray,omitempty"`
  4512  
  4513  	IntValue int64 `json:"intValue,omitempty,string"`
  4514  
  4515  	ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
  4516  
  4517  	StringArray *EnterpriseCrmEventbusProtoStringArray `json:"stringArray,omitempty"`
  4518  
  4519  	StringValue string `json:"stringValue,omitempty"`
  4520  
  4521  	// ForceSendFields is a list of field names (e.g. "BooleanValue") to
  4522  	// unconditionally include in API requests. By default, fields with
  4523  	// empty or default values are omitted from API requests. However, any
  4524  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4525  	// sent to the server regardless of whether the field is empty or not.
  4526  	// This may be used to include empty fields in Patch requests.
  4527  	ForceSendFields []string `json:"-"`
  4528  
  4529  	// NullFields is a list of field names (e.g. "BooleanValue") to include
  4530  	// in API requests with the JSON null value. By default, fields with
  4531  	// empty values are omitted from API requests. However, any field with
  4532  	// an empty value appearing in NullFields will be sent to the server as
  4533  	// null. It is an error if a field in this list has a non-empty value.
  4534  	// This may be used to include null fields in Patch requests.
  4535  	NullFields []string `json:"-"`
  4536  }
  4537  
  4538  func (s *EnterpriseCrmEventbusProtoValueType) MarshalJSON() ([]byte, error) {
  4539  	type NoMethod EnterpriseCrmEventbusProtoValueType
  4540  	raw := NoMethod(*s)
  4541  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4542  }
  4543  
  4544  func (s *EnterpriseCrmEventbusProtoValueType) UnmarshalJSON(data []byte) error {
  4545  	type NoMethod EnterpriseCrmEventbusProtoValueType
  4546  	var s1 struct {
  4547  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
  4548  		*NoMethod
  4549  	}
  4550  	s1.NoMethod = (*NoMethod)(s)
  4551  	if err := json.Unmarshal(data, &s1); err != nil {
  4552  		return err
  4553  	}
  4554  	s.DoubleValue = float64(s1.DoubleValue)
  4555  	return nil
  4556  }
  4557  
  4558  // EnterpriseCrmEventbusProtoWorkflowAlertConfig: Message to be used to
  4559  // configure custom alerting in the {@code EventConfig} protos for an
  4560  // event.
  4561  type EnterpriseCrmEventbusProtoWorkflowAlertConfig struct {
  4562  	// AggregationPeriod: For an EXPECTED_MIN threshold, this
  4563  	// aggregation_period must be lesser than 24 hours.
  4564  	AggregationPeriod string `json:"aggregationPeriod,omitempty"`
  4565  
  4566  	// AlertDisabled: Set to false by default. When set to true, the metrics
  4567  	// are not aggregated or pushed to Monarch for this workflow alert.
  4568  	AlertDisabled bool `json:"alertDisabled,omitempty"`
  4569  
  4570  	// AlertName: A name to identify this alert. This will be displayed in
  4571  	// the alert subject. If set, this name should be unique within the
  4572  	// scope of the workflow.
  4573  	AlertName string `json:"alertName,omitempty"`
  4574  
  4575  	// ClientId: Client associated with this alert configuration.
  4576  	ClientId string `json:"clientId,omitempty"`
  4577  
  4578  	// DurationThresholdMs: Should be specified only for *AVERAGE_DURATION
  4579  	// and *PERCENTILE_DURATION metrics. This member should be used to
  4580  	// specify what duration value the metrics should exceed for the alert
  4581  	// to trigger.
  4582  	DurationThresholdMs int64 `json:"durationThresholdMs,omitempty,string"`
  4583  
  4584  	ErrorEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"errorEnumList,omitempty"`
  4585  
  4586  	// Possible values:
  4587  	//   "METRIC_TYPE_UNSPECIFIED" - The default value. Metric type should
  4588  	// always be set to one of the other non-default values, otherwise it
  4589  	// will result in an INVALID_ARGUMENT error.
  4590  	//   "EVENT_ERROR_RATE" - Specifies alerting on the rate of errors for
  4591  	// the enclosing workflow.
  4592  	//   "EVENT_WARNING_RATE" - Specifies alerting on the rate of warnings
  4593  	// for the enclosing workflow. Warnings use the same enum values as
  4594  	// errors.
  4595  	//   "TASK_ERROR_RATE" - Specifies alerting on the rate of errors for
  4596  	// any task in the enclosing workflow.
  4597  	//   "TASK_WARNING_RATE" - Specifies alerting on the rate of warnings
  4598  	// for any task in the enclosing workflow.
  4599  	//   "TASK_RATE" - Specifies alerting on the rate of executions over all
  4600  	// tasks in the enclosing workflow.
  4601  	//   "EVENT_RATE" - Specifies alerting on the number of events executed
  4602  	// in the given aggregation_period.
  4603  	//   "EVENT_AVERAGE_DURATION" - Specifies alerting on the average
  4604  	// duration of executions for this workflow.
  4605  	//   "EVENT_PERCENTILE_DURATION" - Specifies alerting on the duration
  4606  	// value of a particular percentile of workflow executions. E.g. If 10%
  4607  	// or more of the workflow executions have durations above 5 seconds,
  4608  	// alert.
  4609  	//   "TASK_AVERAGE_DURATION" - Specifies alerting on the average
  4610  	// duration of any task in the enclosing workflow,
  4611  	//   "TASK_PERCENTILE_DURATION" - Specifies alerting on the duration
  4612  	// value of a particular percentile of any task executions within the
  4613  	// enclosing workflow. E.g. If 10% or more of the task executions in the
  4614  	// workflow have durations above 5 seconds, alert.
  4615  	MetricType string `json:"metricType,omitempty"`
  4616  
  4617  	// NumAggregationPeriods: For how many contiguous aggregation periods
  4618  	// should the expected min or max be violated for the alert to be fired.
  4619  	NumAggregationPeriods int64 `json:"numAggregationPeriods,omitempty"`
  4620  
  4621  	// OnlyFinalAttempt: For either events or tasks, depending on the type
  4622  	// of alert, count only final attempts, not retries.
  4623  	OnlyFinalAttempt bool `json:"onlyFinalAttempt,omitempty"`
  4624  
  4625  	// PlaybookUrl: Link to a playbook for resolving the issue that
  4626  	// triggered this alert.
  4627  	PlaybookUrl string `json:"playbookUrl,omitempty"`
  4628  
  4629  	// ThresholdType: The threshold type, whether lower(expected_min) or
  4630  	// upper(expected_max), for which this alert is being configured. If
  4631  	// value falls below expected_min or exceeds expected_max, an alert will
  4632  	// be fired.
  4633  	//
  4634  	// Possible values:
  4635  	//   "UNSPECIFIED_THRESHOLD_TYPE"
  4636  	//   "EXPECTED_MIN" - Note that this field will only trigger alerts if
  4637  	// the workflow specifying it runs at least once in 24 hours (which is
  4638  	// our in-memory retention period for monarch streams). Also note that
  4639  	// `aggregation_period` for this alert configuration must be less than
  4640  	// 24 hours.
  4641  	//   "EXPECTED_MAX"
  4642  	ThresholdType string `json:"thresholdType,omitempty"`
  4643  
  4644  	// ThresholdValue: The metric value, above or below which the alert
  4645  	// should be triggered.
  4646  	ThresholdValue *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue `json:"thresholdValue,omitempty"`
  4647  
  4648  	WarningEnumList *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList `json:"warningEnumList,omitempty"`
  4649  
  4650  	// ForceSendFields is a list of field names (e.g. "AggregationPeriod")
  4651  	// to unconditionally include in API requests. By default, fields with
  4652  	// empty or default values are omitted from API requests. However, any
  4653  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4654  	// sent to the server regardless of whether the field is empty or not.
  4655  	// This may be used to include empty fields in Patch requests.
  4656  	ForceSendFields []string `json:"-"`
  4657  
  4658  	// NullFields is a list of field names (e.g. "AggregationPeriod") to
  4659  	// include in API requests with the JSON null value. By default, fields
  4660  	// with empty values are omitted from API requests. However, any field
  4661  	// with an empty value appearing in NullFields will be sent to the
  4662  	// server as null. It is an error if a field in this list has a
  4663  	// non-empty value. This may be used to include null fields in Patch
  4664  	// requests.
  4665  	NullFields []string `json:"-"`
  4666  }
  4667  
  4668  func (s *EnterpriseCrmEventbusProtoWorkflowAlertConfig) MarshalJSON() ([]byte, error) {
  4669  	type NoMethod EnterpriseCrmEventbusProtoWorkflowAlertConfig
  4670  	raw := NoMethod(*s)
  4671  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4672  }
  4673  
  4674  // EnterpriseCrmEventbusStats: Stats for the requested dimensions: QPS,
  4675  // duration, and error/warning rate
  4676  type EnterpriseCrmEventbusStats struct {
  4677  	// Dimensions: Dimensions that these stats have been aggregated on.
  4678  	Dimensions *EnterpriseCrmEventbusStatsDimensions `json:"dimensions,omitempty"`
  4679  
  4680  	// DurationInSeconds: Average duration in seconds.
  4681  	DurationInSeconds float64 `json:"durationInSeconds,omitempty"`
  4682  
  4683  	// ErrorRate: Average error rate.
  4684  	ErrorRate float64 `json:"errorRate,omitempty"`
  4685  
  4686  	// Qps: Queries per second.
  4687  	Qps float64 `json:"qps,omitempty"`
  4688  
  4689  	// WarningRate: Average warning rate.
  4690  	WarningRate float64 `json:"warningRate,omitempty"`
  4691  
  4692  	// ForceSendFields is a list of field names (e.g. "Dimensions") to
  4693  	// unconditionally include in API requests. By default, fields with
  4694  	// empty or default values are omitted from API requests. However, any
  4695  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4696  	// sent to the server regardless of whether the field is empty or not.
  4697  	// This may be used to include empty fields in Patch requests.
  4698  	ForceSendFields []string `json:"-"`
  4699  
  4700  	// NullFields is a list of field names (e.g. "Dimensions") to include in
  4701  	// API requests with the JSON null value. By default, fields with empty
  4702  	// values are omitted from API requests. However, any field with an
  4703  	// empty value appearing in NullFields will be sent to the server as
  4704  	// null. It is an error if a field in this list has a non-empty value.
  4705  	// This may be used to include null fields in Patch requests.
  4706  	NullFields []string `json:"-"`
  4707  }
  4708  
  4709  func (s *EnterpriseCrmEventbusStats) MarshalJSON() ([]byte, error) {
  4710  	type NoMethod EnterpriseCrmEventbusStats
  4711  	raw := NoMethod(*s)
  4712  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4713  }
  4714  
  4715  func (s *EnterpriseCrmEventbusStats) UnmarshalJSON(data []byte) error {
  4716  	type NoMethod EnterpriseCrmEventbusStats
  4717  	var s1 struct {
  4718  		DurationInSeconds gensupport.JSONFloat64 `json:"durationInSeconds"`
  4719  		ErrorRate         gensupport.JSONFloat64 `json:"errorRate"`
  4720  		Qps               gensupport.JSONFloat64 `json:"qps"`
  4721  		WarningRate       gensupport.JSONFloat64 `json:"warningRate"`
  4722  		*NoMethod
  4723  	}
  4724  	s1.NoMethod = (*NoMethod)(s)
  4725  	if err := json.Unmarshal(data, &s1); err != nil {
  4726  		return err
  4727  	}
  4728  	s.DurationInSeconds = float64(s1.DurationInSeconds)
  4729  	s.ErrorRate = float64(s1.ErrorRate)
  4730  	s.Qps = float64(s1.Qps)
  4731  	s.WarningRate = float64(s1.WarningRate)
  4732  	return nil
  4733  }
  4734  
  4735  type EnterpriseCrmEventbusStatsDimensions struct {
  4736  	ClientId string `json:"clientId,omitempty"`
  4737  
  4738  	// EnumFilterType: Whether to include or exclude the enums matching the
  4739  	// regex.
  4740  	//
  4741  	// Possible values:
  4742  	//   "DEFAULT_INCLUSIVE"
  4743  	//   "EXCLUSIVE"
  4744  	EnumFilterType string `json:"enumFilterType,omitempty"`
  4745  
  4746  	ErrorEnumString string `json:"errorEnumString,omitempty"`
  4747  
  4748  	// Possible values:
  4749  	//   "UNSPECIFIED"
  4750  	//   "FINAL" - Task has completed successfully or has depleted all retry
  4751  	// attempts.
  4752  	//   "RETRYABLE" - Task has failed but may be retried.
  4753  	//   "CANCELED" - Task has been deliberately canceled.
  4754  	RetryAttempt string `json:"retryAttempt,omitempty"`
  4755  
  4756  	TaskName string `json:"taskName,omitempty"`
  4757  
  4758  	TaskNumber string `json:"taskNumber,omitempty"`
  4759  
  4760  	// TriggerId: Stats have been or will be aggregated on set fields for
  4761  	// any semantically-meaningful combination.
  4762  	TriggerId string `json:"triggerId,omitempty"`
  4763  
  4764  	WarningEnumString string `json:"warningEnumString,omitempty"`
  4765  
  4766  	WorkflowId string `json:"workflowId,omitempty"`
  4767  
  4768  	WorkflowName string `json:"workflowName,omitempty"`
  4769  
  4770  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  4771  	// unconditionally include in API requests. By default, fields with
  4772  	// empty or default values are omitted from API requests. However, any
  4773  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4774  	// sent to the server regardless of whether the field is empty or not.
  4775  	// This may be used to include empty fields in Patch requests.
  4776  	ForceSendFields []string `json:"-"`
  4777  
  4778  	// NullFields is a list of field names (e.g. "ClientId") to include in
  4779  	// API requests with the JSON null value. By default, fields with empty
  4780  	// values are omitted from API requests. However, any field with an
  4781  	// empty value appearing in NullFields will be sent to the server as
  4782  	// null. It is an error if a field in this list has a non-empty value.
  4783  	// This may be used to include null fields in Patch requests.
  4784  	NullFields []string `json:"-"`
  4785  }
  4786  
  4787  func (s *EnterpriseCrmEventbusStatsDimensions) MarshalJSON() ([]byte, error) {
  4788  	type NoMethod EnterpriseCrmEventbusStatsDimensions
  4789  	raw := NoMethod(*s)
  4790  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4791  }
  4792  
  4793  type EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray struct {
  4794  	BooleanValues []bool `json:"booleanValues,omitempty"`
  4795  
  4796  	// ForceSendFields is a list of field names (e.g. "BooleanValues") to
  4797  	// unconditionally include in API requests. By default, fields with
  4798  	// empty or default values are omitted from API requests. However, any
  4799  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4800  	// sent to the server regardless of whether the field is empty or not.
  4801  	// This may be used to include empty fields in Patch requests.
  4802  	ForceSendFields []string `json:"-"`
  4803  
  4804  	// NullFields is a list of field names (e.g. "BooleanValues") to include
  4805  	// in API requests with the JSON null value. By default, fields with
  4806  	// empty values are omitted from API requests. However, any field with
  4807  	// an empty value appearing in NullFields will be sent to the server as
  4808  	// null. It is an error if a field in this list has a non-empty value.
  4809  	// This may be used to include null fields in Patch requests.
  4810  	NullFields []string `json:"-"`
  4811  }
  4812  
  4813  func (s *EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray) MarshalJSON() ([]byte, error) {
  4814  	type NoMethod EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray
  4815  	raw := NoMethod(*s)
  4816  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4817  }
  4818  
  4819  type EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray struct {
  4820  	DoubleValues []float64 `json:"doubleValues,omitempty"`
  4821  
  4822  	// ForceSendFields is a list of field names (e.g. "DoubleValues") to
  4823  	// unconditionally include in API requests. By default, fields with
  4824  	// empty or default values are omitted from API requests. However, any
  4825  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4826  	// sent to the server regardless of whether the field is empty or not.
  4827  	// This may be used to include empty fields in Patch requests.
  4828  	ForceSendFields []string `json:"-"`
  4829  
  4830  	// NullFields is a list of field names (e.g. "DoubleValues") to include
  4831  	// in API requests with the JSON null value. By default, fields with
  4832  	// empty values are omitted from API requests. However, any field with
  4833  	// an empty value appearing in NullFields will be sent to the server as
  4834  	// null. It is an error if a field in this list has a non-empty value.
  4835  	// This may be used to include null fields in Patch requests.
  4836  	NullFields []string `json:"-"`
  4837  }
  4838  
  4839  func (s *EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) MarshalJSON() ([]byte, error) {
  4840  	type NoMethod EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray
  4841  	raw := NoMethod(*s)
  4842  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4843  }
  4844  
  4845  func (s *EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) UnmarshalJSON(data []byte) error {
  4846  	type NoMethod EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray
  4847  	var s1 struct {
  4848  		DoubleValues []gensupport.JSONFloat64 `json:"doubleValues"`
  4849  		*NoMethod
  4850  	}
  4851  	s1.NoMethod = (*NoMethod)(s)
  4852  	if err := json.Unmarshal(data, &s1); err != nil {
  4853  		return err
  4854  	}
  4855  	s.DoubleValues = make([]float64, len(s1.DoubleValues))
  4856  	for i := range s1.DoubleValues {
  4857  		s.DoubleValues[i] = float64(s1.DoubleValues[i])
  4858  	}
  4859  	return nil
  4860  }
  4861  
  4862  // EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails: Contains
  4863  // the details of the execution info of this event: this includes the
  4864  // tasks execution details plus the event execution statistics. Next
  4865  // available id: 10
  4866  type EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails struct {
  4867  	EventAttemptStats []*EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats `json:"eventAttemptStats,omitempty"`
  4868  
  4869  	// EventExecutionSnapshot: After snapshot migration, this field will no
  4870  	// longer be populated, but old execution snapshots will still be
  4871  	// accessible.
  4872  	EventExecutionSnapshot []*EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot `json:"eventExecutionSnapshot,omitempty"`
  4873  
  4874  	// EventExecutionState: The execution state of this event.
  4875  	//
  4876  	// Possible values:
  4877  	//   "UNSPECIFIED"
  4878  	//   "ON_HOLD" - Event is received and waiting for the execution. This
  4879  	// happens when firing the event via "postToQueue" or "schedule".
  4880  	//   "IN_PROCESS" - Event is under processing.
  4881  	//   "SUCCEEDED" - Event execution successfully finished. There's no
  4882  	// more change after this state.
  4883  	//   "FAILED" - Event execution failed. There's no more change after
  4884  	// this state.
  4885  	//   "CANCELED" - Event execution canceled by user. There's no more
  4886  	// change after this state.
  4887  	//   "RETRY_ON_HOLD" - Event execution failed and waiting for retry.
  4888  	//   "SUSPENDED" - Event execution suspended and waiting for manual
  4889  	// intervention.
  4890  	EventExecutionState string `json:"eventExecutionState,omitempty"`
  4891  
  4892  	// EventRetriesFromBeginningCount: Indicates the number of times the
  4893  	// execution has restarted from the beginning.
  4894  	EventRetriesFromBeginningCount int64 `json:"eventRetriesFromBeginningCount,omitempty"`
  4895  
  4896  	// LogFilePath: The log file path (aka. cns address) for this event.
  4897  	LogFilePath string `json:"logFilePath,omitempty"`
  4898  
  4899  	// NetworkAddress: The network address (aka. bns address) that indicates
  4900  	// where the event executor is running.
  4901  	NetworkAddress string `json:"networkAddress,omitempty"`
  4902  
  4903  	// NextExecutionTime: Next scheduled execution time in case the
  4904  	// execution status was RETRY_ON_HOLD.
  4905  	NextExecutionTime int64 `json:"nextExecutionTime,omitempty,string"`
  4906  
  4907  	// RyeLockUnheldCount: Used internally and shouldn't be exposed to
  4908  	// users. A counter for the cron job to record how many times this event
  4909  	// is in in_process state but don't have a lock consecutively/
  4910  	RyeLockUnheldCount int64 `json:"ryeLockUnheldCount,omitempty"`
  4911  
  4912  	// ForceSendFields is a list of field names (e.g. "EventAttemptStats")
  4913  	// to unconditionally include in API requests. By default, fields with
  4914  	// empty or default values are omitted from API requests. However, any
  4915  	// non-pointer, non-interface field appearing in ForceSendFields will be
  4916  	// sent to the server regardless of whether the field is empty or not.
  4917  	// This may be used to include empty fields in Patch requests.
  4918  	ForceSendFields []string `json:"-"`
  4919  
  4920  	// NullFields is a list of field names (e.g. "EventAttemptStats") to
  4921  	// include in API requests with the JSON null value. By default, fields
  4922  	// with empty values are omitted from API requests. However, any field
  4923  	// with an empty value appearing in NullFields will be sent to the
  4924  	// server as null. It is an error if a field in this list has a
  4925  	// non-empty value. This may be used to include null fields in Patch
  4926  	// requests.
  4927  	NullFields []string `json:"-"`
  4928  }
  4929  
  4930  func (s *EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails) MarshalJSON() ([]byte, error) {
  4931  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails
  4932  	raw := NoMethod(*s)
  4933  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  4934  }
  4935  
  4936  // EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo: Contains all
  4937  // the execution details for a workflow instance. Next available id: 24
  4938  type EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo struct {
  4939  	// ClientId: The event data user sends as request.
  4940  	ClientId string `json:"clientId,omitempty"`
  4941  
  4942  	// CreateTime: Auto-generated.
  4943  	CreateTime int64 `json:"createTime,omitempty,string"`
  4944  
  4945  	// ErrorCode: Final error-code if event failed.
  4946  	ErrorCode *CrmlogErrorCode `json:"errorCode,omitempty"`
  4947  
  4948  	// Errors: Errors, warnings, and informationals associated with the
  4949  	// workflow/task. The order in which the errors were added by the
  4950  	// workflow/task is maintained.
  4951  	Errors []*EnterpriseCrmEventbusProtoErrorDetail `json:"errors,omitempty"`
  4952  
  4953  	// EventExecutionDetails: The execution info about this event.
  4954  	EventExecutionDetails *EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails `json:"eventExecutionDetails,omitempty"`
  4955  
  4956  	// EventExecutionInfoId: Auto-generated primary key.
  4957  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  4958  
  4959  	// ExecutionTraceInfo: Execution trace info to aggregate parent-child
  4960  	// executions.
  4961  	ExecutionTraceInfo *EnterpriseCrmEventbusProtoExecutionTraceInfo `json:"executionTraceInfo,omitempty"`
  4962  
  4963  	// LastModifiedTime: Auto-generated.
  4964  	LastModifiedTime int64 `json:"lastModifiedTime,omitempty,string"`
  4965  
  4966  	// PostMethod: The ways user posts this event.
  4967  	//
  4968  	// Possible values:
  4969  	//   "UNSPECIFIED"
  4970  	//   "POST"
  4971  	//   "POST_TO_QUEUE"
  4972  	//   "SCHEDULE"
  4973  	//   "POST_BY_EVENT_CONFIG_ID"
  4974  	//   "POST_WITH_EVENT_DETAILS"
  4975  	PostMethod string `json:"postMethod,omitempty"`
  4976  
  4977  	// Product: Which Google product the execution_info belongs to. If not
  4978  	// set, the execution_info belongs to Integration Platform by default.
  4979  	//
  4980  	// Possible values:
  4981  	//   "UNSPECIFIED_PRODUCT"
  4982  	//   "IP"
  4983  	//   "APIGEE"
  4984  	//   "SECURITY"
  4985  	Product string `json:"product,omitempty"`
  4986  
  4987  	// RequestId: Optional. This is used to de-dup incoming request.
  4988  	RequestId string `json:"requestId,omitempty"`
  4989  
  4990  	// RequestParams: Event parameters come in as part of the request.
  4991  	RequestParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"requestParams,omitempty"`
  4992  
  4993  	// ResponseParams: Event parameters come out as part of the response.
  4994  	ResponseParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"responseParams,omitempty"`
  4995  
  4996  	// SnapshotNumber: Workflow snapshot number.
  4997  	SnapshotNumber int64 `json:"snapshotNumber,omitempty,string"`
  4998  
  4999  	// Tenant: Tenant this event is created. Used to reschedule the event to
  5000  	// correct tenant.
  5001  	Tenant string `json:"tenant,omitempty"`
  5002  
  5003  	// TriggerId: The trigger id of the workflow trigger config. If both
  5004  	// trigger_id and client_id is present, the workflow is executed from
  5005  	// the start tasks provided by the matching trigger config otherwise it
  5006  	// is executed from the default start tasks.
  5007  	TriggerId string `json:"triggerId,omitempty"`
  5008  
  5009  	// WorkflowId: Required. Pointer to the workflow it is executing.
  5010  	WorkflowId string `json:"workflowId,omitempty"`
  5011  
  5012  	// WorkflowName: Name of the workflow.
  5013  	WorkflowName string `json:"workflowName,omitempty"`
  5014  
  5015  	// WorkflowRetryBackoffIntervalSeconds: Time interval in seconds to
  5016  	// schedule retry of workflow in manifold when workflow is already
  5017  	// running
  5018  	WorkflowRetryBackoffIntervalSeconds int64 `json:"workflowRetryBackoffIntervalSeconds,omitempty,string"`
  5019  
  5020  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  5021  	// unconditionally include in API requests. By default, fields with
  5022  	// empty or default values are omitted from API requests. However, any
  5023  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5024  	// sent to the server regardless of whether the field is empty or not.
  5025  	// This may be used to include empty fields in Patch requests.
  5026  	ForceSendFields []string `json:"-"`
  5027  
  5028  	// NullFields is a list of field names (e.g. "ClientId") to include in
  5029  	// API requests with the JSON null value. By default, fields with empty
  5030  	// values are omitted from API requests. However, any field with an
  5031  	// empty value appearing in NullFields will be sent to the server as
  5032  	// null. It is an error if a field in this list has a non-empty value.
  5033  	// This may be used to include null fields in Patch requests.
  5034  	NullFields []string `json:"-"`
  5035  }
  5036  
  5037  func (s *EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo) MarshalJSON() ([]byte, error) {
  5038  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo
  5039  	raw := NoMethod(*s)
  5040  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5041  }
  5042  
  5043  type EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot struct {
  5044  	// CheckpointTaskNumber: Indicates "right after which checkpoint task's
  5045  	// execution" this snapshot is taken.
  5046  	CheckpointTaskNumber string `json:"checkpointTaskNumber,omitempty"`
  5047  
  5048  	// ConditionResults: All of the computed conditions that been
  5049  	// calculated.
  5050  	ConditionResults []*EnterpriseCrmEventbusProtoConditionResult `json:"conditionResults,omitempty"`
  5051  
  5052  	// DiffParams: The parameters in Event object that differs from last
  5053  	// snapshot.
  5054  	DiffParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"diffParams,omitempty"`
  5055  
  5056  	// EventExecutionInfoId: Points to the event execution info this
  5057  	// snapshot belongs to.
  5058  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  5059  
  5060  	// EventExecutionSnapshotId: Auto-generated. Used as primary key for
  5061  	// EventExecutionSnapshots table.
  5062  	EventExecutionSnapshotId string `json:"eventExecutionSnapshotId,omitempty"`
  5063  
  5064  	EventExecutionSnapshotMetadata *EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata `json:"eventExecutionSnapshotMetadata,omitempty"`
  5065  
  5066  	// EventParams: The parameters in Event object.
  5067  	EventParams *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"eventParams,omitempty"`
  5068  
  5069  	// SnapshotTime: Indicates when this snapshot is taken.
  5070  	SnapshotTime int64 `json:"snapshotTime,omitempty,string"`
  5071  
  5072  	// TaskExecutionDetails: All of the task execution details at the given
  5073  	// point of time.
  5074  	TaskExecutionDetails []*EnterpriseCrmEventbusProtoTaskExecutionDetails `json:"taskExecutionDetails,omitempty"`
  5075  
  5076  	// TaskName: The task name associated with this snapshot. Could be
  5077  	// empty.
  5078  	TaskName string `json:"taskName,omitempty"`
  5079  
  5080  	// ForceSendFields is a list of field names (e.g.
  5081  	// "CheckpointTaskNumber") to unconditionally include in API requests.
  5082  	// By default, fields with empty or default values are omitted from API
  5083  	// requests. However, any non-pointer, non-interface field appearing in
  5084  	// ForceSendFields will be sent to the server regardless of whether the
  5085  	// field is empty or not. This may be used to include empty fields in
  5086  	// Patch requests.
  5087  	ForceSendFields []string `json:"-"`
  5088  
  5089  	// NullFields is a list of field names (e.g. "CheckpointTaskNumber") to
  5090  	// include in API requests with the JSON null value. By default, fields
  5091  	// with empty values are omitted from API requests. However, any field
  5092  	// with an empty value appearing in NullFields will be sent to the
  5093  	// server as null. It is an error if a field in this list has a
  5094  	// non-empty value. This may be used to include null fields in Patch
  5095  	// requests.
  5096  	NullFields []string `json:"-"`
  5097  }
  5098  
  5099  func (s *EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot) MarshalJSON() ([]byte, error) {
  5100  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot
  5101  	raw := NoMethod(*s)
  5102  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5103  }
  5104  
  5105  // EnterpriseCrmFrontendsEventbusProtoEventParameters: LINT.IfChange
  5106  // This message is used for processing and persisting (when applicable)
  5107  // key value pair parameters for each event in the event bus. Please see
  5108  type EnterpriseCrmFrontendsEventbusProtoEventParameters struct {
  5109  	// Parameters: Parameters are a part of Event and can be used to
  5110  	// communicate between different tasks that are part of the same
  5111  	// workflow execution.
  5112  	Parameters []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameters,omitempty"`
  5113  
  5114  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  5115  	// unconditionally include in API requests. By default, fields with
  5116  	// empty or default values are omitted from API requests. However, any
  5117  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5118  	// sent to the server regardless of whether the field is empty or not.
  5119  	// This may be used to include empty fields in Patch requests.
  5120  	ForceSendFields []string `json:"-"`
  5121  
  5122  	// NullFields is a list of field names (e.g. "Parameters") to include in
  5123  	// API requests with the JSON null value. By default, fields with empty
  5124  	// values are omitted from API requests. However, any field with an
  5125  	// empty value appearing in NullFields will be sent to the server as
  5126  	// null. It is an error if a field in this list has a non-empty value.
  5127  	// This may be used to include null fields in Patch requests.
  5128  	NullFields []string `json:"-"`
  5129  }
  5130  
  5131  func (s *EnterpriseCrmFrontendsEventbusProtoEventParameters) MarshalJSON() ([]byte, error) {
  5132  	type NoMethod EnterpriseCrmFrontendsEventbusProtoEventParameters
  5133  	raw := NoMethod(*s)
  5134  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5135  }
  5136  
  5137  type EnterpriseCrmFrontendsEventbusProtoIntParameterArray struct {
  5138  	IntValues googleapi.Int64s `json:"intValues,omitempty"`
  5139  
  5140  	// ForceSendFields is a list of field names (e.g. "IntValues") to
  5141  	// unconditionally include in API requests. By default, fields with
  5142  	// empty or default values are omitted from API requests. However, any
  5143  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5144  	// sent to the server regardless of whether the field is empty or not.
  5145  	// This may be used to include empty fields in Patch requests.
  5146  	ForceSendFields []string `json:"-"`
  5147  
  5148  	// NullFields is a list of field names (e.g. "IntValues") to include in
  5149  	// API requests with the JSON null value. By default, fields with empty
  5150  	// values are omitted from API requests. However, any field with an
  5151  	// empty value appearing in NullFields will be sent to the server as
  5152  	// null. It is an error if a field in this list has a non-empty value.
  5153  	// This may be used to include null fields in Patch requests.
  5154  	NullFields []string `json:"-"`
  5155  }
  5156  
  5157  func (s *EnterpriseCrmFrontendsEventbusProtoIntParameterArray) MarshalJSON() ([]byte, error) {
  5158  	type NoMethod EnterpriseCrmFrontendsEventbusProtoIntParameterArray
  5159  	raw := NoMethod(*s)
  5160  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5161  }
  5162  
  5163  // EnterpriseCrmFrontendsEventbusProtoParamSpecEntry: Key-value pair of
  5164  // EventBus task parameters. Next id: 13
  5165  type EnterpriseCrmFrontendsEventbusProtoParamSpecEntry struct {
  5166  	// ClassName: The FQCN of the Java object this represents. A string, for
  5167  	// example, would be "java.lang.String". If this is "java.lang.Object",
  5168  	// the parameter can be of any type.
  5169  	ClassName string `json:"className,omitempty"`
  5170  
  5171  	// CollectionElementClassName: If it is a collection of objects, this
  5172  	// would be the FCQN of every individual element in the collection. If
  5173  	// this is "java.lang.Object", the parameter is a collection of any
  5174  	// type.
  5175  	CollectionElementClassName string `json:"collectionElementClassName,omitempty"`
  5176  
  5177  	// Config: Optional fields, such as help text and other useful info.
  5178  	Config *EnterpriseCrmEventbusProtoParamSpecEntryConfig `json:"config,omitempty"`
  5179  
  5180  	// DataType: The data type of the parameter.
  5181  	//
  5182  	// Possible values:
  5183  	//   "DATA_TYPE_UNSPECIFIED"
  5184  	//   "STRING_VALUE"
  5185  	//   "INT_VALUE"
  5186  	//   "DOUBLE_VALUE"
  5187  	//   "BOOLEAN_VALUE"
  5188  	//   "PROTO_VALUE"
  5189  	//   "SERIALIZED_OBJECT_VALUE"
  5190  	//   "STRING_ARRAY"
  5191  	//   "INT_ARRAY"
  5192  	//   "DOUBLE_ARRAY"
  5193  	//   "PROTO_ARRAY"
  5194  	//   "PROTO_ENUM"
  5195  	//   "BOOLEAN_ARRAY"
  5196  	//   "PROTO_ENUM_ARRAY"
  5197  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5198  	// top-level params. They're only meant to support protobufs with BYTES
  5199  	// (sub)fields.
  5200  	//   "BYTES_ARRAY"
  5201  	//   "NON_SERIALIZABLE_OBJECT"
  5202  	//   "JSON_VALUE"
  5203  	DataType string `json:"dataType,omitempty"`
  5204  
  5205  	// DefaultValue: Default values for the defined keys. Each value can
  5206  	// either be string, int, double or any proto message or a serialized
  5207  	// object.
  5208  	DefaultValue *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"defaultValue,omitempty"`
  5209  
  5210  	// IsDeprecated: If set, this entry is deprecated, so further use of
  5211  	// this parameter should be prohibited.
  5212  	IsDeprecated bool `json:"isDeprecated,omitempty"`
  5213  
  5214  	IsOutput bool `json:"isOutput,omitempty"`
  5215  
  5216  	// JsonSchema: If the data_type is JSON_VALUE, then this will define its
  5217  	// schema.
  5218  	JsonSchema string `json:"jsonSchema,omitempty"`
  5219  
  5220  	// Key: Key is used to retrieve the corresponding parameter value. This
  5221  	// should be unique for a given task. These parameters must be
  5222  	// predefined in the workflow definition.
  5223  	Key string `json:"key,omitempty"`
  5224  
  5225  	// ProtoDef: Populated if this represents a proto or proto array.
  5226  	ProtoDef *EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition `json:"protoDef,omitempty"`
  5227  
  5228  	// Required: If set, the user must provide an input value for this
  5229  	// parameter.
  5230  	Required bool `json:"required,omitempty"`
  5231  
  5232  	// ValidationRule: Rule used to validate inputs (individual values and
  5233  	// collection elements) for this parameter.
  5234  	ValidationRule *EnterpriseCrmEventbusProtoParamSpecEntryValidationRule `json:"validationRule,omitempty"`
  5235  
  5236  	// ForceSendFields is a list of field names (e.g. "ClassName") to
  5237  	// unconditionally include in API requests. By default, fields with
  5238  	// empty or default values are omitted from API requests. However, any
  5239  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5240  	// sent to the server regardless of whether the field is empty or not.
  5241  	// This may be used to include empty fields in Patch requests.
  5242  	ForceSendFields []string `json:"-"`
  5243  
  5244  	// NullFields is a list of field names (e.g. "ClassName") to include in
  5245  	// API requests with the JSON null value. By default, fields with empty
  5246  	// values are omitted from API requests. However, any field with an
  5247  	// empty value appearing in NullFields will be sent to the server as
  5248  	// null. It is an error if a field in this list has a non-empty value.
  5249  	// This may be used to include null fields in Patch requests.
  5250  	NullFields []string `json:"-"`
  5251  }
  5252  
  5253  func (s *EnterpriseCrmFrontendsEventbusProtoParamSpecEntry) MarshalJSON() ([]byte, error) {
  5254  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParamSpecEntry
  5255  	raw := NoMethod(*s)
  5256  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5257  }
  5258  
  5259  type EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage struct {
  5260  	Parameters []*EnterpriseCrmFrontendsEventbusProtoParamSpecEntry `json:"parameters,omitempty"`
  5261  
  5262  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  5263  	// unconditionally include in API requests. By default, fields with
  5264  	// empty or default values are omitted from API requests. However, any
  5265  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5266  	// sent to the server regardless of whether the field is empty or not.
  5267  	// This may be used to include empty fields in Patch requests.
  5268  	ForceSendFields []string `json:"-"`
  5269  
  5270  	// NullFields is a list of field names (e.g. "Parameters") to include in
  5271  	// API requests with the JSON null value. By default, fields with empty
  5272  	// values are omitted from API requests. However, any field with an
  5273  	// empty value appearing in NullFields will be sent to the server as
  5274  	// null. It is an error if a field in this list has a non-empty value.
  5275  	// This may be used to include null fields in Patch requests.
  5276  	NullFields []string `json:"-"`
  5277  }
  5278  
  5279  func (s *EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage) MarshalJSON() ([]byte, error) {
  5280  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage
  5281  	raw := NoMethod(*s)
  5282  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5283  }
  5284  
  5285  // EnterpriseCrmFrontendsEventbusProtoParameterEntry: Key-value pair of
  5286  // EventBus parameters.
  5287  type EnterpriseCrmFrontendsEventbusProtoParameterEntry struct {
  5288  	// DataType: Explicitly getting the type of the parameter.
  5289  	//
  5290  	// Possible values:
  5291  	//   "DATA_TYPE_UNSPECIFIED"
  5292  	//   "STRING_VALUE"
  5293  	//   "INT_VALUE"
  5294  	//   "DOUBLE_VALUE"
  5295  	//   "BOOLEAN_VALUE"
  5296  	//   "PROTO_VALUE"
  5297  	//   "SERIALIZED_OBJECT_VALUE"
  5298  	//   "STRING_ARRAY"
  5299  	//   "INT_ARRAY"
  5300  	//   "DOUBLE_ARRAY"
  5301  	//   "PROTO_ARRAY"
  5302  	//   "PROTO_ENUM"
  5303  	//   "BOOLEAN_ARRAY"
  5304  	//   "PROTO_ENUM_ARRAY"
  5305  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5306  	// top-level params. They're only meant to support protobufs with BYTES
  5307  	// (sub)fields.
  5308  	//   "BYTES_ARRAY"
  5309  	//   "NON_SERIALIZABLE_OBJECT"
  5310  	//   "JSON_VALUE"
  5311  	DataType string `json:"dataType,omitempty"`
  5312  
  5313  	// Key: Key is used to retrieve the corresponding parameter value. This
  5314  	// should be unique for a given fired event. These parameters must be
  5315  	// predefined in the workflow definition.
  5316  	Key string `json:"key,omitempty"`
  5317  
  5318  	// Value: Values for the defined keys. Each value can either be string,
  5319  	// int, double or any proto message.
  5320  	Value *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"value,omitempty"`
  5321  
  5322  	// ForceSendFields is a list of field names (e.g. "DataType") to
  5323  	// unconditionally include in API requests. By default, fields with
  5324  	// empty or default values are omitted from API requests. However, any
  5325  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5326  	// sent to the server regardless of whether the field is empty or not.
  5327  	// This may be used to include empty fields in Patch requests.
  5328  	ForceSendFields []string `json:"-"`
  5329  
  5330  	// NullFields is a list of field names (e.g. "DataType") to include in
  5331  	// API requests with the JSON null value. By default, fields with empty
  5332  	// values are omitted from API requests. However, any field with an
  5333  	// empty value appearing in NullFields will be sent to the server as
  5334  	// null. It is an error if a field in this list has a non-empty value.
  5335  	// This may be used to include null fields in Patch requests.
  5336  	NullFields []string `json:"-"`
  5337  }
  5338  
  5339  func (s *EnterpriseCrmFrontendsEventbusProtoParameterEntry) MarshalJSON() ([]byte, error) {
  5340  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterEntry
  5341  	raw := NoMethod(*s)
  5342  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5343  }
  5344  
  5345  // EnterpriseCrmFrontendsEventbusProtoParameterMap: A generic multi-map
  5346  // that holds key value pairs. They keys and values can be of any type,
  5347  // unless specified.
  5348  type EnterpriseCrmFrontendsEventbusProtoParameterMap struct {
  5349  	Entries []*EnterpriseCrmFrontendsEventbusProtoParameterMapEntry `json:"entries,omitempty"`
  5350  
  5351  	// KeyType: Option to specify key value type for all entries of the map.
  5352  	// If provided then field types for all entries must conform to this.
  5353  	//
  5354  	// Possible values:
  5355  	//   "DATA_TYPE_UNSPECIFIED"
  5356  	//   "STRING_VALUE"
  5357  	//   "INT_VALUE"
  5358  	//   "DOUBLE_VALUE"
  5359  	//   "BOOLEAN_VALUE"
  5360  	//   "PROTO_VALUE"
  5361  	//   "SERIALIZED_OBJECT_VALUE"
  5362  	//   "STRING_ARRAY"
  5363  	//   "INT_ARRAY"
  5364  	//   "DOUBLE_ARRAY"
  5365  	//   "PROTO_ARRAY"
  5366  	//   "PROTO_ENUM"
  5367  	//   "BOOLEAN_ARRAY"
  5368  	//   "PROTO_ENUM_ARRAY"
  5369  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5370  	// top-level params. They're only meant to support protobufs with BYTES
  5371  	// (sub)fields.
  5372  	//   "BYTES_ARRAY"
  5373  	//   "NON_SERIALIZABLE_OBJECT"
  5374  	//   "JSON_VALUE"
  5375  	KeyType string `json:"keyType,omitempty"`
  5376  
  5377  	// Possible values:
  5378  	//   "DATA_TYPE_UNSPECIFIED"
  5379  	//   "STRING_VALUE"
  5380  	//   "INT_VALUE"
  5381  	//   "DOUBLE_VALUE"
  5382  	//   "BOOLEAN_VALUE"
  5383  	//   "PROTO_VALUE"
  5384  	//   "SERIALIZED_OBJECT_VALUE"
  5385  	//   "STRING_ARRAY"
  5386  	//   "INT_ARRAY"
  5387  	//   "DOUBLE_ARRAY"
  5388  	//   "PROTO_ARRAY"
  5389  	//   "PROTO_ENUM"
  5390  	//   "BOOLEAN_ARRAY"
  5391  	//   "PROTO_ENUM_ARRAY"
  5392  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  5393  	// top-level params. They're only meant to support protobufs with BYTES
  5394  	// (sub)fields.
  5395  	//   "BYTES_ARRAY"
  5396  	//   "NON_SERIALIZABLE_OBJECT"
  5397  	//   "JSON_VALUE"
  5398  	ValueType string `json:"valueType,omitempty"`
  5399  
  5400  	// ForceSendFields is a list of field names (e.g. "Entries") to
  5401  	// unconditionally include in API requests. By default, fields with
  5402  	// empty or default values are omitted from API requests. However, any
  5403  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5404  	// sent to the server regardless of whether the field is empty or not.
  5405  	// This may be used to include empty fields in Patch requests.
  5406  	ForceSendFields []string `json:"-"`
  5407  
  5408  	// NullFields is a list of field names (e.g. "Entries") to include in
  5409  	// API requests with the JSON null value. By default, fields with empty
  5410  	// values are omitted from API requests. However, any field with an
  5411  	// empty value appearing in NullFields will be sent to the server as
  5412  	// null. It is an error if a field in this list has a non-empty value.
  5413  	// This may be used to include null fields in Patch requests.
  5414  	NullFields []string `json:"-"`
  5415  }
  5416  
  5417  func (s *EnterpriseCrmFrontendsEventbusProtoParameterMap) MarshalJSON() ([]byte, error) {
  5418  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterMap
  5419  	raw := NoMethod(*s)
  5420  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5421  }
  5422  
  5423  // EnterpriseCrmFrontendsEventbusProtoParameterMapEntry: Entry is a pair
  5424  // of key and value.
  5425  type EnterpriseCrmFrontendsEventbusProtoParameterMapEntry struct {
  5426  	Key *EnterpriseCrmFrontendsEventbusProtoParameterMapField `json:"key,omitempty"`
  5427  
  5428  	Value *EnterpriseCrmFrontendsEventbusProtoParameterMapField `json:"value,omitempty"`
  5429  
  5430  	// ForceSendFields is a list of field names (e.g. "Key") to
  5431  	// unconditionally include in API requests. By default, fields with
  5432  	// empty or default values are omitted from API requests. However, any
  5433  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5434  	// sent to the server regardless of whether the field is empty or not.
  5435  	// This may be used to include empty fields in Patch requests.
  5436  	ForceSendFields []string `json:"-"`
  5437  
  5438  	// NullFields is a list of field names (e.g. "Key") to include in API
  5439  	// requests with the JSON null value. By default, fields with empty
  5440  	// values are omitted from API requests. However, any field with an
  5441  	// empty value appearing in NullFields will be sent to the server as
  5442  	// null. It is an error if a field in this list has a non-empty value.
  5443  	// This may be used to include null fields in Patch requests.
  5444  	NullFields []string `json:"-"`
  5445  }
  5446  
  5447  func (s *EnterpriseCrmFrontendsEventbusProtoParameterMapEntry) MarshalJSON() ([]byte, error) {
  5448  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterMapEntry
  5449  	raw := NoMethod(*s)
  5450  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5451  }
  5452  
  5453  // EnterpriseCrmFrontendsEventbusProtoParameterMapField: Field
  5454  // represents either the key or value in an entry.
  5455  type EnterpriseCrmFrontendsEventbusProtoParameterMapField struct {
  5456  	// LiteralValue: Passing a literal value.
  5457  	LiteralValue *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"literalValue,omitempty"`
  5458  
  5459  	// ReferenceKey: Referencing one of the WF variables.
  5460  	ReferenceKey string `json:"referenceKey,omitempty"`
  5461  
  5462  	// ForceSendFields is a list of field names (e.g. "LiteralValue") 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. "LiteralValue") 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 *EnterpriseCrmFrontendsEventbusProtoParameterMapField) MarshalJSON() ([]byte, error) {
  5480  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterMapField
  5481  	raw := NoMethod(*s)
  5482  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5483  }
  5484  
  5485  // EnterpriseCrmFrontendsEventbusProtoParameterValueType: To support
  5486  // various types of parameter values. Next available id: 14
  5487  type EnterpriseCrmFrontendsEventbusProtoParameterValueType struct {
  5488  	BooleanArray *EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray `json:"booleanArray,omitempty"`
  5489  
  5490  	BooleanValue bool `json:"booleanValue,omitempty"`
  5491  
  5492  	DoubleArray *EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray `json:"doubleArray,omitempty"`
  5493  
  5494  	DoubleValue float64 `json:"doubleValue,omitempty"`
  5495  
  5496  	IntArray *EnterpriseCrmFrontendsEventbusProtoIntParameterArray `json:"intArray,omitempty"`
  5497  
  5498  	IntValue int64 `json:"intValue,omitempty,string"`
  5499  
  5500  	JsonValue string `json:"jsonValue,omitempty"`
  5501  
  5502  	ProtoArray *EnterpriseCrmFrontendsEventbusProtoProtoParameterArray `json:"protoArray,omitempty"`
  5503  
  5504  	ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
  5505  
  5506  	SerializedObjectValue *EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter `json:"serializedObjectValue,omitempty"`
  5507  
  5508  	StringArray *EnterpriseCrmFrontendsEventbusProtoStringParameterArray `json:"stringArray,omitempty"`
  5509  
  5510  	StringValue string `json:"stringValue,omitempty"`
  5511  
  5512  	// ForceSendFields is a list of field names (e.g. "BooleanArray") to
  5513  	// unconditionally include in API requests. By default, fields with
  5514  	// empty or default values are omitted from API requests. However, any
  5515  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5516  	// sent to the server regardless of whether the field is empty or not.
  5517  	// This may be used to include empty fields in Patch requests.
  5518  	ForceSendFields []string `json:"-"`
  5519  
  5520  	// NullFields is a list of field names (e.g. "BooleanArray") to include
  5521  	// in API requests with the JSON null value. By default, fields with
  5522  	// empty values are omitted from API requests. However, any field with
  5523  	// an empty value appearing in NullFields will be sent to the server as
  5524  	// null. It is an error if a field in this list has a non-empty value.
  5525  	// This may be used to include null fields in Patch requests.
  5526  	NullFields []string `json:"-"`
  5527  }
  5528  
  5529  func (s *EnterpriseCrmFrontendsEventbusProtoParameterValueType) MarshalJSON() ([]byte, error) {
  5530  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterValueType
  5531  	raw := NoMethod(*s)
  5532  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5533  }
  5534  
  5535  func (s *EnterpriseCrmFrontendsEventbusProtoParameterValueType) UnmarshalJSON(data []byte) error {
  5536  	type NoMethod EnterpriseCrmFrontendsEventbusProtoParameterValueType
  5537  	var s1 struct {
  5538  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
  5539  		*NoMethod
  5540  	}
  5541  	s1.NoMethod = (*NoMethod)(s)
  5542  	if err := json.Unmarshal(data, &s1); err != nil {
  5543  		return err
  5544  	}
  5545  	s.DoubleValue = float64(s1.DoubleValue)
  5546  	return nil
  5547  }
  5548  
  5549  type EnterpriseCrmFrontendsEventbusProtoProtoParameterArray struct {
  5550  	ProtoValues []googleapi.RawMessage `json:"protoValues,omitempty"`
  5551  
  5552  	// ForceSendFields is a list of field names (e.g. "ProtoValues") to
  5553  	// unconditionally include in API requests. By default, fields with
  5554  	// empty or default values are omitted from API requests. However, any
  5555  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5556  	// sent to the server regardless of whether the field is empty or not.
  5557  	// This may be used to include empty fields in Patch requests.
  5558  	ForceSendFields []string `json:"-"`
  5559  
  5560  	// NullFields is a list of field names (e.g. "ProtoValues") to include
  5561  	// in API requests with the JSON null value. By default, fields with
  5562  	// empty values are omitted from API requests. However, any field with
  5563  	// an empty value appearing in NullFields will be sent to the server as
  5564  	// null. It is an error if a field in this list has a non-empty value.
  5565  	// This may be used to include null fields in Patch requests.
  5566  	NullFields []string `json:"-"`
  5567  }
  5568  
  5569  func (s *EnterpriseCrmFrontendsEventbusProtoProtoParameterArray) MarshalJSON() ([]byte, error) {
  5570  	type NoMethod EnterpriseCrmFrontendsEventbusProtoProtoParameterArray
  5571  	raw := NoMethod(*s)
  5572  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5573  }
  5574  
  5575  // EnterpriseCrmFrontendsEventbusProtoRollbackStrategy: Next available
  5576  // id: 4
  5577  type EnterpriseCrmFrontendsEventbusProtoRollbackStrategy struct {
  5578  	// Parameters: Optional. The customized parameters the user can pass to
  5579  	// this task.
  5580  	Parameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"parameters,omitempty"`
  5581  
  5582  	// RollbackTaskImplementationClassName: Required. This is the name of
  5583  	// the task that needs to be executed upon rollback of this task.
  5584  	RollbackTaskImplementationClassName string `json:"rollbackTaskImplementationClassName,omitempty"`
  5585  
  5586  	// TaskNumbersToRollback: Required. These are the tasks numbers of the
  5587  	// tasks whose
  5588  	// `rollback_strategy.rollback_task_implementation_class_name` needs to
  5589  	// be executed upon failure of this task.
  5590  	TaskNumbersToRollback []string `json:"taskNumbersToRollback,omitempty"`
  5591  
  5592  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  5593  	// unconditionally include in API requests. By default, fields with
  5594  	// empty or default values are omitted from API requests. However, any
  5595  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5596  	// sent to the server regardless of whether the field is empty or not.
  5597  	// This may be used to include empty fields in Patch requests.
  5598  	ForceSendFields []string `json:"-"`
  5599  
  5600  	// NullFields is a list of field names (e.g. "Parameters") to include in
  5601  	// API requests with the JSON null value. By default, fields with empty
  5602  	// values are omitted from API requests. However, any field with an
  5603  	// empty value appearing in NullFields will be sent to the server as
  5604  	// null. It is an error if a field in this list has a non-empty value.
  5605  	// This may be used to include null fields in Patch requests.
  5606  	NullFields []string `json:"-"`
  5607  }
  5608  
  5609  func (s *EnterpriseCrmFrontendsEventbusProtoRollbackStrategy) MarshalJSON() ([]byte, error) {
  5610  	type NoMethod EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
  5611  	raw := NoMethod(*s)
  5612  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5613  }
  5614  
  5615  type EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter struct {
  5616  	ObjectValue string `json:"objectValue,omitempty"`
  5617  
  5618  	// ForceSendFields is a list of field names (e.g. "ObjectValue") to
  5619  	// unconditionally include in API requests. By default, fields with
  5620  	// empty or default values are omitted from API requests. However, any
  5621  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5622  	// sent to the server regardless of whether the field is empty or not.
  5623  	// This may be used to include empty fields in Patch requests.
  5624  	ForceSendFields []string `json:"-"`
  5625  
  5626  	// NullFields is a list of field names (e.g. "ObjectValue") to include
  5627  	// in API requests with the JSON null value. By default, fields with
  5628  	// empty values are omitted from API requests. However, any field with
  5629  	// an empty value appearing in NullFields will be sent to the server as
  5630  	// null. It is an error if a field in this list has a non-empty value.
  5631  	// This may be used to include null fields in Patch requests.
  5632  	NullFields []string `json:"-"`
  5633  }
  5634  
  5635  func (s *EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter) MarshalJSON() ([]byte, error) {
  5636  	type NoMethod EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter
  5637  	raw := NoMethod(*s)
  5638  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5639  }
  5640  
  5641  type EnterpriseCrmFrontendsEventbusProtoStringParameterArray struct {
  5642  	StringValues []string `json:"stringValues,omitempty"`
  5643  
  5644  	// ForceSendFields is a list of field names (e.g. "StringValues") to
  5645  	// unconditionally include in API requests. By default, fields with
  5646  	// empty or default values are omitted from API requests. However, any
  5647  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5648  	// sent to the server regardless of whether the field is empty or not.
  5649  	// This may be used to include empty fields in Patch requests.
  5650  	ForceSendFields []string `json:"-"`
  5651  
  5652  	// NullFields is a list of field names (e.g. "StringValues") to include
  5653  	// in API requests with the JSON null value. By default, fields with
  5654  	// empty values are omitted from API requests. However, any field with
  5655  	// an empty value appearing in NullFields will be sent to the server as
  5656  	// null. It is an error if a field in this list has a non-empty value.
  5657  	// This may be used to include null fields in Patch requests.
  5658  	NullFields []string `json:"-"`
  5659  }
  5660  
  5661  func (s *EnterpriseCrmFrontendsEventbusProtoStringParameterArray) MarshalJSON() ([]byte, error) {
  5662  	type NoMethod EnterpriseCrmFrontendsEventbusProtoStringParameterArray
  5663  	raw := NoMethod(*s)
  5664  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5665  }
  5666  
  5667  // EnterpriseCrmFrontendsEventbusProtoTaskConfig: The task configuration
  5668  // details. This is not the implementation of Task. There might be
  5669  // multiple TaskConfigs for the same Task.
  5670  type EnterpriseCrmFrontendsEventbusProtoTaskConfig struct {
  5671  	// AlertConfigs: Alert configurations on error rate, warning rate,
  5672  	// number of runs, durations, etc.
  5673  	AlertConfigs []*EnterpriseCrmEventbusProtoTaskAlertConfig `json:"alertConfigs,omitempty"`
  5674  
  5675  	// CreateTime: Auto-generated.
  5676  	CreateTime string `json:"createTime,omitempty"`
  5677  
  5678  	// CreatorEmail: The creator's email address. Auto-generated from the
  5679  	// user's email.
  5680  	CreatorEmail string `json:"creatorEmail,omitempty"`
  5681  
  5682  	// Description: User-provided description intended to give more business
  5683  	// context about the task.
  5684  	Description string `json:"description,omitempty"`
  5685  
  5686  	// DisableStrictTypeValidation: If this config contains a TypedTask,
  5687  	// allow validation to succeed if an input is read from the output of
  5688  	// another TypedTask whose output type is declared as a superclass of
  5689  	// the requested input type. For instance, if the previous task declares
  5690  	// an output of type Message, any task with this flag enabled will pass
  5691  	// validation when attempting to read any proto Message type from the
  5692  	// resultant Event parameter.
  5693  	DisableStrictTypeValidation bool `json:"disableStrictTypeValidation,omitempty"`
  5694  
  5695  	// ErrorCatcherId: Optional Error catcher id of the error catch flow
  5696  	// which will be executed when execution error happens in the task
  5697  	ErrorCatcherId string `json:"errorCatcherId,omitempty"`
  5698  
  5699  	// Possible values:
  5700  	//   "EXTERNAL_TASK_TYPE_UNSPECIFIED" - Default value. External task
  5701  	// type is not specified
  5702  	//   "NORMAL_TASK" - Tasks belongs to the normal task flows
  5703  	//   "ERROR_TASK" - Task belongs to the error catch task flows
  5704  	ExternalTaskType string `json:"externalTaskType,omitempty"`
  5705  
  5706  	// FailurePolicy: Optional. Determines the number of times the task will
  5707  	// be retried on failure and with what retry strategy. This is
  5708  	// applicable for asynchronous calls to Eventbus alone (Post To Queue,
  5709  	// Schedule etc.).
  5710  	FailurePolicy *EnterpriseCrmEventbusProtoFailurePolicy `json:"failurePolicy,omitempty"`
  5711  
  5712  	// IncomingEdgeCount: The number of edges leading into this TaskConfig.
  5713  	IncomingEdgeCount int64 `json:"incomingEdgeCount,omitempty"`
  5714  
  5715  	// JsonValidationOption: If set, overrides the option configured in the
  5716  	// Task implementation class.
  5717  	//
  5718  	// Possible values:
  5719  	//   "UNSPECIFIED_JSON_VALIDATION_OPTION" - As per the default behavior,
  5720  	// no validation will be run. Will not override any option set in a
  5721  	// Task.
  5722  	//   "SKIP" - Do not run any validation against JSON schemas.
  5723  	//   "PRE_EXECUTION" - Validate all potential input JSON parameters
  5724  	// against schemas specified in WorkflowParameters.
  5725  	//   "POST_EXECUTION" - Validate all potential output JSON parameters
  5726  	// against schemas specified in WorkflowParameters.
  5727  	//   "PRE_POST_EXECUTION" - Perform both PRE_EXECUTION and
  5728  	// POST_EXECUTION validations.
  5729  	JsonValidationOption string `json:"jsonValidationOption,omitempty"`
  5730  
  5731  	// Label: User-provided label that is attached to this TaskConfig in the
  5732  	// UI.
  5733  	Label string `json:"label,omitempty"`
  5734  
  5735  	// LastModifiedTime: Auto-generated.
  5736  	LastModifiedTime string `json:"lastModifiedTime,omitempty"`
  5737  
  5738  	// NextTasks: The set of tasks that are next in line to be executed as
  5739  	// per the execution graph defined for the parent event, specified by
  5740  	// `event_config_id`. Each of these next tasks are executed only if the
  5741  	// condition associated with them evaluates to true.
  5742  	NextTasks []*EnterpriseCrmEventbusProtoNextTask `json:"nextTasks,omitempty"`
  5743  
  5744  	// NextTasksExecutionPolicy: The policy dictating the execution of the
  5745  	// next set of tasks for the current task.
  5746  	//
  5747  	// Possible values:
  5748  	//   "UNSPECIFIED" - Default
  5749  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
  5750  	// associated condition.
  5751  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
  5752  	// associated condition.
  5753  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
  5754  
  5755  	// Parameters: The customized parameters the user can pass to this task.
  5756  	Parameters map[string]EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameters,omitempty"`
  5757  
  5758  	// Position: Optional. Informs the front-end application where to draw
  5759  	// this task config on the UI.
  5760  	Position *EnterpriseCrmEventbusProtoCoordinate `json:"position,omitempty"`
  5761  
  5762  	// Precondition: Optional. Standard filter expression evaluated before
  5763  	// execution. Independent of other conditions and tasks. Can be used to
  5764  	// enable rollout. e.g. "rollout(5)" will only allow 5% of incoming
  5765  	// traffic to task.
  5766  	Precondition string `json:"precondition,omitempty"`
  5767  
  5768  	// PreconditionLabel: Optional. User-provided label that is attached to
  5769  	// precondition in the UI.
  5770  	PreconditionLabel string `json:"preconditionLabel,omitempty"`
  5771  
  5772  	// RollbackStrategy: Optional. Contains information about what needs to
  5773  	// be done upon failure (either a permanent error or after it has been
  5774  	// retried too many times).
  5775  	RollbackStrategy *EnterpriseCrmFrontendsEventbusProtoRollbackStrategy `json:"rollbackStrategy,omitempty"`
  5776  
  5777  	// SuccessPolicy: Determines what action to take upon successful task
  5778  	// completion.
  5779  	SuccessPolicy *EnterpriseCrmEventbusProtoSuccessPolicy `json:"successPolicy,omitempty"`
  5780  
  5781  	// SynchronousCallFailurePolicy: Optional. Determines the number of
  5782  	// times the task will be retried on failure and with what retry
  5783  	// strategy. This is applicable for synchronous calls to Eventbus alone
  5784  	// (Post).
  5785  	SynchronousCallFailurePolicy *EnterpriseCrmEventbusProtoFailurePolicy `json:"synchronousCallFailurePolicy,omitempty"`
  5786  
  5787  	// TaskEntity: Copy of the task entity that this task config is an
  5788  	// instance of.
  5789  	TaskEntity *EnterpriseCrmFrontendsEventbusProtoTaskEntity `json:"taskEntity,omitempty"`
  5790  
  5791  	// TaskExecutionStrategy: The policy dictating the execution strategy of
  5792  	// this task.
  5793  	//
  5794  	// Possible values:
  5795  	//   "WHEN_ALL_SUCCEED" - Wait until all of its previous tasks finished
  5796  	// execution, then verify at least one of the edge conditions is met,
  5797  	// and execute if possible. This should be considered as
  5798  	// WHEN_ALL_TASKS_SUCCEED.
  5799  	//   "WHEN_ANY_SUCCEED" - Start execution as long as any of its previous
  5800  	// tasks finished execution and the corresponding edge condition is met
  5801  	// (since we will execute if only that succeeding edge condition is
  5802  	// met).
  5803  	//   "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" - Wait until all of its
  5804  	// previous tasks finished execution, then verify the all edge
  5805  	// conditions are met and execute if possible.
  5806  	TaskExecutionStrategy string `json:"taskExecutionStrategy,omitempty"`
  5807  
  5808  	// TaskName: The name for the task.
  5809  	TaskName string `json:"taskName,omitempty"`
  5810  
  5811  	// TaskNumber: REQUIRED: the identifier of this task within its parent
  5812  	// event config, specified by the client. This should be unique among
  5813  	// all the tasks belong to the same event config. We use this field as
  5814  	// the identifier to find next tasks (via field
  5815  	// `next_tasks.task_number`).
  5816  	TaskNumber string `json:"taskNumber,omitempty"`
  5817  
  5818  	// TaskSpec: A string template that allows user to configure task
  5819  	// parameters (with either literal default values or tokens which will
  5820  	// be resolved at execution time) for the task. It will eventually
  5821  	// replace the old "parameters" field.
  5822  	TaskSpec string `json:"taskSpec,omitempty"`
  5823  
  5824  	// TaskTemplateName: Used to define task-template name if task is of
  5825  	// type task-template
  5826  	TaskTemplateName string `json:"taskTemplateName,omitempty"`
  5827  
  5828  	// TaskType: Defines the type of the task
  5829  	//
  5830  	// Possible values:
  5831  	//   "TASK" - Normal IP task
  5832  	//   "ASIS_TEMPLATE" - Task is of As-Is Template type
  5833  	//   "IO_TEMPLATE" - Task is of I/O template type with a different
  5834  	// underlying task
  5835  	TaskType string `json:"taskType,omitempty"`
  5836  
  5837  	// ForceSendFields is a list of field names (e.g. "AlertConfigs") to
  5838  	// unconditionally include in API requests. By default, fields with
  5839  	// empty or default values are omitted from API requests. However, any
  5840  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5841  	// sent to the server regardless of whether the field is empty or not.
  5842  	// This may be used to include empty fields in Patch requests.
  5843  	ForceSendFields []string `json:"-"`
  5844  
  5845  	// NullFields is a list of field names (e.g. "AlertConfigs") to include
  5846  	// in API requests with the JSON null value. By default, fields with
  5847  	// empty values are omitted from API requests. However, any field with
  5848  	// an empty value appearing in NullFields will be sent to the server as
  5849  	// null. It is an error if a field in this list has a non-empty value.
  5850  	// This may be used to include null fields in Patch requests.
  5851  	NullFields []string `json:"-"`
  5852  }
  5853  
  5854  func (s *EnterpriseCrmFrontendsEventbusProtoTaskConfig) MarshalJSON() ([]byte, error) {
  5855  	type NoMethod EnterpriseCrmFrontendsEventbusProtoTaskConfig
  5856  	raw := NoMethod(*s)
  5857  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5858  }
  5859  
  5860  // EnterpriseCrmFrontendsEventbusProtoTaskEntity: Contains a task's
  5861  // metadata and associated information. Next available id: 7
  5862  type EnterpriseCrmFrontendsEventbusProtoTaskEntity struct {
  5863  	// DisabledForVpcSc: True if the task has conflict with vpcsc
  5864  	DisabledForVpcSc bool `json:"disabledForVpcSc,omitempty"`
  5865  
  5866  	// Metadata: Metadata inclueds the task name, author and so on.
  5867  	Metadata *EnterpriseCrmEventbusProtoTaskMetadata `json:"metadata,omitempty"`
  5868  
  5869  	// ParamSpecs: Declarations for inputs/outputs for a TypedTask. This is
  5870  	// also associated with the METADATA mask.
  5871  	ParamSpecs *EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage `json:"paramSpecs,omitempty"`
  5872  
  5873  	// Stats: Deprecated - statistics from the Monarch query.
  5874  	Stats *EnterpriseCrmEventbusStats `json:"stats,omitempty"`
  5875  
  5876  	// TaskType: Defines the type of the task
  5877  	//
  5878  	// Possible values:
  5879  	//   "TASK" - Normal IP task
  5880  	//   "ASIS_TEMPLATE" - Task is of As-Is Template type
  5881  	//   "IO_TEMPLATE" - Task is of I/O template type with a different
  5882  	// underlying task
  5883  	TaskType string `json:"taskType,omitempty"`
  5884  
  5885  	// UiConfig: UI configuration for this task Also associated with the
  5886  	// METADATA mask.
  5887  	UiConfig *EnterpriseCrmEventbusProtoTaskUiConfig `json:"uiConfig,omitempty"`
  5888  
  5889  	// ForceSendFields is a list of field names (e.g. "DisabledForVpcSc") to
  5890  	// unconditionally include in API requests. By default, fields with
  5891  	// empty or default values are omitted from API requests. However, any
  5892  	// non-pointer, non-interface field appearing in ForceSendFields will be
  5893  	// sent to the server regardless of whether the field is empty or not.
  5894  	// This may be used to include empty fields in Patch requests.
  5895  	ForceSendFields []string `json:"-"`
  5896  
  5897  	// NullFields is a list of field names (e.g. "DisabledForVpcSc") to
  5898  	// include in API requests with the JSON null value. By default, fields
  5899  	// with empty values are omitted from API requests. However, any field
  5900  	// with an empty value appearing in NullFields will be sent to the
  5901  	// server as null. It is an error if a field in this list has a
  5902  	// non-empty value. This may be used to include null fields in Patch
  5903  	// requests.
  5904  	NullFields []string `json:"-"`
  5905  }
  5906  
  5907  func (s *EnterpriseCrmFrontendsEventbusProtoTaskEntity) MarshalJSON() ([]byte, error) {
  5908  	type NoMethod EnterpriseCrmFrontendsEventbusProtoTaskEntity
  5909  	raw := NoMethod(*s)
  5910  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  5911  }
  5912  
  5913  // EnterpriseCrmFrontendsEventbusProtoTriggerConfig: Configuration
  5914  // detail of a trigger. Next available id: 19
  5915  type EnterpriseCrmFrontendsEventbusProtoTriggerConfig struct {
  5916  	// AlertConfig: An alert threshold configuration for the [trigger +
  5917  	// client + workflow] tuple. If these values are not specified in the
  5918  	// trigger config, default values will be populated by the system. Note
  5919  	// that there must be exactly one alert threshold configured per [client
  5920  	// + trigger + workflow] when published.
  5921  	AlertConfig []*EnterpriseCrmEventbusProtoWorkflowAlertConfig `json:"alertConfig,omitempty"`
  5922  
  5923  	CloudSchedulerConfig *EnterpriseCrmEventbusProtoCloudSchedulerConfig `json:"cloudSchedulerConfig,omitempty"`
  5924  
  5925  	// Description: User-provided description intended to give more business
  5926  	// context about the task.
  5927  	Description string `json:"description,omitempty"`
  5928  
  5929  	// EnabledClients: Required. The list of client ids which are enabled to
  5930  	// execute the workflow using this trigger. In other words, these
  5931  	// clients have the workflow execution privledges for this trigger. For
  5932  	// API trigger, the client id in the incoming request is validated
  5933  	// against the list of enabled clients. For non-API triggers, one
  5934  	// workflow execution is triggered on behalf of each enabled client.
  5935  	EnabledClients []string `json:"enabledClients,omitempty"`
  5936  
  5937  	// ErrorCatcherId: Optional Error catcher id of the error catch flow
  5938  	// which will be executed when execution error happens in the task
  5939  	ErrorCatcherId string `json:"errorCatcherId,omitempty"`
  5940  
  5941  	// Label: The user created label for a particular trigger.
  5942  	Label string `json:"label,omitempty"`
  5943  
  5944  	// NextTasksExecutionPolicy: Dictates how next tasks will be executed.
  5945  	//
  5946  	// Possible values:
  5947  	//   "UNSPECIFIED" - Default
  5948  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
  5949  	// associated condition.
  5950  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
  5951  	// associated condition.
  5952  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
  5953  
  5954  	// PauseWorkflowExecutions: Optional. If set to true, any upcoming
  5955  	// requests for this trigger config will be paused and the executions
  5956  	// will be resumed later when the flag is reset. The workflow to which
  5957  	// this trigger config belongs has to be in ACTIVE status for the
  5958  	// executions to be paused or resumed.
  5959  	PauseWorkflowExecutions bool `json:"pauseWorkflowExecutions,omitempty"`
  5960  
  5961  	// Position: Optional. Informs the front-end application where to draw
  5962  	// this trigger config on the UI.
  5963  	Position *EnterpriseCrmEventbusProtoCoordinate `json:"position,omitempty"`
  5964  
  5965  	// Properties: Configurable properties of the trigger, not to be
  5966  	// confused with workflow parameters. E.g. "name" is a property for API
  5967  	// triggers and "subscription" is a property for Cloud Pubsub triggers.
  5968  	Properties map[string]string `json:"properties,omitempty"`
  5969  
  5970  	// StartTasks: Set of tasks numbers from where the workflow execution is
  5971  	// started by this trigger. If this is empty, then workflow is executed
  5972  	// with default start tasks. In the list of start tasks, none of two
  5973  	// tasks can have direct ancestor-descendant relationships (i.e. in a
  5974  	// same workflow execution graph).
  5975  	StartTasks []*EnterpriseCrmEventbusProtoNextTask `json:"startTasks,omitempty"`
  5976  
  5977  	// TriggerCriteria: Optional. When set, Eventbus will run the task
  5978  	// specified in the trigger_criteria and validate the result using the
  5979  	// trigger_criteria.condition, and only execute the workflow when result
  5980  	// is true.
  5981  	TriggerCriteria *EnterpriseCrmEventbusProtoTriggerCriteria `json:"triggerCriteria,omitempty"`
  5982  
  5983  	// TriggerId: The backend trigger ID.
  5984  	TriggerId string `json:"triggerId,omitempty"`
  5985  
  5986  	// TriggerNumber: Required. A number to uniquely identify each trigger
  5987  	// config within the workflow on UI.
  5988  	TriggerNumber string `json:"triggerNumber,omitempty"`
  5989  
  5990  	// Possible values:
  5991  	//   "UNKNOWN"
  5992  	//   "CLOUD_PUBSUB"
  5993  	//   "GOOPS"
  5994  	//   "SFDC_SYNC"
  5995  	//   "CRON"
  5996  	//   "API"
  5997  	//   "MANIFOLD_TRIGGER"
  5998  	//   "DATALAYER_DATA_CHANGE"
  5999  	//   "SFDC_CHANNEL"
  6000  	//   "CLOUD_PUBSUB_EXTERNAL"
  6001  	//   "SFDC_CDC_CHANNEL"
  6002  	//   "SFDC_PLATFORM_EVENTS_CHANNEL"
  6003  	//   "CLOUD_SCHEDULER"
  6004  	//   "INTEGRATION_CONNECTOR_TRIGGER"
  6005  	TriggerType string `json:"triggerType,omitempty"`
  6006  
  6007  	// ForceSendFields is a list of field names (e.g. "AlertConfig") to
  6008  	// unconditionally include in API requests. By default, fields with
  6009  	// empty or default values are omitted from API requests. However, any
  6010  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6011  	// sent to the server regardless of whether the field is empty or not.
  6012  	// This may be used to include empty fields in Patch requests.
  6013  	ForceSendFields []string `json:"-"`
  6014  
  6015  	// NullFields is a list of field names (e.g. "AlertConfig") to include
  6016  	// in API requests with the JSON null value. By default, fields with
  6017  	// empty values are omitted from API requests. However, any field with
  6018  	// an empty value appearing in NullFields will be sent to the server as
  6019  	// null. It is an error if a field in this list has a non-empty value.
  6020  	// This may be used to include null fields in Patch requests.
  6021  	NullFields []string `json:"-"`
  6022  }
  6023  
  6024  func (s *EnterpriseCrmFrontendsEventbusProtoTriggerConfig) MarshalJSON() ([]byte, error) {
  6025  	type NoMethod EnterpriseCrmFrontendsEventbusProtoTriggerConfig
  6026  	raw := NoMethod(*s)
  6027  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6028  }
  6029  
  6030  type EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry struct {
  6031  	// Attributes: Metadata information about the parameters.
  6032  	Attributes *EnterpriseCrmEventbusProtoAttributes `json:"attributes,omitempty"`
  6033  
  6034  	// Children: Child parameters nested within this parameter. This field
  6035  	// only applies to protobuf parameters
  6036  	Children []*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry `json:"children,omitempty"`
  6037  
  6038  	// DataType: The data type of the parameter.
  6039  	//
  6040  	// Possible values:
  6041  	//   "DATA_TYPE_UNSPECIFIED"
  6042  	//   "STRING_VALUE"
  6043  	//   "INT_VALUE"
  6044  	//   "DOUBLE_VALUE"
  6045  	//   "BOOLEAN_VALUE"
  6046  	//   "PROTO_VALUE"
  6047  	//   "SERIALIZED_OBJECT_VALUE"
  6048  	//   "STRING_ARRAY"
  6049  	//   "INT_ARRAY"
  6050  	//   "DOUBLE_ARRAY"
  6051  	//   "PROTO_ARRAY"
  6052  	//   "PROTO_ENUM"
  6053  	//   "BOOLEAN_ARRAY"
  6054  	//   "PROTO_ENUM_ARRAY"
  6055  	//   "BYTES" - BYTES and BYTES_ARRAY data types are not allowed for
  6056  	// top-level params. They're only meant to support protobufs with BYTES
  6057  	// (sub)fields.
  6058  	//   "BYTES_ARRAY"
  6059  	//   "NON_SERIALIZABLE_OBJECT"
  6060  	//   "JSON_VALUE"
  6061  	DataType string `json:"dataType,omitempty"`
  6062  
  6063  	// DefaultValue: Default values for the defined keys. Each value can
  6064  	// either be string, int, double or any proto message or a serialized
  6065  	// object.
  6066  	DefaultValue *EnterpriseCrmFrontendsEventbusProtoParameterValueType `json:"defaultValue,omitempty"`
  6067  
  6068  	// InOutType: Specifies the input/output type for the parameter.
  6069  	//
  6070  	// Possible values:
  6071  	//   "IN_OUT_TYPE_UNSPECIFIED"
  6072  	//   "IN" - Input parameters for the workflow. EventBus validates that
  6073  	// these parameters exist in the workflows before execution.
  6074  	//   "OUT" - Output Parameters for the workflow. EventBus will only
  6075  	// return the workflow parameters tagged with OUT in the response back.
  6076  	//   "IN_OUT" - Input or Output Parameters. These can be used as both
  6077  	// input and output. EventBus will validate for the existence of these
  6078  	// parameters before execution and will also return this parameter back
  6079  	// in the response.
  6080  	InOutType string `json:"inOutType,omitempty"`
  6081  
  6082  	// IsTransient: Whether this parameter is a transient parameter.
  6083  	IsTransient bool `json:"isTransient,omitempty"`
  6084  
  6085  	// JsonSchema: This schema will be used to validate runtime JSON-typed
  6086  	// values of this parameter.
  6087  	JsonSchema string `json:"jsonSchema,omitempty"`
  6088  
  6089  	// Key: Key is used to retrieve the corresponding parameter value. This
  6090  	// should be unique for a given fired event. These parameters must be
  6091  	// predefined in the workflow definition.
  6092  	Key string `json:"key,omitempty"`
  6093  
  6094  	// Name: The name (without prefix) to be displayed in the UI for this
  6095  	// parameter. E.g. if the key is "foo.bar.myName", then the name would
  6096  	// be "myName".
  6097  	Name string `json:"name,omitempty"`
  6098  
  6099  	// ProducedBy: The identifier of the node (TaskConfig/TriggerConfig)
  6100  	// this parameter was produced by, if it is a transient param or a copy
  6101  	// of an input param.
  6102  	ProducedBy *EnterpriseCrmEventbusProtoNodeIdentifier `json:"producedBy,omitempty"`
  6103  
  6104  	Producer string `json:"producer,omitempty"`
  6105  
  6106  	// ProtoDefName: The name of the protobuf type if the parameter has a
  6107  	// protobuf data type.
  6108  	ProtoDefName string `json:"protoDefName,omitempty"`
  6109  
  6110  	// ProtoDefPath: If the data type is of type proto or proto array, this
  6111  	// field needs to be populated with the fully qualified proto name. This
  6112  	// message, for example, would be
  6113  	// "enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry".
  6114  	ProtoDefPath string `json:"protoDefPath,omitempty"`
  6115  
  6116  	// ForceSendFields is a list of field names (e.g. "Attributes") to
  6117  	// unconditionally include in API requests. By default, fields with
  6118  	// empty or default values are omitted from API requests. However, any
  6119  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6120  	// sent to the server regardless of whether the field is empty or not.
  6121  	// This may be used to include empty fields in Patch requests.
  6122  	ForceSendFields []string `json:"-"`
  6123  
  6124  	// NullFields is a list of field names (e.g. "Attributes") to include in
  6125  	// API requests with the JSON null value. By default, fields with empty
  6126  	// values are omitted from API requests. However, any field with an
  6127  	// empty value appearing in NullFields will be sent to the server as
  6128  	// null. It is an error if a field in this list has a non-empty value.
  6129  	// This may be used to include null fields in Patch requests.
  6130  	NullFields []string `json:"-"`
  6131  }
  6132  
  6133  func (s *EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry) MarshalJSON() ([]byte, error) {
  6134  	type NoMethod EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
  6135  	raw := NoMethod(*s)
  6136  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6137  }
  6138  
  6139  // EnterpriseCrmFrontendsEventbusProtoWorkflowParameters: LINT.IfChange
  6140  // This is the frontend version of WorkflowParameters. It's exactly like
  6141  // the backend version except that instead of flattening protobuf
  6142  // parameters and treating every field and subfield of a protobuf
  6143  // parameter as a separate parameter, the fields/subfields of a protobuf
  6144  // parameter will be nested as "children" (see 'children' field below)
  6145  // parameters of the parent parameter. Please refer to
  6146  // enterprise/crm/eventbus/proto/workflow_parameters.proto for more
  6147  // information about WorkflowParameters.
  6148  type EnterpriseCrmFrontendsEventbusProtoWorkflowParameters struct {
  6149  	// Parameters: Parameters are a part of Event and can be used to
  6150  	// communiticate between different tasks that are part of the same
  6151  	// workflow execution.
  6152  	Parameters []*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry `json:"parameters,omitempty"`
  6153  
  6154  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  6155  	// unconditionally include in API requests. By default, fields with
  6156  	// empty or default values are omitted from API requests. However, any
  6157  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6158  	// sent to the server regardless of whether the field is empty or not.
  6159  	// This may be used to include empty fields in Patch requests.
  6160  	ForceSendFields []string `json:"-"`
  6161  
  6162  	// NullFields is a list of field names (e.g. "Parameters") to include in
  6163  	// API requests with the JSON null value. By default, fields with empty
  6164  	// values are omitted from API requests. However, any field with an
  6165  	// empty value appearing in NullFields will be sent to the server as
  6166  	// null. It is an error if a field in this list has a non-empty value.
  6167  	// This may be used to include null fields in Patch requests.
  6168  	NullFields []string `json:"-"`
  6169  }
  6170  
  6171  func (s *EnterpriseCrmFrontendsEventbusProtoWorkflowParameters) MarshalJSON() ([]byte, error) {
  6172  	type NoMethod EnterpriseCrmFrontendsEventbusProtoWorkflowParameters
  6173  	raw := NoMethod(*s)
  6174  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6175  }
  6176  
  6177  // EnterpriseCrmLoggingGwsFieldLimits: Describes string and array limits
  6178  // when writing to logs. When a limit is exceeded the *shortener_type*
  6179  // describes how to shorten the field. next_id: 6
  6180  type EnterpriseCrmLoggingGwsFieldLimits struct {
  6181  	// Possible values:
  6182  	//   "LOG_ACTION_UNSPECIFIED"
  6183  	//   "DONT_LOG"
  6184  	//   "LOG"
  6185  	LogAction string `json:"logAction,omitempty"`
  6186  
  6187  	// LogType: To which type(s) of logs the limits apply.
  6188  	//
  6189  	// Possible values:
  6190  	//   "LOG_TYPE_UNSPECIFIED"
  6191  	//   "GWS" - Limits apply when log detail records are written to GWS.
  6192  	//   "GTS" - Limits apply when log detail records are written to GTS
  6193  	// (e.g., RecordIO files).
  6194  	//   "ALL" - Limits apply to *all* output log types.
  6195  	LogType []string `json:"logType,omitempty"`
  6196  
  6197  	// MaxArraySize: maximum array size. If the array exceds this size, the
  6198  	// field (list) is truncated.
  6199  	MaxArraySize int64 `json:"maxArraySize,omitempty"`
  6200  
  6201  	// MaxStringLength: maximum string length. If the field exceeds this
  6202  	// amount the field is shortened.
  6203  	MaxStringLength int64 `json:"maxStringLength,omitempty"`
  6204  
  6205  	// Possible values:
  6206  	//   "SHORTENER_TYPE_UNSPECIFIED"
  6207  	//   "SHORTEN" - String is shortened to max_string_length.
  6208  	//   "HASH" - String is replaced by its hex-string hash.
  6209  	//   "SHORTEN_WITH_HASH" - String is replaced by a combination of string
  6210  	// shortening and a hex-string hash.
  6211  	//   "SHORTEN_EMAIL" - String shortening for email addresses. Shortening
  6212  	// may be done on the user and/or domain portion of the email address.
  6213  	//   "SHORTEN_EMAIL_WITH_HASH" - String is replaced by a combination of
  6214  	// string shortening and a hex-string hash for an email address.
  6215  	//   "SHORTEN_DOMAIN" - Shortens a domain name (e.g., as part of an
  6216  	// email address or URL).
  6217  	ShortenerType string `json:"shortenerType,omitempty"`
  6218  
  6219  	// ForceSendFields is a list of field names (e.g. "LogAction") to
  6220  	// unconditionally include in API requests. By default, fields with
  6221  	// empty or default values are omitted from API requests. However, any
  6222  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6223  	// sent to the server regardless of whether the field is empty or not.
  6224  	// This may be used to include empty fields in Patch requests.
  6225  	ForceSendFields []string `json:"-"`
  6226  
  6227  	// NullFields is a list of field names (e.g. "LogAction") to include in
  6228  	// API requests with the JSON null value. By default, fields with empty
  6229  	// values are omitted from API requests. However, any field with an
  6230  	// empty value appearing in NullFields will be sent to the server as
  6231  	// null. It is an error if a field in this list has a non-empty value.
  6232  	// This may be used to include null fields in Patch requests.
  6233  	NullFields []string `json:"-"`
  6234  }
  6235  
  6236  func (s *EnterpriseCrmLoggingGwsFieldLimits) MarshalJSON() ([]byte, error) {
  6237  	type NoMethod EnterpriseCrmLoggingGwsFieldLimits
  6238  	raw := NoMethod(*s)
  6239  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6240  }
  6241  
  6242  // EnterpriseCrmLoggingGwsSanitizeOptions: Identifies whether a field
  6243  // contains, or may contain, PII or sensitive data, and how to sanitize
  6244  // the field if it does. If a field's privacy type cannot be determined
  6245  // then it is sanitized (e.g., scrubbed). The specific sanitizer
  6246  // implementation is determined by run-time configuration and
  6247  // environment options (e.g., prod vs. qa). next_id: 5
  6248  type EnterpriseCrmLoggingGwsSanitizeOptions struct {
  6249  	// IsAlreadySanitized: If true, the value has already been sanitized and
  6250  	// needs no further sanitization. For instance, a D3 customer id is
  6251  	// already an obfuscated entity and *might not* need further
  6252  	// sanitization.
  6253  	IsAlreadySanitized bool `json:"isAlreadySanitized,omitempty"`
  6254  
  6255  	// LogType: To which type(s) of logs the sanitize options apply.
  6256  	//
  6257  	// Possible values:
  6258  	//   "LOG_TYPE_UNSPECIFIED"
  6259  	//   "GWS" - Limits apply when log detail records are written to GWS.
  6260  	//   "GTS" - Limits apply when log detail records are written to GTS
  6261  	// (e.g., RecordIO files).
  6262  	//   "ALL" - Limits apply to *all* output log types.
  6263  	LogType []string `json:"logType,omitempty"`
  6264  
  6265  	// Possible values:
  6266  	//   "PRIVACY_TYPE_UNSPECIFIED"
  6267  	//   "NOT_PII" - Field does *NOT* contain PII or sensitive data.
  6268  	//   "PII" - Field contains PII.
  6269  	//   "SPII" - Field contains Sensitive PII.
  6270  	//   "UNSURE" - Unsure if field contains PII.
  6271  	Privacy string `json:"privacy,omitempty"`
  6272  
  6273  	// Possible values:
  6274  	//   "SANITIZE_TYPE_UNSPECIFIED"
  6275  	//   "SCRUB" - Replace value with a scrubbed value (usu. a constant).
  6276  	//   "ANONYMIZE" - Transform a value so that it cannot be tracked across
  6277  	// events. However, a given value, is transformed to the same value
  6278  	// *within* an event. E.g., "foo.com" is transformed to "0xabcdef" for
  6279  	// event 1001, and to "0xfedcba" for event 1002.
  6280  	//   "ANONYMIZE_LIMITED_REPEATABLE" - Transform values as with
  6281  	// ANONYMIZER, but the same transformation is repeated for a limited
  6282  	// time (e.g., 1 day).
  6283  	//   "OBFUSCATE" - The value is transformed using a well-defined
  6284  	// obfuscator (e.g., D3_CUSTOMER_ID).
  6285  	//   "ENCRYPT" - The value is encrypted.
  6286  	//   "DO_NOT_SANITIZE" - No sanitization is required.
  6287  	SanitizeType string `json:"sanitizeType,omitempty"`
  6288  
  6289  	// ForceSendFields is a list of field names (e.g. "IsAlreadySanitized")
  6290  	// to unconditionally include in API requests. By default, fields with
  6291  	// empty or default values are omitted from API requests. However, any
  6292  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6293  	// sent to the server regardless of whether the field is empty or not.
  6294  	// This may be used to include empty fields in Patch requests.
  6295  	ForceSendFields []string `json:"-"`
  6296  
  6297  	// NullFields is a list of field names (e.g. "IsAlreadySanitized") to
  6298  	// include in API requests with the JSON null value. By default, fields
  6299  	// with empty values are omitted from API requests. However, any field
  6300  	// with an empty value appearing in NullFields will be sent to the
  6301  	// server as null. It is an error if a field in this list has a
  6302  	// non-empty value. This may be used to include null fields in Patch
  6303  	// requests.
  6304  	NullFields []string `json:"-"`
  6305  }
  6306  
  6307  func (s *EnterpriseCrmLoggingGwsSanitizeOptions) MarshalJSON() ([]byte, error) {
  6308  	type NoMethod EnterpriseCrmLoggingGwsSanitizeOptions
  6309  	raw := NoMethod(*s)
  6310  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6311  }
  6312  
  6313  // GoogleCloudConnectorsV1AuthConfig: AuthConfig defines details of a
  6314  // authentication type.
  6315  type GoogleCloudConnectorsV1AuthConfig struct {
  6316  	// AdditionalVariables: List containing additional auth configs.
  6317  	AdditionalVariables []*GoogleCloudConnectorsV1ConfigVariable `json:"additionalVariables,omitempty"`
  6318  
  6319  	// AuthKey: Identifier key for auth config
  6320  	AuthKey string `json:"authKey,omitempty"`
  6321  
  6322  	// AuthType: The type of authentication configured.
  6323  	//
  6324  	// Possible values:
  6325  	//   "AUTH_TYPE_UNSPECIFIED" - Authentication type not specified.
  6326  	//   "USER_PASSWORD" - Username and Password Authentication.
  6327  	//   "OAUTH2_JWT_BEARER" - JSON Web Token (JWT) Profile for Oauth 2.0
  6328  	// Authorization Grant based authentication
  6329  	//   "OAUTH2_CLIENT_CREDENTIALS" - Oauth 2.0 Client Credentials Grant
  6330  	// Authentication
  6331  	//   "SSH_PUBLIC_KEY" - SSH Public Key Authentication
  6332  	//   "OAUTH2_AUTH_CODE_FLOW" - Oauth 2.0 Authorization Code Flow
  6333  	AuthType string `json:"authType,omitempty"`
  6334  
  6335  	// Oauth2AuthCodeFlow: Oauth2AuthCodeFlow.
  6336  	Oauth2AuthCodeFlow *GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow `json:"oauth2AuthCodeFlow,omitempty"`
  6337  
  6338  	// Oauth2ClientCredentials: Oauth2ClientCredentials.
  6339  	Oauth2ClientCredentials *GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials `json:"oauth2ClientCredentials,omitempty"`
  6340  
  6341  	// Oauth2JwtBearer: Oauth2JwtBearer.
  6342  	Oauth2JwtBearer *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer `json:"oauth2JwtBearer,omitempty"`
  6343  
  6344  	// SshPublicKey: SSH Public Key.
  6345  	SshPublicKey *GoogleCloudConnectorsV1AuthConfigSshPublicKey `json:"sshPublicKey,omitempty"`
  6346  
  6347  	// UserPassword: UserPassword.
  6348  	UserPassword *GoogleCloudConnectorsV1AuthConfigUserPassword `json:"userPassword,omitempty"`
  6349  
  6350  	// ForceSendFields is a list of field names (e.g. "AdditionalVariables")
  6351  	// to unconditionally include in API requests. By default, fields with
  6352  	// empty or default values are omitted from API requests. However, any
  6353  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6354  	// sent to the server regardless of whether the field is empty or not.
  6355  	// This may be used to include empty fields in Patch requests.
  6356  	ForceSendFields []string `json:"-"`
  6357  
  6358  	// NullFields is a list of field names (e.g. "AdditionalVariables") to
  6359  	// include in API requests with the JSON null value. By default, fields
  6360  	// with empty values are omitted from API requests. However, any field
  6361  	// with an empty value appearing in NullFields will be sent to the
  6362  	// server as null. It is an error if a field in this list has a
  6363  	// non-empty value. This may be used to include null fields in Patch
  6364  	// requests.
  6365  	NullFields []string `json:"-"`
  6366  }
  6367  
  6368  func (s *GoogleCloudConnectorsV1AuthConfig) MarshalJSON() ([]byte, error) {
  6369  	type NoMethod GoogleCloudConnectorsV1AuthConfig
  6370  	raw := NoMethod(*s)
  6371  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6372  }
  6373  
  6374  // GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow: Parameters to
  6375  // support Oauth 2.0 Auth Code Grant Authentication. See
  6376  // https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more
  6377  // details.
  6378  type GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow struct {
  6379  	// AuthCode: Authorization code to be exchanged for access and refresh
  6380  	// tokens.
  6381  	AuthCode string `json:"authCode,omitempty"`
  6382  
  6383  	// AuthUri: Auth URL for Authorization Code Flow
  6384  	AuthUri string `json:"authUri,omitempty"`
  6385  
  6386  	// ClientId: Client ID for user-provided OAuth app.
  6387  	ClientId string `json:"clientId,omitempty"`
  6388  
  6389  	// ClientSecret: Client secret for user-provided OAuth app.
  6390  	ClientSecret *GoogleCloudConnectorsV1Secret `json:"clientSecret,omitempty"`
  6391  
  6392  	// EnablePkce: Whether to enable PKCE when the user performs the auth
  6393  	// code flow.
  6394  	EnablePkce bool `json:"enablePkce,omitempty"`
  6395  
  6396  	// PkceVerifier: PKCE verifier to be used during the auth code exchange.
  6397  	PkceVerifier string `json:"pkceVerifier,omitempty"`
  6398  
  6399  	// RedirectUri: Redirect URI to be provided during the auth code
  6400  	// exchange.
  6401  	RedirectUri string `json:"redirectUri,omitempty"`
  6402  
  6403  	// Scopes: Scopes the connection will request when the user performs the
  6404  	// auth code flow.
  6405  	Scopes []string `json:"scopes,omitempty"`
  6406  
  6407  	// ForceSendFields is a list of field names (e.g. "AuthCode") to
  6408  	// unconditionally include in API requests. By default, fields with
  6409  	// empty or default values are omitted from API requests. However, any
  6410  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6411  	// sent to the server regardless of whether the field is empty or not.
  6412  	// This may be used to include empty fields in Patch requests.
  6413  	ForceSendFields []string `json:"-"`
  6414  
  6415  	// NullFields is a list of field names (e.g. "AuthCode") to include in
  6416  	// API requests with the JSON null value. By default, fields with empty
  6417  	// values are omitted from API requests. However, any field with an
  6418  	// empty value appearing in NullFields will be sent to the server as
  6419  	// null. It is an error if a field in this list has a non-empty value.
  6420  	// This may be used to include null fields in Patch requests.
  6421  	NullFields []string `json:"-"`
  6422  }
  6423  
  6424  func (s *GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow) MarshalJSON() ([]byte, error) {
  6425  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow
  6426  	raw := NoMethod(*s)
  6427  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6428  }
  6429  
  6430  // GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials: Parameters
  6431  // to support Oauth 2.0 Client Credentials Grant Authentication. See
  6432  // https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
  6433  type GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials struct {
  6434  	// ClientId: The client identifier.
  6435  	ClientId string `json:"clientId,omitempty"`
  6436  
  6437  	// ClientSecret: Secret version reference containing the client secret.
  6438  	ClientSecret *GoogleCloudConnectorsV1Secret `json:"clientSecret,omitempty"`
  6439  
  6440  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  6441  	// unconditionally include in API requests. By default, fields with
  6442  	// empty or default values are omitted from API requests. However, any
  6443  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6444  	// sent to the server regardless of whether the field is empty or not.
  6445  	// This may be used to include empty fields in Patch requests.
  6446  	ForceSendFields []string `json:"-"`
  6447  
  6448  	// NullFields is a list of field names (e.g. "ClientId") to include in
  6449  	// API requests with the JSON null value. By default, fields with empty
  6450  	// values are omitted from API requests. However, any field with an
  6451  	// empty value appearing in NullFields will be sent to the server as
  6452  	// null. It is an error if a field in this list has a non-empty value.
  6453  	// This may be used to include null fields in Patch requests.
  6454  	NullFields []string `json:"-"`
  6455  }
  6456  
  6457  func (s *GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials) MarshalJSON() ([]byte, error) {
  6458  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
  6459  	raw := NoMethod(*s)
  6460  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6461  }
  6462  
  6463  // GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer: Parameters to
  6464  // support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
  6465  // Grant based authentication. See https://tools.ietf.org/html/rfc7523
  6466  // for more details.
  6467  type GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer struct {
  6468  	// ClientKey: Secret version reference containing a PKCS#8 PEM-encoded
  6469  	// private key associated with the Client Certificate. This private key
  6470  	// will be used to sign JWTs used for the jwt-bearer authorization
  6471  	// grant. Specified in the form as: `projects/*/secrets/*/versions/*`.
  6472  	ClientKey *GoogleCloudConnectorsV1Secret `json:"clientKey,omitempty"`
  6473  
  6474  	// JwtClaims: JwtClaims providers fields to generate the token.
  6475  	JwtClaims *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims `json:"jwtClaims,omitempty"`
  6476  
  6477  	// ForceSendFields is a list of field names (e.g. "ClientKey") to
  6478  	// unconditionally include in API requests. By default, fields with
  6479  	// empty or default values are omitted from API requests. However, any
  6480  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6481  	// sent to the server regardless of whether the field is empty or not.
  6482  	// This may be used to include empty fields in Patch requests.
  6483  	ForceSendFields []string `json:"-"`
  6484  
  6485  	// NullFields is a list of field names (e.g. "ClientKey") to include in
  6486  	// API requests with the JSON null value. By default, fields with empty
  6487  	// values are omitted from API requests. However, any field with an
  6488  	// empty value appearing in NullFields will be sent to the server as
  6489  	// null. It is an error if a field in this list has a non-empty value.
  6490  	// This may be used to include null fields in Patch requests.
  6491  	NullFields []string `json:"-"`
  6492  }
  6493  
  6494  func (s *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer) MarshalJSON() ([]byte, error) {
  6495  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer
  6496  	raw := NoMethod(*s)
  6497  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6498  }
  6499  
  6500  // GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims: JWT claims
  6501  // used for the jwt-bearer authorization grant.
  6502  type GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims struct {
  6503  	// Audience: Value for the "aud" claim.
  6504  	Audience string `json:"audience,omitempty"`
  6505  
  6506  	// Issuer: Value for the "iss" claim.
  6507  	Issuer string `json:"issuer,omitempty"`
  6508  
  6509  	// Subject: Value for the "sub" claim.
  6510  	Subject string `json:"subject,omitempty"`
  6511  
  6512  	// ForceSendFields is a list of field names (e.g. "Audience") to
  6513  	// unconditionally include in API requests. By default, fields with
  6514  	// empty or default values are omitted from API requests. However, any
  6515  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6516  	// sent to the server regardless of whether the field is empty or not.
  6517  	// This may be used to include empty fields in Patch requests.
  6518  	ForceSendFields []string `json:"-"`
  6519  
  6520  	// NullFields is a list of field names (e.g. "Audience") to include in
  6521  	// API requests with the JSON null value. By default, fields with empty
  6522  	// values are omitted from API requests. However, any field with an
  6523  	// empty value appearing in NullFields will be sent to the server as
  6524  	// null. It is an error if a field in this list has a non-empty value.
  6525  	// This may be used to include null fields in Patch requests.
  6526  	NullFields []string `json:"-"`
  6527  }
  6528  
  6529  func (s *GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims) MarshalJSON() ([]byte, error) {
  6530  	type NoMethod GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims
  6531  	raw := NoMethod(*s)
  6532  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6533  }
  6534  
  6535  // GoogleCloudConnectorsV1AuthConfigSshPublicKey: Parameters to support
  6536  // Ssh public key Authentication.
  6537  type GoogleCloudConnectorsV1AuthConfigSshPublicKey struct {
  6538  	// CertType: Format of SSH Client cert.
  6539  	CertType string `json:"certType,omitempty"`
  6540  
  6541  	// SshClientCert: SSH Client Cert. It should contain both public and
  6542  	// private key.
  6543  	SshClientCert *GoogleCloudConnectorsV1Secret `json:"sshClientCert,omitempty"`
  6544  
  6545  	// SshClientCertPass: Password (passphrase) for ssh client certificate
  6546  	// if it has one.
  6547  	SshClientCertPass *GoogleCloudConnectorsV1Secret `json:"sshClientCertPass,omitempty"`
  6548  
  6549  	// Username: The user account used to authenticate.
  6550  	Username string `json:"username,omitempty"`
  6551  
  6552  	// ForceSendFields is a list of field names (e.g. "CertType") to
  6553  	// unconditionally include in API requests. By default, fields with
  6554  	// empty or default values are omitted from API requests. However, any
  6555  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6556  	// sent to the server regardless of whether the field is empty or not.
  6557  	// This may be used to include empty fields in Patch requests.
  6558  	ForceSendFields []string `json:"-"`
  6559  
  6560  	// NullFields is a list of field names (e.g. "CertType") to include in
  6561  	// API requests with the JSON null value. By default, fields with empty
  6562  	// values are omitted from API requests. However, any field with an
  6563  	// empty value appearing in NullFields will be sent to the server as
  6564  	// null. It is an error if a field in this list has a non-empty value.
  6565  	// This may be used to include null fields in Patch requests.
  6566  	NullFields []string `json:"-"`
  6567  }
  6568  
  6569  func (s *GoogleCloudConnectorsV1AuthConfigSshPublicKey) MarshalJSON() ([]byte, error) {
  6570  	type NoMethod GoogleCloudConnectorsV1AuthConfigSshPublicKey
  6571  	raw := NoMethod(*s)
  6572  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6573  }
  6574  
  6575  // GoogleCloudConnectorsV1AuthConfigUserPassword: Parameters to support
  6576  // Username and Password Authentication.
  6577  type GoogleCloudConnectorsV1AuthConfigUserPassword struct {
  6578  	// Password: Secret version reference containing the password.
  6579  	Password *GoogleCloudConnectorsV1Secret `json:"password,omitempty"`
  6580  
  6581  	// Username: Username.
  6582  	Username string `json:"username,omitempty"`
  6583  
  6584  	// ForceSendFields is a list of field names (e.g. "Password") to
  6585  	// unconditionally include in API requests. By default, fields with
  6586  	// empty or default values are omitted from API requests. However, any
  6587  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6588  	// sent to the server regardless of whether the field is empty or not.
  6589  	// This may be used to include empty fields in Patch requests.
  6590  	ForceSendFields []string `json:"-"`
  6591  
  6592  	// NullFields is a list of field names (e.g. "Password") to include in
  6593  	// API requests with the JSON null value. By default, fields with empty
  6594  	// values are omitted from API requests. However, any field with an
  6595  	// empty value appearing in NullFields will be sent to the server as
  6596  	// null. It is an error if a field in this list has a non-empty value.
  6597  	// This may be used to include null fields in Patch requests.
  6598  	NullFields []string `json:"-"`
  6599  }
  6600  
  6601  func (s *GoogleCloudConnectorsV1AuthConfigUserPassword) MarshalJSON() ([]byte, error) {
  6602  	type NoMethod GoogleCloudConnectorsV1AuthConfigUserPassword
  6603  	raw := NoMethod(*s)
  6604  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6605  }
  6606  
  6607  // GoogleCloudConnectorsV1ConfigVariable: ConfigVariable represents a
  6608  // configuration variable present in a Connection. or AuthConfig.
  6609  type GoogleCloudConnectorsV1ConfigVariable struct {
  6610  	// BoolValue: Value is a bool.
  6611  	BoolValue bool `json:"boolValue,omitempty"`
  6612  
  6613  	// IntValue: Value is an integer
  6614  	IntValue int64 `json:"intValue,omitempty,string"`
  6615  
  6616  	// Key: Key of the config variable.
  6617  	Key string `json:"key,omitempty"`
  6618  
  6619  	// KeyValue: Value is a Encryption Key.
  6620  	KeyValue *GoogleCloudConnectorsV1EncryptionKey `json:"keyValue,omitempty"`
  6621  
  6622  	// SecretValue: Value is a secret.
  6623  	SecretValue *GoogleCloudConnectorsV1Secret `json:"secretValue,omitempty"`
  6624  
  6625  	// StringValue: Value is a string.
  6626  	StringValue string `json:"stringValue,omitempty"`
  6627  
  6628  	// ForceSendFields is a list of field names (e.g. "BoolValue") to
  6629  	// unconditionally include in API requests. By default, fields with
  6630  	// empty or default values are omitted from API requests. However, any
  6631  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6632  	// sent to the server regardless of whether the field is empty or not.
  6633  	// This may be used to include empty fields in Patch requests.
  6634  	ForceSendFields []string `json:"-"`
  6635  
  6636  	// NullFields is a list of field names (e.g. "BoolValue") to include in
  6637  	// API requests with the JSON null value. By default, fields with empty
  6638  	// values are omitted from API requests. However, any field with an
  6639  	// empty value appearing in NullFields will be sent to the server as
  6640  	// null. It is an error if a field in this list has a non-empty value.
  6641  	// This may be used to include null fields in Patch requests.
  6642  	NullFields []string `json:"-"`
  6643  }
  6644  
  6645  func (s *GoogleCloudConnectorsV1ConfigVariable) MarshalJSON() ([]byte, error) {
  6646  	type NoMethod GoogleCloudConnectorsV1ConfigVariable
  6647  	raw := NoMethod(*s)
  6648  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6649  }
  6650  
  6651  // GoogleCloudConnectorsV1Connection: Connection represents an instance
  6652  // of connector.
  6653  type GoogleCloudConnectorsV1Connection struct {
  6654  	// AuthConfig: Optional. Configuration for establishing the connection's
  6655  	// authentication with an external system.
  6656  	AuthConfig *GoogleCloudConnectorsV1AuthConfig `json:"authConfig,omitempty"`
  6657  
  6658  	// ConfigVariables: Optional. Configuration for configuring the
  6659  	// connection with an external system.
  6660  	ConfigVariables []*GoogleCloudConnectorsV1ConfigVariable `json:"configVariables,omitempty"`
  6661  
  6662  	// ConnectionRevision: Output only. Connection revision. This field is
  6663  	// only updated when the connection is created or updated by User.
  6664  	ConnectionRevision int64 `json:"connectionRevision,omitempty,string"`
  6665  
  6666  	// ConnectorVersion: Required. Connector version on which the connection
  6667  	// is created. The format is:
  6668  	// projects/*/locations/*/providers/*/connectors/*/versions/* Only
  6669  	// global location is supported for ConnectorVersion resource.
  6670  	ConnectorVersion string `json:"connectorVersion,omitempty"`
  6671  
  6672  	// ConnectorVersionLaunchStage: Output only. Flag to mark the version
  6673  	// indicating the launch stage.
  6674  	//
  6675  	// Possible values:
  6676  	//   "LAUNCH_STAGE_UNSPECIFIED" - LAUNCH_STAGE_UNSPECIFIED.
  6677  	//   "PREVIEW" - PREVIEW.
  6678  	//   "GA" - GA.
  6679  	//   "DEPRECATED" - DEPRECATED.
  6680  	//   "PRIVATE_PREVIEW" - PRIVATE_PREVIEW.
  6681  	ConnectorVersionLaunchStage string `json:"connectorVersionLaunchStage,omitempty"`
  6682  
  6683  	// CreateTime: Output only. Created time.
  6684  	CreateTime string `json:"createTime,omitempty"`
  6685  
  6686  	// Description: Optional. Description of the resource.
  6687  	Description string `json:"description,omitempty"`
  6688  
  6689  	// DestinationConfigs: Optional. Configuration of the Connector's
  6690  	// destination. Only accepted for Connectors that accepts user defined
  6691  	// destination(s).
  6692  	DestinationConfigs []*GoogleCloudConnectorsV1DestinationConfig `json:"destinationConfigs,omitempty"`
  6693  
  6694  	// EnvoyImageLocation: Output only. GCR location where the envoy image
  6695  	// is stored. formatted like: gcr.io/{bucketName}/{imageName}
  6696  	EnvoyImageLocation string `json:"envoyImageLocation,omitempty"`
  6697  
  6698  	// ImageLocation: Output only. GCR location where the runtime image is
  6699  	// stored. formatted like: gcr.io/{bucketName}/{imageName}
  6700  	ImageLocation string `json:"imageLocation,omitempty"`
  6701  
  6702  	// Labels: Optional. Resource labels to represent user-provided
  6703  	// metadata. Refer to cloud documentation on labels for more details.
  6704  	// https://cloud.google.com/compute/docs/labeling-resources
  6705  	Labels map[string]string `json:"labels,omitempty"`
  6706  
  6707  	// LockConfig: Optional. Configuration that indicates whether or not the
  6708  	// Connection can be edited.
  6709  	LockConfig *GoogleCloudConnectorsV1LockConfig `json:"lockConfig,omitempty"`
  6710  
  6711  	// LogConfig: Optional. Log configuration for the connection.
  6712  	LogConfig *GoogleCloudConnectorsV1LogConfig `json:"logConfig,omitempty"`
  6713  
  6714  	// Name: Output only. Resource name of the Connection. Format:
  6715  	// projects/{project}/locations/{location}/connections/{connection}
  6716  	Name string `json:"name,omitempty"`
  6717  
  6718  	// NodeConfig: Optional. Node configuration for the connection.
  6719  	NodeConfig *GoogleCloudConnectorsV1NodeConfig `json:"nodeConfig,omitempty"`
  6720  
  6721  	// ServiceAccount: Optional. Service account needed for runtime plane to
  6722  	// access GCP resources.
  6723  	ServiceAccount string `json:"serviceAccount,omitempty"`
  6724  
  6725  	// ServiceDirectory: Output only. The name of the Service Directory
  6726  	// service name. Used for Private Harpoon to resolve the ILB address.
  6727  	// e.g.
  6728  	// "projects/cloud-connectors-e2e-testing/locations/us-central1/namespace
  6729  	// s/istio-system/services/istio-ingressgateway-connectors"
  6730  	ServiceDirectory string `json:"serviceDirectory,omitempty"`
  6731  
  6732  	// SslConfig: Optional. Ssl config of a connection
  6733  	SslConfig *GoogleCloudConnectorsV1SslConfig `json:"sslConfig,omitempty"`
  6734  
  6735  	// Status: Output only. Current status of the connection.
  6736  	Status *GoogleCloudConnectorsV1ConnectionStatus `json:"status,omitempty"`
  6737  
  6738  	// SubscriptionType: Output only. This subscription type enum states the
  6739  	// subscription type of the project.
  6740  	//
  6741  	// Possible values:
  6742  	//   "SUBSCRIPTION_TYPE_UNSPECIFIED" - Unspecified subscription type.
  6743  	//   "PAY_G" - PayG subscription.
  6744  	//   "PAID" - Paid Subscription.
  6745  	SubscriptionType string `json:"subscriptionType,omitempty"`
  6746  
  6747  	// Suspended: Optional. Suspended indicates if a user has suspended a
  6748  	// connection or not.
  6749  	Suspended bool `json:"suspended,omitempty"`
  6750  
  6751  	// UpdateTime: Output only. Updated time.
  6752  	UpdateTime string `json:"updateTime,omitempty"`
  6753  
  6754  	// ForceSendFields is a list of field names (e.g. "AuthConfig") to
  6755  	// unconditionally include in API requests. By default, fields with
  6756  	// empty or default values are omitted from API requests. However, any
  6757  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6758  	// sent to the server regardless of whether the field is empty or not.
  6759  	// This may be used to include empty fields in Patch requests.
  6760  	ForceSendFields []string `json:"-"`
  6761  
  6762  	// NullFields is a list of field names (e.g. "AuthConfig") to include in
  6763  	// API requests with the JSON null value. By default, fields with empty
  6764  	// values are omitted from API requests. However, any field with an
  6765  	// empty value appearing in NullFields will be sent to the server as
  6766  	// null. It is an error if a field in this list has a non-empty value.
  6767  	// This may be used to include null fields in Patch requests.
  6768  	NullFields []string `json:"-"`
  6769  }
  6770  
  6771  func (s *GoogleCloudConnectorsV1Connection) MarshalJSON() ([]byte, error) {
  6772  	type NoMethod GoogleCloudConnectorsV1Connection
  6773  	raw := NoMethod(*s)
  6774  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6775  }
  6776  
  6777  // GoogleCloudConnectorsV1ConnectionStatus: ConnectionStatus indicates
  6778  // the state of the connection.
  6779  type GoogleCloudConnectorsV1ConnectionStatus struct {
  6780  	// Description: Description.
  6781  	Description string `json:"description,omitempty"`
  6782  
  6783  	// State: State.
  6784  	//
  6785  	// Possible values:
  6786  	//   "STATE_UNSPECIFIED" - Connection does not have a state yet.
  6787  	//   "CREATING" - Connection is being created.
  6788  	//   "ACTIVE" - Connection is running and ready for requests.
  6789  	//   "INACTIVE" - Connection is stopped.
  6790  	//   "DELETING" - Connection is being deleted.
  6791  	//   "UPDATING" - Connection is being updated.
  6792  	//   "ERROR" - Connection is not running due to an error.
  6793  	//   "AUTHORIZATION_REQUIRED" - Connection is not running because the
  6794  	// authorization configuration is not complete.
  6795  	State string `json:"state,omitempty"`
  6796  
  6797  	// Status: Status provides detailed information for the state.
  6798  	Status string `json:"status,omitempty"`
  6799  
  6800  	// ForceSendFields is a list of field names (e.g. "Description") to
  6801  	// unconditionally include in API requests. By default, fields with
  6802  	// empty or default values are omitted from API requests. However, any
  6803  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6804  	// sent to the server regardless of whether the field is empty or not.
  6805  	// This may be used to include empty fields in Patch requests.
  6806  	ForceSendFields []string `json:"-"`
  6807  
  6808  	// NullFields is a list of field names (e.g. "Description") to include
  6809  	// in API requests with the JSON null value. By default, fields with
  6810  	// empty values are omitted from API requests. However, any field with
  6811  	// an empty value appearing in NullFields will be sent to the server as
  6812  	// null. It is an error if a field in this list has a non-empty value.
  6813  	// This may be used to include null fields in Patch requests.
  6814  	NullFields []string `json:"-"`
  6815  }
  6816  
  6817  func (s *GoogleCloudConnectorsV1ConnectionStatus) MarshalJSON() ([]byte, error) {
  6818  	type NoMethod GoogleCloudConnectorsV1ConnectionStatus
  6819  	raw := NoMethod(*s)
  6820  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6821  }
  6822  
  6823  type GoogleCloudConnectorsV1Destination struct {
  6824  	// Host: For publicly routable host.
  6825  	Host string `json:"host,omitempty"`
  6826  
  6827  	// Port: The port is the target port number that is accepted by the
  6828  	// destination.
  6829  	Port int64 `json:"port,omitempty"`
  6830  
  6831  	// ServiceAttachment: PSC service attachments. Format:
  6832  	// projects/*/regions/*/serviceAttachments/*
  6833  	ServiceAttachment string `json:"serviceAttachment,omitempty"`
  6834  
  6835  	// ForceSendFields is a list of field names (e.g. "Host") to
  6836  	// unconditionally include in API requests. By default, fields with
  6837  	// empty or default values are omitted from API requests. However, any
  6838  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6839  	// sent to the server regardless of whether the field is empty or not.
  6840  	// This may be used to include empty fields in Patch requests.
  6841  	ForceSendFields []string `json:"-"`
  6842  
  6843  	// NullFields is a list of field names (e.g. "Host") to include in API
  6844  	// requests with the JSON null value. By default, fields with empty
  6845  	// values are omitted from API requests. However, any field with an
  6846  	// empty value appearing in NullFields will be sent to the server as
  6847  	// null. It is an error if a field in this list has a non-empty value.
  6848  	// This may be used to include null fields in Patch requests.
  6849  	NullFields []string `json:"-"`
  6850  }
  6851  
  6852  func (s *GoogleCloudConnectorsV1Destination) MarshalJSON() ([]byte, error) {
  6853  	type NoMethod GoogleCloudConnectorsV1Destination
  6854  	raw := NoMethod(*s)
  6855  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6856  }
  6857  
  6858  // GoogleCloudConnectorsV1DestinationConfig: Define the Connectors
  6859  // target endpoint.
  6860  type GoogleCloudConnectorsV1DestinationConfig struct {
  6861  	// Destinations: The destinations for the key.
  6862  	Destinations []*GoogleCloudConnectorsV1Destination `json:"destinations,omitempty"`
  6863  
  6864  	// Key: The key is the destination identifier that is supported by the
  6865  	// Connector.
  6866  	Key string `json:"key,omitempty"`
  6867  
  6868  	// ForceSendFields is a list of field names (e.g. "Destinations") to
  6869  	// unconditionally include in API requests. By default, fields with
  6870  	// empty or default values are omitted from API requests. However, any
  6871  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6872  	// sent to the server regardless of whether the field is empty or not.
  6873  	// This may be used to include empty fields in Patch requests.
  6874  	ForceSendFields []string `json:"-"`
  6875  
  6876  	// NullFields is a list of field names (e.g. "Destinations") to include
  6877  	// in API requests with the JSON null value. By default, fields with
  6878  	// empty values are omitted from API requests. However, any field with
  6879  	// an empty value appearing in NullFields will be sent to the server as
  6880  	// null. It is an error if a field in this list has a non-empty value.
  6881  	// This may be used to include null fields in Patch requests.
  6882  	NullFields []string `json:"-"`
  6883  }
  6884  
  6885  func (s *GoogleCloudConnectorsV1DestinationConfig) MarshalJSON() ([]byte, error) {
  6886  	type NoMethod GoogleCloudConnectorsV1DestinationConfig
  6887  	raw := NoMethod(*s)
  6888  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6889  }
  6890  
  6891  // GoogleCloudConnectorsV1EncryptionKey: Encryption Key value.
  6892  type GoogleCloudConnectorsV1EncryptionKey struct {
  6893  	// KmsKeyName: The [KMS key name] with which the content of the
  6894  	// Operation is encrypted. The expected format:
  6895  	// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty
  6896  	// string if google managed.
  6897  	KmsKeyName string `json:"kmsKeyName,omitempty"`
  6898  
  6899  	// Type: Type.
  6900  	//
  6901  	// Possible values:
  6902  	//   "TYPE_UNSPECIFIED" - Value type is not specified.
  6903  	//   "GOOGLE_MANAGED" - Google Managed.
  6904  	//   "CUSTOMER_MANAGED" - Customer Managed.
  6905  	Type string `json:"type,omitempty"`
  6906  
  6907  	// ForceSendFields is a list of field names (e.g. "KmsKeyName") to
  6908  	// unconditionally include in API requests. By default, fields with
  6909  	// empty or default values are omitted from API requests. However, any
  6910  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6911  	// sent to the server regardless of whether the field is empty or not.
  6912  	// This may be used to include empty fields in Patch requests.
  6913  	ForceSendFields []string `json:"-"`
  6914  
  6915  	// NullFields is a list of field names (e.g. "KmsKeyName") to include in
  6916  	// API requests with the JSON null value. By default, fields with empty
  6917  	// values are omitted from API requests. However, any field with an
  6918  	// empty value appearing in NullFields will be sent to the server as
  6919  	// null. It is an error if a field in this list has a non-empty value.
  6920  	// This may be used to include null fields in Patch requests.
  6921  	NullFields []string `json:"-"`
  6922  }
  6923  
  6924  func (s *GoogleCloudConnectorsV1EncryptionKey) MarshalJSON() ([]byte, error) {
  6925  	type NoMethod GoogleCloudConnectorsV1EncryptionKey
  6926  	raw := NoMethod(*s)
  6927  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6928  }
  6929  
  6930  // GoogleCloudConnectorsV1LockConfig: Determines whether or no a
  6931  // connection is locked. If locked, a reason must be specified.
  6932  type GoogleCloudConnectorsV1LockConfig struct {
  6933  	// Locked: Indicates whether or not the connection is locked.
  6934  	Locked bool `json:"locked,omitempty"`
  6935  
  6936  	// Reason: Describes why a connection is locked.
  6937  	Reason string `json:"reason,omitempty"`
  6938  
  6939  	// ForceSendFields is a list of field names (e.g. "Locked") to
  6940  	// unconditionally include in API requests. By default, fields with
  6941  	// empty or default values are omitted from API requests. However, any
  6942  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6943  	// sent to the server regardless of whether the field is empty or not.
  6944  	// This may be used to include empty fields in Patch requests.
  6945  	ForceSendFields []string `json:"-"`
  6946  
  6947  	// NullFields is a list of field names (e.g. "Locked") to include in API
  6948  	// requests with the JSON null value. By default, fields with empty
  6949  	// values are omitted from API requests. However, any field with an
  6950  	// empty value appearing in NullFields will be sent to the server as
  6951  	// null. It is an error if a field in this list has a non-empty value.
  6952  	// This may be used to include null fields in Patch requests.
  6953  	NullFields []string `json:"-"`
  6954  }
  6955  
  6956  func (s *GoogleCloudConnectorsV1LockConfig) MarshalJSON() ([]byte, error) {
  6957  	type NoMethod GoogleCloudConnectorsV1LockConfig
  6958  	raw := NoMethod(*s)
  6959  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6960  }
  6961  
  6962  // GoogleCloudConnectorsV1LogConfig: Log configuration for the
  6963  // connection.
  6964  type GoogleCloudConnectorsV1LogConfig struct {
  6965  	// Enabled: Enabled represents whether logging is enabled or not for a
  6966  	// connection.
  6967  	Enabled bool `json:"enabled,omitempty"`
  6968  
  6969  	// ForceSendFields is a list of field names (e.g. "Enabled") to
  6970  	// unconditionally include in API requests. By default, fields with
  6971  	// empty or default values are omitted from API requests. However, any
  6972  	// non-pointer, non-interface field appearing in ForceSendFields will be
  6973  	// sent to the server regardless of whether the field is empty or not.
  6974  	// This may be used to include empty fields in Patch requests.
  6975  	ForceSendFields []string `json:"-"`
  6976  
  6977  	// NullFields is a list of field names (e.g. "Enabled") to include in
  6978  	// API requests with the JSON null value. By default, fields with empty
  6979  	// values are omitted from API requests. However, any field with an
  6980  	// empty value appearing in NullFields will be sent to the server as
  6981  	// null. It is an error if a field in this list has a non-empty value.
  6982  	// This may be used to include null fields in Patch requests.
  6983  	NullFields []string `json:"-"`
  6984  }
  6985  
  6986  func (s *GoogleCloudConnectorsV1LogConfig) MarshalJSON() ([]byte, error) {
  6987  	type NoMethod GoogleCloudConnectorsV1LogConfig
  6988  	raw := NoMethod(*s)
  6989  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  6990  }
  6991  
  6992  // GoogleCloudConnectorsV1NodeConfig: Node configuration for the
  6993  // connection.
  6994  type GoogleCloudConnectorsV1NodeConfig struct {
  6995  	// MaxNodeCount: Maximum number of nodes in the runtime nodes.
  6996  	MaxNodeCount int64 `json:"maxNodeCount,omitempty"`
  6997  
  6998  	// MinNodeCount: Minimum number of nodes in the runtime nodes.
  6999  	MinNodeCount int64 `json:"minNodeCount,omitempty"`
  7000  
  7001  	// ForceSendFields is a list of field names (e.g. "MaxNodeCount") to
  7002  	// unconditionally include in API requests. By default, fields with
  7003  	// empty or default values are omitted from API requests. However, any
  7004  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7005  	// sent to the server regardless of whether the field is empty or not.
  7006  	// This may be used to include empty fields in Patch requests.
  7007  	ForceSendFields []string `json:"-"`
  7008  
  7009  	// NullFields is a list of field names (e.g. "MaxNodeCount") to include
  7010  	// in API requests with the JSON null value. By default, fields with
  7011  	// empty values are omitted from API requests. However, any field with
  7012  	// an empty value appearing in NullFields will be sent to the server as
  7013  	// null. It is an error if a field in this list has a non-empty value.
  7014  	// This may be used to include null fields in Patch requests.
  7015  	NullFields []string `json:"-"`
  7016  }
  7017  
  7018  func (s *GoogleCloudConnectorsV1NodeConfig) MarshalJSON() ([]byte, error) {
  7019  	type NoMethod GoogleCloudConnectorsV1NodeConfig
  7020  	raw := NoMethod(*s)
  7021  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7022  }
  7023  
  7024  // GoogleCloudConnectorsV1Secret: Secret provides a reference to entries
  7025  // in Secret Manager.
  7026  type GoogleCloudConnectorsV1Secret struct {
  7027  	// SecretVersion: The resource name of the secret version in the format,
  7028  	// format as: `projects/*/secrets/*/versions/*`.
  7029  	SecretVersion string `json:"secretVersion,omitempty"`
  7030  
  7031  	// ForceSendFields is a list of field names (e.g. "SecretVersion") to
  7032  	// unconditionally include in API requests. By default, fields with
  7033  	// empty or default values are omitted from API requests. However, any
  7034  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7035  	// sent to the server regardless of whether the field is empty or not.
  7036  	// This may be used to include empty fields in Patch requests.
  7037  	ForceSendFields []string `json:"-"`
  7038  
  7039  	// NullFields is a list of field names (e.g. "SecretVersion") to include
  7040  	// in API requests with the JSON null value. By default, fields with
  7041  	// empty values are omitted from API requests. However, any field with
  7042  	// an empty value appearing in NullFields will be sent to the server as
  7043  	// null. It is an error if a field in this list has a non-empty value.
  7044  	// This may be used to include null fields in Patch requests.
  7045  	NullFields []string `json:"-"`
  7046  }
  7047  
  7048  func (s *GoogleCloudConnectorsV1Secret) MarshalJSON() ([]byte, error) {
  7049  	type NoMethod GoogleCloudConnectorsV1Secret
  7050  	raw := NoMethod(*s)
  7051  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7052  }
  7053  
  7054  // GoogleCloudConnectorsV1SslConfig: SSL Configuration of a connection
  7055  type GoogleCloudConnectorsV1SslConfig struct {
  7056  	// AdditionalVariables: Additional SSL related field values
  7057  	AdditionalVariables []*GoogleCloudConnectorsV1ConfigVariable `json:"additionalVariables,omitempty"`
  7058  
  7059  	// ClientCertType: Type of Client Cert (PEM/JKS/.. etc.)
  7060  	//
  7061  	// Possible values:
  7062  	//   "CERT_TYPE_UNSPECIFIED" - Cert type unspecified.
  7063  	//   "PEM" - Privacy Enhanced Mail (PEM) Type
  7064  	ClientCertType string `json:"clientCertType,omitempty"`
  7065  
  7066  	// ClientCertificate: Client Certificate
  7067  	ClientCertificate *GoogleCloudConnectorsV1Secret `json:"clientCertificate,omitempty"`
  7068  
  7069  	// ClientPrivateKey: Client Private Key
  7070  	ClientPrivateKey *GoogleCloudConnectorsV1Secret `json:"clientPrivateKey,omitempty"`
  7071  
  7072  	// ClientPrivateKeyPass: Secret containing the passphrase protecting the
  7073  	// Client Private Key
  7074  	ClientPrivateKeyPass *GoogleCloudConnectorsV1Secret `json:"clientPrivateKeyPass,omitempty"`
  7075  
  7076  	// PrivateServerCertificate: Private Server Certificate. Needs to be
  7077  	// specified if trust model is `PRIVATE`.
  7078  	PrivateServerCertificate *GoogleCloudConnectorsV1Secret `json:"privateServerCertificate,omitempty"`
  7079  
  7080  	// ServerCertType: Type of Server Cert (PEM/JKS/.. etc.)
  7081  	//
  7082  	// Possible values:
  7083  	//   "CERT_TYPE_UNSPECIFIED" - Cert type unspecified.
  7084  	//   "PEM" - Privacy Enhanced Mail (PEM) Type
  7085  	ServerCertType string `json:"serverCertType,omitempty"`
  7086  
  7087  	// TrustModel: Trust Model of the SSL connection
  7088  	//
  7089  	// Possible values:
  7090  	//   "PUBLIC" - Public Trust Model. Takes the Default Java trust store.
  7091  	//   "PRIVATE" - Private Trust Model. Takes custom/private trust store.
  7092  	//   "INSECURE" - Insecure Trust Model. Accept all certificates.
  7093  	TrustModel string `json:"trustModel,omitempty"`
  7094  
  7095  	// Type: Controls the ssl type for the given connector version.
  7096  	//
  7097  	// Possible values:
  7098  	//   "SSL_TYPE_UNSPECIFIED" - No SSL configuration required.
  7099  	//   "TLS" - TLS Handshake
  7100  	//   "MTLS" - mutual TLS (MTLS) Handshake
  7101  	Type string `json:"type,omitempty"`
  7102  
  7103  	// UseSsl: Bool for enabling SSL
  7104  	UseSsl bool `json:"useSsl,omitempty"`
  7105  
  7106  	// ForceSendFields is a list of field names (e.g. "AdditionalVariables")
  7107  	// to unconditionally include in API requests. By default, fields with
  7108  	// empty or default values are omitted from API requests. However, any
  7109  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7110  	// sent to the server regardless of whether the field is empty or not.
  7111  	// This may be used to include empty fields in Patch requests.
  7112  	ForceSendFields []string `json:"-"`
  7113  
  7114  	// NullFields is a list of field names (e.g. "AdditionalVariables") to
  7115  	// include in API requests with the JSON null value. By default, fields
  7116  	// with empty values are omitted from API requests. However, any field
  7117  	// with an empty value appearing in NullFields will be sent to the
  7118  	// server as null. It is an error if a field in this list has a
  7119  	// non-empty value. This may be used to include null fields in Patch
  7120  	// requests.
  7121  	NullFields []string `json:"-"`
  7122  }
  7123  
  7124  func (s *GoogleCloudConnectorsV1SslConfig) MarshalJSON() ([]byte, error) {
  7125  	type NoMethod GoogleCloudConnectorsV1SslConfig
  7126  	raw := NoMethod(*s)
  7127  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7128  }
  7129  
  7130  // GoogleCloudIntegrationsV1alphaAccessToken: The access token
  7131  // represents the authorization of a specific application to access
  7132  // specific parts of a user’s data.
  7133  type GoogleCloudIntegrationsV1alphaAccessToken struct {
  7134  	// AccessToken: The access token encapsulating the security identity of
  7135  	// a process or thread.
  7136  	AccessToken string `json:"accessToken,omitempty"`
  7137  
  7138  	// AccessTokenExpireTime: Required. The approximate time until the
  7139  	// access token retrieved is valid.
  7140  	AccessTokenExpireTime string `json:"accessTokenExpireTime,omitempty"`
  7141  
  7142  	// RefreshToken: If the access token will expire, use the refresh token
  7143  	// to obtain another access token.
  7144  	RefreshToken string `json:"refreshToken,omitempty"`
  7145  
  7146  	// RefreshTokenExpireTime: The approximate time until the refresh token
  7147  	// retrieved is valid.
  7148  	RefreshTokenExpireTime string `json:"refreshTokenExpireTime,omitempty"`
  7149  
  7150  	// TokenType: Only support "bearer" token in v1 as bearer token is the
  7151  	// predominant type used with OAuth 2.0.
  7152  	TokenType string `json:"tokenType,omitempty"`
  7153  
  7154  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  7155  	// unconditionally include in API requests. By default, fields with
  7156  	// empty or default values are omitted from API requests. However, any
  7157  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7158  	// sent to the server regardless of whether the field is empty or not.
  7159  	// This may be used to include empty fields in Patch requests.
  7160  	ForceSendFields []string `json:"-"`
  7161  
  7162  	// NullFields is a list of field names (e.g. "AccessToken") to include
  7163  	// in API requests with the JSON null value. By default, fields with
  7164  	// empty values are omitted from API requests. However, any field with
  7165  	// an empty value appearing in NullFields will be sent to the server as
  7166  	// null. It is an error if a field in this list has a non-empty value.
  7167  	// This may be used to include null fields in Patch requests.
  7168  	NullFields []string `json:"-"`
  7169  }
  7170  
  7171  func (s *GoogleCloudIntegrationsV1alphaAccessToken) MarshalJSON() ([]byte, error) {
  7172  	type NoMethod GoogleCloudIntegrationsV1alphaAccessToken
  7173  	raw := NoMethod(*s)
  7174  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7175  }
  7176  
  7177  // GoogleCloudIntegrationsV1alphaAttemptStats: Status for the execution
  7178  // attempt.
  7179  type GoogleCloudIntegrationsV1alphaAttemptStats struct {
  7180  	// EndTime: The end time of the event execution for current attempt.
  7181  	EndTime string `json:"endTime,omitempty"`
  7182  
  7183  	// StartTime: The start time of the event execution for current attempt.
  7184  	// This could be in the future if it's been scheduled.
  7185  	StartTime string `json:"startTime,omitempty"`
  7186  
  7187  	// ForceSendFields is a list of field names (e.g. "EndTime") to
  7188  	// unconditionally include in API requests. By default, fields with
  7189  	// empty or default values are omitted from API requests. However, any
  7190  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7191  	// sent to the server regardless of whether the field is empty or not.
  7192  	// This may be used to include empty fields in Patch requests.
  7193  	ForceSendFields []string `json:"-"`
  7194  
  7195  	// NullFields is a list of field names (e.g. "EndTime") to include in
  7196  	// API requests with the JSON null value. By default, fields with empty
  7197  	// values are omitted from API requests. However, any field with an
  7198  	// empty value appearing in NullFields will be sent to the server as
  7199  	// null. It is an error if a field in this list has a non-empty value.
  7200  	// This may be used to include null fields in Patch requests.
  7201  	NullFields []string `json:"-"`
  7202  }
  7203  
  7204  func (s *GoogleCloudIntegrationsV1alphaAttemptStats) MarshalJSON() ([]byte, error) {
  7205  	type NoMethod GoogleCloudIntegrationsV1alphaAttemptStats
  7206  	raw := NoMethod(*s)
  7207  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7208  }
  7209  
  7210  // GoogleCloudIntegrationsV1alphaAuthConfig: The AuthConfig resource use
  7211  // to hold channels and connection config data.
  7212  type GoogleCloudIntegrationsV1alphaAuthConfig struct {
  7213  	// CertificateId: Certificate id for client certificate
  7214  	CertificateId string `json:"certificateId,omitempty"`
  7215  
  7216  	// CreateTime: Output only. The timestamp when the auth config is
  7217  	// created.
  7218  	CreateTime string `json:"createTime,omitempty"`
  7219  
  7220  	// CreatorEmail: The creator's email address. Generated based on the End
  7221  	// User Credentials/LOAS role of the user making the call.
  7222  	CreatorEmail string `json:"creatorEmail,omitempty"`
  7223  
  7224  	// CredentialType: Credential type of the encrypted credential.
  7225  	//
  7226  	// Possible values:
  7227  	//   "CREDENTIAL_TYPE_UNSPECIFIED" - Unspecified credential type
  7228  	//   "USERNAME_AND_PASSWORD" - Regular username/password pair.
  7229  	//   "API_KEY" - API key.
  7230  	//   "OAUTH2_AUTHORIZATION_CODE" - OAuth 2.0 Authorization Code Grant
  7231  	// Type.
  7232  	//   "OAUTH2_IMPLICIT" - OAuth 2.0 Implicit Grant Type.
  7233  	//   "OAUTH2_CLIENT_CREDENTIALS" - OAuth 2.0 Client Credentials Grant
  7234  	// Type.
  7235  	//   "OAUTH2_RESOURCE_OWNER_CREDENTIALS" - OAuth 2.0 Resource Owner
  7236  	// Credentials Grant Type.
  7237  	//   "JWT" - JWT Token.
  7238  	//   "AUTH_TOKEN" - Auth Token, e.g. bearer token.
  7239  	//   "SERVICE_ACCOUNT" - Service Account which can be used to generate
  7240  	// token for authentication.
  7241  	//   "CLIENT_CERTIFICATE_ONLY" - Client Certificate only.
  7242  	//   "OIDC_TOKEN" - Google OIDC ID Token
  7243  	CredentialType string `json:"credentialType,omitempty"`
  7244  
  7245  	// DecryptedCredential: Raw auth credentials.
  7246  	DecryptedCredential *GoogleCloudIntegrationsV1alphaCredential `json:"decryptedCredential,omitempty"`
  7247  
  7248  	// Description: A description of the auth config.
  7249  	Description string `json:"description,omitempty"`
  7250  
  7251  	// DisplayName: The name of the auth config.
  7252  	DisplayName string `json:"displayName,omitempty"`
  7253  
  7254  	// EncryptedCredential: Auth credential encrypted by Cloud KMS. Can be
  7255  	// decrypted as Credential with proper KMS key.
  7256  	EncryptedCredential string `json:"encryptedCredential,omitempty"`
  7257  
  7258  	// ExpiryNotificationDuration: User can define the time to receive
  7259  	// notification after which the auth config becomes invalid. Support up
  7260  	// to 30 days. Support granularity in hours.
  7261  	ExpiryNotificationDuration []string `json:"expiryNotificationDuration,omitempty"`
  7262  
  7263  	// LastModifierEmail: The last modifier's email address. Generated based
  7264  	// on the End User Credentials/LOAS role of the user making the call.
  7265  	LastModifierEmail string `json:"lastModifierEmail,omitempty"`
  7266  
  7267  	// Name: Resource name of the SFDC instance
  7268  	// projects/{project}/locations/{location}/authConfigs/{authConfig}.
  7269  	Name string `json:"name,omitempty"`
  7270  
  7271  	// OverrideValidTime: User provided expiry time to override. For the
  7272  	// example of Salesforce, username/password credentials can be valid for
  7273  	// 6 months depending on the instance settings.
  7274  	OverrideValidTime string `json:"overrideValidTime,omitempty"`
  7275  
  7276  	// Reason: The reason / details of the current status.
  7277  	Reason string `json:"reason,omitempty"`
  7278  
  7279  	// State: The status of the auth config.
  7280  	//
  7281  	// Possible values:
  7282  	//   "STATE_UNSPECIFIED" - Status not specified.
  7283  	//   "VALID" - Valid Auth config.
  7284  	//   "INVALID" - General invalidity, if it doesn't fits in the detailed
  7285  	// issue below.
  7286  	//   "SOFT_DELETED" - Auth config soft deleted.
  7287  	//   "EXPIRED" - Auth config expired.
  7288  	//   "UNAUTHORIZED" - Auth config unauthorized.
  7289  	//   "UNSUPPORTED" - Auth config not supported.
  7290  	State string `json:"state,omitempty"`
  7291  
  7292  	// UpdateTime: Output only. The timestamp when the auth config is
  7293  	// modified.
  7294  	UpdateTime string `json:"updateTime,omitempty"`
  7295  
  7296  	// ValidTime: The time until the auth config is valid. Empty or max
  7297  	// value is considered the auth config won't expire.
  7298  	ValidTime string `json:"validTime,omitempty"`
  7299  
  7300  	// Visibility: The visibility of the auth config.
  7301  	//
  7302  	// Possible values:
  7303  	//   "AUTH_CONFIG_VISIBILITY_UNSPECIFIED" - Visibility not specified.
  7304  	//   "PRIVATE" - Profile visible to the creator only.
  7305  	//   "CLIENT_VISIBLE" - Profile visible within the client.
  7306  	Visibility string `json:"visibility,omitempty"`
  7307  
  7308  	// ServerResponse contains the HTTP response code and headers from the
  7309  	// server.
  7310  	googleapi.ServerResponse `json:"-"`
  7311  
  7312  	// ForceSendFields is a list of field names (e.g. "CertificateId") to
  7313  	// unconditionally include in API requests. By default, fields with
  7314  	// empty or default values are omitted from API requests. However, any
  7315  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7316  	// sent to the server regardless of whether the field is empty or not.
  7317  	// This may be used to include empty fields in Patch requests.
  7318  	ForceSendFields []string `json:"-"`
  7319  
  7320  	// NullFields is a list of field names (e.g. "CertificateId") to include
  7321  	// in API requests with the JSON null value. By default, fields with
  7322  	// empty values are omitted from API requests. However, any field with
  7323  	// an empty value appearing in NullFields will be sent to the server as
  7324  	// null. It is an error if a field in this list has a non-empty value.
  7325  	// This may be used to include null fields in Patch requests.
  7326  	NullFields []string `json:"-"`
  7327  }
  7328  
  7329  func (s *GoogleCloudIntegrationsV1alphaAuthConfig) MarshalJSON() ([]byte, error) {
  7330  	type NoMethod GoogleCloudIntegrationsV1alphaAuthConfig
  7331  	raw := NoMethod(*s)
  7332  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7333  }
  7334  
  7335  // GoogleCloudIntegrationsV1alphaAuthToken: The credentials to
  7336  // authenticate a user agent with a server that is put in HTTP
  7337  // Authorization request header.
  7338  type GoogleCloudIntegrationsV1alphaAuthToken struct {
  7339  	// Token: The token for the auth type.
  7340  	Token string `json:"token,omitempty"`
  7341  
  7342  	// Type: Authentication type, e.g. "Basic", "Bearer", etc.
  7343  	Type string `json:"type,omitempty"`
  7344  
  7345  	// ForceSendFields is a list of field names (e.g. "Token") to
  7346  	// unconditionally include in API requests. By default, fields with
  7347  	// empty or default values are omitted from API requests. However, any
  7348  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7349  	// sent to the server regardless of whether the field is empty or not.
  7350  	// This may be used to include empty fields in Patch requests.
  7351  	ForceSendFields []string `json:"-"`
  7352  
  7353  	// NullFields is a list of field names (e.g. "Token") to include in API
  7354  	// requests with the JSON null value. By default, fields with empty
  7355  	// values are omitted from API requests. However, any field with an
  7356  	// empty value appearing in NullFields will be sent to the server as
  7357  	// null. It is an error if a field in this list has a non-empty value.
  7358  	// This may be used to include null fields in Patch requests.
  7359  	NullFields []string `json:"-"`
  7360  }
  7361  
  7362  func (s *GoogleCloudIntegrationsV1alphaAuthToken) MarshalJSON() ([]byte, error) {
  7363  	type NoMethod GoogleCloudIntegrationsV1alphaAuthToken
  7364  	raw := NoMethod(*s)
  7365  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7366  }
  7367  
  7368  // GoogleCloudIntegrationsV1alphaBooleanParameterArray: This message
  7369  // only contains a field of boolean array.
  7370  type GoogleCloudIntegrationsV1alphaBooleanParameterArray struct {
  7371  	// BooleanValues: Boolean array.
  7372  	BooleanValues []bool `json:"booleanValues,omitempty"`
  7373  
  7374  	// ForceSendFields is a list of field names (e.g. "BooleanValues") to
  7375  	// unconditionally include in API requests. By default, fields with
  7376  	// empty or default values are omitted from API requests. However, any
  7377  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7378  	// sent to the server regardless of whether the field is empty or not.
  7379  	// This may be used to include empty fields in Patch requests.
  7380  	ForceSendFields []string `json:"-"`
  7381  
  7382  	// NullFields is a list of field names (e.g. "BooleanValues") to include
  7383  	// in API requests with the JSON null value. By default, fields with
  7384  	// empty values are omitted from API requests. However, any field with
  7385  	// an empty value appearing in NullFields will be sent to the server as
  7386  	// null. It is an error if a field in this list has a non-empty value.
  7387  	// This may be used to include null fields in Patch requests.
  7388  	NullFields []string `json:"-"`
  7389  }
  7390  
  7391  func (s *GoogleCloudIntegrationsV1alphaBooleanParameterArray) MarshalJSON() ([]byte, error) {
  7392  	type NoMethod GoogleCloudIntegrationsV1alphaBooleanParameterArray
  7393  	raw := NoMethod(*s)
  7394  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7395  }
  7396  
  7397  // GoogleCloudIntegrationsV1alphaCancelExecutionRequest: Request for
  7398  // cancelling an execution.
  7399  type GoogleCloudIntegrationsV1alphaCancelExecutionRequest struct {
  7400  }
  7401  
  7402  // GoogleCloudIntegrationsV1alphaCancelExecutionResponse: Response for
  7403  // cancelling an execution.
  7404  type GoogleCloudIntegrationsV1alphaCancelExecutionResponse struct {
  7405  	// IsCanceled: True if cancellation performed successfully
  7406  	IsCanceled bool `json:"isCanceled,omitempty"`
  7407  
  7408  	// ServerResponse contains the HTTP response code and headers from the
  7409  	// server.
  7410  	googleapi.ServerResponse `json:"-"`
  7411  
  7412  	// ForceSendFields is a list of field names (e.g. "IsCanceled") to
  7413  	// unconditionally include in API requests. By default, fields with
  7414  	// empty or default values are omitted from API requests. However, any
  7415  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7416  	// sent to the server regardless of whether the field is empty or not.
  7417  	// This may be used to include empty fields in Patch requests.
  7418  	ForceSendFields []string `json:"-"`
  7419  
  7420  	// NullFields is a list of field names (e.g. "IsCanceled") to include in
  7421  	// API requests with the JSON null value. By default, fields with empty
  7422  	// values are omitted from API requests. However, any field with an
  7423  	// empty value appearing in NullFields will be sent to the server as
  7424  	// null. It is an error if a field in this list has a non-empty value.
  7425  	// This may be used to include null fields in Patch requests.
  7426  	NullFields []string `json:"-"`
  7427  }
  7428  
  7429  func (s *GoogleCloudIntegrationsV1alphaCancelExecutionResponse) MarshalJSON() ([]byte, error) {
  7430  	type NoMethod GoogleCloudIntegrationsV1alphaCancelExecutionResponse
  7431  	raw := NoMethod(*s)
  7432  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7433  }
  7434  
  7435  // GoogleCloudIntegrationsV1alphaCertificate: The certificate definition
  7436  type GoogleCloudIntegrationsV1alphaCertificate struct {
  7437  	// CertificateStatus: Status of the certificate
  7438  	//
  7439  	// Possible values:
  7440  	//   "STATE_UNSPECIFIED" - Unspecified certificate status
  7441  	//   "ACTIVE" - Certificate in active state will be able to use
  7442  	//   "EXPIRED" - Certificate in expired state needs to be updated
  7443  	CertificateStatus string `json:"certificateStatus,omitempty"`
  7444  
  7445  	// CredentialId: Immutable. Credential id that will be used to register
  7446  	// with trawler INTERNAL_ONLY
  7447  	CredentialId string `json:"credentialId,omitempty"`
  7448  
  7449  	// Description: Description of the certificate
  7450  	Description string `json:"description,omitempty"`
  7451  
  7452  	// DisplayName: Name of the certificate
  7453  	DisplayName string `json:"displayName,omitempty"`
  7454  
  7455  	// Name: Output only. Auto generated primary key
  7456  	Name string `json:"name,omitempty"`
  7457  
  7458  	// RawCertificate: Input only. Raw client certificate which would be
  7459  	// registered with trawler
  7460  	RawCertificate *GoogleCloudIntegrationsV1alphaClientCertificate `json:"rawCertificate,omitempty"`
  7461  
  7462  	// RequestorId: Immutable. Requestor ID to be used to register
  7463  	// certificate with trawler
  7464  	RequestorId string `json:"requestorId,omitempty"`
  7465  
  7466  	// ValidEndTime: Output only. The timestamp after which certificate will
  7467  	// expire
  7468  	ValidEndTime string `json:"validEndTime,omitempty"`
  7469  
  7470  	// ValidStartTime: Output only. The timestamp after which certificate
  7471  	// will be valid
  7472  	ValidStartTime string `json:"validStartTime,omitempty"`
  7473  
  7474  	// ServerResponse contains the HTTP response code and headers from the
  7475  	// server.
  7476  	googleapi.ServerResponse `json:"-"`
  7477  
  7478  	// ForceSendFields is a list of field names (e.g. "CertificateStatus")
  7479  	// to unconditionally include in API requests. By default, fields with
  7480  	// empty or default values are omitted from API requests. However, any
  7481  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7482  	// sent to the server regardless of whether the field is empty or not.
  7483  	// This may be used to include empty fields in Patch requests.
  7484  	ForceSendFields []string `json:"-"`
  7485  
  7486  	// NullFields is a list of field names (e.g. "CertificateStatus") to
  7487  	// include in API requests with the JSON null value. By default, fields
  7488  	// with empty values are omitted from API requests. However, any field
  7489  	// with an empty value appearing in NullFields will be sent to the
  7490  	// server as null. It is an error if a field in this list has a
  7491  	// non-empty value. This may be used to include null fields in Patch
  7492  	// requests.
  7493  	NullFields []string `json:"-"`
  7494  }
  7495  
  7496  func (s *GoogleCloudIntegrationsV1alphaCertificate) MarshalJSON() ([]byte, error) {
  7497  	type NoMethod GoogleCloudIntegrationsV1alphaCertificate
  7498  	raw := NoMethod(*s)
  7499  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7500  }
  7501  
  7502  // GoogleCloudIntegrationsV1alphaClientCertificate: Contains client
  7503  // certificate information
  7504  type GoogleCloudIntegrationsV1alphaClientCertificate struct {
  7505  	// EncryptedPrivateKey: The ssl certificate encoded in PEM format. This
  7506  	// string must include the begin header and end footer lines. For
  7507  	// example, -----BEGIN CERTIFICATE-----
  7508  	// MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
  7509  	// BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
  7510  	// MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
  7511  	// MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  7512  	// vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
  7513  	// JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
  7514  	// xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
  7515  	// AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
  7516  	// Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
  7517  	// Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
  7518  	// JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
  7519  	// 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
  7520  	// wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
  7521  	EncryptedPrivateKey string `json:"encryptedPrivateKey,omitempty"`
  7522  
  7523  	// Passphrase: 'passphrase' should be left unset if private key is not
  7524  	// encrypted. Note that 'passphrase' is not the password for web server,
  7525  	// but an extra layer of security to protected private key.
  7526  	Passphrase string `json:"passphrase,omitempty"`
  7527  
  7528  	// SslCertificate: The ssl certificate encoded in PEM format. This
  7529  	// string must include the begin header and end footer lines. For
  7530  	// example, -----BEGIN CERTIFICATE-----
  7531  	// MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
  7532  	// BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
  7533  	// MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
  7534  	// MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  7535  	// vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
  7536  	// JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
  7537  	// xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
  7538  	// AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
  7539  	// Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
  7540  	// Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
  7541  	// JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
  7542  	// 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
  7543  	// wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
  7544  	SslCertificate string `json:"sslCertificate,omitempty"`
  7545  
  7546  	// ForceSendFields is a list of field names (e.g. "EncryptedPrivateKey")
  7547  	// to unconditionally include in API requests. By default, fields with
  7548  	// empty or default values are omitted from API requests. However, any
  7549  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7550  	// sent to the server regardless of whether the field is empty or not.
  7551  	// This may be used to include empty fields in Patch requests.
  7552  	ForceSendFields []string `json:"-"`
  7553  
  7554  	// NullFields is a list of field names (e.g. "EncryptedPrivateKey") to
  7555  	// include in API requests with the JSON null value. By default, fields
  7556  	// with empty values are omitted from API requests. However, any field
  7557  	// with an empty value appearing in NullFields will be sent to the
  7558  	// server as null. It is an error if a field in this list has a
  7559  	// non-empty value. This may be used to include null fields in Patch
  7560  	// requests.
  7561  	NullFields []string `json:"-"`
  7562  }
  7563  
  7564  func (s *GoogleCloudIntegrationsV1alphaClientCertificate) MarshalJSON() ([]byte, error) {
  7565  	type NoMethod GoogleCloudIntegrationsV1alphaClientCertificate
  7566  	raw := NoMethod(*s)
  7567  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7568  }
  7569  
  7570  // GoogleCloudIntegrationsV1alphaCloudSchedulerConfig: Cloud Scheduler
  7571  // Trigger configuration
  7572  type GoogleCloudIntegrationsV1alphaCloudSchedulerConfig struct {
  7573  	// CronTab: Required. The cron tab of cloud scheduler trigger.
  7574  	CronTab string `json:"cronTab,omitempty"`
  7575  
  7576  	// ErrorMessage: Optional. When the job was deleted from Pantheon UI,
  7577  	// error_message will be populated when Get/List integrations
  7578  	ErrorMessage string `json:"errorMessage,omitempty"`
  7579  
  7580  	// Location: Required. The location where associated cloud scheduler job
  7581  	// will be created
  7582  	Location string `json:"location,omitempty"`
  7583  
  7584  	// ServiceAccountEmail: Required. Service account used by Cloud
  7585  	// Scheduler to trigger the integration at scheduled time
  7586  	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
  7587  
  7588  	// ForceSendFields is a list of field names (e.g. "CronTab") to
  7589  	// unconditionally include in API requests. By default, fields with
  7590  	// empty or default values are omitted from API requests. However, any
  7591  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7592  	// sent to the server regardless of whether the field is empty or not.
  7593  	// This may be used to include empty fields in Patch requests.
  7594  	ForceSendFields []string `json:"-"`
  7595  
  7596  	// NullFields is a list of field names (e.g. "CronTab") to include in
  7597  	// API requests with the JSON null value. By default, fields with empty
  7598  	// values are omitted from API requests. However, any field with an
  7599  	// empty value appearing in NullFields will be sent to the server as
  7600  	// null. It is an error if a field in this list has a non-empty value.
  7601  	// This may be used to include null fields in Patch requests.
  7602  	NullFields []string `json:"-"`
  7603  }
  7604  
  7605  func (s *GoogleCloudIntegrationsV1alphaCloudSchedulerConfig) MarshalJSON() ([]byte, error) {
  7606  	type NoMethod GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
  7607  	raw := NoMethod(*s)
  7608  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7609  }
  7610  
  7611  // GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata: Metadata of
  7612  // runtime connection schema.
  7613  type GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata struct {
  7614  	// Actions: List of actions.
  7615  	Actions []string `json:"actions,omitempty"`
  7616  
  7617  	// Entities: List of entity names.
  7618  	Entities []string `json:"entities,omitempty"`
  7619  
  7620  	// ServerResponse contains the HTTP response code and headers from the
  7621  	// server.
  7622  	googleapi.ServerResponse `json:"-"`
  7623  
  7624  	// ForceSendFields is a list of field names (e.g. "Actions") to
  7625  	// unconditionally include in API requests. By default, fields with
  7626  	// empty or default values are omitted from API requests. However, any
  7627  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7628  	// sent to the server regardless of whether the field is empty or not.
  7629  	// This may be used to include empty fields in Patch requests.
  7630  	ForceSendFields []string `json:"-"`
  7631  
  7632  	// NullFields is a list of field names (e.g. "Actions") to include in
  7633  	// API requests with the JSON null value. By default, fields with empty
  7634  	// values are omitted from API requests. However, any field with an
  7635  	// empty value appearing in NullFields will be sent to the server as
  7636  	// null. It is an error if a field in this list has a non-empty value.
  7637  	// This may be used to include null fields in Patch requests.
  7638  	NullFields []string `json:"-"`
  7639  }
  7640  
  7641  func (s *GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata) MarshalJSON() ([]byte, error) {
  7642  	type NoMethod GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata
  7643  	raw := NoMethod(*s)
  7644  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7645  }
  7646  
  7647  // GoogleCloudIntegrationsV1alphaCoordinate: Configuration detail of
  7648  // coordinate, it used for UI
  7649  type GoogleCloudIntegrationsV1alphaCoordinate struct {
  7650  	// X: Required. X axis of the coordinate
  7651  	X int64 `json:"x,omitempty"`
  7652  
  7653  	// Y: Required. Y axis of the coordinate
  7654  	Y int64 `json:"y,omitempty"`
  7655  
  7656  	// ForceSendFields is a list of field names (e.g. "X") to
  7657  	// unconditionally include in API requests. By default, fields with
  7658  	// empty or default values are omitted from API requests. However, any
  7659  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7660  	// sent to the server regardless of whether the field is empty or not.
  7661  	// This may be used to include empty fields in Patch requests.
  7662  	ForceSendFields []string `json:"-"`
  7663  
  7664  	// NullFields is a list of field names (e.g. "X") to include in API
  7665  	// requests with the JSON null value. By default, fields with empty
  7666  	// values are omitted from API requests. However, any field with an
  7667  	// empty value appearing in NullFields will be sent to the server as
  7668  	// null. It is an error if a field in this list has a non-empty value.
  7669  	// This may be used to include null fields in Patch requests.
  7670  	NullFields []string `json:"-"`
  7671  }
  7672  
  7673  func (s *GoogleCloudIntegrationsV1alphaCoordinate) MarshalJSON() ([]byte, error) {
  7674  	type NoMethod GoogleCloudIntegrationsV1alphaCoordinate
  7675  	raw := NoMethod(*s)
  7676  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7677  }
  7678  
  7679  // GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest: Request
  7680  // for CreateAppsScriptProject rpc call.
  7681  type GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest struct {
  7682  	// AppsScriptProject: The name of the Apps Script project to be created.
  7683  	AppsScriptProject string `json:"appsScriptProject,omitempty"`
  7684  
  7685  	// AuthConfigId: The auth config id necessary to fetch the necessary
  7686  	// credentials to create the project for external clients
  7687  	AuthConfigId string `json:"authConfigId,omitempty"`
  7688  
  7689  	// ForceSendFields is a list of field names (e.g. "AppsScriptProject")
  7690  	// to unconditionally include in API requests. By default, fields with
  7691  	// empty or default values are omitted from API requests. However, any
  7692  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7693  	// sent to the server regardless of whether the field is empty or not.
  7694  	// This may be used to include empty fields in Patch requests.
  7695  	ForceSendFields []string `json:"-"`
  7696  
  7697  	// NullFields is a list of field names (e.g. "AppsScriptProject") to
  7698  	// include in API requests with the JSON null value. By default, fields
  7699  	// with empty values are omitted from API requests. However, any field
  7700  	// with an empty value appearing in NullFields will be sent to the
  7701  	// server as null. It is an error if a field in this list has a
  7702  	// non-empty value. This may be used to include null fields in Patch
  7703  	// requests.
  7704  	NullFields []string `json:"-"`
  7705  }
  7706  
  7707  func (s *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest) MarshalJSON() ([]byte, error) {
  7708  	type NoMethod GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest
  7709  	raw := NoMethod(*s)
  7710  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7711  }
  7712  
  7713  // GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse:
  7714  // Response for CreateAppsScriptProject rpc call.
  7715  type GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse struct {
  7716  	// ProjectId: The created AppsScriptProject ID.
  7717  	ProjectId string `json:"projectId,omitempty"`
  7718  
  7719  	// ServerResponse contains the HTTP response code and headers from the
  7720  	// server.
  7721  	googleapi.ServerResponse `json:"-"`
  7722  
  7723  	// ForceSendFields is a list of field names (e.g. "ProjectId") to
  7724  	// unconditionally include in API requests. By default, fields with
  7725  	// empty or default values are omitted from API requests. However, any
  7726  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7727  	// sent to the server regardless of whether the field is empty or not.
  7728  	// This may be used to include empty fields in Patch requests.
  7729  	ForceSendFields []string `json:"-"`
  7730  
  7731  	// NullFields is a list of field names (e.g. "ProjectId") to include in
  7732  	// API requests with the JSON null value. By default, fields with empty
  7733  	// values are omitted from API requests. However, any field with an
  7734  	// empty value appearing in NullFields will be sent to the server as
  7735  	// null. It is an error if a field in this list has a non-empty value.
  7736  	// This may be used to include null fields in Patch requests.
  7737  	NullFields []string `json:"-"`
  7738  }
  7739  
  7740  func (s *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse) MarshalJSON() ([]byte, error) {
  7741  	type NoMethod GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse
  7742  	raw := NoMethod(*s)
  7743  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7744  }
  7745  
  7746  // GoogleCloudIntegrationsV1alphaCredential: Defines parameters for a
  7747  // single, canonical credential.
  7748  type GoogleCloudIntegrationsV1alphaCredential struct {
  7749  	// AuthToken: Auth token credential
  7750  	AuthToken *GoogleCloudIntegrationsV1alphaAuthToken `json:"authToken,omitempty"`
  7751  
  7752  	// CredentialType: Credential type associated with auth config.
  7753  	//
  7754  	// Possible values:
  7755  	//   "CREDENTIAL_TYPE_UNSPECIFIED" - Unspecified credential type
  7756  	//   "USERNAME_AND_PASSWORD" - Regular username/password pair.
  7757  	//   "API_KEY" - API key.
  7758  	//   "OAUTH2_AUTHORIZATION_CODE" - OAuth 2.0 Authorization Code Grant
  7759  	// Type.
  7760  	//   "OAUTH2_IMPLICIT" - OAuth 2.0 Implicit Grant Type.
  7761  	//   "OAUTH2_CLIENT_CREDENTIALS" - OAuth 2.0 Client Credentials Grant
  7762  	// Type.
  7763  	//   "OAUTH2_RESOURCE_OWNER_CREDENTIALS" - OAuth 2.0 Resource Owner
  7764  	// Credentials Grant Type.
  7765  	//   "JWT" - JWT Token.
  7766  	//   "AUTH_TOKEN" - Auth Token, e.g. bearer token.
  7767  	//   "SERVICE_ACCOUNT" - Service Account which can be used to generate
  7768  	// token for authentication.
  7769  	//   "CLIENT_CERTIFICATE_ONLY" - Client Certificate only.
  7770  	//   "OIDC_TOKEN" - Google OIDC ID Token
  7771  	CredentialType string `json:"credentialType,omitempty"`
  7772  
  7773  	// Jwt: JWT credential
  7774  	Jwt *GoogleCloudIntegrationsV1alphaJwt `json:"jwt,omitempty"`
  7775  
  7776  	// Oauth2AuthorizationCode: The api_key and oauth2_implicit are not
  7777  	// covered in v1 and will be picked up once v1 is implemented. ApiKey
  7778  	// api_key = 3; OAuth2 authorization code credential
  7779  	Oauth2AuthorizationCode *GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode `json:"oauth2AuthorizationCode,omitempty"`
  7780  
  7781  	// Oauth2ClientCredentials: OAuth2Implicit oauth2_implicit = 5; OAuth2
  7782  	// client credentials
  7783  	Oauth2ClientCredentials *GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials `json:"oauth2ClientCredentials,omitempty"`
  7784  
  7785  	// Oauth2ResourceOwnerCredentials: OAuth2 resource owner credentials
  7786  	Oauth2ResourceOwnerCredentials *GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials `json:"oauth2ResourceOwnerCredentials,omitempty"`
  7787  
  7788  	// OidcToken: Google OIDC ID Token
  7789  	OidcToken *GoogleCloudIntegrationsV1alphaOidcToken `json:"oidcToken,omitempty"`
  7790  
  7791  	// ServiceAccountCredentials: Service account credential
  7792  	ServiceAccountCredentials *GoogleCloudIntegrationsV1alphaServiceAccountCredentials `json:"serviceAccountCredentials,omitempty"`
  7793  
  7794  	// UsernameAndPassword: Username and password credential
  7795  	UsernameAndPassword *GoogleCloudIntegrationsV1alphaUsernameAndPassword `json:"usernameAndPassword,omitempty"`
  7796  
  7797  	// ForceSendFields is a list of field names (e.g. "AuthToken") to
  7798  	// unconditionally include in API requests. By default, fields with
  7799  	// empty or default values are omitted from API requests. However, any
  7800  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7801  	// sent to the server regardless of whether the field is empty or not.
  7802  	// This may be used to include empty fields in Patch requests.
  7803  	ForceSendFields []string `json:"-"`
  7804  
  7805  	// NullFields is a list of field names (e.g. "AuthToken") to include in
  7806  	// API requests with the JSON null value. By default, fields with empty
  7807  	// values are omitted from API requests. However, any field with an
  7808  	// empty value appearing in NullFields will be sent to the server as
  7809  	// null. It is an error if a field in this list has a non-empty value.
  7810  	// This may be used to include null fields in Patch requests.
  7811  	NullFields []string `json:"-"`
  7812  }
  7813  
  7814  func (s *GoogleCloudIntegrationsV1alphaCredential) MarshalJSON() ([]byte, error) {
  7815  	type NoMethod GoogleCloudIntegrationsV1alphaCredential
  7816  	raw := NoMethod(*s)
  7817  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7818  }
  7819  
  7820  // GoogleCloudIntegrationsV1alphaDoubleParameterArray: This message only
  7821  // contains a field of double number array.
  7822  type GoogleCloudIntegrationsV1alphaDoubleParameterArray struct {
  7823  	// DoubleValues: Double number array.
  7824  	DoubleValues []float64 `json:"doubleValues,omitempty"`
  7825  
  7826  	// ForceSendFields is a list of field names (e.g. "DoubleValues") to
  7827  	// unconditionally include in API requests. By default, fields with
  7828  	// empty or default values are omitted from API requests. However, any
  7829  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7830  	// sent to the server regardless of whether the field is empty or not.
  7831  	// This may be used to include empty fields in Patch requests.
  7832  	ForceSendFields []string `json:"-"`
  7833  
  7834  	// NullFields is a list of field names (e.g. "DoubleValues") to include
  7835  	// in API requests with the JSON null value. By default, fields with
  7836  	// empty values are omitted from API requests. However, any field with
  7837  	// an empty value appearing in NullFields will be sent to the server as
  7838  	// null. It is an error if a field in this list has a non-empty value.
  7839  	// This may be used to include null fields in Patch requests.
  7840  	NullFields []string `json:"-"`
  7841  }
  7842  
  7843  func (s *GoogleCloudIntegrationsV1alphaDoubleParameterArray) MarshalJSON() ([]byte, error) {
  7844  	type NoMethod GoogleCloudIntegrationsV1alphaDoubleParameterArray
  7845  	raw := NoMethod(*s)
  7846  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7847  }
  7848  
  7849  func (s *GoogleCloudIntegrationsV1alphaDoubleParameterArray) UnmarshalJSON(data []byte) error {
  7850  	type NoMethod GoogleCloudIntegrationsV1alphaDoubleParameterArray
  7851  	var s1 struct {
  7852  		DoubleValues []gensupport.JSONFloat64 `json:"doubleValues"`
  7853  		*NoMethod
  7854  	}
  7855  	s1.NoMethod = (*NoMethod)(s)
  7856  	if err := json.Unmarshal(data, &s1); err != nil {
  7857  		return err
  7858  	}
  7859  	s.DoubleValues = make([]float64, len(s1.DoubleValues))
  7860  	for i := range s1.DoubleValues {
  7861  		s.DoubleValues[i] = float64(s1.DoubleValues[i])
  7862  	}
  7863  	return nil
  7864  }
  7865  
  7866  // GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse:
  7867  // Response for DownloadIntegrationVersion.
  7868  type GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse struct {
  7869  	// Content: String representation of the integration version.
  7870  	Content string `json:"content,omitempty"`
  7871  
  7872  	// ServerResponse contains the HTTP response code and headers from the
  7873  	// server.
  7874  	googleapi.ServerResponse `json:"-"`
  7875  
  7876  	// ForceSendFields is a list of field names (e.g. "Content") to
  7877  	// unconditionally include in API requests. By default, fields with
  7878  	// empty or default values are omitted from API requests. However, any
  7879  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7880  	// sent to the server regardless of whether the field is empty or not.
  7881  	// This may be used to include empty fields in Patch requests.
  7882  	ForceSendFields []string `json:"-"`
  7883  
  7884  	// NullFields is a list of field names (e.g. "Content") to include in
  7885  	// API requests with the JSON null value. By default, fields with empty
  7886  	// values are omitted from API requests. However, any field with an
  7887  	// empty value appearing in NullFields will be sent to the server as
  7888  	// null. It is an error if a field in this list has a non-empty value.
  7889  	// This may be used to include null fields in Patch requests.
  7890  	NullFields []string `json:"-"`
  7891  }
  7892  
  7893  func (s *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse) MarshalJSON() ([]byte, error) {
  7894  	type NoMethod GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse
  7895  	raw := NoMethod(*s)
  7896  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7897  }
  7898  
  7899  // GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespons
  7900  // e: Response containing all provisioned regions for Connector
  7901  // Platform.
  7902  type GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse struct {
  7903  	// Regions: All regions where Connector Platform is provisioned.
  7904  	Regions []string `json:"regions,omitempty"`
  7905  
  7906  	// ServerResponse contains the HTTP response code and headers from the
  7907  	// server.
  7908  	googleapi.ServerResponse `json:"-"`
  7909  
  7910  	// ForceSendFields is a list of field names (e.g. "Regions") to
  7911  	// unconditionally include in API requests. By default, fields with
  7912  	// empty or default values are omitted from API requests. However, any
  7913  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7914  	// sent to the server regardless of whether the field is empty or not.
  7915  	// This may be used to include empty fields in Patch requests.
  7916  	ForceSendFields []string `json:"-"`
  7917  
  7918  	// NullFields is a list of field names (e.g. "Regions") to include in
  7919  	// API requests with the JSON null value. By default, fields with empty
  7920  	// values are omitted from API requests. However, any field with an
  7921  	// empty value appearing in NullFields will be sent to the server as
  7922  	// null. It is an error if a field in this list has a non-empty value.
  7923  	// This may be used to include null fields in Patch requests.
  7924  	NullFields []string `json:"-"`
  7925  }
  7926  
  7927  func (s *GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse) MarshalJSON() ([]byte, error) {
  7928  	type NoMethod GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse
  7929  	raw := NoMethod(*s)
  7930  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7931  }
  7932  
  7933  // GoogleCloudIntegrationsV1alphaErrorCatcherConfig: Configuration
  7934  // detail of a error catch task
  7935  type GoogleCloudIntegrationsV1alphaErrorCatcherConfig struct {
  7936  	// Description: Optional. User-provided description intended to give
  7937  	// more business context about the error catcher config.
  7938  	Description string `json:"description,omitempty"`
  7939  
  7940  	// ErrorCatcherId: Required. An error catcher id is string
  7941  	// representation for the error catcher config. Within a workflow,
  7942  	// error_catcher_id uniquely identifies an error catcher config among
  7943  	// all error catcher configs for the workflow
  7944  	ErrorCatcherId string `json:"errorCatcherId,omitempty"`
  7945  
  7946  	// ErrorCatcherNumber: Required. A number to uniquely identify each
  7947  	// error catcher config within the workflow on UI.
  7948  	ErrorCatcherNumber string `json:"errorCatcherNumber,omitempty"`
  7949  
  7950  	// Label: Optional. The user created label for a particular error
  7951  	// catcher. Optional.
  7952  	Label string `json:"label,omitempty"`
  7953  
  7954  	// Position: Optional. Informs the front-end application where to draw
  7955  	// this error catcher config on the UI.
  7956  	Position *GoogleCloudIntegrationsV1alphaCoordinate `json:"position,omitempty"`
  7957  
  7958  	// StartErrorTasks: Required. The set of start tasks that are to be
  7959  	// executed for the error catch flow
  7960  	StartErrorTasks []*GoogleCloudIntegrationsV1alphaNextTask `json:"startErrorTasks,omitempty"`
  7961  
  7962  	// ForceSendFields is a list of field names (e.g. "Description") to
  7963  	// unconditionally include in API requests. By default, fields with
  7964  	// empty or default values are omitted from API requests. However, any
  7965  	// non-pointer, non-interface field appearing in ForceSendFields will be
  7966  	// sent to the server regardless of whether the field is empty or not.
  7967  	// This may be used to include empty fields in Patch requests.
  7968  	ForceSendFields []string `json:"-"`
  7969  
  7970  	// NullFields is a list of field names (e.g. "Description") to include
  7971  	// in API requests with the JSON null value. By default, fields with
  7972  	// empty values are omitted from API requests. However, any field with
  7973  	// an empty value appearing in NullFields will be sent to the server as
  7974  	// null. It is an error if a field in this list has a non-empty value.
  7975  	// This may be used to include null fields in Patch requests.
  7976  	NullFields []string `json:"-"`
  7977  }
  7978  
  7979  func (s *GoogleCloudIntegrationsV1alphaErrorCatcherConfig) MarshalJSON() ([]byte, error) {
  7980  	type NoMethod GoogleCloudIntegrationsV1alphaErrorCatcherConfig
  7981  	raw := NoMethod(*s)
  7982  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  7983  }
  7984  
  7985  // GoogleCloudIntegrationsV1alphaEventParameter: This message is used
  7986  // for processing and persisting (when applicable) key value pair
  7987  // parameters for each event in the event bus.
  7988  type GoogleCloudIntegrationsV1alphaEventParameter struct {
  7989  	// Key: Key is used to retrieve the corresponding parameter value. This
  7990  	// should be unique for a given fired event. These parameters must be
  7991  	// predefined in the integration definition.
  7992  	Key string `json:"key,omitempty"`
  7993  
  7994  	// Value: Values for the defined keys. Each value can either be string,
  7995  	// int, double or any proto message.
  7996  	Value *GoogleCloudIntegrationsV1alphaValueType `json:"value,omitempty"`
  7997  
  7998  	// ForceSendFields is a list of field names (e.g. "Key") to
  7999  	// unconditionally include in API requests. By default, fields with
  8000  	// empty or default values are omitted from API requests. However, any
  8001  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8002  	// sent to the server regardless of whether the field is empty or not.
  8003  	// This may be used to include empty fields in Patch requests.
  8004  	ForceSendFields []string `json:"-"`
  8005  
  8006  	// NullFields is a list of field names (e.g. "Key") to include in API
  8007  	// requests with the JSON null value. By default, fields with empty
  8008  	// values are omitted from API requests. However, any field with an
  8009  	// empty value appearing in NullFields will be sent to the server as
  8010  	// null. It is an error if a field in this list has a non-empty value.
  8011  	// This may be used to include null fields in Patch requests.
  8012  	NullFields []string `json:"-"`
  8013  }
  8014  
  8015  func (s *GoogleCloudIntegrationsV1alphaEventParameter) MarshalJSON() ([]byte, error) {
  8016  	type NoMethod GoogleCloudIntegrationsV1alphaEventParameter
  8017  	raw := NoMethod(*s)
  8018  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8019  }
  8020  
  8021  // GoogleCloudIntegrationsV1alphaExecuteEventRequest: Request for
  8022  // triggering an integration using event triggers.
  8023  type GoogleCloudIntegrationsV1alphaExecuteEventRequest struct {
  8024  	// CloudEvent: Required. Details about the trigger which is to be
  8025  	// executed and values for input variable to the integration.
  8026  	CloudEvent *IoCloudeventsV1CloudEvent `json:"cloudEvent,omitempty"`
  8027  
  8028  	// ForceSendFields is a list of field names (e.g. "CloudEvent") to
  8029  	// unconditionally include in API requests. By default, fields with
  8030  	// empty or default values are omitted from API requests. However, any
  8031  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8032  	// sent to the server regardless of whether the field is empty or not.
  8033  	// This may be used to include empty fields in Patch requests.
  8034  	ForceSendFields []string `json:"-"`
  8035  
  8036  	// NullFields is a list of field names (e.g. "CloudEvent") to include in
  8037  	// API requests with the JSON null value. By default, fields with empty
  8038  	// values are omitted from API requests. However, any field with an
  8039  	// empty value appearing in NullFields will be sent to the server as
  8040  	// null. It is an error if a field in this list has a non-empty value.
  8041  	// This may be used to include null fields in Patch requests.
  8042  	NullFields []string `json:"-"`
  8043  }
  8044  
  8045  func (s *GoogleCloudIntegrationsV1alphaExecuteEventRequest) MarshalJSON() ([]byte, error) {
  8046  	type NoMethod GoogleCloudIntegrationsV1alphaExecuteEventRequest
  8047  	raw := NoMethod(*s)
  8048  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8049  }
  8050  
  8051  // GoogleCloudIntegrationsV1alphaExecuteEventResponse: The response for
  8052  // executing an integration.
  8053  type GoogleCloudIntegrationsV1alphaExecuteEventResponse struct {
  8054  	// ExecutionId: The id of the execution corresponding to this run of
  8055  	// integration.
  8056  	ExecutionId string `json:"executionId,omitempty"`
  8057  
  8058  	// ServerResponse contains the HTTP response code and headers from the
  8059  	// server.
  8060  	googleapi.ServerResponse `json:"-"`
  8061  
  8062  	// ForceSendFields is a list of field names (e.g. "ExecutionId") to
  8063  	// unconditionally include in API requests. By default, fields with
  8064  	// empty or default values are omitted from API requests. However, any
  8065  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8066  	// sent to the server regardless of whether the field is empty or not.
  8067  	// This may be used to include empty fields in Patch requests.
  8068  	ForceSendFields []string `json:"-"`
  8069  
  8070  	// NullFields is a list of field names (e.g. "ExecutionId") to include
  8071  	// in API requests with the JSON null value. By default, fields with
  8072  	// empty values are omitted from API requests. However, any field with
  8073  	// an empty value appearing in NullFields will be sent to the server as
  8074  	// null. It is an error if a field in this list has a non-empty value.
  8075  	// This may be used to include null fields in Patch requests.
  8076  	NullFields []string `json:"-"`
  8077  }
  8078  
  8079  func (s *GoogleCloudIntegrationsV1alphaExecuteEventResponse) MarshalJSON() ([]byte, error) {
  8080  	type NoMethod GoogleCloudIntegrationsV1alphaExecuteEventResponse
  8081  	raw := NoMethod(*s)
  8082  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8083  }
  8084  
  8085  // GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest: The request
  8086  // for executing an integration.
  8087  type GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest struct {
  8088  	// DoNotPropagateError: Optional. Flag to determine how to should
  8089  	// propagate errors. If this flag is set to be true, it will not throw
  8090  	// an exception. Instead, it will return a {@link
  8091  	// ExecuteIntegrationsResponse} with an execution id and error messages
  8092  	// as PostWithTriggerIdExecutionException in {@link EventParameters}.
  8093  	// The flag is set to be false by default.
  8094  	DoNotPropagateError bool `json:"doNotPropagateError,omitempty"`
  8095  
  8096  	// ExecutionId: Optional. The id of the ON_HOLD execution to be resumed.
  8097  	ExecutionId string `json:"executionId,omitempty"`
  8098  
  8099  	// InputParameters: Optional. Input parameters used by integration
  8100  	// execution.
  8101  	InputParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"inputParameters,omitempty"`
  8102  
  8103  	// ParameterEntries: Optional. Parameters are a part of Event and can be
  8104  	// used to communicate between different tasks that are part of the same
  8105  	// integration execution.
  8106  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
  8107  
  8108  	// Parameters: Optional. Passed in as parameters to each integration
  8109  	// execution. Redacted
  8110  	Parameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"parameters,omitempty"`
  8111  
  8112  	// RequestId: Optional. This is used to de-dup incoming request: if the
  8113  	// duplicate request was detected, the response from the previous
  8114  	// execution is returned.
  8115  	RequestId string `json:"requestId,omitempty"`
  8116  
  8117  	// TriggerId: Required. Matched against all {@link TriggerConfig}s
  8118  	// across all integrations. i.e.
  8119  	// TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the
  8120  	// format of `api_trigger/TRIGGER_NAME`.
  8121  	TriggerId string `json:"triggerId,omitempty"`
  8122  
  8123  	// ForceSendFields is a list of field names (e.g. "DoNotPropagateError")
  8124  	// to unconditionally include in API requests. By default, fields with
  8125  	// empty or default values are omitted from API requests. However, any
  8126  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8127  	// sent to the server regardless of whether the field is empty or not.
  8128  	// This may be used to include empty fields in Patch requests.
  8129  	ForceSendFields []string `json:"-"`
  8130  
  8131  	// NullFields is a list of field names (e.g. "DoNotPropagateError") to
  8132  	// include in API requests with the JSON null value. By default, fields
  8133  	// with empty values are omitted from API requests. However, any field
  8134  	// with an empty value appearing in NullFields will be sent to the
  8135  	// server as null. It is an error if a field in this list has a
  8136  	// non-empty value. This may be used to include null fields in Patch
  8137  	// requests.
  8138  	NullFields []string `json:"-"`
  8139  }
  8140  
  8141  func (s *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) MarshalJSON() ([]byte, error) {
  8142  	type NoMethod GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest
  8143  	raw := NoMethod(*s)
  8144  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8145  }
  8146  
  8147  // GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse: The
  8148  // response for executing an integration.
  8149  type GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse struct {
  8150  	// EventParameters: Details for the integration that were executed.
  8151  	EventParameters *EnterpriseCrmFrontendsEventbusProtoEventParameters `json:"eventParameters,omitempty"`
  8152  
  8153  	// ExecutionFailed: Is true if any execution in the integration failed.
  8154  	// False otherwise.
  8155  	ExecutionFailed bool `json:"executionFailed,omitempty"`
  8156  
  8157  	// ExecutionId: The id of the execution corresponding to this run of
  8158  	// integration.
  8159  	ExecutionId string `json:"executionId,omitempty"`
  8160  
  8161  	// OutputParameters: OUTPUT parameters in format of Map. Where Key is
  8162  	// the name of the parameter. Note: Name of the system generated
  8163  	// parameters are wrapped by backtick(`) to distinguish them from the
  8164  	// user defined parameters.
  8165  	OutputParameters googleapi.RawMessage `json:"outputParameters,omitempty"`
  8166  
  8167  	// ParameterEntries: Parameters are a part of Event and can be used to
  8168  	// communicate between different tasks that are part of the same
  8169  	// integration execution.
  8170  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
  8171  
  8172  	// ServerResponse contains the HTTP response code and headers from the
  8173  	// server.
  8174  	googleapi.ServerResponse `json:"-"`
  8175  
  8176  	// ForceSendFields is a list of field names (e.g. "EventParameters") to
  8177  	// unconditionally include in API requests. By default, fields with
  8178  	// empty or default values are omitted from API requests. However, any
  8179  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8180  	// sent to the server regardless of whether the field is empty or not.
  8181  	// This may be used to include empty fields in Patch requests.
  8182  	ForceSendFields []string `json:"-"`
  8183  
  8184  	// NullFields is a list of field names (e.g. "EventParameters") to
  8185  	// include in API requests with the JSON null value. By default, fields
  8186  	// with empty values are omitted from API requests. However, any field
  8187  	// with an empty value appearing in NullFields will be sent to the
  8188  	// server as null. It is an error if a field in this list has a
  8189  	// non-empty value. This may be used to include null fields in Patch
  8190  	// requests.
  8191  	NullFields []string `json:"-"`
  8192  }
  8193  
  8194  func (s *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse) MarshalJSON() ([]byte, error) {
  8195  	type NoMethod GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse
  8196  	raw := NoMethod(*s)
  8197  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8198  }
  8199  
  8200  // GoogleCloudIntegrationsV1alphaExecution: The Execution resource
  8201  // contains detailed information of an individual integration execution.
  8202  type GoogleCloudIntegrationsV1alphaExecution struct {
  8203  	// CreateTime: Output only. Created time of the execution.
  8204  	CreateTime string `json:"createTime,omitempty"`
  8205  
  8206  	// DirectSubExecutions: Direct sub executions of the following
  8207  	// Execution.
  8208  	DirectSubExecutions []*GoogleCloudIntegrationsV1alphaExecution `json:"directSubExecutions,omitempty"`
  8209  
  8210  	// EventExecutionDetails: The execution info about this event.
  8211  	EventExecutionDetails *EnterpriseCrmEventbusProtoEventExecutionDetails `json:"eventExecutionDetails,omitempty"`
  8212  
  8213  	// ExecutionDetails: Detailed info of this execution.
  8214  	ExecutionDetails *GoogleCloudIntegrationsV1alphaExecutionDetails `json:"executionDetails,omitempty"`
  8215  
  8216  	// ExecutionMethod: The ways user posts this event.
  8217  	//
  8218  	// Possible values:
  8219  	//   "EXECUTION_METHOD_UNSPECIFIED" - Default value.
  8220  	//   "POST" - Sync post.
  8221  	//   "POST_TO_QUEUE" - Async post.
  8222  	//   "SCHEDULE" - Async post with schedule time.
  8223  	ExecutionMethod string `json:"executionMethod,omitempty"`
  8224  
  8225  	// Name: Auto-generated primary key.
  8226  	Name string `json:"name,omitempty"`
  8227  
  8228  	// RequestParameters: Event parameters come in as part of the request.
  8229  	RequestParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"requestParameters,omitempty"`
  8230  
  8231  	// RequestParams: Event parameters come in as part of the request.
  8232  	RequestParams []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"requestParams,omitempty"`
  8233  
  8234  	// ResponseParameters: Event parameters returned as part of the
  8235  	// response.
  8236  	ResponseParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"responseParameters,omitempty"`
  8237  
  8238  	// ResponseParams: Event parameters come out as part of the response.
  8239  	ResponseParams []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"responseParams,omitempty"`
  8240  
  8241  	// TriggerId: The trigger id of the integration trigger config. If both
  8242  	// trigger_id and client_id is present, the integration is executed from
  8243  	// the start tasks provided by the matching trigger config otherwise it
  8244  	// is executed from the default start tasks.
  8245  	TriggerId string `json:"triggerId,omitempty"`
  8246  
  8247  	// UpdateTime: Output only. Last modified time of the execution.
  8248  	UpdateTime string `json:"updateTime,omitempty"`
  8249  
  8250  	// ServerResponse contains the HTTP response code and headers from the
  8251  	// server.
  8252  	googleapi.ServerResponse `json:"-"`
  8253  
  8254  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  8255  	// unconditionally include in API requests. By default, fields with
  8256  	// empty or default values are omitted from API requests. However, any
  8257  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8258  	// sent to the server regardless of whether the field is empty or not.
  8259  	// This may be used to include empty fields in Patch requests.
  8260  	ForceSendFields []string `json:"-"`
  8261  
  8262  	// NullFields is a list of field names (e.g. "CreateTime") to include in
  8263  	// API requests with the JSON null value. By default, fields with empty
  8264  	// values are omitted from API requests. However, any field with an
  8265  	// empty value appearing in NullFields will be sent to the server as
  8266  	// null. It is an error if a field in this list has a non-empty value.
  8267  	// This may be used to include null fields in Patch requests.
  8268  	NullFields []string `json:"-"`
  8269  }
  8270  
  8271  func (s *GoogleCloudIntegrationsV1alphaExecution) MarshalJSON() ([]byte, error) {
  8272  	type NoMethod GoogleCloudIntegrationsV1alphaExecution
  8273  	raw := NoMethod(*s)
  8274  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8275  }
  8276  
  8277  // GoogleCloudIntegrationsV1alphaExecutionDetails: Contains the details
  8278  // of the execution info: this includes the tasks execution details plus
  8279  // the event execution statistics.
  8280  type GoogleCloudIntegrationsV1alphaExecutionDetails struct {
  8281  	// AttemptStats: List of Start and end time of the execution attempts.
  8282  	AttemptStats []*GoogleCloudIntegrationsV1alphaAttemptStats `json:"attemptStats,omitempty"`
  8283  
  8284  	// ExecutionSnapshots: List of snapshots taken during the execution.
  8285  	ExecutionSnapshots []*GoogleCloudIntegrationsV1alphaExecutionSnapshot `json:"executionSnapshots,omitempty"`
  8286  
  8287  	// State: Status of the execution.
  8288  	//
  8289  	// Possible values:
  8290  	//   "STATE_UNSPECIFIED" - Default.
  8291  	//   "PENDING" - Execution is scheduled and awaiting to be triggered.
  8292  	//   "PROCESSING" - Execution is processing.
  8293  	//   "SUCCEEDED" - Execution successfully finished. There's no more
  8294  	// change after this state.
  8295  	//   "FAILED" - Execution failed. There's no more change after this
  8296  	// state.
  8297  	//   "CANCELLED" - Execution canceled by user. There's no more change
  8298  	// after this state.
  8299  	//   "RETRY_ON_HOLD" - Execution failed and waiting for retry.
  8300  	//   "SUSPENDED" - Execution suspended and waiting for manual
  8301  	// intervention.
  8302  	State string `json:"state,omitempty"`
  8303  
  8304  	// ForceSendFields is a list of field names (e.g. "AttemptStats") to
  8305  	// unconditionally include in API requests. By default, fields with
  8306  	// empty or default values are omitted from API requests. However, any
  8307  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8308  	// sent to the server regardless of whether the field is empty or not.
  8309  	// This may be used to include empty fields in Patch requests.
  8310  	ForceSendFields []string `json:"-"`
  8311  
  8312  	// NullFields is a list of field names (e.g. "AttemptStats") to include
  8313  	// in API requests with the JSON null value. By default, fields with
  8314  	// empty values are omitted from API requests. However, any field with
  8315  	// an empty value appearing in NullFields will be sent to the server as
  8316  	// null. It is an error if a field in this list has a non-empty value.
  8317  	// This may be used to include null fields in Patch requests.
  8318  	NullFields []string `json:"-"`
  8319  }
  8320  
  8321  func (s *GoogleCloudIntegrationsV1alphaExecutionDetails) MarshalJSON() ([]byte, error) {
  8322  	type NoMethod GoogleCloudIntegrationsV1alphaExecutionDetails
  8323  	raw := NoMethod(*s)
  8324  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8325  }
  8326  
  8327  // GoogleCloudIntegrationsV1alphaExecutionSnapshot: Contains the
  8328  // snapshot of the execution for a given checkpoint.
  8329  type GoogleCloudIntegrationsV1alphaExecutionSnapshot struct {
  8330  	// CheckpointTaskNumber: Indicates "after which checkpoint task's
  8331  	// execution" this snapshot is taken.
  8332  	CheckpointTaskNumber string `json:"checkpointTaskNumber,omitempty"`
  8333  
  8334  	// ExecutionSnapshotMetadata: Metadata of the execution snapshot.
  8335  	ExecutionSnapshotMetadata *GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata `json:"executionSnapshotMetadata,omitempty"`
  8336  
  8337  	// Params: Parameters used during the execution.
  8338  	Params map[string]GoogleCloudIntegrationsV1alphaValueType `json:"params,omitempty"`
  8339  
  8340  	// TaskExecutionDetails: All of the task execution details at the given
  8341  	// point of time.
  8342  	TaskExecutionDetails []*GoogleCloudIntegrationsV1alphaTaskExecutionDetails `json:"taskExecutionDetails,omitempty"`
  8343  
  8344  	// ForceSendFields is a list of field names (e.g.
  8345  	// "CheckpointTaskNumber") to unconditionally include in API requests.
  8346  	// By default, fields with empty or default values are omitted from API
  8347  	// requests. However, any non-pointer, non-interface field appearing in
  8348  	// ForceSendFields will be sent to the server regardless of whether the
  8349  	// field is empty or not. This may be used to include empty fields in
  8350  	// Patch requests.
  8351  	ForceSendFields []string `json:"-"`
  8352  
  8353  	// NullFields is a list of field names (e.g. "CheckpointTaskNumber") to
  8354  	// include in API requests with the JSON null value. By default, fields
  8355  	// with empty values are omitted from API requests. However, any field
  8356  	// with an empty value appearing in NullFields will be sent to the
  8357  	// server as null. It is an error if a field in this list has a
  8358  	// non-empty value. This may be used to include null fields in Patch
  8359  	// requests.
  8360  	NullFields []string `json:"-"`
  8361  }
  8362  
  8363  func (s *GoogleCloudIntegrationsV1alphaExecutionSnapshot) MarshalJSON() ([]byte, error) {
  8364  	type NoMethod GoogleCloudIntegrationsV1alphaExecutionSnapshot
  8365  	raw := NoMethod(*s)
  8366  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8367  }
  8368  
  8369  // GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetada
  8370  // ta: Metadata of the execution snapshot.
  8371  type GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata struct {
  8372  	// ExecutionAttempt: the execution attempt number this snapshot belongs
  8373  	// to.
  8374  	ExecutionAttempt int64 `json:"executionAttempt,omitempty"`
  8375  
  8376  	// Task: the task name associated with this snapshot.
  8377  	Task string `json:"task,omitempty"`
  8378  
  8379  	// TaskAttempt: the task attempt number this snapshot belongs to.
  8380  	TaskAttempt int64 `json:"taskAttempt,omitempty"`
  8381  
  8382  	// TaskLabel: the task label associated with this snapshot. Could be
  8383  	// empty.
  8384  	TaskLabel string `json:"taskLabel,omitempty"`
  8385  
  8386  	// TaskNumber: The task number associated with this snapshot.
  8387  	TaskNumber string `json:"taskNumber,omitempty"`
  8388  
  8389  	// ForceSendFields is a list of field names (e.g. "ExecutionAttempt") to
  8390  	// unconditionally include in API requests. By default, fields with
  8391  	// empty or default values are omitted from API requests. However, any
  8392  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8393  	// sent to the server regardless of whether the field is empty or not.
  8394  	// This may be used to include empty fields in Patch requests.
  8395  	ForceSendFields []string `json:"-"`
  8396  
  8397  	// NullFields is a list of field names (e.g. "ExecutionAttempt") to
  8398  	// include in API requests with the JSON null value. By default, fields
  8399  	// with empty values are omitted from API requests. However, any field
  8400  	// with an empty value appearing in NullFields will be sent to the
  8401  	// server as null. It is an error if a field in this list has a
  8402  	// non-empty value. This may be used to include null fields in Patch
  8403  	// requests.
  8404  	NullFields []string `json:"-"`
  8405  }
  8406  
  8407  func (s *GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata) MarshalJSON() ([]byte, error) {
  8408  	type NoMethod GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata
  8409  	raw := NoMethod(*s)
  8410  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8411  }
  8412  
  8413  // GoogleCloudIntegrationsV1alphaFailurePolicy: Policy that defines the
  8414  // task retry logic and failure type. If no FailurePolicy is defined for
  8415  // a task, all its dependent tasks will not be executed (i.e, a
  8416  // `retry_strategy` of NONE will be applied).
  8417  type GoogleCloudIntegrationsV1alphaFailurePolicy struct {
  8418  	// IntervalTime: Required if retry_strategy is FIXED_INTERVAL or
  8419  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines
  8420  	// the initial interval in seconds for backoff.
  8421  	IntervalTime string `json:"intervalTime,omitempty"`
  8422  
  8423  	// MaxRetries: Required if retry_strategy is FIXED_INTERVAL or
  8424  	// LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines
  8425  	// the number of times the task will be retried if failed.
  8426  	MaxRetries int64 `json:"maxRetries,omitempty"`
  8427  
  8428  	// RetryStrategy: Defines what happens to the task upon failure.
  8429  	//
  8430  	// Possible values:
  8431  	//   "RETRY_STRATEGY_UNSPECIFIED" - UNSPECIFIED.
  8432  	//   "IGNORE" - Ignores the failure of this task. The rest of the
  8433  	// integration will be executed Assuming this task succeeded.
  8434  	//   "NONE" - Causes a permanent failure of the task. However, if the
  8435  	// last task(s) of event was successfully completed despite the failure
  8436  	// of this task, it has no impact on the integration.
  8437  	//   "FATAL" - Causes a permanent failure of the event. It is different
  8438  	// from NONE because this will mark the event as FAILED by shutting down
  8439  	// the event execution.
  8440  	//   "FIXED_INTERVAL" - The task will be retried from the failed task
  8441  	// onwards after a fixed delay. A max-retry count is required to be
  8442  	// specified with this strategy. A jitter is added to each exponential
  8443  	// interval so that concurrently failing tasks of the same type do not
  8444  	// end up retrying after the exact same exponential interval.
  8445  	// max_retries and interval_in_seconds must be specified.
  8446  	//   "LINEAR_BACKOFF" - The task will be retried from the failed task
  8447  	// onwards after a fixed delay that linearly increases with each retry
  8448  	// attempt. A jitter is added to each exponential interval so that
  8449  	// concurrently failing tasks of the same type do not end up retrying
  8450  	// after the exact same exponential interval. A max-retry count is
  8451  	// required to be specified with this strategy. max_retries and
  8452  	// interval_in_seconds must be specified.
  8453  	//   "EXPONENTIAL_BACKOFF" - The task will be retried after an
  8454  	// exponentially increasing period of time with each failure. A jitter
  8455  	// is added to each exponential interval so that concurrently failing
  8456  	// tasks of the same type do not end up retrying after the exact same
  8457  	// exponential interval. A max-retry count is required to be specified
  8458  	// with this strategy. `max_retries` and `interval_in_seconds` must be
  8459  	// specified.
  8460  	//   "RESTART_INTEGRATION_WITH_BACKOFF" - The entire integration will be
  8461  	// restarted with the initial parameters that were set when the event
  8462  	// was fired. A max-retry count is required to be specified with this
  8463  	// strategy. `max_retries` and `interval_in_seconds` must be specified.
  8464  	RetryStrategy string `json:"retryStrategy,omitempty"`
  8465  
  8466  	// ForceSendFields is a list of field names (e.g. "IntervalTime") to
  8467  	// unconditionally include in API requests. By default, fields with
  8468  	// empty or default values are omitted from API requests. However, any
  8469  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8470  	// sent to the server regardless of whether the field is empty or not.
  8471  	// This may be used to include empty fields in Patch requests.
  8472  	ForceSendFields []string `json:"-"`
  8473  
  8474  	// NullFields is a list of field names (e.g. "IntervalTime") to include
  8475  	// in API requests with the JSON null value. By default, fields with
  8476  	// empty values are omitted from API requests. However, any field with
  8477  	// an empty value appearing in NullFields will be sent to the server as
  8478  	// null. It is an error if a field in this list has a non-empty value.
  8479  	// This may be used to include null fields in Patch requests.
  8480  	NullFields []string `json:"-"`
  8481  }
  8482  
  8483  func (s *GoogleCloudIntegrationsV1alphaFailurePolicy) MarshalJSON() ([]byte, error) {
  8484  	type NoMethod GoogleCloudIntegrationsV1alphaFailurePolicy
  8485  	raw := NoMethod(*s)
  8486  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8487  }
  8488  
  8489  // GoogleCloudIntegrationsV1alphaGenerateTokenResponse: Returns success
  8490  // or error message
  8491  type GoogleCloudIntegrationsV1alphaGenerateTokenResponse struct {
  8492  	// Message: The message that notifies the user if the request succeeded
  8493  	// or not.
  8494  	Message string `json:"message,omitempty"`
  8495  
  8496  	// ServerResponse contains the HTTP response code and headers from the
  8497  	// server.
  8498  	googleapi.ServerResponse `json:"-"`
  8499  
  8500  	// ForceSendFields is a list of field names (e.g. "Message") to
  8501  	// unconditionally include in API requests. By default, fields with
  8502  	// empty or default values are omitted from API requests. However, any
  8503  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8504  	// sent to the server regardless of whether the field is empty or not.
  8505  	// This may be used to include empty fields in Patch requests.
  8506  	ForceSendFields []string `json:"-"`
  8507  
  8508  	// NullFields is a list of field names (e.g. "Message") to include in
  8509  	// API requests with the JSON null value. By default, fields with empty
  8510  	// values are omitted from API requests. However, any field with an
  8511  	// empty value appearing in NullFields will be sent to the server as
  8512  	// null. It is an error if a field in this list has a non-empty value.
  8513  	// This may be used to include null fields in Patch requests.
  8514  	NullFields []string `json:"-"`
  8515  }
  8516  
  8517  func (s *GoogleCloudIntegrationsV1alphaGenerateTokenResponse) MarshalJSON() ([]byte, error) {
  8518  	type NoMethod GoogleCloudIntegrationsV1alphaGenerateTokenResponse
  8519  	raw := NoMethod(*s)
  8520  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8521  }
  8522  
  8523  // GoogleCloudIntegrationsV1alphaIntParameterArray: This message only
  8524  // contains a field of integer array.
  8525  type GoogleCloudIntegrationsV1alphaIntParameterArray struct {
  8526  	// IntValues: Integer array.
  8527  	IntValues googleapi.Int64s `json:"intValues,omitempty"`
  8528  
  8529  	// ForceSendFields is a list of field names (e.g. "IntValues") to
  8530  	// unconditionally include in API requests. By default, fields with
  8531  	// empty or default values are omitted from API requests. However, any
  8532  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8533  	// sent to the server regardless of whether the field is empty or not.
  8534  	// This may be used to include empty fields in Patch requests.
  8535  	ForceSendFields []string `json:"-"`
  8536  
  8537  	// NullFields is a list of field names (e.g. "IntValues") to include in
  8538  	// API requests with the JSON null value. By default, fields with empty
  8539  	// values are omitted from API requests. However, any field with an
  8540  	// empty value appearing in NullFields will be sent to the server as
  8541  	// null. It is an error if a field in this list has a non-empty value.
  8542  	// This may be used to include null fields in Patch requests.
  8543  	NullFields []string `json:"-"`
  8544  }
  8545  
  8546  func (s *GoogleCloudIntegrationsV1alphaIntParameterArray) MarshalJSON() ([]byte, error) {
  8547  	type NoMethod GoogleCloudIntegrationsV1alphaIntParameterArray
  8548  	raw := NoMethod(*s)
  8549  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8550  }
  8551  
  8552  // GoogleCloudIntegrationsV1alphaIntegration: The integration
  8553  // definition.
  8554  type GoogleCloudIntegrationsV1alphaIntegration struct {
  8555  	// Active: Required. If any integration version is published.
  8556  	Active bool `json:"active,omitempty"`
  8557  
  8558  	// Description: Optional.
  8559  	Description string `json:"description,omitempty"`
  8560  
  8561  	// Name: Required. The resource name of the integration.
  8562  	Name string `json:"name,omitempty"`
  8563  
  8564  	// UpdateTime: Output only. Auto-generated.
  8565  	UpdateTime string `json:"updateTime,omitempty"`
  8566  
  8567  	// ForceSendFields is a list of field names (e.g. "Active") to
  8568  	// unconditionally include in API requests. By default, fields with
  8569  	// empty or default values are omitted from API requests. However, any
  8570  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8571  	// sent to the server regardless of whether the field is empty or not.
  8572  	// This may be used to include empty fields in Patch requests.
  8573  	ForceSendFields []string `json:"-"`
  8574  
  8575  	// NullFields is a list of field names (e.g. "Active") to include in API
  8576  	// requests with the JSON null value. By default, fields with empty
  8577  	// values are omitted from API requests. However, any field with an
  8578  	// empty value appearing in NullFields will be sent to the server as
  8579  	// null. It is an error if a field in this list has a non-empty value.
  8580  	// This may be used to include null fields in Patch requests.
  8581  	NullFields []string `json:"-"`
  8582  }
  8583  
  8584  func (s *GoogleCloudIntegrationsV1alphaIntegration) MarshalJSON() ([]byte, error) {
  8585  	type NoMethod GoogleCloudIntegrationsV1alphaIntegration
  8586  	raw := NoMethod(*s)
  8587  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8588  }
  8589  
  8590  // GoogleCloudIntegrationsV1alphaIntegrationAlertConfig: Message to be
  8591  // used to configure custom alerting in the {@code EventConfig} protos
  8592  // for an event.
  8593  type GoogleCloudIntegrationsV1alphaIntegrationAlertConfig struct {
  8594  	// AggregationPeriod: The period over which the metric value should be
  8595  	// aggregated and evaluated. Format is , where integer should be a
  8596  	// positive integer and unit should be one of (s,m,h,d,w) meaning
  8597  	// (second, minute, hour, day, week). For an EXPECTED_MIN threshold,
  8598  	// this aggregation_period must be lesser than 24 hours.
  8599  	AggregationPeriod string `json:"aggregationPeriod,omitempty"`
  8600  
  8601  	// AlertThreshold: For how many contiguous aggregation periods should
  8602  	// the expected min or max be violated for the alert to be fired.
  8603  	AlertThreshold int64 `json:"alertThreshold,omitempty"`
  8604  
  8605  	// DisableAlert: Set to false by default. When set to true, the metrics
  8606  	// are not aggregated or pushed to Monarch for this integration alert.
  8607  	DisableAlert bool `json:"disableAlert,omitempty"`
  8608  
  8609  	// DisplayName: Name of the alert. This will be displayed in the alert
  8610  	// subject. If set, this name should be unique within the scope of the
  8611  	// integration.
  8612  	DisplayName string `json:"displayName,omitempty"`
  8613  
  8614  	// DurationThreshold: Should be specified only for *AVERAGE_DURATION and
  8615  	// *PERCENTILE_DURATION metrics. This member should be used to specify
  8616  	// what duration value the metrics should exceed for the alert to
  8617  	// trigger.
  8618  	DurationThreshold string `json:"durationThreshold,omitempty"`
  8619  
  8620  	// MetricType: The type of metric.
  8621  	//
  8622  	// Possible values:
  8623  	//   "METRIC_TYPE_UNSPECIFIED" - The default value. Metric type should
  8624  	// always be set to one of the other non-default values, otherwise it
  8625  	// will result in an INVALID_ARGUMENT error.
  8626  	//   "EVENT_ERROR_RATE" - Specifies alerting on the rate of errors for
  8627  	// the enclosing integration.
  8628  	//   "EVENT_WARNING_RATE" - Specifies alerting on the rate of warnings
  8629  	// for the enclosing integration. Warnings use the same enum values as
  8630  	// errors.
  8631  	//   "TASK_ERROR_RATE" - Specifies alerting on the rate of errors for
  8632  	// any task in the enclosing integration.
  8633  	//   "TASK_WARNING_RATE" - Specifies alerting on the rate of warnings
  8634  	// for any task in the enclosing integration.
  8635  	//   "TASK_RATE" - Specifies alerting on the rate of executions over all
  8636  	// tasks in the enclosing integration.
  8637  	//   "EVENT_RATE" - Specifies alerting on the number of events executed
  8638  	// in the given aggregation_period.
  8639  	//   "EVENT_AVERAGE_DURATION" - Specifies alerting on the average
  8640  	// duration of executions for this integration.
  8641  	//   "EVENT_PERCENTILE_DURATION" - Specifies alerting on the duration
  8642  	// value of a particular percentile of integration executions. E.g. If
  8643  	// 10% or more of the integration executions have durations above 5
  8644  	// seconds, alert.
  8645  	//   "TASK_AVERAGE_DURATION" - Specifies alerting on the average
  8646  	// duration of any task in the enclosing integration,
  8647  	//   "TASK_PERCENTILE_DURATION" - Specifies alerting on the duration
  8648  	// value of a particular percentile of any task executions within the
  8649  	// enclosing integration. E.g. If 10% or more of the task executions in
  8650  	// the integration have durations above 5 seconds, alert.
  8651  	MetricType string `json:"metricType,omitempty"`
  8652  
  8653  	// OnlyFinalAttempt: For either events or tasks, depending on the type
  8654  	// of alert, count only final attempts, not retries.
  8655  	OnlyFinalAttempt bool `json:"onlyFinalAttempt,omitempty"`
  8656  
  8657  	// ThresholdType: The threshold type, whether lower(expected_min) or
  8658  	// upper(expected_max), for which this alert is being configured. If
  8659  	// value falls below expected_min or exceeds expected_max, an alert will
  8660  	// be fired.
  8661  	//
  8662  	// Possible values:
  8663  	//   "THRESHOLD_TYPE_UNSPECIFIED" - Default.
  8664  	//   "EXPECTED_MIN" - Note that this field will only trigger alerts if
  8665  	// the integration specifying it runs at least once in 24 hours (which
  8666  	// is our in-memory retention period for monarch streams). Also note
  8667  	// that `aggregation_period` for this alert configuration must be less
  8668  	// than 24 hours. Min value threshold.
  8669  	//   "EXPECTED_MAX" - Max value threshold.
  8670  	ThresholdType string `json:"thresholdType,omitempty"`
  8671  
  8672  	// ThresholdValue: The metric value, above or below which the alert
  8673  	// should be triggered.
  8674  	ThresholdValue *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue `json:"thresholdValue,omitempty"`
  8675  
  8676  	// ForceSendFields is a list of field names (e.g. "AggregationPeriod")
  8677  	// to unconditionally include in API requests. By default, fields with
  8678  	// empty or default values are omitted from API requests. However, any
  8679  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8680  	// sent to the server regardless of whether the field is empty or not.
  8681  	// This may be used to include empty fields in Patch requests.
  8682  	ForceSendFields []string `json:"-"`
  8683  
  8684  	// NullFields is a list of field names (e.g. "AggregationPeriod") to
  8685  	// include in API requests with the JSON null value. By default, fields
  8686  	// with empty values are omitted from API requests. However, any field
  8687  	// with an empty value appearing in NullFields will be sent to the
  8688  	// server as null. It is an error if a field in this list has a
  8689  	// non-empty value. This may be used to include null fields in Patch
  8690  	// requests.
  8691  	NullFields []string `json:"-"`
  8692  }
  8693  
  8694  func (s *GoogleCloudIntegrationsV1alphaIntegrationAlertConfig) MarshalJSON() ([]byte, error) {
  8695  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationAlertConfig
  8696  	raw := NoMethod(*s)
  8697  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8698  }
  8699  
  8700  // GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue:
  8701  // The threshold value of the metric, above or below which the alert
  8702  // should be triggered. See EventAlertConfig or TaskAlertConfig for the
  8703  // different alert metric types in each case. For the *RATE metrics, one
  8704  // or both of these fields may be set. Zero is the default value and can
  8705  // be left at that. For *PERCENTILE_DURATION metrics, one or both of
  8706  // these fields may be set, and also, the duration threshold value
  8707  // should be specified in the threshold_duration_ms member below. For
  8708  // *AVERAGE_DURATION metrics, these fields should not be set at all. A
  8709  // different member, threshold_duration_ms, must be set in the
  8710  // EventAlertConfig or the TaskAlertConfig.
  8711  type GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue struct {
  8712  	// Absolute: Absolute value threshold.
  8713  	Absolute int64 `json:"absolute,omitempty,string"`
  8714  
  8715  	// Percentage: Percentage threshold.
  8716  	Percentage int64 `json:"percentage,omitempty"`
  8717  
  8718  	// ForceSendFields is a list of field names (e.g. "Absolute") to
  8719  	// unconditionally include in API requests. By default, fields with
  8720  	// empty or default values are omitted from API requests. However, any
  8721  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8722  	// sent to the server regardless of whether the field is empty or not.
  8723  	// This may be used to include empty fields in Patch requests.
  8724  	ForceSendFields []string `json:"-"`
  8725  
  8726  	// NullFields is a list of field names (e.g. "Absolute") to include in
  8727  	// API requests with the JSON null value. By default, fields with empty
  8728  	// values are omitted from API requests. However, any field with an
  8729  	// empty value appearing in NullFields will be sent to the server as
  8730  	// null. It is an error if a field in this list has a non-empty value.
  8731  	// This may be used to include null fields in Patch requests.
  8732  	NullFields []string `json:"-"`
  8733  }
  8734  
  8735  func (s *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue) MarshalJSON() ([]byte, error) {
  8736  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue
  8737  	raw := NoMethod(*s)
  8738  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8739  }
  8740  
  8741  // GoogleCloudIntegrationsV1alphaIntegrationParameter: Integration
  8742  // Parameter is defined in the integration config and are used to
  8743  // provide information about data types of the expected parameters and
  8744  // provide any default values if needed. They can also be used to add
  8745  // custom attributes. These are static in nature and should not be used
  8746  // for dynamic event definition.
  8747  type GoogleCloudIntegrationsV1alphaIntegrationParameter struct {
  8748  	// DataType: Type of the parameter.
  8749  	//
  8750  	// Possible values:
  8751  	//   "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED" - Unspecified.
  8752  	//   "STRING_VALUE" - String.
  8753  	//   "INT_VALUE" - Integer.
  8754  	//   "DOUBLE_VALUE" - Double Number.
  8755  	//   "BOOLEAN_VALUE" - Boolean.
  8756  	//   "STRING_ARRAY" - String Array.
  8757  	//   "INT_ARRAY" - Integer Array.
  8758  	//   "DOUBLE_ARRAY" - Double Number Array.
  8759  	//   "BOOLEAN_ARRAY" - Boolean Array.
  8760  	//   "JSON_VALUE" - Json.
  8761  	//   "PROTO_VALUE" - Proto Value (Internal use only).
  8762  	//   "PROTO_ARRAY" - Proto Array (Internal use only).
  8763  	DataType string `json:"dataType,omitempty"`
  8764  
  8765  	// DefaultValue: Default values for the defined keys. Each value can
  8766  	// either be string, int, double or any proto message or a serialized
  8767  	// object.
  8768  	DefaultValue *GoogleCloudIntegrationsV1alphaValueType `json:"defaultValue,omitempty"`
  8769  
  8770  	// DisplayName: The name (without prefix) to be displayed in the UI for
  8771  	// this parameter. E.g. if the key is "foo.bar.myName", then the name
  8772  	// would be "myName".
  8773  	DisplayName string `json:"displayName,omitempty"`
  8774  
  8775  	// InputOutputType: Specifies the input/output type for the parameter.
  8776  	//
  8777  	// Possible values:
  8778  	//   "IN_OUT_TYPE_UNSPECIFIED" - Default.
  8779  	//   "IN" - Input parameters for the integration. EventBus validates
  8780  	// that these parameters exist in the integrations before execution.
  8781  	//   "OUT" - Output Parameters for the integration. EventBus will only
  8782  	// return the integration parameters tagged with OUT in the response
  8783  	// back.
  8784  	//   "IN_OUT" - Input and Output Parameters. These can be used as both
  8785  	// input and output. EventBus will validate for the existence of these
  8786  	// parameters before execution and will also return this parameter back
  8787  	// in the response.
  8788  	InputOutputType string `json:"inputOutputType,omitempty"`
  8789  
  8790  	// IsTransient: Whether this parameter is a transient parameter.
  8791  	IsTransient bool `json:"isTransient,omitempty"`
  8792  
  8793  	// JsonSchema: This schema will be used to validate runtime JSON-typed
  8794  	// values of this parameter.
  8795  	JsonSchema string `json:"jsonSchema,omitempty"`
  8796  
  8797  	// Key: Key is used to retrieve the corresponding parameter value. This
  8798  	// should be unique for a given fired event. These parameters must be
  8799  	// predefined in the integration definition.
  8800  	Key string `json:"key,omitempty"`
  8801  
  8802  	// Producer: The identifier of the node (TaskConfig/TriggerConfig) this
  8803  	// parameter was produced by, if it is a transient param or a copy of an
  8804  	// input param.
  8805  	Producer string `json:"producer,omitempty"`
  8806  
  8807  	// Searchable: Searchable in the execution log or not.
  8808  	Searchable bool `json:"searchable,omitempty"`
  8809  
  8810  	// ForceSendFields is a list of field names (e.g. "DataType") to
  8811  	// unconditionally include in API requests. By default, fields with
  8812  	// empty or default values are omitted from API requests. However, any
  8813  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8814  	// sent to the server regardless of whether the field is empty or not.
  8815  	// This may be used to include empty fields in Patch requests.
  8816  	ForceSendFields []string `json:"-"`
  8817  
  8818  	// NullFields is a list of field names (e.g. "DataType") to include in
  8819  	// API requests with the JSON null value. By default, fields with empty
  8820  	// values are omitted from API requests. However, any field with an
  8821  	// empty value appearing in NullFields will be sent to the server as
  8822  	// null. It is an error if a field in this list has a non-empty value.
  8823  	// This may be used to include null fields in Patch requests.
  8824  	NullFields []string `json:"-"`
  8825  }
  8826  
  8827  func (s *GoogleCloudIntegrationsV1alphaIntegrationParameter) MarshalJSON() ([]byte, error) {
  8828  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationParameter
  8829  	raw := NoMethod(*s)
  8830  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8831  }
  8832  
  8833  // GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion:
  8834  // IntegrationTemplateVersion definition. An IntegrationTemplateVersion
  8835  // provides configurations required to construct an IntegrationVersion.
  8836  // It cannot be executed directly like an Integration. Users can create
  8837  // IntegrationTemplateVersions using Integrations. These Templates can
  8838  // be shared by users across GCP projects.
  8839  type GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion struct {
  8840  	// CreateTime: Output only. Auto-generated.
  8841  	CreateTime string `json:"createTime,omitempty"`
  8842  
  8843  	// DatabasePersistencePolicy: Optional. Flag to disable database
  8844  	// persistence for execution data, including event execution info,
  8845  	// execution export info, execution metadata index and execution param
  8846  	// index.
  8847  	//
  8848  	// Possible values:
  8849  	//   "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED" - Enables persistence for
  8850  	// all execution data.
  8851  	//   "DATABASE_PERSISTENCE_DISABLED" - Disables persistence for all
  8852  	// execution data.
  8853  	DatabasePersistencePolicy string `json:"databasePersistencePolicy,omitempty"`
  8854  
  8855  	// Description: Optional. The templateversion description. Permitted
  8856  	// format is alphanumeric with underscores and no spaces.
  8857  	Description string `json:"description,omitempty"`
  8858  
  8859  	// ErrorCatcherConfigs: Optional. Error Catch Task configuration for the
  8860  	// IntegrationTemplateVersion. It's optional.
  8861  	ErrorCatcherConfigs []*GoogleCloudIntegrationsV1alphaErrorCatcherConfig `json:"errorCatcherConfigs,omitempty"`
  8862  
  8863  	// LastModifierEmail: Optional. The last modifier's email address.
  8864  	// Generated based on the End User Credentials/LOAS role of the user
  8865  	// making the call.
  8866  	LastModifierEmail string `json:"lastModifierEmail,omitempty"`
  8867  
  8868  	// Name: Output only. Auto-generated primary key. Format:
  8869  	// projects/{project}/locations/{location}/products/{product}/integration
  8870  	// templates/{integrationtemplate}/versions/{version}
  8871  	Name string `json:"name,omitempty"`
  8872  
  8873  	// ParentIntegrationVersionId: Optional. ID of the IntegrationVersion
  8874  	// that was used to create this IntegrationTemplateVersion
  8875  	ParentIntegrationVersionId string `json:"parentIntegrationVersionId,omitempty"`
  8876  
  8877  	// SnapshotNumber: Output only. An increasing sequence that is set when
  8878  	// a new snapshot is created.
  8879  	SnapshotNumber int64 `json:"snapshotNumber,omitempty,string"`
  8880  
  8881  	// Status: Optional. Generated by eventbus. User should not set it as an
  8882  	// input.
  8883  	//
  8884  	// Possible values:
  8885  	//   "UNKNOWN"
  8886  	//   "DRAFT"
  8887  	//   "ACTIVE"
  8888  	//   "ARCHIVED"
  8889  	//   "SNAPSHOT"
  8890  	Status string `json:"status,omitempty"`
  8891  
  8892  	// TaskConfigs: Optional. Task configuration for the
  8893  	// IntegrationTemplateVersion. It's optional, but the
  8894  	// IntegrationTemplateVersion doesn't do anything without task_configs.
  8895  	TaskConfigs []*EnterpriseCrmFrontendsEventbusProtoTaskConfig `json:"taskConfigs,omitempty"`
  8896  
  8897  	// Teardown: Optional. Contains a graph of tasks that will be executed
  8898  	// before putting the event in a terminal state
  8899  	// (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar
  8900  	// to "finally" in code.
  8901  	Teardown *EnterpriseCrmEventbusProtoTeardown `json:"teardown,omitempty"`
  8902  
  8903  	// TemplateParameters: Optional. Parameters that are expected to be
  8904  	// passed to the IntegrationTemplateVersion when an event is triggered.
  8905  	// This consists of all the parameters that are expected in the
  8906  	// IntegrationTemplateVersion execution. This gives the user the ability
  8907  	// to provide default values, add information like PII and also provide
  8908  	// data types of each parameter.
  8909  	TemplateParameters *EnterpriseCrmFrontendsEventbusProtoWorkflowParameters `json:"templateParameters,omitempty"`
  8910  
  8911  	// TriggerConfigs: Optional. Trigger configurations.
  8912  	TriggerConfigs []*EnterpriseCrmFrontendsEventbusProtoTriggerConfig `json:"triggerConfigs,omitempty"`
  8913  
  8914  	// UpdateTime: Output only. Auto-generated.
  8915  	UpdateTime string `json:"updateTime,omitempty"`
  8916  
  8917  	// UserLabel: Optional. A user-defined label that annotates an
  8918  	// integration version. Typically, this is only set when the integration
  8919  	// version is created.
  8920  	UserLabel string `json:"userLabel,omitempty"`
  8921  
  8922  	// ServerResponse contains the HTTP response code and headers from the
  8923  	// server.
  8924  	googleapi.ServerResponse `json:"-"`
  8925  
  8926  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  8927  	// unconditionally include in API requests. By default, fields with
  8928  	// empty or default values are omitted from API requests. However, any
  8929  	// non-pointer, non-interface field appearing in ForceSendFields will be
  8930  	// sent to the server regardless of whether the field is empty or not.
  8931  	// This may be used to include empty fields in Patch requests.
  8932  	ForceSendFields []string `json:"-"`
  8933  
  8934  	// NullFields is a list of field names (e.g. "CreateTime") to include in
  8935  	// API requests with the JSON null value. By default, fields with empty
  8936  	// values are omitted from API requests. However, any field with an
  8937  	// empty value appearing in NullFields will be sent to the server as
  8938  	// null. It is an error if a field in this list has a non-empty value.
  8939  	// This may be used to include null fields in Patch requests.
  8940  	NullFields []string `json:"-"`
  8941  }
  8942  
  8943  func (s *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion) MarshalJSON() ([]byte, error) {
  8944  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
  8945  	raw := NoMethod(*s)
  8946  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  8947  }
  8948  
  8949  // GoogleCloudIntegrationsV1alphaIntegrationVersion: The integration
  8950  // version definition.
  8951  type GoogleCloudIntegrationsV1alphaIntegrationVersion struct {
  8952  	// CreateTime: Output only. Auto-generated.
  8953  	CreateTime string `json:"createTime,omitempty"`
  8954  
  8955  	// DatabasePersistencePolicy: Optional. Flag to disable database
  8956  	// persistence for execution data, including event execution info,
  8957  	// execution export info, execution metadata index and execution param
  8958  	// index.
  8959  	//
  8960  	// Possible values:
  8961  	//   "DATABASE_PERSISTENCE_POLICY_UNSPECIFIED" - Enables persistence for
  8962  	// all execution data.
  8963  	//   "DATABASE_PERSISTENCE_DISABLED" - Disables persistence for all
  8964  	// execution data.
  8965  	DatabasePersistencePolicy string `json:"databasePersistencePolicy,omitempty"`
  8966  
  8967  	// Description: Optional. The integration description.
  8968  	Description string `json:"description,omitempty"`
  8969  
  8970  	// ErrorCatcherConfigs: Optional. Error Catch Task configuration for the
  8971  	// integration. It's optional.
  8972  	ErrorCatcherConfigs []*GoogleCloudIntegrationsV1alphaErrorCatcherConfig `json:"errorCatcherConfigs,omitempty"`
  8973  
  8974  	// IntegrationParameters: Optional. Parameters that are expected to be
  8975  	// passed to the integration when an event is triggered. This consists
  8976  	// of all the parameters that are expected in the integration execution.
  8977  	// This gives the user the ability to provide default values, add
  8978  	// information like PII and also provide data types of each parameter.
  8979  	IntegrationParameters []*GoogleCloudIntegrationsV1alphaIntegrationParameter `json:"integrationParameters,omitempty"`
  8980  
  8981  	// IntegrationParametersInternal: Optional. Parameters that are expected
  8982  	// to be passed to the integration when an event is triggered. This
  8983  	// consists of all the parameters that are expected in the integration
  8984  	// execution. This gives the user the ability to provide default values,
  8985  	// add information like PII and also provide data types of each
  8986  	// parameter.
  8987  	IntegrationParametersInternal *EnterpriseCrmFrontendsEventbusProtoWorkflowParameters `json:"integrationParametersInternal,omitempty"`
  8988  
  8989  	// LastModifierEmail: Optional. The last modifier's email address.
  8990  	// Generated based on the End User Credentials/LOAS role of the user
  8991  	// making the call.
  8992  	LastModifierEmail string `json:"lastModifierEmail,omitempty"`
  8993  
  8994  	// LockHolder: Optional. The edit lock holder's email address. Generated
  8995  	// based on the End User Credentials/LOAS role of the user making the
  8996  	// call.
  8997  	LockHolder string `json:"lockHolder,omitempty"`
  8998  
  8999  	// Name: Output only. Auto-generated primary key.
  9000  	Name string `json:"name,omitempty"`
  9001  
  9002  	// Origin: Optional. The origin that indicates where this integration is
  9003  	// coming from.
  9004  	//
  9005  	// Possible values:
  9006  	//   "UNSPECIFIED"
  9007  	//   "UI" - Workflow is being created via event bus UI.
  9008  	//   "PIPER_V2" - User checked in this workflow in Piper as v2 textproto
  9009  	// format and we synced it into spanner.
  9010  	//   "PIPER_V3" - User checked in this workflow in piper as v3 textproto
  9011  	// format and we synced it into spanner.
  9012  	//   "APPLICATION_IP_PROVISIONING" - Workflow is being created via
  9013  	// Standalone IP Provisioning
  9014  	Origin string `json:"origin,omitempty"`
  9015  
  9016  	// ParentTemplateId: Optional. The id of the template which was used to
  9017  	// create this integration_version.
  9018  	ParentTemplateId string `json:"parentTemplateId,omitempty"`
  9019  
  9020  	// RunAsServiceAccount: Optional. The run-as service account email, if
  9021  	// set and auth config is not configured, that will be used to generate
  9022  	// auth token to be used in Connector task, Rest caller task and Cloud
  9023  	// function task.
  9024  	RunAsServiceAccount string `json:"runAsServiceAccount,omitempty"`
  9025  
  9026  	// SnapshotNumber: Optional. An increasing sequence that is set when a
  9027  	// new snapshot is created. The last created snapshot can be identified
  9028  	// by [workflow_name, org_id latest(snapshot_number)]. However, last
  9029  	// created snapshot need not be same as the HEAD. So users should always
  9030  	// use "HEAD" tag to identify the head.
  9031  	SnapshotNumber int64 `json:"snapshotNumber,omitempty,string"`
  9032  
  9033  	// State: Output only. User should not set it as an input.
  9034  	//
  9035  	// Possible values:
  9036  	//   "INTEGRATION_STATE_UNSPECIFIED" - Default.
  9037  	//   "DRAFT" - Draft.
  9038  	//   "ACTIVE" - Active.
  9039  	//   "ARCHIVED" - Archived.
  9040  	//   "SNAPSHOT" - Snapshot.
  9041  	State string `json:"state,omitempty"`
  9042  
  9043  	// Status: Output only. Generated by eventbus. User should not set it as
  9044  	// an input.
  9045  	//
  9046  	// Possible values:
  9047  	//   "UNKNOWN"
  9048  	//   "DRAFT"
  9049  	//   "ACTIVE"
  9050  	//   "ARCHIVED"
  9051  	//   "SNAPSHOT"
  9052  	Status string `json:"status,omitempty"`
  9053  
  9054  	// TaskConfigs: Optional. Task configuration for the integration. It's
  9055  	// optional, but the integration doesn't do anything without
  9056  	// task_configs.
  9057  	TaskConfigs []*GoogleCloudIntegrationsV1alphaTaskConfig `json:"taskConfigs,omitempty"`
  9058  
  9059  	// TaskConfigsInternal: Optional. Task configuration for the
  9060  	// integration. It's optional, but the integration doesn't do anything
  9061  	// without task_configs.
  9062  	TaskConfigsInternal []*EnterpriseCrmFrontendsEventbusProtoTaskConfig `json:"taskConfigsInternal,omitempty"`
  9063  
  9064  	// Teardown: Optional. Contains a graph of tasks that will be executed
  9065  	// before putting the event in a terminal state
  9066  	// (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar
  9067  	// to "finally" in code.
  9068  	Teardown *EnterpriseCrmEventbusProtoTeardown `json:"teardown,omitempty"`
  9069  
  9070  	// TriggerConfigs: Optional. Trigger configurations.
  9071  	TriggerConfigs []*GoogleCloudIntegrationsV1alphaTriggerConfig `json:"triggerConfigs,omitempty"`
  9072  
  9073  	// TriggerConfigsInternal: Optional. Trigger configurations.
  9074  	TriggerConfigsInternal []*EnterpriseCrmFrontendsEventbusProtoTriggerConfig `json:"triggerConfigsInternal,omitempty"`
  9075  
  9076  	// UpdateTime: Output only. Auto-generated.
  9077  	UpdateTime string `json:"updateTime,omitempty"`
  9078  
  9079  	// UserLabel: Optional. A user-defined label that annotates an
  9080  	// integration version. Typically, this is only set when the integration
  9081  	// version is created.
  9082  	UserLabel string `json:"userLabel,omitempty"`
  9083  
  9084  	// ServerResponse contains the HTTP response code and headers from the
  9085  	// server.
  9086  	googleapi.ServerResponse `json:"-"`
  9087  
  9088  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  9089  	// unconditionally include in API requests. By default, fields with
  9090  	// empty or default values are omitted from API requests. However, any
  9091  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9092  	// sent to the server regardless of whether the field is empty or not.
  9093  	// This may be used to include empty fields in Patch requests.
  9094  	ForceSendFields []string `json:"-"`
  9095  
  9096  	// NullFields is a list of field names (e.g. "CreateTime") to include in
  9097  	// API requests with the JSON null value. By default, fields with empty
  9098  	// values are omitted from API requests. However, any field with an
  9099  	// empty value appearing in NullFields will be sent to the server as
  9100  	// null. It is an error if a field in this list has a non-empty value.
  9101  	// This may be used to include null fields in Patch requests.
  9102  	NullFields []string `json:"-"`
  9103  }
  9104  
  9105  func (s *GoogleCloudIntegrationsV1alphaIntegrationVersion) MarshalJSON() ([]byte, error) {
  9106  	type NoMethod GoogleCloudIntegrationsV1alphaIntegrationVersion
  9107  	raw := NoMethod(*s)
  9108  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9109  }
  9110  
  9111  // GoogleCloudIntegrationsV1alphaJwt: Represents JSON web token(JWT),
  9112  // which is a compact, URL-safe means of representing claims to be
  9113  // transferred between two parties, enabling the claims to be digitally
  9114  // signed or integrity protected.
  9115  type GoogleCloudIntegrationsV1alphaJwt struct {
  9116  	// Jwt: The token calculated by the header, payload and signature.
  9117  	Jwt string `json:"jwt,omitempty"`
  9118  
  9119  	// JwtHeader: Identifies which algorithm is used to generate the
  9120  	// signature.
  9121  	JwtHeader string `json:"jwtHeader,omitempty"`
  9122  
  9123  	// JwtPayload: Contains a set of claims. The JWT specification defines
  9124  	// seven Registered Claim Names which are the standard fields commonly
  9125  	// included in tokens. Custom claims are usually also included,
  9126  	// depending on the purpose of the token.
  9127  	JwtPayload string `json:"jwtPayload,omitempty"`
  9128  
  9129  	// Secret: User's pre-shared secret to sign the token.
  9130  	Secret string `json:"secret,omitempty"`
  9131  
  9132  	// ForceSendFields is a list of field names (e.g. "Jwt") to
  9133  	// unconditionally include in API requests. By default, fields with
  9134  	// empty or default values are omitted from API requests. However, any
  9135  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9136  	// sent to the server regardless of whether the field is empty or not.
  9137  	// This may be used to include empty fields in Patch requests.
  9138  	ForceSendFields []string `json:"-"`
  9139  
  9140  	// NullFields is a list of field names (e.g. "Jwt") to include in API
  9141  	// requests with the JSON null value. By default, fields with empty
  9142  	// values are omitted from API requests. However, any field with an
  9143  	// empty value appearing in NullFields will be sent to the server as
  9144  	// null. It is an error if a field in this list has a non-empty value.
  9145  	// This may be used to include null fields in Patch requests.
  9146  	NullFields []string `json:"-"`
  9147  }
  9148  
  9149  func (s *GoogleCloudIntegrationsV1alphaJwt) MarshalJSON() ([]byte, error) {
  9150  	type NoMethod GoogleCloudIntegrationsV1alphaJwt
  9151  	raw := NoMethod(*s)
  9152  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9153  }
  9154  
  9155  // GoogleCloudIntegrationsV1alphaLiftSuspensionRequest: Request for lift
  9156  // Suspension
  9157  type GoogleCloudIntegrationsV1alphaLiftSuspensionRequest struct {
  9158  	// SuspensionResult: User passed in suspension result and will be used
  9159  	// to control workflow execution branching behavior by setting up
  9160  	// corresponnding edge condition with suspension result. For example, if
  9161  	// you want to lift the suspension, you can pass "Approved", or if you
  9162  	// want to reject the suspension and terminate workfloe execution, you
  9163  	// can pass "Rejected" and terminate the workflow execution with
  9164  	// configuring the edge condition.
  9165  	SuspensionResult string `json:"suspensionResult,omitempty"`
  9166  
  9167  	// ForceSendFields is a list of field names (e.g. "SuspensionResult") to
  9168  	// unconditionally include in API requests. By default, fields with
  9169  	// empty or default values are omitted from API requests. However, any
  9170  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9171  	// sent to the server regardless of whether the field is empty or not.
  9172  	// This may be used to include empty fields in Patch requests.
  9173  	ForceSendFields []string `json:"-"`
  9174  
  9175  	// NullFields is a list of field names (e.g. "SuspensionResult") to
  9176  	// include in API requests with the JSON null value. By default, fields
  9177  	// with empty values are omitted from API requests. However, any field
  9178  	// with an empty value appearing in NullFields will be sent to the
  9179  	// server as null. It is an error if a field in this list has a
  9180  	// non-empty value. This may be used to include null fields in Patch
  9181  	// requests.
  9182  	NullFields []string `json:"-"`
  9183  }
  9184  
  9185  func (s *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) MarshalJSON() ([]byte, error) {
  9186  	type NoMethod GoogleCloudIntegrationsV1alphaLiftSuspensionRequest
  9187  	raw := NoMethod(*s)
  9188  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9189  }
  9190  
  9191  // GoogleCloudIntegrationsV1alphaLiftSuspensionResponse: Response of
  9192  // lift Suspense
  9193  type GoogleCloudIntegrationsV1alphaLiftSuspensionResponse struct {
  9194  	// EventExecutionInfoId: Execution Id that will be returned
  9195  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
  9196  
  9197  	// ServerResponse contains the HTTP response code and headers from the
  9198  	// server.
  9199  	googleapi.ServerResponse `json:"-"`
  9200  
  9201  	// ForceSendFields is a list of field names (e.g.
  9202  	// "EventExecutionInfoId") to unconditionally include in API requests.
  9203  	// By default, fields with empty or default values are omitted from API
  9204  	// requests. However, any non-pointer, non-interface field appearing in
  9205  	// ForceSendFields will be sent to the server regardless of whether the
  9206  	// field is empty or not. This may be used to include empty fields in
  9207  	// Patch requests.
  9208  	ForceSendFields []string `json:"-"`
  9209  
  9210  	// NullFields is a list of field names (e.g. "EventExecutionInfoId") to
  9211  	// include in API requests with the JSON null value. By default, fields
  9212  	// with empty values are omitted from API requests. However, any field
  9213  	// with an empty value appearing in NullFields will be sent to the
  9214  	// server as null. It is an error if a field in this list has a
  9215  	// non-empty value. This may be used to include null fields in Patch
  9216  	// requests.
  9217  	NullFields []string `json:"-"`
  9218  }
  9219  
  9220  func (s *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse) MarshalJSON() ([]byte, error) {
  9221  	type NoMethod GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
  9222  	raw := NoMethod(*s)
  9223  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9224  }
  9225  
  9226  // GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest: Request
  9227  // for LinkAppsScriptProject rpc call.
  9228  type GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest struct {
  9229  	// ScriptId: The id of the Apps Script project to be linked.
  9230  	ScriptId string `json:"scriptId,omitempty"`
  9231  
  9232  	// ForceSendFields is a list of field names (e.g. "ScriptId") to
  9233  	// unconditionally include in API requests. By default, fields with
  9234  	// empty or default values are omitted from API requests. However, any
  9235  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9236  	// sent to the server regardless of whether the field is empty or not.
  9237  	// This may be used to include empty fields in Patch requests.
  9238  	ForceSendFields []string `json:"-"`
  9239  
  9240  	// NullFields is a list of field names (e.g. "ScriptId") to include in
  9241  	// API requests with the JSON null value. By default, fields with empty
  9242  	// values are omitted from API requests. However, any field with an
  9243  	// empty value appearing in NullFields will be sent to the server as
  9244  	// null. It is an error if a field in this list has a non-empty value.
  9245  	// This may be used to include null fields in Patch requests.
  9246  	NullFields []string `json:"-"`
  9247  }
  9248  
  9249  func (s *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest) MarshalJSON() ([]byte, error) {
  9250  	type NoMethod GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest
  9251  	raw := NoMethod(*s)
  9252  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9253  }
  9254  
  9255  // GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse: Response
  9256  // for LinkAppsScriptProject rpc call.
  9257  type GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse struct {
  9258  	// ScriptId: The id of the linked Apps Script project.
  9259  	ScriptId string `json:"scriptId,omitempty"`
  9260  
  9261  	// ServerResponse contains the HTTP response code and headers from the
  9262  	// server.
  9263  	googleapi.ServerResponse `json:"-"`
  9264  
  9265  	// ForceSendFields is a list of field names (e.g. "ScriptId") to
  9266  	// unconditionally include in API requests. By default, fields with
  9267  	// empty or default values are omitted from API requests. However, any
  9268  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9269  	// sent to the server regardless of whether the field is empty or not.
  9270  	// This may be used to include empty fields in Patch requests.
  9271  	ForceSendFields []string `json:"-"`
  9272  
  9273  	// NullFields is a list of field names (e.g. "ScriptId") to include in
  9274  	// API requests with the JSON null value. By default, fields with empty
  9275  	// values are omitted from API requests. However, any field with an
  9276  	// empty value appearing in NullFields will be sent to the server as
  9277  	// null. It is an error if a field in this list has a non-empty value.
  9278  	// This may be used to include null fields in Patch requests.
  9279  	NullFields []string `json:"-"`
  9280  }
  9281  
  9282  func (s *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse) MarshalJSON() ([]byte, error) {
  9283  	type NoMethod GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse
  9284  	raw := NoMethod(*s)
  9285  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9286  }
  9287  
  9288  // GoogleCloudIntegrationsV1alphaListAuthConfigsResponse: Response to
  9289  // list AuthConfigs.
  9290  type GoogleCloudIntegrationsV1alphaListAuthConfigsResponse struct {
  9291  	// AuthConfigs: The list of AuthConfigs retrieved.
  9292  	AuthConfigs []*GoogleCloudIntegrationsV1alphaAuthConfig `json:"authConfigs,omitempty"`
  9293  
  9294  	// NextPageToken: The token used to retrieve the next page of results.
  9295  	NextPageToken string `json:"nextPageToken,omitempty"`
  9296  
  9297  	// ServerResponse contains the HTTP response code and headers from the
  9298  	// server.
  9299  	googleapi.ServerResponse `json:"-"`
  9300  
  9301  	// ForceSendFields is a list of field names (e.g. "AuthConfigs") to
  9302  	// unconditionally include in API requests. By default, fields with
  9303  	// empty or default values are omitted from API requests. However, any
  9304  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9305  	// sent to the server regardless of whether the field is empty or not.
  9306  	// This may be used to include empty fields in Patch requests.
  9307  	ForceSendFields []string `json:"-"`
  9308  
  9309  	// NullFields is a list of field names (e.g. "AuthConfigs") to include
  9310  	// in API requests with the JSON null value. By default, fields with
  9311  	// empty values are omitted from API requests. However, any field with
  9312  	// an empty value appearing in NullFields will be sent to the server as
  9313  	// null. It is an error if a field in this list has a non-empty value.
  9314  	// This may be used to include null fields in Patch requests.
  9315  	NullFields []string `json:"-"`
  9316  }
  9317  
  9318  func (s *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse) MarshalJSON() ([]byte, error) {
  9319  	type NoMethod GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
  9320  	raw := NoMethod(*s)
  9321  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9322  }
  9323  
  9324  // GoogleCloudIntegrationsV1alphaListCertificatesResponse: Response to
  9325  // list Certificates.
  9326  type GoogleCloudIntegrationsV1alphaListCertificatesResponse struct {
  9327  	// Certificates: The list of Certificates retrieved.
  9328  	Certificates []*GoogleCloudIntegrationsV1alphaCertificate `json:"certificates,omitempty"`
  9329  
  9330  	// NextPageToken: The token used to retrieve the next page of results.
  9331  	NextPageToken string `json:"nextPageToken,omitempty"`
  9332  
  9333  	// ServerResponse contains the HTTP response code and headers from the
  9334  	// server.
  9335  	googleapi.ServerResponse `json:"-"`
  9336  
  9337  	// ForceSendFields is a list of field names (e.g. "Certificates") to
  9338  	// unconditionally include in API requests. By default, fields with
  9339  	// empty or default values are omitted from API requests. However, any
  9340  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9341  	// sent to the server regardless of whether the field is empty or not.
  9342  	// This may be used to include empty fields in Patch requests.
  9343  	ForceSendFields []string `json:"-"`
  9344  
  9345  	// NullFields is a list of field names (e.g. "Certificates") to include
  9346  	// in API requests with the JSON null value. By default, fields with
  9347  	// empty values are omitted from API requests. However, any field with
  9348  	// an empty value appearing in NullFields will be sent to the server as
  9349  	// null. It is an error if a field in this list has a non-empty value.
  9350  	// This may be used to include null fields in Patch requests.
  9351  	NullFields []string `json:"-"`
  9352  }
  9353  
  9354  func (s *GoogleCloudIntegrationsV1alphaListCertificatesResponse) MarshalJSON() ([]byte, error) {
  9355  	type NoMethod GoogleCloudIntegrationsV1alphaListCertificatesResponse
  9356  	raw := NoMethod(*s)
  9357  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9358  }
  9359  
  9360  // GoogleCloudIntegrationsV1alphaListConnectionsResponse: Response
  9361  // containing Connections listed by region.
  9362  type GoogleCloudIntegrationsV1alphaListConnectionsResponse struct {
  9363  	// Connections: Connections.
  9364  	Connections []*GoogleCloudConnectorsV1Connection `json:"connections,omitempty"`
  9365  
  9366  	// NextPageToken: Next page token.
  9367  	NextPageToken string `json:"nextPageToken,omitempty"`
  9368  
  9369  	// ServerResponse contains the HTTP response code and headers from the
  9370  	// server.
  9371  	googleapi.ServerResponse `json:"-"`
  9372  
  9373  	// ForceSendFields is a list of field names (e.g. "Connections") to
  9374  	// unconditionally include in API requests. By default, fields with
  9375  	// empty or default values are omitted from API requests. However, any
  9376  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9377  	// sent to the server regardless of whether the field is empty or not.
  9378  	// This may be used to include empty fields in Patch requests.
  9379  	ForceSendFields []string `json:"-"`
  9380  
  9381  	// NullFields is a list of field names (e.g. "Connections") to include
  9382  	// in API requests with the JSON null value. By default, fields with
  9383  	// empty values are omitted from API requests. However, any field with
  9384  	// an empty value appearing in NullFields will be sent to the server as
  9385  	// null. It is an error if a field in this list has a non-empty value.
  9386  	// This may be used to include null fields in Patch requests.
  9387  	NullFields []string `json:"-"`
  9388  }
  9389  
  9390  func (s *GoogleCloudIntegrationsV1alphaListConnectionsResponse) MarshalJSON() ([]byte, error) {
  9391  	type NoMethod GoogleCloudIntegrationsV1alphaListConnectionsResponse
  9392  	raw := NoMethod(*s)
  9393  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9394  }
  9395  
  9396  // GoogleCloudIntegrationsV1alphaListExecutionsResponse: Response for
  9397  // listing the integration execution data.
  9398  type GoogleCloudIntegrationsV1alphaListExecutionsResponse struct {
  9399  	// ExecutionInfos: Required. The detailed information of requested
  9400  	// executions.
  9401  	ExecutionInfos []*EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo `json:"executionInfos,omitempty"`
  9402  
  9403  	// Executions: The detailed information of requested executions
  9404  	Executions []*GoogleCloudIntegrationsV1alphaExecution `json:"executions,omitempty"`
  9405  
  9406  	// NextPageToken: The token used to retrieve the next page results.
  9407  	NextPageToken string `json:"nextPageToken,omitempty"`
  9408  
  9409  	// ServerResponse contains the HTTP response code and headers from the
  9410  	// server.
  9411  	googleapi.ServerResponse `json:"-"`
  9412  
  9413  	// ForceSendFields is a list of field names (e.g. "ExecutionInfos") to
  9414  	// unconditionally include in API requests. By default, fields with
  9415  	// empty or default values are omitted from API requests. However, any
  9416  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9417  	// sent to the server regardless of whether the field is empty or not.
  9418  	// This may be used to include empty fields in Patch requests.
  9419  	ForceSendFields []string `json:"-"`
  9420  
  9421  	// NullFields is a list of field names (e.g. "ExecutionInfos") to
  9422  	// include in API requests with the JSON null value. By default, fields
  9423  	// with empty values are omitted from API requests. However, any field
  9424  	// with an empty value appearing in NullFields will be sent to the
  9425  	// server as null. It is an error if a field in this list has a
  9426  	// non-empty value. This may be used to include null fields in Patch
  9427  	// requests.
  9428  	NullFields []string `json:"-"`
  9429  }
  9430  
  9431  func (s *GoogleCloudIntegrationsV1alphaListExecutionsResponse) MarshalJSON() ([]byte, error) {
  9432  	type NoMethod GoogleCloudIntegrationsV1alphaListExecutionsResponse
  9433  	raw := NoMethod(*s)
  9434  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9435  }
  9436  
  9437  // GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse:
  9438  //
  9439  //	Response for
  9440  //
  9441  // IntegrationTemplateVersions.ListIntegrationTemplateVersions.
  9442  type GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse struct {
  9443  	// IntegrationTemplateVersions: The IntegrationTemplateVersions which
  9444  	// match the request.
  9445  	IntegrationTemplateVersions []*GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion `json:"integrationTemplateVersions,omitempty"`
  9446  
  9447  	// NextPageToken: A token, which can be sent as `page_token` to retrieve
  9448  	// the next page. If this field is omitted, there are no subsequent
  9449  	// pages.
  9450  	NextPageToken string `json:"nextPageToken,omitempty"`
  9451  
  9452  	// ServerResponse contains the HTTP response code and headers from the
  9453  	// server.
  9454  	googleapi.ServerResponse `json:"-"`
  9455  
  9456  	// ForceSendFields is a list of field names (e.g.
  9457  	// "IntegrationTemplateVersions") to unconditionally include in API
  9458  	// requests. By default, fields with empty or default values are omitted
  9459  	// from API requests. However, any non-pointer, non-interface field
  9460  	// appearing in ForceSendFields will be sent to the server regardless of
  9461  	// whether the field is empty or not. This may be used to include empty
  9462  	// fields in Patch requests.
  9463  	ForceSendFields []string `json:"-"`
  9464  
  9465  	// NullFields is a list of field names (e.g.
  9466  	// "IntegrationTemplateVersions") to include in API requests with the
  9467  	// JSON null value. By default, fields with empty values are omitted
  9468  	// from API requests. However, any field with an empty value appearing
  9469  	// in NullFields will be sent to the server as null. It is an error if a
  9470  	// field in this list has a non-empty value. This may be used to include
  9471  	// null fields in Patch requests.
  9472  	NullFields []string `json:"-"`
  9473  }
  9474  
  9475  func (s *GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse) MarshalJSON() ([]byte, error) {
  9476  	type NoMethod GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse
  9477  	raw := NoMethod(*s)
  9478  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9479  }
  9480  
  9481  // GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse:
  9482  // Response for ListIntegrationVersions.
  9483  type GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse struct {
  9484  	// IntegrationVersions: The integrations which match the request.
  9485  	IntegrationVersions []*GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersions,omitempty"`
  9486  
  9487  	// NextPageToken: A token, which can be sent as `page_token` to retrieve
  9488  	// the next page. If this field is omitted, there are no subsequent
  9489  	// pages.
  9490  	NextPageToken string `json:"nextPageToken,omitempty"`
  9491  
  9492  	// NoPermission: Whether the user has no permission on the version or
  9493  	// not.
  9494  	NoPermission bool `json:"noPermission,omitempty"`
  9495  
  9496  	// ServerResponse contains the HTTP response code and headers from the
  9497  	// server.
  9498  	googleapi.ServerResponse `json:"-"`
  9499  
  9500  	// ForceSendFields is a list of field names (e.g. "IntegrationVersions")
  9501  	// to unconditionally include in API requests. By default, fields with
  9502  	// empty or default values are omitted from API requests. However, any
  9503  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9504  	// sent to the server regardless of whether the field is empty or not.
  9505  	// This may be used to include empty fields in Patch requests.
  9506  	ForceSendFields []string `json:"-"`
  9507  
  9508  	// NullFields is a list of field names (e.g. "IntegrationVersions") to
  9509  	// include in API requests with the JSON null value. By default, fields
  9510  	// with empty values are omitted from API requests. However, any field
  9511  	// with an empty value appearing in NullFields will be sent to the
  9512  	// server as null. It is an error if a field in this list has a
  9513  	// non-empty value. This may be used to include null fields in Patch
  9514  	// requests.
  9515  	NullFields []string `json:"-"`
  9516  }
  9517  
  9518  func (s *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse) MarshalJSON() ([]byte, error) {
  9519  	type NoMethod GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse
  9520  	raw := NoMethod(*s)
  9521  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9522  }
  9523  
  9524  // GoogleCloudIntegrationsV1alphaListIntegrationsResponse: Response for
  9525  // ListIntegrations.
  9526  type GoogleCloudIntegrationsV1alphaListIntegrationsResponse struct {
  9527  	// Integrations: The integrations which match the request.
  9528  	Integrations []*GoogleCloudIntegrationsV1alphaIntegration `json:"integrations,omitempty"`
  9529  
  9530  	// NextPageToken: The next page token for the response.
  9531  	NextPageToken string `json:"nextPageToken,omitempty"`
  9532  
  9533  	// ServerResponse contains the HTTP response code and headers from the
  9534  	// server.
  9535  	googleapi.ServerResponse `json:"-"`
  9536  
  9537  	// ForceSendFields is a list of field names (e.g. "Integrations") to
  9538  	// unconditionally include in API requests. By default, fields with
  9539  	// empty or default values are omitted from API requests. However, any
  9540  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9541  	// sent to the server regardless of whether the field is empty or not.
  9542  	// This may be used to include empty fields in Patch requests.
  9543  	ForceSendFields []string `json:"-"`
  9544  
  9545  	// NullFields is a list of field names (e.g. "Integrations") to include
  9546  	// in API requests with the JSON null value. By default, fields with
  9547  	// empty values are omitted from API requests. However, any field with
  9548  	// an empty value appearing in NullFields will be sent to the server as
  9549  	// null. It is an error if a field in this list has a non-empty value.
  9550  	// This may be used to include null fields in Patch requests.
  9551  	NullFields []string `json:"-"`
  9552  }
  9553  
  9554  func (s *GoogleCloudIntegrationsV1alphaListIntegrationsResponse) MarshalJSON() ([]byte, error) {
  9555  	type NoMethod GoogleCloudIntegrationsV1alphaListIntegrationsResponse
  9556  	raw := NoMethod(*s)
  9557  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9558  }
  9559  
  9560  // GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse:
  9561  // Response for listing RuntimeActionSchemas for a specific Connection.
  9562  type GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse struct {
  9563  	// NextPageToken: Next page token.
  9564  	NextPageToken string `json:"nextPageToken,omitempty"`
  9565  
  9566  	// RuntimeActionSchemas: Runtime action schemas.
  9567  	RuntimeActionSchemas []*GoogleCloudIntegrationsV1alphaRuntimeActionSchema `json:"runtimeActionSchemas,omitempty"`
  9568  
  9569  	// ServerResponse contains the HTTP response code and headers from the
  9570  	// server.
  9571  	googleapi.ServerResponse `json:"-"`
  9572  
  9573  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9574  	// unconditionally include in API requests. By default, fields with
  9575  	// empty or default values are omitted from API requests. However, any
  9576  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9577  	// sent to the server regardless of whether the field is empty or not.
  9578  	// This may be used to include empty fields in Patch requests.
  9579  	ForceSendFields []string `json:"-"`
  9580  
  9581  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9582  	// in API requests with the JSON null value. By default, fields with
  9583  	// empty values are omitted from API requests. However, any field with
  9584  	// an empty value appearing in NullFields will be sent to the server as
  9585  	// null. It is an error if a field in this list has a non-empty value.
  9586  	// This may be used to include null fields in Patch requests.
  9587  	NullFields []string `json:"-"`
  9588  }
  9589  
  9590  func (s *GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse) MarshalJSON() ([]byte, error) {
  9591  	type NoMethod GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse
  9592  	raw := NoMethod(*s)
  9593  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9594  }
  9595  
  9596  // GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse:
  9597  // Response for listing RuntimeEntitySchemas for a specific Connection.
  9598  type GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse struct {
  9599  	// NextPageToken: Next page token.
  9600  	NextPageToken string `json:"nextPageToken,omitempty"`
  9601  
  9602  	// RuntimeEntitySchemas: Runtime entity schemas.
  9603  	RuntimeEntitySchemas []*GoogleCloudIntegrationsV1alphaRuntimeEntitySchema `json:"runtimeEntitySchemas,omitempty"`
  9604  
  9605  	// ServerResponse contains the HTTP response code and headers from the
  9606  	// server.
  9607  	googleapi.ServerResponse `json:"-"`
  9608  
  9609  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9610  	// unconditionally include in API requests. By default, fields with
  9611  	// empty or default values are omitted from API requests. However, any
  9612  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9613  	// sent to the server regardless of whether the field is empty or not.
  9614  	// This may be used to include empty fields in Patch requests.
  9615  	ForceSendFields []string `json:"-"`
  9616  
  9617  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9618  	// in API requests with the JSON null value. By default, fields with
  9619  	// empty values are omitted from API requests. However, any field with
  9620  	// an empty value appearing in NullFields will be sent to the server as
  9621  	// null. It is an error if a field in this list has a non-empty value.
  9622  	// This may be used to include null fields in Patch requests.
  9623  	NullFields []string `json:"-"`
  9624  }
  9625  
  9626  func (s *GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse) MarshalJSON() ([]byte, error) {
  9627  	type NoMethod GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse
  9628  	raw := NoMethod(*s)
  9629  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9630  }
  9631  
  9632  // GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse: Response to
  9633  // list SfdcChannels.
  9634  type GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse struct {
  9635  	// NextPageToken: The token used to retrieve the next page of results.
  9636  	NextPageToken string `json:"nextPageToken,omitempty"`
  9637  
  9638  	// SfdcChannels: The list of SfdcChannels retrieved.
  9639  	SfdcChannels []*GoogleCloudIntegrationsV1alphaSfdcChannel `json:"sfdcChannels,omitempty"`
  9640  
  9641  	// ServerResponse contains the HTTP response code and headers from the
  9642  	// server.
  9643  	googleapi.ServerResponse `json:"-"`
  9644  
  9645  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9646  	// unconditionally include in API requests. By default, fields with
  9647  	// empty or default values are omitted from API requests. However, any
  9648  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9649  	// sent to the server regardless of whether the field is empty or not.
  9650  	// This may be used to include empty fields in Patch requests.
  9651  	ForceSendFields []string `json:"-"`
  9652  
  9653  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9654  	// in API requests with the JSON null value. By default, fields with
  9655  	// empty values are omitted from API requests. However, any field with
  9656  	// an empty value appearing in NullFields will be sent to the server as
  9657  	// null. It is an error if a field in this list has a non-empty value.
  9658  	// This may be used to include null fields in Patch requests.
  9659  	NullFields []string `json:"-"`
  9660  }
  9661  
  9662  func (s *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse) MarshalJSON() ([]byte, error) {
  9663  	type NoMethod GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse
  9664  	raw := NoMethod(*s)
  9665  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9666  }
  9667  
  9668  // GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse: Response to
  9669  // list SfdcInstances.
  9670  type GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse struct {
  9671  	// NextPageToken: The token used to retrieve the next page of results.
  9672  	NextPageToken string `json:"nextPageToken,omitempty"`
  9673  
  9674  	// SfdcInstances: The list of SfdcInstances retrieved.
  9675  	SfdcInstances []*GoogleCloudIntegrationsV1alphaSfdcInstance `json:"sfdcInstances,omitempty"`
  9676  
  9677  	// ServerResponse contains the HTTP response code and headers from the
  9678  	// server.
  9679  	googleapi.ServerResponse `json:"-"`
  9680  
  9681  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9682  	// unconditionally include in API requests. By default, fields with
  9683  	// empty or default values are omitted from API requests. However, any
  9684  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9685  	// sent to the server regardless of whether the field is empty or not.
  9686  	// This may be used to include empty fields in Patch requests.
  9687  	ForceSendFields []string `json:"-"`
  9688  
  9689  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9690  	// in API requests with the JSON null value. By default, fields with
  9691  	// empty values are omitted from API requests. However, any field with
  9692  	// an empty value appearing in NullFields will be sent to the server as
  9693  	// null. It is an error if a field in this list has a non-empty value.
  9694  	// This may be used to include null fields in Patch requests.
  9695  	NullFields []string `json:"-"`
  9696  }
  9697  
  9698  func (s *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse) MarshalJSON() ([]byte, error) {
  9699  	type NoMethod GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse
  9700  	raw := NoMethod(*s)
  9701  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9702  }
  9703  
  9704  // GoogleCloudIntegrationsV1alphaListSuspensionsResponse: Response for
  9705  // Suspensions.ListSuspensions.
  9706  type GoogleCloudIntegrationsV1alphaListSuspensionsResponse struct {
  9707  	// NextPageToken: Token to retrieve the next page of results.
  9708  	NextPageToken string `json:"nextPageToken,omitempty"`
  9709  
  9710  	// Suspensions: The suspensions for the relevant execution which the
  9711  	// caller has permissions to view and resolve.
  9712  	Suspensions []*GoogleCloudIntegrationsV1alphaSuspension `json:"suspensions,omitempty"`
  9713  
  9714  	// ServerResponse contains the HTTP response code and headers from the
  9715  	// server.
  9716  	googleapi.ServerResponse `json:"-"`
  9717  
  9718  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  9719  	// unconditionally include in API requests. By default, fields with
  9720  	// empty or default values are omitted from API requests. However, any
  9721  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9722  	// sent to the server regardless of whether the field is empty or not.
  9723  	// This may be used to include empty fields in Patch requests.
  9724  	ForceSendFields []string `json:"-"`
  9725  
  9726  	// NullFields is a list of field names (e.g. "NextPageToken") to include
  9727  	// in API requests with the JSON null value. By default, fields with
  9728  	// empty values are omitted from API requests. However, any field with
  9729  	// an empty value appearing in NullFields will be sent to the server as
  9730  	// null. It is an error if a field in this list has a non-empty value.
  9731  	// This may be used to include null fields in Patch requests.
  9732  	NullFields []string `json:"-"`
  9733  }
  9734  
  9735  func (s *GoogleCloudIntegrationsV1alphaListSuspensionsResponse) MarshalJSON() ([]byte, error) {
  9736  	type NoMethod GoogleCloudIntegrationsV1alphaListSuspensionsResponse
  9737  	raw := NoMethod(*s)
  9738  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9739  }
  9740  
  9741  // GoogleCloudIntegrationsV1alphaNextTask: The task that is next in line
  9742  // to be executed, if the condition specified evaluated to true.
  9743  type GoogleCloudIntegrationsV1alphaNextTask struct {
  9744  	// Condition: Standard filter expression for this task to become an
  9745  	// eligible next task.
  9746  	Condition string `json:"condition,omitempty"`
  9747  
  9748  	// Description: User-provided description intended to give additional
  9749  	// business context about the task.
  9750  	Description string `json:"description,omitempty"`
  9751  
  9752  	// DisplayName: User-provided label that is attached to this edge in the
  9753  	// UI.
  9754  	DisplayName string `json:"displayName,omitempty"`
  9755  
  9756  	// TaskConfigId: ID of the next task.
  9757  	TaskConfigId string `json:"taskConfigId,omitempty"`
  9758  
  9759  	// TaskId: Task number of the next task.
  9760  	TaskId string `json:"taskId,omitempty"`
  9761  
  9762  	// ForceSendFields is a list of field names (e.g. "Condition") to
  9763  	// unconditionally include in API requests. By default, fields with
  9764  	// empty or default values are omitted from API requests. However, any
  9765  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9766  	// sent to the server regardless of whether the field is empty or not.
  9767  	// This may be used to include empty fields in Patch requests.
  9768  	ForceSendFields []string `json:"-"`
  9769  
  9770  	// NullFields is a list of field names (e.g. "Condition") to include in
  9771  	// API requests with the JSON null value. By default, fields with empty
  9772  	// values are omitted from API requests. However, any field with an
  9773  	// empty value appearing in NullFields will be sent to the server as
  9774  	// null. It is an error if a field in this list has a non-empty value.
  9775  	// This may be used to include null fields in Patch requests.
  9776  	NullFields []string `json:"-"`
  9777  }
  9778  
  9779  func (s *GoogleCloudIntegrationsV1alphaNextTask) MarshalJSON() ([]byte, error) {
  9780  	type NoMethod GoogleCloudIntegrationsV1alphaNextTask
  9781  	raw := NoMethod(*s)
  9782  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9783  }
  9784  
  9785  // GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode: The OAuth Type
  9786  // where the client sends request with the client id and requested
  9787  // scopes to auth endpoint. User sees a consent screen and auth code is
  9788  // received at specified redirect url afterwards. The auth code is then
  9789  // combined with the client id and secret and sent to the token endpoint
  9790  // in exchange for the access and refresh token. The refresh token can
  9791  // be used to fetch new access tokens.
  9792  type GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode struct {
  9793  	// AccessToken: The access token received from the token endpoint.
  9794  	AccessToken *GoogleCloudIntegrationsV1alphaAccessToken `json:"accessToken,omitempty"`
  9795  
  9796  	// ApplyReauthPolicy: Indicates if the user has opted in Google Reauth
  9797  	// Policy. If opted in, the refresh token will be valid for 20 hours,
  9798  	// after which time users must re-authenticate in order to obtain a new
  9799  	// one.
  9800  	ApplyReauthPolicy bool `json:"applyReauthPolicy,omitempty"`
  9801  
  9802  	// AuthCode: The Auth Code that is used to initially retrieve the access
  9803  	// token.
  9804  	AuthCode string `json:"authCode,omitempty"`
  9805  
  9806  	// AuthEndpoint: The auth url endpoint to send the auth code request to.
  9807  	AuthEndpoint string `json:"authEndpoint,omitempty"`
  9808  
  9809  	// AuthParams: The auth parameters sent along with the auth code
  9810  	// request.
  9811  	AuthParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"authParams,omitempty"`
  9812  
  9813  	// ClientId: The client's id.
  9814  	ClientId string `json:"clientId,omitempty"`
  9815  
  9816  	// ClientSecret: The client's secret.
  9817  	ClientSecret string `json:"clientSecret,omitempty"`
  9818  
  9819  	// RequestType: Represent how to pass parameters to fetch access token
  9820  	//
  9821  	// Possible values:
  9822  	//   "REQUEST_TYPE_UNSPECIFIED" - Unspecified request type
  9823  	//   "REQUEST_BODY" - To pass all the parameters in post body.
  9824  	//   "QUERY_PARAMETERS" - To pass all the parameters as a part of query
  9825  	// parameter.
  9826  	//   "ENCODED_HEADER" - To pass client id and client secret as base 64
  9827  	// encoding of client_id:client_password and rest parameters in post
  9828  	// body.
  9829  	RequestType string `json:"requestType,omitempty"`
  9830  
  9831  	// Scope: A space-delimited list of requested scope permissions.
  9832  	Scope string `json:"scope,omitempty"`
  9833  
  9834  	// TokenEndpoint: The token url endpoint to send the token request to.
  9835  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  9836  
  9837  	// TokenParams: The token parameters sent along with the token request.
  9838  	TokenParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"tokenParams,omitempty"`
  9839  
  9840  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  9841  	// unconditionally include in API requests. By default, fields with
  9842  	// empty or default values are omitted from API requests. However, any
  9843  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9844  	// sent to the server regardless of whether the field is empty or not.
  9845  	// This may be used to include empty fields in Patch requests.
  9846  	ForceSendFields []string `json:"-"`
  9847  
  9848  	// NullFields is a list of field names (e.g. "AccessToken") to include
  9849  	// in API requests with the JSON null value. By default, fields with
  9850  	// empty values are omitted from API requests. However, any field with
  9851  	// an empty value appearing in NullFields will be sent to the server as
  9852  	// null. It is an error if a field in this list has a non-empty value.
  9853  	// This may be used to include null fields in Patch requests.
  9854  	NullFields []string `json:"-"`
  9855  }
  9856  
  9857  func (s *GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode) MarshalJSON() ([]byte, error) {
  9858  	type NoMethod GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode
  9859  	raw := NoMethod(*s)
  9860  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9861  }
  9862  
  9863  // GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials: For client
  9864  // credentials grant, the client sends a POST request with grant_type as
  9865  // 'client_credentials' to the authorization server. The authorization
  9866  // server will respond with a JSON object containing the access token.
  9867  type GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials struct {
  9868  	// AccessToken: Access token fetched from the authorization server.
  9869  	AccessToken *GoogleCloudIntegrationsV1alphaAccessToken `json:"accessToken,omitempty"`
  9870  
  9871  	// ClientId: The client's ID.
  9872  	ClientId string `json:"clientId,omitempty"`
  9873  
  9874  	// ClientSecret: The client's secret.
  9875  	ClientSecret string `json:"clientSecret,omitempty"`
  9876  
  9877  	// RequestType: Represent how to pass parameters to fetch access token
  9878  	//
  9879  	// Possible values:
  9880  	//   "REQUEST_TYPE_UNSPECIFIED" - Unspecified request type
  9881  	//   "REQUEST_BODY" - To pass all the parameters in post body.
  9882  	//   "QUERY_PARAMETERS" - To pass all the parameters as a part of query
  9883  	// parameter.
  9884  	//   "ENCODED_HEADER" - To pass client id and client secret as base 64
  9885  	// encoding of client_id:client_password and rest parameters in post
  9886  	// body.
  9887  	RequestType string `json:"requestType,omitempty"`
  9888  
  9889  	// Scope: A space-delimited list of requested scope permissions.
  9890  	Scope string `json:"scope,omitempty"`
  9891  
  9892  	// TokenEndpoint: The token endpoint is used by the client to obtain an
  9893  	// access token by presenting its authorization grant or refresh token.
  9894  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  9895  
  9896  	// TokenParams: Token parameters for the auth request.
  9897  	TokenParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"tokenParams,omitempty"`
  9898  
  9899  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  9900  	// unconditionally include in API requests. By default, fields with
  9901  	// empty or default values are omitted from API requests. However, any
  9902  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9903  	// sent to the server regardless of whether the field is empty or not.
  9904  	// This may be used to include empty fields in Patch requests.
  9905  	ForceSendFields []string `json:"-"`
  9906  
  9907  	// NullFields is a list of field names (e.g. "AccessToken") to include
  9908  	// in API requests with the JSON null value. By default, fields with
  9909  	// empty values are omitted from API requests. However, any field with
  9910  	// an empty value appearing in NullFields will be sent to the server as
  9911  	// null. It is an error if a field in this list has a non-empty value.
  9912  	// This may be used to include null fields in Patch requests.
  9913  	NullFields []string `json:"-"`
  9914  }
  9915  
  9916  func (s *GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials) MarshalJSON() ([]byte, error) {
  9917  	type NoMethod GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials
  9918  	raw := NoMethod(*s)
  9919  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9920  }
  9921  
  9922  // GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials: For
  9923  // resource owner credentials grant, the client will ask the user for
  9924  // their authorization credentials (ususally a username and password)
  9925  // and send a POST request to the authorization server. The
  9926  // authorization server will respond with a JSON object containing the
  9927  // access token.
  9928  type GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials struct {
  9929  	// AccessToken: Access token fetched from the authorization server.
  9930  	AccessToken *GoogleCloudIntegrationsV1alphaAccessToken `json:"accessToken,omitempty"`
  9931  
  9932  	// ClientId: The client's ID.
  9933  	ClientId string `json:"clientId,omitempty"`
  9934  
  9935  	// ClientSecret: The client's secret.
  9936  	ClientSecret string `json:"clientSecret,omitempty"`
  9937  
  9938  	// Password: The user's password.
  9939  	Password string `json:"password,omitempty"`
  9940  
  9941  	// RequestType: Represent how to pass parameters to fetch access token
  9942  	//
  9943  	// Possible values:
  9944  	//   "REQUEST_TYPE_UNSPECIFIED" - Unspecified request type
  9945  	//   "REQUEST_BODY" - To pass all the parameters in post body.
  9946  	//   "QUERY_PARAMETERS" - To pass all the parameters as a part of query
  9947  	// parameter.
  9948  	//   "ENCODED_HEADER" - To pass client id and client secret as base 64
  9949  	// encoding of client_id:client_password and rest parameters in post
  9950  	// body.
  9951  	RequestType string `json:"requestType,omitempty"`
  9952  
  9953  	// Scope: A space-delimited list of requested scope permissions.
  9954  	Scope string `json:"scope,omitempty"`
  9955  
  9956  	// TokenEndpoint: The token endpoint is used by the client to obtain an
  9957  	// access token by presenting its authorization grant or refresh token.
  9958  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  9959  
  9960  	// TokenParams: Token parameters for the auth request.
  9961  	TokenParams *GoogleCloudIntegrationsV1alphaParameterMap `json:"tokenParams,omitempty"`
  9962  
  9963  	// Username: The user's username.
  9964  	Username string `json:"username,omitempty"`
  9965  
  9966  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
  9967  	// unconditionally include in API requests. By default, fields with
  9968  	// empty or default values are omitted from API requests. However, any
  9969  	// non-pointer, non-interface field appearing in ForceSendFields will be
  9970  	// sent to the server regardless of whether the field is empty or not.
  9971  	// This may be used to include empty fields in Patch requests.
  9972  	ForceSendFields []string `json:"-"`
  9973  
  9974  	// NullFields is a list of field names (e.g. "AccessToken") to include
  9975  	// in API requests with the JSON null value. By default, fields with
  9976  	// empty values are omitted from API requests. However, any field with
  9977  	// an empty value appearing in NullFields will be sent to the server as
  9978  	// null. It is an error if a field in this list has a non-empty value.
  9979  	// This may be used to include null fields in Patch requests.
  9980  	NullFields []string `json:"-"`
  9981  }
  9982  
  9983  func (s *GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials) MarshalJSON() ([]byte, error) {
  9984  	type NoMethod GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials
  9985  	raw := NoMethod(*s)
  9986  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
  9987  }
  9988  
  9989  // GoogleCloudIntegrationsV1alphaOidcToken: OIDC Token
  9990  type GoogleCloudIntegrationsV1alphaOidcToken struct {
  9991  	// Audience: Audience to be used when generating OIDC token. The
  9992  	// audience claim identifies the recipients that the JWT is intended
  9993  	// for.
  9994  	Audience string `json:"audience,omitempty"`
  9995  
  9996  	// ServiceAccountEmail: The service account email to be used as the
  9997  	// identity for the token.
  9998  	ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"`
  9999  
 10000  	// Token: ID token obtained for the service account
 10001  	Token string `json:"token,omitempty"`
 10002  
 10003  	// TokenExpireTime: The approximate time until the token retrieved is
 10004  	// valid.
 10005  	TokenExpireTime string `json:"tokenExpireTime,omitempty"`
 10006  
 10007  	// ForceSendFields is a list of field names (e.g. "Audience") to
 10008  	// unconditionally include in API requests. By default, fields with
 10009  	// empty or default values are omitted from API requests. However, any
 10010  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10011  	// sent to the server regardless of whether the field is empty or not.
 10012  	// This may be used to include empty fields in Patch requests.
 10013  	ForceSendFields []string `json:"-"`
 10014  
 10015  	// NullFields is a list of field names (e.g. "Audience") to include in
 10016  	// API requests with the JSON null value. By default, fields with empty
 10017  	// values are omitted from API requests. However, any field with an
 10018  	// empty value appearing in NullFields will be sent to the server as
 10019  	// null. It is an error if a field in this list has a non-empty value.
 10020  	// This may be used to include null fields in Patch requests.
 10021  	NullFields []string `json:"-"`
 10022  }
 10023  
 10024  func (s *GoogleCloudIntegrationsV1alphaOidcToken) MarshalJSON() ([]byte, error) {
 10025  	type NoMethod GoogleCloudIntegrationsV1alphaOidcToken
 10026  	raw := NoMethod(*s)
 10027  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10028  }
 10029  
 10030  // GoogleCloudIntegrationsV1alphaParameterMap: A generic multi-map that
 10031  // holds key value pairs. They keys and values can be of any type,
 10032  // unless specified.
 10033  type GoogleCloudIntegrationsV1alphaParameterMap struct {
 10034  	// Entries: A list of parameter map entries.
 10035  	Entries []*GoogleCloudIntegrationsV1alphaParameterMapEntry `json:"entries,omitempty"`
 10036  
 10037  	// KeyType: Option to specify key type for all entries of the map. If
 10038  	// provided then field types for all entries must conform to this.
 10039  	//
 10040  	// Possible values:
 10041  	//   "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED" - Unspecified.
 10042  	//   "STRING_VALUE" - String.
 10043  	//   "INT_VALUE" - Integer.
 10044  	//   "DOUBLE_VALUE" - Double Number.
 10045  	//   "BOOLEAN_VALUE" - Boolean.
 10046  	//   "STRING_ARRAY" - String Array.
 10047  	//   "INT_ARRAY" - Integer Array.
 10048  	//   "DOUBLE_ARRAY" - Double Number Array.
 10049  	//   "BOOLEAN_ARRAY" - Boolean Array.
 10050  	//   "JSON_VALUE" - Json.
 10051  	//   "PROTO_VALUE" - Proto Value (Internal use only).
 10052  	//   "PROTO_ARRAY" - Proto Array (Internal use only).
 10053  	KeyType string `json:"keyType,omitempty"`
 10054  
 10055  	// ValueType: Option to specify value type for all entries of the map.
 10056  	// If provided then field types for all entries must conform to this.
 10057  	//
 10058  	// Possible values:
 10059  	//   "INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED" - Unspecified.
 10060  	//   "STRING_VALUE" - String.
 10061  	//   "INT_VALUE" - Integer.
 10062  	//   "DOUBLE_VALUE" - Double Number.
 10063  	//   "BOOLEAN_VALUE" - Boolean.
 10064  	//   "STRING_ARRAY" - String Array.
 10065  	//   "INT_ARRAY" - Integer Array.
 10066  	//   "DOUBLE_ARRAY" - Double Number Array.
 10067  	//   "BOOLEAN_ARRAY" - Boolean Array.
 10068  	//   "JSON_VALUE" - Json.
 10069  	//   "PROTO_VALUE" - Proto Value (Internal use only).
 10070  	//   "PROTO_ARRAY" - Proto Array (Internal use only).
 10071  	ValueType string `json:"valueType,omitempty"`
 10072  
 10073  	// ForceSendFields is a list of field names (e.g. "Entries") to
 10074  	// unconditionally include in API requests. By default, fields with
 10075  	// empty or default values are omitted from API requests. However, any
 10076  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10077  	// sent to the server regardless of whether the field is empty or not.
 10078  	// This may be used to include empty fields in Patch requests.
 10079  	ForceSendFields []string `json:"-"`
 10080  
 10081  	// NullFields is a list of field names (e.g. "Entries") to include in
 10082  	// API requests with the JSON null value. By default, fields with empty
 10083  	// values are omitted from API requests. However, any field with an
 10084  	// empty value appearing in NullFields will be sent to the server as
 10085  	// null. It is an error if a field in this list has a non-empty value.
 10086  	// This may be used to include null fields in Patch requests.
 10087  	NullFields []string `json:"-"`
 10088  }
 10089  
 10090  func (s *GoogleCloudIntegrationsV1alphaParameterMap) MarshalJSON() ([]byte, error) {
 10091  	type NoMethod GoogleCloudIntegrationsV1alphaParameterMap
 10092  	raw := NoMethod(*s)
 10093  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10094  }
 10095  
 10096  // GoogleCloudIntegrationsV1alphaParameterMapEntry: Entry is a pair of
 10097  // key and value.
 10098  type GoogleCloudIntegrationsV1alphaParameterMapEntry struct {
 10099  	// Key: Key of the map entry.
 10100  	Key *GoogleCloudIntegrationsV1alphaParameterMapField `json:"key,omitempty"`
 10101  
 10102  	// Value: Value of the map entry.
 10103  	Value *GoogleCloudIntegrationsV1alphaParameterMapField `json:"value,omitempty"`
 10104  
 10105  	// ForceSendFields is a list of field names (e.g. "Key") to
 10106  	// unconditionally include in API requests. By default, fields with
 10107  	// empty or default values are omitted from API requests. However, any
 10108  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10109  	// sent to the server regardless of whether the field is empty or not.
 10110  	// This may be used to include empty fields in Patch requests.
 10111  	ForceSendFields []string `json:"-"`
 10112  
 10113  	// NullFields is a list of field names (e.g. "Key") to include in API
 10114  	// requests with the JSON null value. By default, fields with empty
 10115  	// values are omitted from API requests. However, any field with an
 10116  	// empty value appearing in NullFields will be sent to the server as
 10117  	// null. It is an error if a field in this list has a non-empty value.
 10118  	// This may be used to include null fields in Patch requests.
 10119  	NullFields []string `json:"-"`
 10120  }
 10121  
 10122  func (s *GoogleCloudIntegrationsV1alphaParameterMapEntry) MarshalJSON() ([]byte, error) {
 10123  	type NoMethod GoogleCloudIntegrationsV1alphaParameterMapEntry
 10124  	raw := NoMethod(*s)
 10125  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10126  }
 10127  
 10128  // GoogleCloudIntegrationsV1alphaParameterMapField: Field represents
 10129  // either the key or value in an entry.
 10130  type GoogleCloudIntegrationsV1alphaParameterMapField struct {
 10131  	// LiteralValue: Passing a literal value.
 10132  	LiteralValue *GoogleCloudIntegrationsV1alphaValueType `json:"literalValue,omitempty"`
 10133  
 10134  	// ReferenceKey: Referencing one of the Integration variables.
 10135  	ReferenceKey string `json:"referenceKey,omitempty"`
 10136  
 10137  	// ForceSendFields is a list of field names (e.g. "LiteralValue") to
 10138  	// unconditionally include in API requests. By default, fields with
 10139  	// empty or default values are omitted from API requests. However, any
 10140  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10141  	// sent to the server regardless of whether the field is empty or not.
 10142  	// This may be used to include empty fields in Patch requests.
 10143  	ForceSendFields []string `json:"-"`
 10144  
 10145  	// NullFields is a list of field names (e.g. "LiteralValue") to include
 10146  	// in API requests with the JSON null value. By default, fields with
 10147  	// empty values are omitted from API requests. However, any field with
 10148  	// an empty value appearing in NullFields will be sent to the server as
 10149  	// null. It is an error if a field in this list has a non-empty value.
 10150  	// This may be used to include null fields in Patch requests.
 10151  	NullFields []string `json:"-"`
 10152  }
 10153  
 10154  func (s *GoogleCloudIntegrationsV1alphaParameterMapField) MarshalJSON() ([]byte, error) {
 10155  	type NoMethod GoogleCloudIntegrationsV1alphaParameterMapField
 10156  	raw := NoMethod(*s)
 10157  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10158  }
 10159  
 10160  // GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest:
 10161  // Request for PublishIntegrationVersion.
 10162  type GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest struct {
 10163  }
 10164  
 10165  // GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse:
 10166  // Response for PublishIntegrationVersion.
 10167  type GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse struct {
 10168  	// ServerResponse contains the HTTP response code and headers from the
 10169  	// server.
 10170  	googleapi.ServerResponse `json:"-"`
 10171  }
 10172  
 10173  // GoogleCloudIntegrationsV1alphaResolveSuspensionRequest: Request for
 10174  // [Suspensions.ResolveSuspensions].
 10175  type GoogleCloudIntegrationsV1alphaResolveSuspensionRequest struct {
 10176  	// Suspension: Suspension, containing the event_execution_info_id,
 10177  	// task_id, and state to set on the corresponding suspension record.
 10178  	Suspension *GoogleCloudIntegrationsV1alphaSuspension `json:"suspension,omitempty"`
 10179  
 10180  	// ForceSendFields is a list of field names (e.g. "Suspension") to
 10181  	// unconditionally include in API requests. By default, fields with
 10182  	// empty or default values are omitted from API requests. However, any
 10183  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10184  	// sent to the server regardless of whether the field is empty or not.
 10185  	// This may be used to include empty fields in Patch requests.
 10186  	ForceSendFields []string `json:"-"`
 10187  
 10188  	// NullFields is a list of field names (e.g. "Suspension") to include in
 10189  	// API requests with the JSON null value. By default, fields with empty
 10190  	// values are omitted from API requests. However, any field with an
 10191  	// empty value appearing in NullFields will be sent to the server as
 10192  	// null. It is an error if a field in this list has a non-empty value.
 10193  	// This may be used to include null fields in Patch requests.
 10194  	NullFields []string `json:"-"`
 10195  }
 10196  
 10197  func (s *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) MarshalJSON() ([]byte, error) {
 10198  	type NoMethod GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
 10199  	raw := NoMethod(*s)
 10200  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10201  }
 10202  
 10203  // GoogleCloudIntegrationsV1alphaResolveSuspensionResponse: Response for
 10204  // Suspensions.ResolveSuspensions.
 10205  type GoogleCloudIntegrationsV1alphaResolveSuspensionResponse struct {
 10206  	// ServerResponse contains the HTTP response code and headers from the
 10207  	// server.
 10208  	googleapi.ServerResponse `json:"-"`
 10209  }
 10210  
 10211  // GoogleCloudIntegrationsV1alphaRuntimeActionSchema: Metadata of an
 10212  // action, including schemas for its inputs and outputs.
 10213  type GoogleCloudIntegrationsV1alphaRuntimeActionSchema struct {
 10214  	// Action: Name of the action.
 10215  	Action string `json:"action,omitempty"`
 10216  
 10217  	// InputSchema: Input parameter schema for the action.
 10218  	InputSchema string `json:"inputSchema,omitempty"`
 10219  
 10220  	// OutputSchema: Output parameter schema for the action.
 10221  	OutputSchema string `json:"outputSchema,omitempty"`
 10222  
 10223  	// ForceSendFields is a list of field names (e.g. "Action") to
 10224  	// unconditionally include in API requests. By default, fields with
 10225  	// empty or default values are omitted from API requests. However, any
 10226  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10227  	// sent to the server regardless of whether the field is empty or not.
 10228  	// This may be used to include empty fields in Patch requests.
 10229  	ForceSendFields []string `json:"-"`
 10230  
 10231  	// NullFields is a list of field names (e.g. "Action") to include in API
 10232  	// requests with the JSON null value. By default, fields with empty
 10233  	// values are omitted from API requests. However, any field with an
 10234  	// empty value appearing in NullFields will be sent to the server as
 10235  	// null. It is an error if a field in this list has a non-empty value.
 10236  	// This may be used to include null fields in Patch requests.
 10237  	NullFields []string `json:"-"`
 10238  }
 10239  
 10240  func (s *GoogleCloudIntegrationsV1alphaRuntimeActionSchema) MarshalJSON() ([]byte, error) {
 10241  	type NoMethod GoogleCloudIntegrationsV1alphaRuntimeActionSchema
 10242  	raw := NoMethod(*s)
 10243  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10244  }
 10245  
 10246  // GoogleCloudIntegrationsV1alphaRuntimeEntitySchema: Metadata of an
 10247  // entity, including a schema for its properties.
 10248  type GoogleCloudIntegrationsV1alphaRuntimeEntitySchema struct {
 10249  	// ArrayFieldSchema: The above schema, but for an array of the
 10250  	// associated entity.
 10251  	ArrayFieldSchema string `json:"arrayFieldSchema,omitempty"`
 10252  
 10253  	// Entity: Name of the entity.
 10254  	Entity string `json:"entity,omitempty"`
 10255  
 10256  	// FieldSchema: List of fields in the entity.
 10257  	FieldSchema string `json:"fieldSchema,omitempty"`
 10258  
 10259  	// ForceSendFields is a list of field names (e.g. "ArrayFieldSchema") to
 10260  	// unconditionally include in API requests. By default, fields with
 10261  	// empty or default values are omitted from API requests. However, any
 10262  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10263  	// sent to the server regardless of whether the field is empty or not.
 10264  	// This may be used to include empty fields in Patch requests.
 10265  	ForceSendFields []string `json:"-"`
 10266  
 10267  	// NullFields is a list of field names (e.g. "ArrayFieldSchema") to
 10268  	// include in API requests with the JSON null value. By default, fields
 10269  	// with empty values are omitted from API requests. However, any field
 10270  	// with an empty value appearing in NullFields will be sent to the
 10271  	// server as null. It is an error if a field in this list has a
 10272  	// non-empty value. This may be used to include null fields in Patch
 10273  	// requests.
 10274  	NullFields []string `json:"-"`
 10275  }
 10276  
 10277  func (s *GoogleCloudIntegrationsV1alphaRuntimeEntitySchema) MarshalJSON() ([]byte, error) {
 10278  	type NoMethod GoogleCloudIntegrationsV1alphaRuntimeEntitySchema
 10279  	raw := NoMethod(*s)
 10280  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10281  }
 10282  
 10283  // GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest: The
 10284  // request for scheduling an integration.
 10285  type GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest struct {
 10286  	// InputParameters: Optional. Input parameters used by integration
 10287  	// execution.
 10288  	InputParameters map[string]GoogleCloudIntegrationsV1alphaValueType `json:"inputParameters,omitempty"`
 10289  
 10290  	// ParameterEntries: Parameters are a part of Event and can be used to
 10291  	// communicate between different tasks that are part of the same
 10292  	// integration execution.
 10293  	ParameterEntries []*EnterpriseCrmFrontendsEventbusProtoParameterEntry `json:"parameterEntries,omitempty"`
 10294  
 10295  	// Parameters: Passed in as parameters to each integration execution.
 10296  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
 10297  
 10298  	// RequestId: This is used to de-dup incoming request: if the duplicate
 10299  	// request was detected, the response from the previous execution is
 10300  	// returned.
 10301  	RequestId string `json:"requestId,omitempty"`
 10302  
 10303  	// ScheduleTime: The time that the integration should be executed. If
 10304  	// the time is less or equal to the current time, the integration is
 10305  	// executed immediately.
 10306  	ScheduleTime string `json:"scheduleTime,omitempty"`
 10307  
 10308  	// TriggerId: Required. Matched against all {@link TriggerConfig}s
 10309  	// across all integrations. i.e.
 10310  	// TriggerConfig.trigger_id.equals(trigger_id)
 10311  	TriggerId string `json:"triggerId,omitempty"`
 10312  
 10313  	// ForceSendFields is a list of field names (e.g. "InputParameters") to
 10314  	// unconditionally include in API requests. By default, fields with
 10315  	// empty or default values are omitted from API requests. However, any
 10316  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10317  	// sent to the server regardless of whether the field is empty or not.
 10318  	// This may be used to include empty fields in Patch requests.
 10319  	ForceSendFields []string `json:"-"`
 10320  
 10321  	// NullFields is a list of field names (e.g. "InputParameters") to
 10322  	// include in API requests with the JSON null value. By default, fields
 10323  	// with empty values are omitted from API requests. However, any field
 10324  	// with an empty value appearing in NullFields will be sent to the
 10325  	// server as null. It is an error if a field in this list has a
 10326  	// non-empty value. This may be used to include null fields in Patch
 10327  	// requests.
 10328  	NullFields []string `json:"-"`
 10329  }
 10330  
 10331  func (s *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) MarshalJSON() ([]byte, error) {
 10332  	type NoMethod GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
 10333  	raw := NoMethod(*s)
 10334  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10335  }
 10336  
 10337  // GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse: The
 10338  // response for executing an integration.
 10339  type GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse struct {
 10340  	// ExecutionInfoIds: The execution info id for the executed
 10341  	// integrations.
 10342  	ExecutionInfoIds []string `json:"executionInfoIds,omitempty"`
 10343  
 10344  	// ServerResponse contains the HTTP response code and headers from the
 10345  	// server.
 10346  	googleapi.ServerResponse `json:"-"`
 10347  
 10348  	// ForceSendFields is a list of field names (e.g. "ExecutionInfoIds") to
 10349  	// unconditionally include in API requests. By default, fields with
 10350  	// empty or default values are omitted from API requests. However, any
 10351  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10352  	// sent to the server regardless of whether the field is empty or not.
 10353  	// This may be used to include empty fields in Patch requests.
 10354  	ForceSendFields []string `json:"-"`
 10355  
 10356  	// NullFields is a list of field names (e.g. "ExecutionInfoIds") to
 10357  	// include in API requests with the JSON null value. By default, fields
 10358  	// with empty values are omitted from API requests. However, any field
 10359  	// with an empty value appearing in NullFields will be sent to the
 10360  	// server as null. It is an error if a field in this list has a
 10361  	// non-empty value. This may be used to include null fields in Patch
 10362  	// requests.
 10363  	NullFields []string `json:"-"`
 10364  }
 10365  
 10366  func (s *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse) MarshalJSON() ([]byte, error) {
 10367  	type NoMethod GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse
 10368  	raw := NoMethod(*s)
 10369  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10370  }
 10371  
 10372  // GoogleCloudIntegrationsV1alphaServiceAccountCredentials: Represents
 10373  // the service account which can be used to generate access token for
 10374  // authenticating the service call.
 10375  type GoogleCloudIntegrationsV1alphaServiceAccountCredentials struct {
 10376  	// Scope: A space-delimited list of requested scope permissions.
 10377  	Scope string `json:"scope,omitempty"`
 10378  
 10379  	// ServiceAccount: Name of the service account that has the permission
 10380  	// to make the request.
 10381  	ServiceAccount string `json:"serviceAccount,omitempty"`
 10382  
 10383  	// ForceSendFields is a list of field names (e.g. "Scope") to
 10384  	// unconditionally include in API requests. By default, fields with
 10385  	// empty or default values are omitted from API requests. However, any
 10386  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10387  	// sent to the server regardless of whether the field is empty or not.
 10388  	// This may be used to include empty fields in Patch requests.
 10389  	ForceSendFields []string `json:"-"`
 10390  
 10391  	// NullFields is a list of field names (e.g. "Scope") to include in API
 10392  	// requests with the JSON null value. By default, fields with empty
 10393  	// values are omitted from API requests. However, any field with an
 10394  	// empty value appearing in NullFields will be sent to the server as
 10395  	// null. It is an error if a field in this list has a non-empty value.
 10396  	// This may be used to include null fields in Patch requests.
 10397  	NullFields []string `json:"-"`
 10398  }
 10399  
 10400  func (s *GoogleCloudIntegrationsV1alphaServiceAccountCredentials) MarshalJSON() ([]byte, error) {
 10401  	type NoMethod GoogleCloudIntegrationsV1alphaServiceAccountCredentials
 10402  	raw := NoMethod(*s)
 10403  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10404  }
 10405  
 10406  // GoogleCloudIntegrationsV1alphaSfdcChannel: The SfdcChannel that
 10407  // points to a CDC or Platform Event Channel.
 10408  type GoogleCloudIntegrationsV1alphaSfdcChannel struct {
 10409  	// ChannelTopic: The Channel topic defined by salesforce once an channel
 10410  	// is opened
 10411  	ChannelTopic string `json:"channelTopic,omitempty"`
 10412  
 10413  	// CreateTime: Output only. Time when the channel is created
 10414  	CreateTime string `json:"createTime,omitempty"`
 10415  
 10416  	// DeleteTime: Output only. Time when the channel was deleted. Empty if
 10417  	// not deleted.
 10418  	DeleteTime string `json:"deleteTime,omitempty"`
 10419  
 10420  	// Description: The description for this channel
 10421  	Description string `json:"description,omitempty"`
 10422  
 10423  	// DisplayName: Client level unique name/alias to easily reference a
 10424  	// channel.
 10425  	DisplayName string `json:"displayName,omitempty"`
 10426  
 10427  	// IsActive: Indicated if a channel has any active integrations
 10428  	// referencing it. Set to false when the channel is created, and set to
 10429  	// true if there is any integration published with the channel
 10430  	// configured in it.
 10431  	IsActive bool `json:"isActive,omitempty"`
 10432  
 10433  	// LastReplayId: Last sfdc messsage replay id for channel
 10434  	LastReplayId string `json:"lastReplayId,omitempty"`
 10435  
 10436  	// Name: Resource name of the SFDC channel
 10437  	// projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/
 10438  	// sfdcChannels/{sfdc_channel}.
 10439  	Name string `json:"name,omitempty"`
 10440  
 10441  	// UpdateTime: Output only. Time when the channel was last updated
 10442  	UpdateTime string `json:"updateTime,omitempty"`
 10443  
 10444  	// ServerResponse contains the HTTP response code and headers from the
 10445  	// server.
 10446  	googleapi.ServerResponse `json:"-"`
 10447  
 10448  	// ForceSendFields is a list of field names (e.g. "ChannelTopic") to
 10449  	// unconditionally include in API requests. By default, fields with
 10450  	// empty or default values are omitted from API requests. However, any
 10451  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10452  	// sent to the server regardless of whether the field is empty or not.
 10453  	// This may be used to include empty fields in Patch requests.
 10454  	ForceSendFields []string `json:"-"`
 10455  
 10456  	// NullFields is a list of field names (e.g. "ChannelTopic") to include
 10457  	// in API requests with the JSON null value. By default, fields with
 10458  	// empty values are omitted from API requests. However, any field with
 10459  	// an empty value appearing in NullFields will be sent to the server as
 10460  	// null. It is an error if a field in this list has a non-empty value.
 10461  	// This may be used to include null fields in Patch requests.
 10462  	NullFields []string `json:"-"`
 10463  }
 10464  
 10465  func (s *GoogleCloudIntegrationsV1alphaSfdcChannel) MarshalJSON() ([]byte, error) {
 10466  	type NoMethod GoogleCloudIntegrationsV1alphaSfdcChannel
 10467  	raw := NoMethod(*s)
 10468  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10469  }
 10470  
 10471  // GoogleCloudIntegrationsV1alphaSfdcInstance: The SfdcInstance resource
 10472  // use to hold channels and connection config data.
 10473  type GoogleCloudIntegrationsV1alphaSfdcInstance struct {
 10474  	// AuthConfigId: A list of AuthConfigs that can be tried to open the
 10475  	// channel to SFDC
 10476  	AuthConfigId []string `json:"authConfigId,omitempty"`
 10477  
 10478  	// CreateTime: Output only. Time when the instance is created
 10479  	CreateTime string `json:"createTime,omitempty"`
 10480  
 10481  	// DeleteTime: Output only. Time when the instance was deleted. Empty if
 10482  	// not deleted.
 10483  	DeleteTime string `json:"deleteTime,omitempty"`
 10484  
 10485  	// Description: A description of the sfdc instance.
 10486  	Description string `json:"description,omitempty"`
 10487  
 10488  	// DisplayName: User selected unique name/alias to easily reference an
 10489  	// instance.
 10490  	DisplayName string `json:"displayName,omitempty"`
 10491  
 10492  	// Name: Resource name of the SFDC instance
 10493  	// projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.
 10494  	Name string `json:"name,omitempty"`
 10495  
 10496  	// ServiceAuthority: URL used for API calls after authentication (the
 10497  	// login authority is configured within the referenced AuthConfig).
 10498  	ServiceAuthority string `json:"serviceAuthority,omitempty"`
 10499  
 10500  	// SfdcOrgId: The SFDC Org Id. This is defined in salesforce.
 10501  	SfdcOrgId string `json:"sfdcOrgId,omitempty"`
 10502  
 10503  	// UpdateTime: Output only. Time when the instance was last updated
 10504  	UpdateTime string `json:"updateTime,omitempty"`
 10505  
 10506  	// ServerResponse contains the HTTP response code and headers from the
 10507  	// server.
 10508  	googleapi.ServerResponse `json:"-"`
 10509  
 10510  	// ForceSendFields is a list of field names (e.g. "AuthConfigId") to
 10511  	// unconditionally include in API requests. By default, fields with
 10512  	// empty or default values are omitted from API requests. However, any
 10513  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10514  	// sent to the server regardless of whether the field is empty or not.
 10515  	// This may be used to include empty fields in Patch requests.
 10516  	ForceSendFields []string `json:"-"`
 10517  
 10518  	// NullFields is a list of field names (e.g. "AuthConfigId") to include
 10519  	// in API requests with the JSON null value. By default, fields with
 10520  	// empty values are omitted from API requests. However, any field with
 10521  	// an empty value appearing in NullFields will be sent to the server as
 10522  	// null. It is an error if a field in this list has a non-empty value.
 10523  	// This may be used to include null fields in Patch requests.
 10524  	NullFields []string `json:"-"`
 10525  }
 10526  
 10527  func (s *GoogleCloudIntegrationsV1alphaSfdcInstance) MarshalJSON() ([]byte, error) {
 10528  	type NoMethod GoogleCloudIntegrationsV1alphaSfdcInstance
 10529  	raw := NoMethod(*s)
 10530  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10531  }
 10532  
 10533  // GoogleCloudIntegrationsV1alphaStringParameterArray: This message only
 10534  // contains a field of string array.
 10535  type GoogleCloudIntegrationsV1alphaStringParameterArray struct {
 10536  	// StringValues: String array.
 10537  	StringValues []string `json:"stringValues,omitempty"`
 10538  
 10539  	// ForceSendFields is a list of field names (e.g. "StringValues") to
 10540  	// unconditionally include in API requests. By default, fields with
 10541  	// empty or default values are omitted from API requests. However, any
 10542  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10543  	// sent to the server regardless of whether the field is empty or not.
 10544  	// This may be used to include empty fields in Patch requests.
 10545  	ForceSendFields []string `json:"-"`
 10546  
 10547  	// NullFields is a list of field names (e.g. "StringValues") to include
 10548  	// in API requests with the JSON null value. By default, fields with
 10549  	// empty values are omitted from API requests. However, any field with
 10550  	// an empty value appearing in NullFields will be sent to the server as
 10551  	// null. It is an error if a field in this list has a non-empty value.
 10552  	// This may be used to include null fields in Patch requests.
 10553  	NullFields []string `json:"-"`
 10554  }
 10555  
 10556  func (s *GoogleCloudIntegrationsV1alphaStringParameterArray) MarshalJSON() ([]byte, error) {
 10557  	type NoMethod GoogleCloudIntegrationsV1alphaStringParameterArray
 10558  	raw := NoMethod(*s)
 10559  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10560  }
 10561  
 10562  // GoogleCloudIntegrationsV1alphaSuccessPolicy: Policy that dictates the
 10563  // behavior for the task after it completes successfully.
 10564  type GoogleCloudIntegrationsV1alphaSuccessPolicy struct {
 10565  	// FinalState: State to which the execution snapshot status will be set
 10566  	// if the task succeeds.
 10567  	//
 10568  	// Possible values:
 10569  	//   "FINAL_STATE_UNSPECIFIED" - UNSPECIFIED.
 10570  	//   "SUCCEEDED" - The default behavior, where successful tasks will be
 10571  	// marked as SUCCEEDED.
 10572  	//   "SUSPENDED" - Sets the state to SUSPENDED after executing. This is
 10573  	// required for SuspensionTask; event execution will continue once the
 10574  	// user calls ResolveSuspensions with the event_execution_info_id and
 10575  	// the task number.
 10576  	FinalState string `json:"finalState,omitempty"`
 10577  
 10578  	// ForceSendFields is a list of field names (e.g. "FinalState") to
 10579  	// unconditionally include in API requests. By default, fields with
 10580  	// empty or default values are omitted from API requests. However, any
 10581  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10582  	// sent to the server regardless of whether the field is empty or not.
 10583  	// This may be used to include empty fields in Patch requests.
 10584  	ForceSendFields []string `json:"-"`
 10585  
 10586  	// NullFields is a list of field names (e.g. "FinalState") to include in
 10587  	// API requests with the JSON null value. By default, fields with empty
 10588  	// values are omitted from API requests. However, any field with an
 10589  	// empty value appearing in NullFields will be sent to the server as
 10590  	// null. It is an error if a field in this list has a non-empty value.
 10591  	// This may be used to include null fields in Patch requests.
 10592  	NullFields []string `json:"-"`
 10593  }
 10594  
 10595  func (s *GoogleCloudIntegrationsV1alphaSuccessPolicy) MarshalJSON() ([]byte, error) {
 10596  	type NoMethod GoogleCloudIntegrationsV1alphaSuccessPolicy
 10597  	raw := NoMethod(*s)
 10598  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10599  }
 10600  
 10601  // GoogleCloudIntegrationsV1alphaSuspension: A record representing a
 10602  // suspension.
 10603  type GoogleCloudIntegrationsV1alphaSuspension struct {
 10604  	// ApprovalConfig: Controls the notifications and approval permissions
 10605  	// for this suspension.
 10606  	ApprovalConfig *GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig `json:"approvalConfig,omitempty"`
 10607  
 10608  	// Audit: Metadata pertaining to the resolution of this suspension.
 10609  	Audit *GoogleCloudIntegrationsV1alphaSuspensionAudit `json:"audit,omitempty"`
 10610  
 10611  	// CreateTime: Output only. Auto-generated.
 10612  	CreateTime string `json:"createTime,omitempty"`
 10613  
 10614  	// EventExecutionInfoId: Required. ID of the associated execution.
 10615  	EventExecutionInfoId string `json:"eventExecutionInfoId,omitempty"`
 10616  
 10617  	// Integration: Required. The name of the originating integration.
 10618  	Integration string `json:"integration,omitempty"`
 10619  
 10620  	// LastModifyTime: Output only. Auto-generated.
 10621  	LastModifyTime string `json:"lastModifyTime,omitempty"`
 10622  
 10623  	// Name: Resource name for suspensions suspension/{suspension_id}
 10624  	Name string `json:"name,omitempty"`
 10625  
 10626  	// State: Required. State of this suspension, indicating what action a
 10627  	// resolver has taken.
 10628  	//
 10629  	// Possible values:
 10630  	//   "RESOLUTION_STATE_UNSPECIFIED" - Unset state.
 10631  	//   "PENDING" - The suspension has not yet been resolved.
 10632  	//   "REJECTED" - The resolver has rejected the suspension.
 10633  	//   "LIFTED" - The resolver has lifted the suspension.
 10634  	State string `json:"state,omitempty"`
 10635  
 10636  	// SuspensionConfig: Controls the notifications and resolver permissions
 10637  	// for this suspension.
 10638  	SuspensionConfig *EnterpriseCrmEventbusProtoSuspensionConfig `json:"suspensionConfig,omitempty"`
 10639  
 10640  	// TaskId: Required. Task id of the associated SuspensionTask.
 10641  	TaskId string `json:"taskId,omitempty"`
 10642  
 10643  	// ForceSendFields is a list of field names (e.g. "ApprovalConfig") to
 10644  	// unconditionally include in API requests. By default, fields with
 10645  	// empty or default values are omitted from API requests. However, any
 10646  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10647  	// sent to the server regardless of whether the field is empty or not.
 10648  	// This may be used to include empty fields in Patch requests.
 10649  	ForceSendFields []string `json:"-"`
 10650  
 10651  	// NullFields is a list of field names (e.g. "ApprovalConfig") to
 10652  	// include in API requests with the JSON null value. By default, fields
 10653  	// with empty values are omitted from API requests. However, any field
 10654  	// with an empty value appearing in NullFields will be sent to the
 10655  	// server as null. It is an error if a field in this list has a
 10656  	// non-empty value. This may be used to include null fields in Patch
 10657  	// requests.
 10658  	NullFields []string `json:"-"`
 10659  }
 10660  
 10661  func (s *GoogleCloudIntegrationsV1alphaSuspension) MarshalJSON() ([]byte, error) {
 10662  	type NoMethod GoogleCloudIntegrationsV1alphaSuspension
 10663  	raw := NoMethod(*s)
 10664  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10665  }
 10666  
 10667  // GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig:
 10668  // Configurations for approving the Suspension.
 10669  type GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig struct {
 10670  	// CustomMessage: Information to provide for recipients.
 10671  	CustomMessage string `json:"customMessage,omitempty"`
 10672  
 10673  	// EmailAddresses: Email addresses to send approval request to.
 10674  	EmailAddresses []string `json:"emailAddresses,omitempty"`
 10675  
 10676  	// Expiration: Indicates the next steps when no external actions happen
 10677  	// on the suspension.
 10678  	Expiration *GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration `json:"expiration,omitempty"`
 10679  
 10680  	// ForceSendFields is a list of field names (e.g. "CustomMessage") to
 10681  	// unconditionally include in API requests. By default, fields with
 10682  	// empty or default values are omitted from API requests. However, any
 10683  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10684  	// sent to the server regardless of whether the field is empty or not.
 10685  	// This may be used to include empty fields in Patch requests.
 10686  	ForceSendFields []string `json:"-"`
 10687  
 10688  	// NullFields is a list of field names (e.g. "CustomMessage") to include
 10689  	// in API requests with the JSON null value. By default, fields with
 10690  	// empty values are omitted from API requests. However, any field with
 10691  	// an empty value appearing in NullFields will be sent to the server as
 10692  	// null. It is an error if a field in this list has a non-empty value.
 10693  	// This may be used to include null fields in Patch requests.
 10694  	NullFields []string `json:"-"`
 10695  }
 10696  
 10697  func (s *GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig) MarshalJSON() ([]byte, error) {
 10698  	type NoMethod GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
 10699  	raw := NoMethod(*s)
 10700  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10701  }
 10702  
 10703  // GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration:
 10704  // Expiration configs for the approval request.
 10705  type GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration struct {
 10706  	// ExpireTime: Output only. Time after which the suspension expires, if
 10707  	// no action taken.
 10708  	ExpireTime string `json:"expireTime,omitempty"`
 10709  
 10710  	// LiftWhenExpired: Whether the suspension will be REJECTED or LIFTED
 10711  	// upon expiration. REJECTED is the default behavior.
 10712  	LiftWhenExpired bool `json:"liftWhenExpired,omitempty"`
 10713  
 10714  	// RemindTime: Time after the previous suspension action reminder, if
 10715  	// any, is sent using the selected notification option, for a suspension
 10716  	// which is still PENDING_UNSPECIFIED.
 10717  	RemindTime string `json:"remindTime,omitempty"`
 10718  
 10719  	// ForceSendFields is a list of field names (e.g. "ExpireTime") to
 10720  	// unconditionally include in API requests. By default, fields with
 10721  	// empty or default values are omitted from API requests. However, any
 10722  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10723  	// sent to the server regardless of whether the field is empty or not.
 10724  	// This may be used to include empty fields in Patch requests.
 10725  	ForceSendFields []string `json:"-"`
 10726  
 10727  	// NullFields is a list of field names (e.g. "ExpireTime") to include in
 10728  	// API requests with the JSON null value. By default, fields with empty
 10729  	// values are omitted from API requests. However, any field with an
 10730  	// empty value appearing in NullFields will be sent to the server as
 10731  	// null. It is an error if a field in this list has a non-empty value.
 10732  	// This may be used to include null fields in Patch requests.
 10733  	NullFields []string `json:"-"`
 10734  }
 10735  
 10736  func (s *GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration) MarshalJSON() ([]byte, error) {
 10737  	type NoMethod GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
 10738  	raw := NoMethod(*s)
 10739  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10740  }
 10741  
 10742  // GoogleCloudIntegrationsV1alphaSuspensionAudit: Contains when and by
 10743  // whom the suspension was resolved.
 10744  type GoogleCloudIntegrationsV1alphaSuspensionAudit struct {
 10745  	// ResolveTime: Time at which this suspension was resolved.
 10746  	ResolveTime string `json:"resolveTime,omitempty"`
 10747  
 10748  	// Resolver: Email address of the person who resolved this suspension.
 10749  	Resolver string `json:"resolver,omitempty"`
 10750  
 10751  	// ForceSendFields is a list of field names (e.g. "ResolveTime") to
 10752  	// unconditionally include in API requests. By default, fields with
 10753  	// empty or default values are omitted from API requests. However, any
 10754  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10755  	// sent to the server regardless of whether the field is empty or not.
 10756  	// This may be used to include empty fields in Patch requests.
 10757  	ForceSendFields []string `json:"-"`
 10758  
 10759  	// NullFields is a list of field names (e.g. "ResolveTime") to include
 10760  	// in API requests with the JSON null value. By default, fields with
 10761  	// empty values are omitted from API requests. However, any field with
 10762  	// an empty value appearing in NullFields will be sent to the server as
 10763  	// null. It is an error if a field in this list has a non-empty value.
 10764  	// This may be used to include null fields in Patch requests.
 10765  	NullFields []string `json:"-"`
 10766  }
 10767  
 10768  func (s *GoogleCloudIntegrationsV1alphaSuspensionAudit) MarshalJSON() ([]byte, error) {
 10769  	type NoMethod GoogleCloudIntegrationsV1alphaSuspensionAudit
 10770  	raw := NoMethod(*s)
 10771  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10772  }
 10773  
 10774  // GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest: Request for
 10775  // TakeoverEditLock.
 10776  type GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest struct {
 10777  }
 10778  
 10779  // GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse: Response for
 10780  // TakeoverEditLock.
 10781  type GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse struct {
 10782  	// IntegrationVersion: Version after the lock is acquired by the new
 10783  	// user.
 10784  	IntegrationVersion *GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersion,omitempty"`
 10785  
 10786  	// ServerResponse contains the HTTP response code and headers from the
 10787  	// server.
 10788  	googleapi.ServerResponse `json:"-"`
 10789  
 10790  	// ForceSendFields is a list of field names (e.g. "IntegrationVersion")
 10791  	// to unconditionally include in API requests. By default, fields with
 10792  	// empty or default values are omitted from API requests. However, any
 10793  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10794  	// sent to the server regardless of whether the field is empty or not.
 10795  	// This may be used to include empty fields in Patch requests.
 10796  	ForceSendFields []string `json:"-"`
 10797  
 10798  	// NullFields is a list of field names (e.g. "IntegrationVersion") to
 10799  	// include in API requests with the JSON null value. By default, fields
 10800  	// with empty values are omitted from API requests. However, any field
 10801  	// with an empty value appearing in NullFields will be sent to the
 10802  	// server as null. It is an error if a field in this list has a
 10803  	// non-empty value. This may be used to include null fields in Patch
 10804  	// requests.
 10805  	NullFields []string `json:"-"`
 10806  }
 10807  
 10808  func (s *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse) MarshalJSON() ([]byte, error) {
 10809  	type NoMethod GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse
 10810  	raw := NoMethod(*s)
 10811  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10812  }
 10813  
 10814  // GoogleCloudIntegrationsV1alphaTaskConfig: The task configuration
 10815  // details. This is not the implementation of Task. There might be
 10816  // multiple TaskConfigs for the same Task.
 10817  type GoogleCloudIntegrationsV1alphaTaskConfig struct {
 10818  	// Description: Optional. User-provided description intended to give
 10819  	// additional business context about the task.
 10820  	Description string `json:"description,omitempty"`
 10821  
 10822  	// DisplayName: Optional. User-provided label that is attached to this
 10823  	// TaskConfig in the UI.
 10824  	DisplayName string `json:"displayName,omitempty"`
 10825  
 10826  	// ErrorCatcherId: Optional. Optional Error catcher id of the error
 10827  	// catch flow which will be executed when execution error happens in the
 10828  	// task
 10829  	ErrorCatcherId string `json:"errorCatcherId,omitempty"`
 10830  
 10831  	// ExternalTaskType: Optional. External task type of the task
 10832  	//
 10833  	// Possible values:
 10834  	//   "EXTERNAL_TASK_TYPE_UNSPECIFIED" - Default value. External task
 10835  	// type is not specified
 10836  	//   "NORMAL_TASK" - Tasks belongs to the normal task flows
 10837  	//   "ERROR_TASK" - Task belongs to the error catch task flows
 10838  	ExternalTaskType string `json:"externalTaskType,omitempty"`
 10839  
 10840  	// FailurePolicy: Optional. Determines the number of times the task will
 10841  	// be retried on failure and with what retry strategy. This is
 10842  	// applicable for asynchronous calls to Eventbus alone (Post To Queue,
 10843  	// Schedule etc.).
 10844  	FailurePolicy *GoogleCloudIntegrationsV1alphaFailurePolicy `json:"failurePolicy,omitempty"`
 10845  
 10846  	// JsonValidationOption: Optional. If set, overrides the option
 10847  	// configured in the Task implementation class.
 10848  	//
 10849  	// Possible values:
 10850  	//   "JSON_VALIDATION_OPTION_UNSPECIFIED" - As per the default behavior,
 10851  	// no validation will be run. Will not override any option set in a
 10852  	// Task.
 10853  	//   "SKIP" - Do not run any validation against JSON schemas.
 10854  	//   "PRE_EXECUTION" - Validate all potential input JSON parameters
 10855  	// against schemas specified in IntegrationParameter.
 10856  	//   "POST_EXECUTION" - Validate all potential output JSON parameters
 10857  	// against schemas specified in IntegrationParameter.
 10858  	//   "PRE_POST_EXECUTION" - Perform both PRE_EXECUTION and
 10859  	// POST_EXECUTION validations.
 10860  	JsonValidationOption string `json:"jsonValidationOption,omitempty"`
 10861  
 10862  	// NextTasks: Optional. The set of tasks that are next in line to be
 10863  	// executed as per the execution graph defined for the parent event,
 10864  	// specified by `event_config_id`. Each of these next tasks are executed
 10865  	// only if the condition associated with them evaluates to true.
 10866  	NextTasks []*GoogleCloudIntegrationsV1alphaNextTask `json:"nextTasks,omitempty"`
 10867  
 10868  	// NextTasksExecutionPolicy: Optional. The policy dictating the
 10869  	// execution of the next set of tasks for the current task.
 10870  	//
 10871  	// Possible values:
 10872  	//   "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED" - Default.
 10873  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
 10874  	// associated condition.
 10875  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
 10876  	// associated condition.
 10877  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
 10878  
 10879  	// Parameters: Optional. The customized parameters the user can pass to
 10880  	// this task.
 10881  	Parameters map[string]GoogleCloudIntegrationsV1alphaEventParameter `json:"parameters,omitempty"`
 10882  
 10883  	// Position: Optional. Informs the front-end application where to draw
 10884  	// this error catcher config on the UI.
 10885  	Position *GoogleCloudIntegrationsV1alphaCoordinate `json:"position,omitempty"`
 10886  
 10887  	// SuccessPolicy: Optional. Determines what action to take upon
 10888  	// successful task completion.
 10889  	SuccessPolicy *GoogleCloudIntegrationsV1alphaSuccessPolicy `json:"successPolicy,omitempty"`
 10890  
 10891  	// SynchronousCallFailurePolicy: Optional. Determines the number of
 10892  	// times the task will be retried on failure and with what retry
 10893  	// strategy. This is applicable for synchronous calls to Eventbus alone
 10894  	// (Post).
 10895  	SynchronousCallFailurePolicy *GoogleCloudIntegrationsV1alphaFailurePolicy `json:"synchronousCallFailurePolicy,omitempty"`
 10896  
 10897  	// Task: Optional. The name for the task.
 10898  	Task string `json:"task,omitempty"`
 10899  
 10900  	// TaskExecutionStrategy: Optional. The policy dictating the execution
 10901  	// strategy of this task.
 10902  	//
 10903  	// Possible values:
 10904  	//   "TASK_EXECUTION_STRATEGY_UNSPECIFIED" - Default. If the strategy is
 10905  	// not set explicitly, it will default to `WHEN_ALL_SUCCEED`.
 10906  	//   "WHEN_ALL_SUCCEED" - Wait until all of its previous tasks finished
 10907  	// execution, then verify at least one of the edge conditions is met,
 10908  	// and execute if possible. This should be considered as
 10909  	// WHEN_ALL_TASKS_SUCCEED.
 10910  	//   "WHEN_ANY_SUCCEED" - Start execution as long as any of its previous
 10911  	// tasks finished execution and the corresponding edge condition is met
 10912  	// (since we will execute if only that succeeding edge condition is
 10913  	// met).
 10914  	//   "WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" - Wait until all of its
 10915  	// previous tasks finished execution, then verify the all edge
 10916  	// conditions are met and execute if possible.
 10917  	TaskExecutionStrategy string `json:"taskExecutionStrategy,omitempty"`
 10918  
 10919  	// TaskId: Required. The identifier of this task within its parent event
 10920  	// config, specified by the client. This should be unique among all the
 10921  	// tasks belong to the same event config. We use this field as the
 10922  	// identifier to find next tasks (via field `next_tasks.task_id`).
 10923  	TaskId string `json:"taskId,omitempty"`
 10924  
 10925  	// TaskTemplate: Optional. Used to define task-template name if task is
 10926  	// of type task-template
 10927  	TaskTemplate string `json:"taskTemplate,omitempty"`
 10928  
 10929  	// ForceSendFields is a list of field names (e.g. "Description") to
 10930  	// unconditionally include in API requests. By default, fields with
 10931  	// empty or default values are omitted from API requests. However, any
 10932  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10933  	// sent to the server regardless of whether the field is empty or not.
 10934  	// This may be used to include empty fields in Patch requests.
 10935  	ForceSendFields []string `json:"-"`
 10936  
 10937  	// NullFields is a list of field names (e.g. "Description") to include
 10938  	// in API requests with the JSON null value. By default, fields with
 10939  	// empty values are omitted from API requests. However, any field with
 10940  	// an empty value appearing in NullFields will be sent to the server as
 10941  	// null. It is an error if a field in this list has a non-empty value.
 10942  	// This may be used to include null fields in Patch requests.
 10943  	NullFields []string `json:"-"`
 10944  }
 10945  
 10946  func (s *GoogleCloudIntegrationsV1alphaTaskConfig) MarshalJSON() ([]byte, error) {
 10947  	type NoMethod GoogleCloudIntegrationsV1alphaTaskConfig
 10948  	raw := NoMethod(*s)
 10949  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 10950  }
 10951  
 10952  // GoogleCloudIntegrationsV1alphaTaskExecutionDetails: Contains the
 10953  // details of the execution of this task.
 10954  type GoogleCloudIntegrationsV1alphaTaskExecutionDetails struct {
 10955  	// TaskAttemptStats: Status for the current task execution attempt.
 10956  	TaskAttemptStats []*GoogleCloudIntegrationsV1alphaAttemptStats `json:"taskAttemptStats,omitempty"`
 10957  
 10958  	// TaskExecutionState: The execution state of this task.
 10959  	//
 10960  	// Possible values:
 10961  	//   "TASK_EXECUTION_STATE_UNSPECIFIED" - Default value.
 10962  	//   "PENDING_EXECUTION" - Task is waiting for its precondition tasks to
 10963  	// finish to start the execution.
 10964  	//   "IN_PROCESS" - Task is under processing.
 10965  	//   "SUCCEED" - Task execution successfully finished. There's no more
 10966  	// change after this state.
 10967  	//   "FAILED" - Task execution failed. There's no more change after this
 10968  	// state.
 10969  	//   "FATAL" - Task execution failed and cause the whole event execution
 10970  	// to fail immediately. There's no more change after this state.
 10971  	//   "RETRY_ON_HOLD" - Task execution failed and waiting for retry.
 10972  	//   "SKIPPED" - Task execution skipped. This happens when its
 10973  	// precondition wasn't met, or the event execution been canceled before
 10974  	// reach to the task. There's no more changes after this state.
 10975  	//   "CANCELLED" - Task execution canceled when in progress. This
 10976  	// happens when event execution been canceled or any other task fall in
 10977  	// fatal state.
 10978  	//   "PENDING_ROLLBACK" - Task is waiting for its dependency tasks'
 10979  	// rollback to finish to start its rollback.
 10980  	//   "ROLLBACK_IN_PROCESS" - Task is rolling back.
 10981  	//   "ROLLEDBACK" - Task is rolled back. This is the state we will set
 10982  	// regardless of rollback succeeding or failing.
 10983  	//   "SUSPENDED" - Task is a SuspensionTask which has executed once,
 10984  	// creating a pending suspension.
 10985  	TaskExecutionState string `json:"taskExecutionState,omitempty"`
 10986  
 10987  	// TaskNumber: Pointer to the task config it used for execution.
 10988  	TaskNumber string `json:"taskNumber,omitempty"`
 10989  
 10990  	// ForceSendFields is a list of field names (e.g. "TaskAttemptStats") to
 10991  	// unconditionally include in API requests. By default, fields with
 10992  	// empty or default values are omitted from API requests. However, any
 10993  	// non-pointer, non-interface field appearing in ForceSendFields will be
 10994  	// sent to the server regardless of whether the field is empty or not.
 10995  	// This may be used to include empty fields in Patch requests.
 10996  	ForceSendFields []string `json:"-"`
 10997  
 10998  	// NullFields is a list of field names (e.g. "TaskAttemptStats") to
 10999  	// include in API requests with the JSON null value. By default, fields
 11000  	// with empty values are omitted from API requests. However, any field
 11001  	// with an empty value appearing in NullFields will be sent to the
 11002  	// server as null. It is an error if a field in this list has a
 11003  	// non-empty value. This may be used to include null fields in Patch
 11004  	// requests.
 11005  	NullFields []string `json:"-"`
 11006  }
 11007  
 11008  func (s *GoogleCloudIntegrationsV1alphaTaskExecutionDetails) MarshalJSON() ([]byte, error) {
 11009  	type NoMethod GoogleCloudIntegrationsV1alphaTaskExecutionDetails
 11010  	raw := NoMethod(*s)
 11011  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11012  }
 11013  
 11014  // GoogleCloudIntegrationsV1alphaTriggerConfig: Configuration detail of
 11015  // a trigger.
 11016  type GoogleCloudIntegrationsV1alphaTriggerConfig struct {
 11017  	// AlertConfig: Optional. An alert threshold configuration for the
 11018  	// [trigger + client + integration] tuple. If these values are not
 11019  	// specified in the trigger config, default values will be populated by
 11020  	// the system. Note that there must be exactly one alert threshold
 11021  	// configured per [client + trigger + integration] when published.
 11022  	AlertConfig []*GoogleCloudIntegrationsV1alphaIntegrationAlertConfig `json:"alertConfig,omitempty"`
 11023  
 11024  	// CloudSchedulerConfig: Optional. Cloud Scheduler Trigger related
 11025  	// metadata
 11026  	CloudSchedulerConfig *GoogleCloudIntegrationsV1alphaCloudSchedulerConfig `json:"cloudSchedulerConfig,omitempty"`
 11027  
 11028  	// Description: Optional. User-provided description intended to give
 11029  	// additional business context about the task.
 11030  	Description string `json:"description,omitempty"`
 11031  
 11032  	// ErrorCatcherId: Optional. Optional Error catcher id of the error
 11033  	// catch flow which will be executed when execution error happens in the
 11034  	// task
 11035  	ErrorCatcherId string `json:"errorCatcherId,omitempty"`
 11036  
 11037  	// Label: Optional. The user created label for a particular trigger.
 11038  	Label string `json:"label,omitempty"`
 11039  
 11040  	// NextTasksExecutionPolicy: Optional. Dictates how next tasks will be
 11041  	// executed.
 11042  	//
 11043  	// Possible values:
 11044  	//   "NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED" - Default.
 11045  	//   "RUN_ALL_MATCH" - Execute all the tasks that satisfy their
 11046  	// associated condition.
 11047  	//   "RUN_FIRST_MATCH" - Execute the first task that satisfies the
 11048  	// associated condition.
 11049  	NextTasksExecutionPolicy string `json:"nextTasksExecutionPolicy,omitempty"`
 11050  
 11051  	// Position: Optional. Informs the front-end application where to draw
 11052  	// this error catcher config on the UI.
 11053  	Position *GoogleCloudIntegrationsV1alphaCoordinate `json:"position,omitempty"`
 11054  
 11055  	// Properties: Optional. Configurable properties of the trigger, not to
 11056  	// be confused with integration parameters. E.g. "name" is a property
 11057  	// for API triggers and "subscription" is a property for Pub/sub
 11058  	// triggers.
 11059  	Properties map[string]string `json:"properties,omitempty"`
 11060  
 11061  	// StartTasks: Optional. Set of tasks numbers from where the integration
 11062  	// execution is started by this trigger. If this is empty, then
 11063  	// integration is executed with default start tasks. In the list of
 11064  	// start tasks, none of two tasks can have direct ancestor-descendant
 11065  	// relationships (i.e. in a same integration execution graph).
 11066  	StartTasks []*GoogleCloudIntegrationsV1alphaNextTask `json:"startTasks,omitempty"`
 11067  
 11068  	// TriggerId: Optional. The backend trigger ID.
 11069  	TriggerId string `json:"triggerId,omitempty"`
 11070  
 11071  	// TriggerNumber: Required. A number to uniquely identify each trigger
 11072  	// config within the integration on UI.
 11073  	TriggerNumber string `json:"triggerNumber,omitempty"`
 11074  
 11075  	// TriggerType: Optional. Type of trigger
 11076  	//
 11077  	// Possible values:
 11078  	//   "TRIGGER_TYPE_UNSPECIFIED" - Unknown.
 11079  	//   "CRON" - Trigger by scheduled time.
 11080  	//   "API" - Trigger by API call.
 11081  	//   "SFDC_CHANNEL" - Trigger by Salesforce Channel.
 11082  	//   "CLOUD_PUBSUB_EXTERNAL" - Trigger by Pub/Sub external.
 11083  	//   "SFDC_CDC_CHANNEL" - SFDC Channel Trigger for CDC.
 11084  	//   "CLOUD_SCHEDULER" - Trigger by Cloud Scheduler job.
 11085  	//   "INTEGRATION_CONNECTOR_TRIGGER" - Trigger by Connector Event
 11086  	TriggerType string `json:"triggerType,omitempty"`
 11087  
 11088  	// ForceSendFields is a list of field names (e.g. "AlertConfig") to
 11089  	// unconditionally include in API requests. By default, fields with
 11090  	// empty or default values are omitted from API requests. However, any
 11091  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11092  	// sent to the server regardless of whether the field is empty or not.
 11093  	// This may be used to include empty fields in Patch requests.
 11094  	ForceSendFields []string `json:"-"`
 11095  
 11096  	// NullFields is a list of field names (e.g. "AlertConfig") to include
 11097  	// in API requests with the JSON null value. By default, fields with
 11098  	// empty values are omitted from API requests. However, any field with
 11099  	// an empty value appearing in NullFields will be sent to the server as
 11100  	// null. It is an error if a field in this list has a non-empty value.
 11101  	// This may be used to include null fields in Patch requests.
 11102  	NullFields []string `json:"-"`
 11103  }
 11104  
 11105  func (s *GoogleCloudIntegrationsV1alphaTriggerConfig) MarshalJSON() ([]byte, error) {
 11106  	type NoMethod GoogleCloudIntegrationsV1alphaTriggerConfig
 11107  	raw := NoMethod(*s)
 11108  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11109  }
 11110  
 11111  // GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest:
 11112  // Request for UnpublishIntegrationVersion.
 11113  type GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest struct {
 11114  }
 11115  
 11116  // GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest:
 11117  // Request for UploadIntegrationVersion.
 11118  type GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest struct {
 11119  	// Content: The textproto of the integration_version.
 11120  	Content string `json:"content,omitempty"`
 11121  
 11122  	// FileFormat: File format for upload request.
 11123  	//
 11124  	// Possible values:
 11125  	//   "FILE_FORMAT_UNSPECIFIED" - Unspecified file format
 11126  	//   "JSON" - JSON File Format
 11127  	//   "YAML" - YAML File Format
 11128  	FileFormat string `json:"fileFormat,omitempty"`
 11129  
 11130  	// ForceSendFields is a list of field names (e.g. "Content") to
 11131  	// unconditionally include in API requests. By default, fields with
 11132  	// empty or default values are omitted from API requests. However, any
 11133  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11134  	// sent to the server regardless of whether the field is empty or not.
 11135  	// This may be used to include empty fields in Patch requests.
 11136  	ForceSendFields []string `json:"-"`
 11137  
 11138  	// NullFields is a list of field names (e.g. "Content") to include in
 11139  	// API requests with the JSON null value. By default, fields with empty
 11140  	// values are omitted from API requests. However, any field with an
 11141  	// empty value appearing in NullFields will be sent to the server as
 11142  	// null. It is an error if a field in this list has a non-empty value.
 11143  	// This may be used to include null fields in Patch requests.
 11144  	NullFields []string `json:"-"`
 11145  }
 11146  
 11147  func (s *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) MarshalJSON() ([]byte, error) {
 11148  	type NoMethod GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
 11149  	raw := NoMethod(*s)
 11150  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11151  }
 11152  
 11153  // GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse:
 11154  // Response for UploadIntegrationVersion.
 11155  type GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse struct {
 11156  	// IntegrationVersion: The uploaded integration.
 11157  	IntegrationVersion *GoogleCloudIntegrationsV1alphaIntegrationVersion `json:"integrationVersion,omitempty"`
 11158  
 11159  	// ServerResponse contains the HTTP response code and headers from the
 11160  	// server.
 11161  	googleapi.ServerResponse `json:"-"`
 11162  
 11163  	// ForceSendFields is a list of field names (e.g. "IntegrationVersion")
 11164  	// to unconditionally include in API requests. By default, fields with
 11165  	// empty or default values are omitted from API requests. However, any
 11166  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11167  	// sent to the server regardless of whether the field is empty or not.
 11168  	// This may be used to include empty fields in Patch requests.
 11169  	ForceSendFields []string `json:"-"`
 11170  
 11171  	// NullFields is a list of field names (e.g. "IntegrationVersion") to
 11172  	// include in API requests with the JSON null value. By default, fields
 11173  	// with empty values are omitted from API requests. However, any field
 11174  	// with an empty value appearing in NullFields will be sent to the
 11175  	// server as null. It is an error if a field in this list has a
 11176  	// non-empty value. This may be used to include null fields in Patch
 11177  	// requests.
 11178  	NullFields []string `json:"-"`
 11179  }
 11180  
 11181  func (s *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse) MarshalJSON() ([]byte, error) {
 11182  	type NoMethod GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse
 11183  	raw := NoMethod(*s)
 11184  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11185  }
 11186  
 11187  // GoogleCloudIntegrationsV1alphaUsernameAndPassword: Username and
 11188  // password pair.
 11189  type GoogleCloudIntegrationsV1alphaUsernameAndPassword struct {
 11190  	// Password: Password to be used
 11191  	Password string `json:"password,omitempty"`
 11192  
 11193  	// Username: Username to be used
 11194  	Username string `json:"username,omitempty"`
 11195  
 11196  	// ForceSendFields is a list of field names (e.g. "Password") to
 11197  	// unconditionally include in API requests. By default, fields with
 11198  	// empty or default values are omitted from API requests. However, any
 11199  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11200  	// sent to the server regardless of whether the field is empty or not.
 11201  	// This may be used to include empty fields in Patch requests.
 11202  	ForceSendFields []string `json:"-"`
 11203  
 11204  	// NullFields is a list of field names (e.g. "Password") to include in
 11205  	// API requests with the JSON null value. By default, fields with empty
 11206  	// values are omitted from API requests. However, any field with an
 11207  	// empty value appearing in NullFields will be sent to the server as
 11208  	// null. It is an error if a field in this list has a non-empty value.
 11209  	// This may be used to include null fields in Patch requests.
 11210  	NullFields []string `json:"-"`
 11211  }
 11212  
 11213  func (s *GoogleCloudIntegrationsV1alphaUsernameAndPassword) MarshalJSON() ([]byte, error) {
 11214  	type NoMethod GoogleCloudIntegrationsV1alphaUsernameAndPassword
 11215  	raw := NoMethod(*s)
 11216  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11217  }
 11218  
 11219  // GoogleCloudIntegrationsV1alphaValueType: The type of the parameter.
 11220  type GoogleCloudIntegrationsV1alphaValueType struct {
 11221  	// BooleanArray: Boolean Array.
 11222  	BooleanArray *GoogleCloudIntegrationsV1alphaBooleanParameterArray `json:"booleanArray,omitempty"`
 11223  
 11224  	// BooleanValue: Boolean.
 11225  	BooleanValue bool `json:"booleanValue,omitempty"`
 11226  
 11227  	// DoubleArray: Double Number Array.
 11228  	DoubleArray *GoogleCloudIntegrationsV1alphaDoubleParameterArray `json:"doubleArray,omitempty"`
 11229  
 11230  	// DoubleValue: Double Number.
 11231  	DoubleValue float64 `json:"doubleValue,omitempty"`
 11232  
 11233  	// IntArray: Integer Array.
 11234  	IntArray *GoogleCloudIntegrationsV1alphaIntParameterArray `json:"intArray,omitempty"`
 11235  
 11236  	// IntValue: Integer.
 11237  	IntValue int64 `json:"intValue,omitempty,string"`
 11238  
 11239  	// JsonValue: Json.
 11240  	JsonValue string `json:"jsonValue,omitempty"`
 11241  
 11242  	// StringArray: String Array.
 11243  	StringArray *GoogleCloudIntegrationsV1alphaStringParameterArray `json:"stringArray,omitempty"`
 11244  
 11245  	// StringValue: String.
 11246  	StringValue string `json:"stringValue,omitempty"`
 11247  
 11248  	// ForceSendFields is a list of field names (e.g. "BooleanArray") to
 11249  	// unconditionally include in API requests. By default, fields with
 11250  	// empty or default values are omitted from API requests. However, any
 11251  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11252  	// sent to the server regardless of whether the field is empty or not.
 11253  	// This may be used to include empty fields in Patch requests.
 11254  	ForceSendFields []string `json:"-"`
 11255  
 11256  	// NullFields is a list of field names (e.g. "BooleanArray") to include
 11257  	// in API requests with the JSON null value. By default, fields with
 11258  	// empty values are omitted from API requests. However, any field with
 11259  	// an empty value appearing in NullFields will be sent to the server as
 11260  	// null. It is an error if a field in this list has a non-empty value.
 11261  	// This may be used to include null fields in Patch requests.
 11262  	NullFields []string `json:"-"`
 11263  }
 11264  
 11265  func (s *GoogleCloudIntegrationsV1alphaValueType) MarshalJSON() ([]byte, error) {
 11266  	type NoMethod GoogleCloudIntegrationsV1alphaValueType
 11267  	raw := NoMethod(*s)
 11268  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11269  }
 11270  
 11271  func (s *GoogleCloudIntegrationsV1alphaValueType) UnmarshalJSON(data []byte) error {
 11272  	type NoMethod GoogleCloudIntegrationsV1alphaValueType
 11273  	var s1 struct {
 11274  		DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
 11275  		*NoMethod
 11276  	}
 11277  	s1.NoMethod = (*NoMethod)(s)
 11278  	if err := json.Unmarshal(data, &s1); err != nil {
 11279  		return err
 11280  	}
 11281  	s.DoubleValue = float64(s1.DoubleValue)
 11282  	return nil
 11283  }
 11284  
 11285  // GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest: Use
 11286  // this request to post all workflows associated with a given trigger
 11287  // id. Next available id: 11
 11288  type GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest struct {
 11289  	// ClientId: Optional. If the client id is provided, then the
 11290  	// combination of trigger id and client id is matched across all the
 11291  	// workflows. If the client id is not provided, then workflows with
 11292  	// matching trigger id are executed for each client id in the {@link
 11293  	// TriggerConfig}. For Api Trigger, the client id is required and will
 11294  	// be validated against the allowed clients.
 11295  	ClientId string `json:"clientId,omitempty"`
 11296  
 11297  	// IgnoreErrorIfNoActiveWorkflow: Optional. Flag to determine whether
 11298  	// clients would suppress a warning when no ACTIVE workflows are not
 11299  	// found. If this flag is set to be true, an error will not be thrown if
 11300  	// the requested trigger_id or client_id is not found in any ACTIVE
 11301  	// workflow. Otherwise, the error is always thrown. The flag is set to
 11302  	// be false by default.
 11303  	IgnoreErrorIfNoActiveWorkflow bool `json:"ignoreErrorIfNoActiveWorkflow,omitempty"`
 11304  
 11305  	// Parameters: Passed in as parameters to each workflow execution.
 11306  	// Optional.
 11307  	Parameters *EnterpriseCrmEventbusProtoEventParameters `json:"parameters,omitempty"`
 11308  
 11309  	// Priority: The request priority this request should be processed at.
 11310  	// For internal users:
 11311  	//
 11312  	// Possible values:
 11313  	//   "UNSPCIFIED" - Unspecified
 11314  	//   "SHEDDABLE" - Frequent partial and occasional full unavailability
 11315  	// is expected and not pageable. * Requests to this band will be shed
 11316  	// before all other requests. * This is the default for async calls sent
 11317  	// from batch jobs.
 11318  	//   "SHEDDABLE_PLUS" - Partial unavailability is expected and is not
 11319  	// necessarily pageable. * Requests to this band will be shed before any
 11320  	// critical traffic. * This is the default for async calls sent from
 11321  	// production jobs.
 11322  	//   "CRITICAL" - Any outage is a pageable event. * During a production
 11323  	// outage requests in this band will only be shed before CRITICAL_PLUS.
 11324  	// * This is the default for sync calls sent from production jobs.
 11325  	//   "CRITICAL_PLUS" - Any outage is a pageable event. * The guideline
 11326  	// is for < 10% of requests to a service to be in this band. * During a
 11327  	// production outage requests in this band will be prioritized above all
 11328  	// others. * Opt-in to CRITICAL_PLUS when your workflow triggers by
 11329  	// human.
 11330  	Priority string `json:"priority,omitempty"`
 11331  
 11332  	// RequestId: Optional. This is used to de-dup incoming request: if the
 11333  	// duplicate request was detected, the response from the previous
 11334  	// execution is returned. Must have no more than 36 characters and
 11335  	// contain only alphanumeric characters and hyphens.
 11336  	RequestId string `json:"requestId,omitempty"`
 11337  
 11338  	// ResourceName: This field is only required when using Admin Access.
 11339  	// The resource name of target, or the parent resource name. For
 11340  	// example: "projects/*/locations/*/integrations/*"
 11341  	ResourceName string `json:"resourceName,omitempty"`
 11342  
 11343  	// ScheduledTime: Optional. Time in milliseconds since epoch when the
 11344  	// given event would be scheduled.
 11345  	ScheduledTime int64 `json:"scheduledTime,omitempty,string"`
 11346  
 11347  	// TestMode: Optional. Sets test mode in {@link
 11348  	// enterprise/crm/eventbus/event_message.proto}.
 11349  	TestMode bool `json:"testMode,omitempty"`
 11350  
 11351  	// TriggerId: Matched against all {@link TriggerConfig}s across all
 11352  	// workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.
 11353  	TriggerId string `json:"triggerId,omitempty"`
 11354  
 11355  	// WorkflowName: Optional. If provided, the workflow_name is used to
 11356  	// filter all the matched workflows having same trigger_id+client_id. A
 11357  	// combination of trigger_id, client_id and workflow_name identifies a
 11358  	// unique workflow.
 11359  	WorkflowName string `json:"workflowName,omitempty"`
 11360  
 11361  	// ForceSendFields is a list of field names (e.g. "ClientId") to
 11362  	// unconditionally include in API requests. By default, fields with
 11363  	// empty or default values are omitted from API requests. However, any
 11364  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11365  	// sent to the server regardless of whether the field is empty or not.
 11366  	// This may be used to include empty fields in Patch requests.
 11367  	ForceSendFields []string `json:"-"`
 11368  
 11369  	// NullFields is a list of field names (e.g. "ClientId") to include in
 11370  	// API requests with the JSON null value. By default, fields with empty
 11371  	// values are omitted from API requests. However, any field with an
 11372  	// empty value appearing in NullFields will be sent to the server as
 11373  	// null. It is an error if a field in this list has a non-empty value.
 11374  	// This may be used to include null fields in Patch requests.
 11375  	NullFields []string `json:"-"`
 11376  }
 11377  
 11378  func (s *GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest) MarshalJSON() ([]byte, error) {
 11379  	type NoMethod GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest
 11380  	raw := NoMethod(*s)
 11381  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11382  }
 11383  
 11384  // GoogleProtobufEmpty: A generic empty message that you can re-use to
 11385  // avoid defining duplicated empty messages in your APIs. A typical
 11386  // example is to use it as the request or the response type of an API
 11387  // method. For instance: service Foo { rpc Bar(google.protobuf.Empty)
 11388  // returns (google.protobuf.Empty); }
 11389  type GoogleProtobufEmpty struct {
 11390  	// ServerResponse contains the HTTP response code and headers from the
 11391  	// server.
 11392  	googleapi.ServerResponse `json:"-"`
 11393  }
 11394  
 11395  // IoCloudeventsV1CloudEvent: -- CloudEvent Context Attributes
 11396  type IoCloudeventsV1CloudEvent struct {
 11397  	// Attributes: Optional & Extension Attributes
 11398  	Attributes map[string]IoCloudeventsV1CloudEventCloudEventAttributeValue `json:"attributes,omitempty"`
 11399  
 11400  	BinaryData string `json:"binaryData,omitempty"`
 11401  
 11402  	// Id: Required Attributes
 11403  	Id string `json:"id,omitempty"`
 11404  
 11405  	ProtoData googleapi.RawMessage `json:"protoData,omitempty"`
 11406  
 11407  	// Source: URI-reference
 11408  	Source string `json:"source,omitempty"`
 11409  
 11410  	SpecVersion string `json:"specVersion,omitempty"`
 11411  
 11412  	TextData string `json:"textData,omitempty"`
 11413  
 11414  	Type string `json:"type,omitempty"`
 11415  
 11416  	// ForceSendFields is a list of field names (e.g. "Attributes") to
 11417  	// unconditionally include in API requests. By default, fields with
 11418  	// empty or default values are omitted from API requests. However, any
 11419  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11420  	// sent to the server regardless of whether the field is empty or not.
 11421  	// This may be used to include empty fields in Patch requests.
 11422  	ForceSendFields []string `json:"-"`
 11423  
 11424  	// NullFields is a list of field names (e.g. "Attributes") to include in
 11425  	// API requests with the JSON null value. By default, fields with empty
 11426  	// values are omitted from API requests. However, any field with an
 11427  	// empty value appearing in NullFields will be sent to the server as
 11428  	// null. It is an error if a field in this list has a non-empty value.
 11429  	// This may be used to include null fields in Patch requests.
 11430  	NullFields []string `json:"-"`
 11431  }
 11432  
 11433  func (s *IoCloudeventsV1CloudEvent) MarshalJSON() ([]byte, error) {
 11434  	type NoMethod IoCloudeventsV1CloudEvent
 11435  	raw := NoMethod(*s)
 11436  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11437  }
 11438  
 11439  type IoCloudeventsV1CloudEventCloudEventAttributeValue struct {
 11440  	CeBoolean bool `json:"ceBoolean,omitempty"`
 11441  
 11442  	CeBytes string `json:"ceBytes,omitempty"`
 11443  
 11444  	CeInteger int64 `json:"ceInteger,omitempty"`
 11445  
 11446  	CeString string `json:"ceString,omitempty"`
 11447  
 11448  	CeTimestamp string `json:"ceTimestamp,omitempty"`
 11449  
 11450  	CeUri string `json:"ceUri,omitempty"`
 11451  
 11452  	CeUriRef string `json:"ceUriRef,omitempty"`
 11453  
 11454  	// ForceSendFields is a list of field names (e.g. "CeBoolean") to
 11455  	// unconditionally include in API requests. By default, fields with
 11456  	// empty or default values are omitted from API requests. However, any
 11457  	// non-pointer, non-interface field appearing in ForceSendFields will be
 11458  	// sent to the server regardless of whether the field is empty or not.
 11459  	// This may be used to include empty fields in Patch requests.
 11460  	ForceSendFields []string `json:"-"`
 11461  
 11462  	// NullFields is a list of field names (e.g. "CeBoolean") to include in
 11463  	// API requests with the JSON null value. By default, fields with empty
 11464  	// values are omitted from API requests. However, any field with an
 11465  	// empty value appearing in NullFields will be sent to the server as
 11466  	// null. It is an error if a field in this list has a non-empty value.
 11467  	// This may be used to include null fields in Patch requests.
 11468  	NullFields []string `json:"-"`
 11469  }
 11470  
 11471  func (s *IoCloudeventsV1CloudEventCloudEventAttributeValue) MarshalJSON() ([]byte, error) {
 11472  	type NoMethod IoCloudeventsV1CloudEventCloudEventAttributeValue
 11473  	raw := NoMethod(*s)
 11474  	return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
 11475  }
 11476  
 11477  // method id "integrations.callback.generateToken":
 11478  
 11479  type CallbackGenerateTokenCall struct {
 11480  	s            *Service
 11481  	urlParams_   gensupport.URLParams
 11482  	ifNoneMatch_ string
 11483  	ctx_         context.Context
 11484  	header_      http.Header
 11485  }
 11486  
 11487  // GenerateToken: Receives the auth code and auth config id to combine
 11488  // that with the client id and secret to retrieve access tokens from the
 11489  // token endpoint. Returns either a success or error message when it's
 11490  // done.
 11491  func (r *CallbackService) GenerateToken() *CallbackGenerateTokenCall {
 11492  	c := &CallbackGenerateTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11493  	return c
 11494  }
 11495  
 11496  // Code sets the optional parameter "code": The auth code for the given
 11497  // request
 11498  func (c *CallbackGenerateTokenCall) Code(code string) *CallbackGenerateTokenCall {
 11499  	c.urlParams_.Set("code", code)
 11500  	return c
 11501  }
 11502  
 11503  // GcpProjectId sets the optional parameter "gcpProjectId": The gcp
 11504  // project id of the request
 11505  func (c *CallbackGenerateTokenCall) GcpProjectId(gcpProjectId string) *CallbackGenerateTokenCall {
 11506  	c.urlParams_.Set("gcpProjectId", gcpProjectId)
 11507  	return c
 11508  }
 11509  
 11510  // Product sets the optional parameter "product": Which product sends
 11511  // the request
 11512  //
 11513  // Possible values:
 11514  //
 11515  //	"UNSPECIFIED_PRODUCT"
 11516  //	"IP"
 11517  //	"APIGEE"
 11518  //	"SECURITY"
 11519  func (c *CallbackGenerateTokenCall) Product(product string) *CallbackGenerateTokenCall {
 11520  	c.urlParams_.Set("product", product)
 11521  	return c
 11522  }
 11523  
 11524  // RedirectUri sets the optional parameter "redirectUri": Redirect uri
 11525  // of the auth code request
 11526  func (c *CallbackGenerateTokenCall) RedirectUri(redirectUri string) *CallbackGenerateTokenCall {
 11527  	c.urlParams_.Set("redirectUri", redirectUri)
 11528  	return c
 11529  }
 11530  
 11531  // State sets the optional parameter "state": The auth config id for the
 11532  // given request
 11533  func (c *CallbackGenerateTokenCall) State(state string) *CallbackGenerateTokenCall {
 11534  	c.urlParams_.Set("state", state)
 11535  	return c
 11536  }
 11537  
 11538  // Fields allows partial responses to be retrieved. See
 11539  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11540  // for more information.
 11541  func (c *CallbackGenerateTokenCall) Fields(s ...googleapi.Field) *CallbackGenerateTokenCall {
 11542  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11543  	return c
 11544  }
 11545  
 11546  // IfNoneMatch sets the optional parameter which makes the operation
 11547  // fail if the object's ETag matches the given value. This is useful for
 11548  // getting updates only after the object has changed since the last
 11549  // request. Use googleapi.IsNotModified to check whether the response
 11550  // error from Do is the result of In-None-Match.
 11551  func (c *CallbackGenerateTokenCall) IfNoneMatch(entityTag string) *CallbackGenerateTokenCall {
 11552  	c.ifNoneMatch_ = entityTag
 11553  	return c
 11554  }
 11555  
 11556  // Context sets the context to be used in this call's Do method. Any
 11557  // pending HTTP request will be aborted if the provided context is
 11558  // canceled.
 11559  func (c *CallbackGenerateTokenCall) Context(ctx context.Context) *CallbackGenerateTokenCall {
 11560  	c.ctx_ = ctx
 11561  	return c
 11562  }
 11563  
 11564  // Header returns an http.Header that can be modified by the caller to
 11565  // add HTTP headers to the request.
 11566  func (c *CallbackGenerateTokenCall) Header() http.Header {
 11567  	if c.header_ == nil {
 11568  		c.header_ = make(http.Header)
 11569  	}
 11570  	return c.header_
 11571  }
 11572  
 11573  func (c *CallbackGenerateTokenCall) doRequest(alt string) (*http.Response, error) {
 11574  	reqHeaders := make(http.Header)
 11575  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 11576  	for k, v := range c.header_ {
 11577  		reqHeaders[k] = v
 11578  	}
 11579  	reqHeaders.Set("User-Agent", c.s.userAgent())
 11580  	if c.ifNoneMatch_ != "" {
 11581  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11582  	}
 11583  	var body io.Reader = nil
 11584  	c.urlParams_.Set("alt", alt)
 11585  	c.urlParams_.Set("prettyPrint", "false")
 11586  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/callback:generateToken")
 11587  	urls += "?" + c.urlParams_.Encode()
 11588  	req, err := http.NewRequest("GET", urls, body)
 11589  	if err != nil {
 11590  		return nil, err
 11591  	}
 11592  	req.Header = reqHeaders
 11593  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11594  }
 11595  
 11596  // Do executes the "integrations.callback.generateToken" call.
 11597  // Exactly one of *GoogleCloudIntegrationsV1alphaGenerateTokenResponse
 11598  // or error will be non-nil. Any non-2xx status code is an error.
 11599  // Response headers are in either
 11600  // *GoogleCloudIntegrationsV1alphaGenerateTokenResponse.ServerResponse.He
 11601  // ader or (if a response was returned at all) in
 11602  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11603  // whether the returned error was because http.StatusNotModified was
 11604  // returned.
 11605  func (c *CallbackGenerateTokenCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaGenerateTokenResponse, error) {
 11606  	gensupport.SetOptions(c.urlParams_, opts...)
 11607  	res, err := c.doRequest("json")
 11608  	if res != nil && res.StatusCode == http.StatusNotModified {
 11609  		if res.Body != nil {
 11610  			res.Body.Close()
 11611  		}
 11612  		return nil, gensupport.WrapError(&googleapi.Error{
 11613  			Code:   res.StatusCode,
 11614  			Header: res.Header,
 11615  		})
 11616  	}
 11617  	if err != nil {
 11618  		return nil, err
 11619  	}
 11620  	defer googleapi.CloseBody(res)
 11621  	if err := googleapi.CheckResponse(res); err != nil {
 11622  		return nil, gensupport.WrapError(err)
 11623  	}
 11624  	ret := &GoogleCloudIntegrationsV1alphaGenerateTokenResponse{
 11625  		ServerResponse: googleapi.ServerResponse{
 11626  			Header:         res.Header,
 11627  			HTTPStatusCode: res.StatusCode,
 11628  		},
 11629  	}
 11630  	target := &ret
 11631  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11632  		return nil, err
 11633  	}
 11634  	return ret, nil
 11635  	// {
 11636  	//   "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.",
 11637  	//   "flatPath": "v1alpha/callback:generateToken",
 11638  	//   "httpMethod": "GET",
 11639  	//   "id": "integrations.callback.generateToken",
 11640  	//   "parameterOrder": [],
 11641  	//   "parameters": {
 11642  	//     "code": {
 11643  	//       "description": "The auth code for the given request",
 11644  	//       "location": "query",
 11645  	//       "type": "string"
 11646  	//     },
 11647  	//     "gcpProjectId": {
 11648  	//       "description": "The gcp project id of the request",
 11649  	//       "location": "query",
 11650  	//       "type": "string"
 11651  	//     },
 11652  	//     "product": {
 11653  	//       "description": "Which product sends the request",
 11654  	//       "enum": [
 11655  	//         "UNSPECIFIED_PRODUCT",
 11656  	//         "IP",
 11657  	//         "APIGEE",
 11658  	//         "SECURITY"
 11659  	//       ],
 11660  	//       "enumDescriptions": [
 11661  	//         "",
 11662  	//         "",
 11663  	//         "",
 11664  	//         ""
 11665  	//       ],
 11666  	//       "location": "query",
 11667  	//       "type": "string"
 11668  	//     },
 11669  	//     "redirectUri": {
 11670  	//       "description": "Redirect uri of the auth code request",
 11671  	//       "location": "query",
 11672  	//       "type": "string"
 11673  	//     },
 11674  	//     "state": {
 11675  	//       "description": "The auth config id for the given request",
 11676  	//       "location": "query",
 11677  	//       "type": "string"
 11678  	//     }
 11679  	//   },
 11680  	//   "path": "v1alpha/callback:generateToken",
 11681  	//   "response": {
 11682  	//     "$ref": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse"
 11683  	//   },
 11684  	//   "scopes": [
 11685  	//     "https://www.googleapis.com/auth/cloud-platform"
 11686  	//   ]
 11687  	// }
 11688  
 11689  }
 11690  
 11691  // method id "integrations.connectorPlatformRegions.enumerate":
 11692  
 11693  type ConnectorPlatformRegionsEnumerateCall struct {
 11694  	s            *Service
 11695  	urlParams_   gensupport.URLParams
 11696  	ifNoneMatch_ string
 11697  	ctx_         context.Context
 11698  	header_      http.Header
 11699  }
 11700  
 11701  // Enumerate: Enumerates the regions for which Connector Platform is
 11702  // provisioned.
 11703  func (r *ConnectorPlatformRegionsService) Enumerate() *ConnectorPlatformRegionsEnumerateCall {
 11704  	c := &ConnectorPlatformRegionsEnumerateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11705  	return c
 11706  }
 11707  
 11708  // Fields allows partial responses to be retrieved. See
 11709  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11710  // for more information.
 11711  func (c *ConnectorPlatformRegionsEnumerateCall) Fields(s ...googleapi.Field) *ConnectorPlatformRegionsEnumerateCall {
 11712  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11713  	return c
 11714  }
 11715  
 11716  // IfNoneMatch sets the optional parameter which makes the operation
 11717  // fail if the object's ETag matches the given value. This is useful for
 11718  // getting updates only after the object has changed since the last
 11719  // request. Use googleapi.IsNotModified to check whether the response
 11720  // error from Do is the result of In-None-Match.
 11721  func (c *ConnectorPlatformRegionsEnumerateCall) IfNoneMatch(entityTag string) *ConnectorPlatformRegionsEnumerateCall {
 11722  	c.ifNoneMatch_ = entityTag
 11723  	return c
 11724  }
 11725  
 11726  // Context sets the context to be used in this call's Do method. Any
 11727  // pending HTTP request will be aborted if the provided context is
 11728  // canceled.
 11729  func (c *ConnectorPlatformRegionsEnumerateCall) Context(ctx context.Context) *ConnectorPlatformRegionsEnumerateCall {
 11730  	c.ctx_ = ctx
 11731  	return c
 11732  }
 11733  
 11734  // Header returns an http.Header that can be modified by the caller to
 11735  // add HTTP headers to the request.
 11736  func (c *ConnectorPlatformRegionsEnumerateCall) Header() http.Header {
 11737  	if c.header_ == nil {
 11738  		c.header_ = make(http.Header)
 11739  	}
 11740  	return c.header_
 11741  }
 11742  
 11743  func (c *ConnectorPlatformRegionsEnumerateCall) doRequest(alt string) (*http.Response, error) {
 11744  	reqHeaders := make(http.Header)
 11745  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 11746  	for k, v := range c.header_ {
 11747  		reqHeaders[k] = v
 11748  	}
 11749  	reqHeaders.Set("User-Agent", c.s.userAgent())
 11750  	if c.ifNoneMatch_ != "" {
 11751  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11752  	}
 11753  	var body io.Reader = nil
 11754  	c.urlParams_.Set("alt", alt)
 11755  	c.urlParams_.Set("prettyPrint", "false")
 11756  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/connectorPlatformRegions:enumerate")
 11757  	urls += "?" + c.urlParams_.Encode()
 11758  	req, err := http.NewRequest("GET", urls, body)
 11759  	if err != nil {
 11760  		return nil, err
 11761  	}
 11762  	req.Header = reqHeaders
 11763  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11764  }
 11765  
 11766  // Do executes the "integrations.connectorPlatformRegions.enumerate" call.
 11767  // Exactly one of
 11768  // *GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespon
 11769  // se or error will be non-nil. Any non-2xx status code is an error.
 11770  // Response headers are in either
 11771  // *GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespon
 11772  // se.ServerResponse.Header or (if a response was returned at all) in
 11773  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11774  // whether the returned error was because http.StatusNotModified was
 11775  // returned.
 11776  func (c *ConnectorPlatformRegionsEnumerateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse, error) {
 11777  	gensupport.SetOptions(c.urlParams_, opts...)
 11778  	res, err := c.doRequest("json")
 11779  	if res != nil && res.StatusCode == http.StatusNotModified {
 11780  		if res.Body != nil {
 11781  			res.Body.Close()
 11782  		}
 11783  		return nil, gensupport.WrapError(&googleapi.Error{
 11784  			Code:   res.StatusCode,
 11785  			Header: res.Header,
 11786  		})
 11787  	}
 11788  	if err != nil {
 11789  		return nil, err
 11790  	}
 11791  	defer googleapi.CloseBody(res)
 11792  	if err := googleapi.CheckResponse(res); err != nil {
 11793  		return nil, gensupport.WrapError(err)
 11794  	}
 11795  	ret := &GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse{
 11796  		ServerResponse: googleapi.ServerResponse{
 11797  			Header:         res.Header,
 11798  			HTTPStatusCode: res.StatusCode,
 11799  		},
 11800  	}
 11801  	target := &ret
 11802  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11803  		return nil, err
 11804  	}
 11805  	return ret, nil
 11806  	// {
 11807  	//   "description": "Enumerates the regions for which Connector Platform is provisioned.",
 11808  	//   "flatPath": "v1alpha/connectorPlatformRegions:enumerate",
 11809  	//   "httpMethod": "GET",
 11810  	//   "id": "integrations.connectorPlatformRegions.enumerate",
 11811  	//   "parameterOrder": [],
 11812  	//   "parameters": {},
 11813  	//   "path": "v1alpha/connectorPlatformRegions:enumerate",
 11814  	//   "response": {
 11815  	//     "$ref": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse"
 11816  	//   },
 11817  	//   "scopes": [
 11818  	//     "https://www.googleapis.com/auth/cloud-platform"
 11819  	//   ]
 11820  	// }
 11821  
 11822  }
 11823  
 11824  // method id "integrations.projects.locations.appsScriptProjects.create":
 11825  
 11826  type ProjectsLocationsAppsScriptProjectsCreateCall struct {
 11827  	s                                                            *Service
 11828  	parent                                                       string
 11829  	googlecloudintegrationsv1alphacreateappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest
 11830  	urlParams_                                                   gensupport.URLParams
 11831  	ctx_                                                         context.Context
 11832  	header_                                                      http.Header
 11833  }
 11834  
 11835  // Create: Creates an Apps Script project.
 11836  //
 11837  // - parent: The project that the executed integration belongs to.
 11838  func (r *ProjectsLocationsAppsScriptProjectsService) Create(parent string, googlecloudintegrationsv1alphacreateappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest) *ProjectsLocationsAppsScriptProjectsCreateCall {
 11839  	c := &ProjectsLocationsAppsScriptProjectsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11840  	c.parent = parent
 11841  	c.googlecloudintegrationsv1alphacreateappsscriptprojectrequest = googlecloudintegrationsv1alphacreateappsscriptprojectrequest
 11842  	return c
 11843  }
 11844  
 11845  // Fields allows partial responses to be retrieved. See
 11846  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11847  // for more information.
 11848  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAppsScriptProjectsCreateCall {
 11849  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11850  	return c
 11851  }
 11852  
 11853  // Context sets the context to be used in this call's Do method. Any
 11854  // pending HTTP request will be aborted if the provided context is
 11855  // canceled.
 11856  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Context(ctx context.Context) *ProjectsLocationsAppsScriptProjectsCreateCall {
 11857  	c.ctx_ = ctx
 11858  	return c
 11859  }
 11860  
 11861  // Header returns an http.Header that can be modified by the caller to
 11862  // add HTTP headers to the request.
 11863  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Header() http.Header {
 11864  	if c.header_ == nil {
 11865  		c.header_ = make(http.Header)
 11866  	}
 11867  	return c.header_
 11868  }
 11869  
 11870  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) doRequest(alt string) (*http.Response, error) {
 11871  	reqHeaders := make(http.Header)
 11872  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 11873  	for k, v := range c.header_ {
 11874  		reqHeaders[k] = v
 11875  	}
 11876  	reqHeaders.Set("User-Agent", c.s.userAgent())
 11877  	var body io.Reader = nil
 11878  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacreateappsscriptprojectrequest)
 11879  	if err != nil {
 11880  		return nil, err
 11881  	}
 11882  	reqHeaders.Set("Content-Type", "application/json")
 11883  	c.urlParams_.Set("alt", alt)
 11884  	c.urlParams_.Set("prettyPrint", "false")
 11885  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/appsScriptProjects")
 11886  	urls += "?" + c.urlParams_.Encode()
 11887  	req, err := http.NewRequest("POST", urls, body)
 11888  	if err != nil {
 11889  		return nil, err
 11890  	}
 11891  	req.Header = reqHeaders
 11892  	googleapi.Expand(req.URL, map[string]string{
 11893  		"parent": c.parent,
 11894  	})
 11895  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11896  }
 11897  
 11898  // Do executes the "integrations.projects.locations.appsScriptProjects.create" call.
 11899  // Exactly one of
 11900  // *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse or
 11901  // error will be non-nil. Any non-2xx status code is an error. Response
 11902  // headers are in either
 11903  // *GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse.ServerR
 11904  // esponse.Header or (if a response was returned at all) in
 11905  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11906  // whether the returned error was because http.StatusNotModified was
 11907  // returned.
 11908  func (c *ProjectsLocationsAppsScriptProjectsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse, error) {
 11909  	gensupport.SetOptions(c.urlParams_, opts...)
 11910  	res, err := c.doRequest("json")
 11911  	if res != nil && res.StatusCode == http.StatusNotModified {
 11912  		if res.Body != nil {
 11913  			res.Body.Close()
 11914  		}
 11915  		return nil, gensupport.WrapError(&googleapi.Error{
 11916  			Code:   res.StatusCode,
 11917  			Header: res.Header,
 11918  		})
 11919  	}
 11920  	if err != nil {
 11921  		return nil, err
 11922  	}
 11923  	defer googleapi.CloseBody(res)
 11924  	if err := googleapi.CheckResponse(res); err != nil {
 11925  		return nil, gensupport.WrapError(err)
 11926  	}
 11927  	ret := &GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse{
 11928  		ServerResponse: googleapi.ServerResponse{
 11929  			Header:         res.Header,
 11930  			HTTPStatusCode: res.StatusCode,
 11931  		},
 11932  	}
 11933  	target := &ret
 11934  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11935  		return nil, err
 11936  	}
 11937  	return ret, nil
 11938  	// {
 11939  	//   "description": "Creates an Apps Script project.",
 11940  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/appsScriptProjects",
 11941  	//   "httpMethod": "POST",
 11942  	//   "id": "integrations.projects.locations.appsScriptProjects.create",
 11943  	//   "parameterOrder": [
 11944  	//     "parent"
 11945  	//   ],
 11946  	//   "parameters": {
 11947  	//     "parent": {
 11948  	//       "description": "Required. The project that the executed integration belongs to.",
 11949  	//       "location": "path",
 11950  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 11951  	//       "required": true,
 11952  	//       "type": "string"
 11953  	//     }
 11954  	//   },
 11955  	//   "path": "v1alpha/{+parent}/appsScriptProjects",
 11956  	//   "request": {
 11957  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest"
 11958  	//   },
 11959  	//   "response": {
 11960  	//     "$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse"
 11961  	//   },
 11962  	//   "scopes": [
 11963  	//     "https://www.googleapis.com/auth/cloud-platform"
 11964  	//   ]
 11965  	// }
 11966  
 11967  }
 11968  
 11969  // method id "integrations.projects.locations.appsScriptProjects.link":
 11970  
 11971  type ProjectsLocationsAppsScriptProjectsLinkCall struct {
 11972  	s                                                          *Service
 11973  	parent                                                     string
 11974  	googlecloudintegrationsv1alphalinkappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest
 11975  	urlParams_                                                 gensupport.URLParams
 11976  	ctx_                                                       context.Context
 11977  	header_                                                    http.Header
 11978  }
 11979  
 11980  // Link: Links a existing Apps Script project.
 11981  //
 11982  // - parent: The project that the executed integration belongs to.
 11983  func (r *ProjectsLocationsAppsScriptProjectsService) Link(parent string, googlecloudintegrationsv1alphalinkappsscriptprojectrequest *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest) *ProjectsLocationsAppsScriptProjectsLinkCall {
 11984  	c := &ProjectsLocationsAppsScriptProjectsLinkCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11985  	c.parent = parent
 11986  	c.googlecloudintegrationsv1alphalinkappsscriptprojectrequest = googlecloudintegrationsv1alphalinkappsscriptprojectrequest
 11987  	return c
 11988  }
 11989  
 11990  // Fields allows partial responses to be retrieved. See
 11991  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 11992  // for more information.
 11993  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Fields(s ...googleapi.Field) *ProjectsLocationsAppsScriptProjectsLinkCall {
 11994  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11995  	return c
 11996  }
 11997  
 11998  // Context sets the context to be used in this call's Do method. Any
 11999  // pending HTTP request will be aborted if the provided context is
 12000  // canceled.
 12001  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Context(ctx context.Context) *ProjectsLocationsAppsScriptProjectsLinkCall {
 12002  	c.ctx_ = ctx
 12003  	return c
 12004  }
 12005  
 12006  // Header returns an http.Header that can be modified by the caller to
 12007  // add HTTP headers to the request.
 12008  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Header() http.Header {
 12009  	if c.header_ == nil {
 12010  		c.header_ = make(http.Header)
 12011  	}
 12012  	return c.header_
 12013  }
 12014  
 12015  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) doRequest(alt string) (*http.Response, error) {
 12016  	reqHeaders := make(http.Header)
 12017  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12018  	for k, v := range c.header_ {
 12019  		reqHeaders[k] = v
 12020  	}
 12021  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12022  	var body io.Reader = nil
 12023  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphalinkappsscriptprojectrequest)
 12024  	if err != nil {
 12025  		return nil, err
 12026  	}
 12027  	reqHeaders.Set("Content-Type", "application/json")
 12028  	c.urlParams_.Set("alt", alt)
 12029  	c.urlParams_.Set("prettyPrint", "false")
 12030  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/appsScriptProjects:link")
 12031  	urls += "?" + c.urlParams_.Encode()
 12032  	req, err := http.NewRequest("POST", urls, body)
 12033  	if err != nil {
 12034  		return nil, err
 12035  	}
 12036  	req.Header = reqHeaders
 12037  	googleapi.Expand(req.URL, map[string]string{
 12038  		"parent": c.parent,
 12039  	})
 12040  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12041  }
 12042  
 12043  // Do executes the "integrations.projects.locations.appsScriptProjects.link" call.
 12044  // Exactly one of
 12045  // *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse or error
 12046  // will be non-nil. Any non-2xx status code is an error. Response
 12047  // headers are in either
 12048  // *GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse.ServerRes
 12049  // ponse.Header or (if a response was returned at all) in
 12050  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12051  // whether the returned error was because http.StatusNotModified was
 12052  // returned.
 12053  func (c *ProjectsLocationsAppsScriptProjectsLinkCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse, error) {
 12054  	gensupport.SetOptions(c.urlParams_, opts...)
 12055  	res, err := c.doRequest("json")
 12056  	if res != nil && res.StatusCode == http.StatusNotModified {
 12057  		if res.Body != nil {
 12058  			res.Body.Close()
 12059  		}
 12060  		return nil, gensupport.WrapError(&googleapi.Error{
 12061  			Code:   res.StatusCode,
 12062  			Header: res.Header,
 12063  		})
 12064  	}
 12065  	if err != nil {
 12066  		return nil, err
 12067  	}
 12068  	defer googleapi.CloseBody(res)
 12069  	if err := googleapi.CheckResponse(res); err != nil {
 12070  		return nil, gensupport.WrapError(err)
 12071  	}
 12072  	ret := &GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse{
 12073  		ServerResponse: googleapi.ServerResponse{
 12074  			Header:         res.Header,
 12075  			HTTPStatusCode: res.StatusCode,
 12076  		},
 12077  	}
 12078  	target := &ret
 12079  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12080  		return nil, err
 12081  	}
 12082  	return ret, nil
 12083  	// {
 12084  	//   "description": "Links a existing Apps Script project.",
 12085  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/appsScriptProjects:link",
 12086  	//   "httpMethod": "POST",
 12087  	//   "id": "integrations.projects.locations.appsScriptProjects.link",
 12088  	//   "parameterOrder": [
 12089  	//     "parent"
 12090  	//   ],
 12091  	//   "parameters": {
 12092  	//     "parent": {
 12093  	//       "description": "Required. The project that the executed integration belongs to.",
 12094  	//       "location": "path",
 12095  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12096  	//       "required": true,
 12097  	//       "type": "string"
 12098  	//     }
 12099  	//   },
 12100  	//   "path": "v1alpha/{+parent}/appsScriptProjects:link",
 12101  	//   "request": {
 12102  	//     "$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest"
 12103  	//   },
 12104  	//   "response": {
 12105  	//     "$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse"
 12106  	//   },
 12107  	//   "scopes": [
 12108  	//     "https://www.googleapis.com/auth/cloud-platform"
 12109  	//   ]
 12110  	// }
 12111  
 12112  }
 12113  
 12114  // method id "integrations.projects.locations.authConfigs.create":
 12115  
 12116  type ProjectsLocationsAuthConfigsCreateCall struct {
 12117  	s                                        *Service
 12118  	parent                                   string
 12119  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 12120  	urlParams_                               gensupport.URLParams
 12121  	ctx_                                     context.Context
 12122  	header_                                  http.Header
 12123  }
 12124  
 12125  // Create: Creates an auth config record. Fetch corresponding
 12126  // credentials for specific auth types, e.g. access token for OAuth 2.0,
 12127  // JWT token for JWT. Encrypt the auth config with Cloud KMS and store
 12128  // the encrypted credentials in Spanner. Returns the encrypted auth
 12129  // config.
 12130  //
 12131  // - parent: "projects/{project}/locations/{location}" format.
 12132  func (r *ProjectsLocationsAuthConfigsService) Create(parent string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsAuthConfigsCreateCall {
 12133  	c := &ProjectsLocationsAuthConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12134  	c.parent = parent
 12135  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 12136  	return c
 12137  }
 12138  
 12139  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 12140  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 12141  // in PEM format. This string must include the begin header and end
 12142  // footer lines. For example, -----BEGIN CERTIFICATE-----
 12143  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 12144  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 12145  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 12146  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 12147  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 12148  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 12149  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 12150  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 12151  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 12152  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 12153  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 12154  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 12155  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 12156  func (c *ProjectsLocationsAuthConfigsCreateCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsAuthConfigsCreateCall {
 12157  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 12158  	return c
 12159  }
 12160  
 12161  // ClientCertificatePassphrase sets the optional parameter
 12162  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 12163  // private key is not encrypted. Note that 'passphrase' is not the
 12164  // password for web server, but an extra layer of security to protected
 12165  // private key.
 12166  func (c *ProjectsLocationsAuthConfigsCreateCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsAuthConfigsCreateCall {
 12167  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 12168  	return c
 12169  }
 12170  
 12171  // ClientCertificateSslCertificate sets the optional parameter
 12172  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 12173  // PEM format. This string must include the begin header and end footer
 12174  // lines. For example, -----BEGIN CERTIFICATE-----
 12175  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 12176  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 12177  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 12178  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 12179  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 12180  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 12181  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 12182  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 12183  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 12184  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 12185  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 12186  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 12187  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 12188  func (c *ProjectsLocationsAuthConfigsCreateCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsAuthConfigsCreateCall {
 12189  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 12190  	return c
 12191  }
 12192  
 12193  // Fields allows partial responses to be retrieved. See
 12194  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12195  // for more information.
 12196  func (c *ProjectsLocationsAuthConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsCreateCall {
 12197  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12198  	return c
 12199  }
 12200  
 12201  // Context sets the context to be used in this call's Do method. Any
 12202  // pending HTTP request will be aborted if the provided context is
 12203  // canceled.
 12204  func (c *ProjectsLocationsAuthConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsCreateCall {
 12205  	c.ctx_ = ctx
 12206  	return c
 12207  }
 12208  
 12209  // Header returns an http.Header that can be modified by the caller to
 12210  // add HTTP headers to the request.
 12211  func (c *ProjectsLocationsAuthConfigsCreateCall) Header() http.Header {
 12212  	if c.header_ == nil {
 12213  		c.header_ = make(http.Header)
 12214  	}
 12215  	return c.header_
 12216  }
 12217  
 12218  func (c *ProjectsLocationsAuthConfigsCreateCall) doRequest(alt string) (*http.Response, error) {
 12219  	reqHeaders := make(http.Header)
 12220  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12221  	for k, v := range c.header_ {
 12222  		reqHeaders[k] = v
 12223  	}
 12224  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12225  	var body io.Reader = nil
 12226  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 12227  	if err != nil {
 12228  		return nil, err
 12229  	}
 12230  	reqHeaders.Set("Content-Type", "application/json")
 12231  	c.urlParams_.Set("alt", alt)
 12232  	c.urlParams_.Set("prettyPrint", "false")
 12233  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/authConfigs")
 12234  	urls += "?" + c.urlParams_.Encode()
 12235  	req, err := http.NewRequest("POST", urls, body)
 12236  	if err != nil {
 12237  		return nil, err
 12238  	}
 12239  	req.Header = reqHeaders
 12240  	googleapi.Expand(req.URL, map[string]string{
 12241  		"parent": c.parent,
 12242  	})
 12243  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12244  }
 12245  
 12246  // Do executes the "integrations.projects.locations.authConfigs.create" call.
 12247  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 12248  // will be non-nil. Any non-2xx status code is an error. Response
 12249  // headers are in either
 12250  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 12251  // (if a response was returned at all) in
 12252  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12253  // whether the returned error was because http.StatusNotModified was
 12254  // returned.
 12255  func (c *ProjectsLocationsAuthConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 12256  	gensupport.SetOptions(c.urlParams_, opts...)
 12257  	res, err := c.doRequest("json")
 12258  	if res != nil && res.StatusCode == http.StatusNotModified {
 12259  		if res.Body != nil {
 12260  			res.Body.Close()
 12261  		}
 12262  		return nil, gensupport.WrapError(&googleapi.Error{
 12263  			Code:   res.StatusCode,
 12264  			Header: res.Header,
 12265  		})
 12266  	}
 12267  	if err != nil {
 12268  		return nil, err
 12269  	}
 12270  	defer googleapi.CloseBody(res)
 12271  	if err := googleapi.CheckResponse(res); err != nil {
 12272  		return nil, gensupport.WrapError(err)
 12273  	}
 12274  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 12275  		ServerResponse: googleapi.ServerResponse{
 12276  			Header:         res.Header,
 12277  			HTTPStatusCode: res.StatusCode,
 12278  		},
 12279  	}
 12280  	target := &ret
 12281  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12282  		return nil, err
 12283  	}
 12284  	return ret, nil
 12285  	// {
 12286  	//   "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.",
 12287  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs",
 12288  	//   "httpMethod": "POST",
 12289  	//   "id": "integrations.projects.locations.authConfigs.create",
 12290  	//   "parameterOrder": [
 12291  	//     "parent"
 12292  	//   ],
 12293  	//   "parameters": {
 12294  	//     "clientCertificate.encryptedPrivateKey": {
 12295  	//       "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-----",
 12296  	//       "location": "query",
 12297  	//       "type": "string"
 12298  	//     },
 12299  	//     "clientCertificate.passphrase": {
 12300  	//       "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.",
 12301  	//       "location": "query",
 12302  	//       "type": "string"
 12303  	//     },
 12304  	//     "clientCertificate.sslCertificate": {
 12305  	//       "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-----",
 12306  	//       "location": "query",
 12307  	//       "type": "string"
 12308  	//     },
 12309  	//     "parent": {
 12310  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 12311  	//       "location": "path",
 12312  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12313  	//       "required": true,
 12314  	//       "type": "string"
 12315  	//     }
 12316  	//   },
 12317  	//   "path": "v1alpha/{+parent}/authConfigs",
 12318  	//   "request": {
 12319  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 12320  	//   },
 12321  	//   "response": {
 12322  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 12323  	//   },
 12324  	//   "scopes": [
 12325  	//     "https://www.googleapis.com/auth/cloud-platform"
 12326  	//   ]
 12327  	// }
 12328  
 12329  }
 12330  
 12331  // method id "integrations.projects.locations.authConfigs.delete":
 12332  
 12333  type ProjectsLocationsAuthConfigsDeleteCall struct {
 12334  	s          *Service
 12335  	name       string
 12336  	urlParams_ gensupport.URLParams
 12337  	ctx_       context.Context
 12338  	header_    http.Header
 12339  }
 12340  
 12341  // Delete: Deletes an auth config.
 12342  //
 12343  // - name: The name that is associated with the AuthConfig.
 12344  func (r *ProjectsLocationsAuthConfigsService) Delete(name string) *ProjectsLocationsAuthConfigsDeleteCall {
 12345  	c := &ProjectsLocationsAuthConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12346  	c.name = name
 12347  	return c
 12348  }
 12349  
 12350  // Fields allows partial responses to be retrieved. See
 12351  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12352  // for more information.
 12353  func (c *ProjectsLocationsAuthConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsDeleteCall {
 12354  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12355  	return c
 12356  }
 12357  
 12358  // Context sets the context to be used in this call's Do method. Any
 12359  // pending HTTP request will be aborted if the provided context is
 12360  // canceled.
 12361  func (c *ProjectsLocationsAuthConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsDeleteCall {
 12362  	c.ctx_ = ctx
 12363  	return c
 12364  }
 12365  
 12366  // Header returns an http.Header that can be modified by the caller to
 12367  // add HTTP headers to the request.
 12368  func (c *ProjectsLocationsAuthConfigsDeleteCall) Header() http.Header {
 12369  	if c.header_ == nil {
 12370  		c.header_ = make(http.Header)
 12371  	}
 12372  	return c.header_
 12373  }
 12374  
 12375  func (c *ProjectsLocationsAuthConfigsDeleteCall) doRequest(alt string) (*http.Response, error) {
 12376  	reqHeaders := make(http.Header)
 12377  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12378  	for k, v := range c.header_ {
 12379  		reqHeaders[k] = v
 12380  	}
 12381  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12382  	var body io.Reader = nil
 12383  	c.urlParams_.Set("alt", alt)
 12384  	c.urlParams_.Set("prettyPrint", "false")
 12385  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 12386  	urls += "?" + c.urlParams_.Encode()
 12387  	req, err := http.NewRequest("DELETE", urls, body)
 12388  	if err != nil {
 12389  		return nil, err
 12390  	}
 12391  	req.Header = reqHeaders
 12392  	googleapi.Expand(req.URL, map[string]string{
 12393  		"name": c.name,
 12394  	})
 12395  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12396  }
 12397  
 12398  // Do executes the "integrations.projects.locations.authConfigs.delete" call.
 12399  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 12400  // non-2xx status code is an error. Response headers are in either
 12401  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 12402  // returned at all) in error.(*googleapi.Error).Header. Use
 12403  // googleapi.IsNotModified to check whether the returned error was
 12404  // because http.StatusNotModified was returned.
 12405  func (c *ProjectsLocationsAuthConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 12406  	gensupport.SetOptions(c.urlParams_, opts...)
 12407  	res, err := c.doRequest("json")
 12408  	if res != nil && res.StatusCode == http.StatusNotModified {
 12409  		if res.Body != nil {
 12410  			res.Body.Close()
 12411  		}
 12412  		return nil, gensupport.WrapError(&googleapi.Error{
 12413  			Code:   res.StatusCode,
 12414  			Header: res.Header,
 12415  		})
 12416  	}
 12417  	if err != nil {
 12418  		return nil, err
 12419  	}
 12420  	defer googleapi.CloseBody(res)
 12421  	if err := googleapi.CheckResponse(res); err != nil {
 12422  		return nil, gensupport.WrapError(err)
 12423  	}
 12424  	ret := &GoogleProtobufEmpty{
 12425  		ServerResponse: googleapi.ServerResponse{
 12426  			Header:         res.Header,
 12427  			HTTPStatusCode: res.StatusCode,
 12428  		},
 12429  	}
 12430  	target := &ret
 12431  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12432  		return nil, err
 12433  	}
 12434  	return ret, nil
 12435  	// {
 12436  	//   "description": "Deletes an auth config.",
 12437  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}",
 12438  	//   "httpMethod": "DELETE",
 12439  	//   "id": "integrations.projects.locations.authConfigs.delete",
 12440  	//   "parameterOrder": [
 12441  	//     "name"
 12442  	//   ],
 12443  	//   "parameters": {
 12444  	//     "name": {
 12445  	//       "description": "Required. The name that is associated with the AuthConfig.",
 12446  	//       "location": "path",
 12447  	//       "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$",
 12448  	//       "required": true,
 12449  	//       "type": "string"
 12450  	//     }
 12451  	//   },
 12452  	//   "path": "v1alpha/{+name}",
 12453  	//   "response": {
 12454  	//     "$ref": "GoogleProtobufEmpty"
 12455  	//   },
 12456  	//   "scopes": [
 12457  	//     "https://www.googleapis.com/auth/cloud-platform"
 12458  	//   ]
 12459  	// }
 12460  
 12461  }
 12462  
 12463  // method id "integrations.projects.locations.authConfigs.get":
 12464  
 12465  type ProjectsLocationsAuthConfigsGetCall struct {
 12466  	s            *Service
 12467  	name         string
 12468  	urlParams_   gensupport.URLParams
 12469  	ifNoneMatch_ string
 12470  	ctx_         context.Context
 12471  	header_      http.Header
 12472  }
 12473  
 12474  // Get: Gets a complete auth config. If the auth config doesn't exist,
 12475  // Code.NOT_FOUND exception will be thrown. Returns the decrypted auth
 12476  // config.
 12477  //
 12478  // - name: The name that is associated with the AuthConfig.
 12479  func (r *ProjectsLocationsAuthConfigsService) Get(name string) *ProjectsLocationsAuthConfigsGetCall {
 12480  	c := &ProjectsLocationsAuthConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12481  	c.name = name
 12482  	return c
 12483  }
 12484  
 12485  // Fields allows partial responses to be retrieved. See
 12486  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12487  // for more information.
 12488  func (c *ProjectsLocationsAuthConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsGetCall {
 12489  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12490  	return c
 12491  }
 12492  
 12493  // IfNoneMatch sets the optional parameter which makes the operation
 12494  // fail if the object's ETag matches the given value. This is useful for
 12495  // getting updates only after the object has changed since the last
 12496  // request. Use googleapi.IsNotModified to check whether the response
 12497  // error from Do is the result of In-None-Match.
 12498  func (c *ProjectsLocationsAuthConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthConfigsGetCall {
 12499  	c.ifNoneMatch_ = entityTag
 12500  	return c
 12501  }
 12502  
 12503  // Context sets the context to be used in this call's Do method. Any
 12504  // pending HTTP request will be aborted if the provided context is
 12505  // canceled.
 12506  func (c *ProjectsLocationsAuthConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsGetCall {
 12507  	c.ctx_ = ctx
 12508  	return c
 12509  }
 12510  
 12511  // Header returns an http.Header that can be modified by the caller to
 12512  // add HTTP headers to the request.
 12513  func (c *ProjectsLocationsAuthConfigsGetCall) Header() http.Header {
 12514  	if c.header_ == nil {
 12515  		c.header_ = make(http.Header)
 12516  	}
 12517  	return c.header_
 12518  }
 12519  
 12520  func (c *ProjectsLocationsAuthConfigsGetCall) doRequest(alt string) (*http.Response, error) {
 12521  	reqHeaders := make(http.Header)
 12522  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12523  	for k, v := range c.header_ {
 12524  		reqHeaders[k] = v
 12525  	}
 12526  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12527  	if c.ifNoneMatch_ != "" {
 12528  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 12529  	}
 12530  	var body io.Reader = nil
 12531  	c.urlParams_.Set("alt", alt)
 12532  	c.urlParams_.Set("prettyPrint", "false")
 12533  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 12534  	urls += "?" + c.urlParams_.Encode()
 12535  	req, err := http.NewRequest("GET", urls, body)
 12536  	if err != nil {
 12537  		return nil, err
 12538  	}
 12539  	req.Header = reqHeaders
 12540  	googleapi.Expand(req.URL, map[string]string{
 12541  		"name": c.name,
 12542  	})
 12543  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12544  }
 12545  
 12546  // Do executes the "integrations.projects.locations.authConfigs.get" call.
 12547  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 12548  // will be non-nil. Any non-2xx status code is an error. Response
 12549  // headers are in either
 12550  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 12551  // (if a response was returned at all) in
 12552  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12553  // whether the returned error was because http.StatusNotModified was
 12554  // returned.
 12555  func (c *ProjectsLocationsAuthConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 12556  	gensupport.SetOptions(c.urlParams_, opts...)
 12557  	res, err := c.doRequest("json")
 12558  	if res != nil && res.StatusCode == http.StatusNotModified {
 12559  		if res.Body != nil {
 12560  			res.Body.Close()
 12561  		}
 12562  		return nil, gensupport.WrapError(&googleapi.Error{
 12563  			Code:   res.StatusCode,
 12564  			Header: res.Header,
 12565  		})
 12566  	}
 12567  	if err != nil {
 12568  		return nil, err
 12569  	}
 12570  	defer googleapi.CloseBody(res)
 12571  	if err := googleapi.CheckResponse(res); err != nil {
 12572  		return nil, gensupport.WrapError(err)
 12573  	}
 12574  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 12575  		ServerResponse: googleapi.ServerResponse{
 12576  			Header:         res.Header,
 12577  			HTTPStatusCode: res.StatusCode,
 12578  		},
 12579  	}
 12580  	target := &ret
 12581  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12582  		return nil, err
 12583  	}
 12584  	return ret, nil
 12585  	// {
 12586  	//   "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.",
 12587  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}",
 12588  	//   "httpMethod": "GET",
 12589  	//   "id": "integrations.projects.locations.authConfigs.get",
 12590  	//   "parameterOrder": [
 12591  	//     "name"
 12592  	//   ],
 12593  	//   "parameters": {
 12594  	//     "name": {
 12595  	//       "description": "Required. The name that is associated with the AuthConfig.",
 12596  	//       "location": "path",
 12597  	//       "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$",
 12598  	//       "required": true,
 12599  	//       "type": "string"
 12600  	//     }
 12601  	//   },
 12602  	//   "path": "v1alpha/{+name}",
 12603  	//   "response": {
 12604  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 12605  	//   },
 12606  	//   "scopes": [
 12607  	//     "https://www.googleapis.com/auth/cloud-platform"
 12608  	//   ]
 12609  	// }
 12610  
 12611  }
 12612  
 12613  // method id "integrations.projects.locations.authConfigs.list":
 12614  
 12615  type ProjectsLocationsAuthConfigsListCall struct {
 12616  	s            *Service
 12617  	parent       string
 12618  	urlParams_   gensupport.URLParams
 12619  	ifNoneMatch_ string
 12620  	ctx_         context.Context
 12621  	header_      http.Header
 12622  }
 12623  
 12624  // List: Lists all auth configs that match the filter. Restrict to auth
 12625  // configs belong to the current client only.
 12626  //
 12627  // - parent: The client, which owns this collection of AuthConfigs.
 12628  func (r *ProjectsLocationsAuthConfigsService) List(parent string) *ProjectsLocationsAuthConfigsListCall {
 12629  	c := &ProjectsLocationsAuthConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12630  	c.parent = parent
 12631  	return c
 12632  }
 12633  
 12634  // Filter sets the optional parameter "filter": Filtering as supported
 12635  // in
 12636  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 12637  func (c *ProjectsLocationsAuthConfigsListCall) Filter(filter string) *ProjectsLocationsAuthConfigsListCall {
 12638  	c.urlParams_.Set("filter", filter)
 12639  	return c
 12640  }
 12641  
 12642  // PageSize sets the optional parameter "pageSize": The size of entries
 12643  // in the response. If unspecified, defaults to 100.
 12644  func (c *ProjectsLocationsAuthConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsAuthConfigsListCall {
 12645  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 12646  	return c
 12647  }
 12648  
 12649  // PageToken sets the optional parameter "pageToken": The token returned
 12650  // in the previous response.
 12651  func (c *ProjectsLocationsAuthConfigsListCall) PageToken(pageToken string) *ProjectsLocationsAuthConfigsListCall {
 12652  	c.urlParams_.Set("pageToken", pageToken)
 12653  	return c
 12654  }
 12655  
 12656  // ReadMask sets the optional parameter "readMask": The mask which
 12657  // specifies fields that need to be returned in the AuthConfig's
 12658  // response.
 12659  func (c *ProjectsLocationsAuthConfigsListCall) ReadMask(readMask string) *ProjectsLocationsAuthConfigsListCall {
 12660  	c.urlParams_.Set("readMask", readMask)
 12661  	return c
 12662  }
 12663  
 12664  // Fields allows partial responses to be retrieved. See
 12665  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12666  // for more information.
 12667  func (c *ProjectsLocationsAuthConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsListCall {
 12668  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12669  	return c
 12670  }
 12671  
 12672  // IfNoneMatch sets the optional parameter which makes the operation
 12673  // fail if the object's ETag matches the given value. This is useful for
 12674  // getting updates only after the object has changed since the last
 12675  // request. Use googleapi.IsNotModified to check whether the response
 12676  // error from Do is the result of In-None-Match.
 12677  func (c *ProjectsLocationsAuthConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthConfigsListCall {
 12678  	c.ifNoneMatch_ = entityTag
 12679  	return c
 12680  }
 12681  
 12682  // Context sets the context to be used in this call's Do method. Any
 12683  // pending HTTP request will be aborted if the provided context is
 12684  // canceled.
 12685  func (c *ProjectsLocationsAuthConfigsListCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsListCall {
 12686  	c.ctx_ = ctx
 12687  	return c
 12688  }
 12689  
 12690  // Header returns an http.Header that can be modified by the caller to
 12691  // add HTTP headers to the request.
 12692  func (c *ProjectsLocationsAuthConfigsListCall) Header() http.Header {
 12693  	if c.header_ == nil {
 12694  		c.header_ = make(http.Header)
 12695  	}
 12696  	return c.header_
 12697  }
 12698  
 12699  func (c *ProjectsLocationsAuthConfigsListCall) doRequest(alt string) (*http.Response, error) {
 12700  	reqHeaders := make(http.Header)
 12701  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12702  	for k, v := range c.header_ {
 12703  		reqHeaders[k] = v
 12704  	}
 12705  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12706  	if c.ifNoneMatch_ != "" {
 12707  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 12708  	}
 12709  	var body io.Reader = nil
 12710  	c.urlParams_.Set("alt", alt)
 12711  	c.urlParams_.Set("prettyPrint", "false")
 12712  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/authConfigs")
 12713  	urls += "?" + c.urlParams_.Encode()
 12714  	req, err := http.NewRequest("GET", urls, body)
 12715  	if err != nil {
 12716  		return nil, err
 12717  	}
 12718  	req.Header = reqHeaders
 12719  	googleapi.Expand(req.URL, map[string]string{
 12720  		"parent": c.parent,
 12721  	})
 12722  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12723  }
 12724  
 12725  // Do executes the "integrations.projects.locations.authConfigs.list" call.
 12726  // Exactly one of *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
 12727  // or error will be non-nil. Any non-2xx status code is an error.
 12728  // Response headers are in either
 12729  // *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse.ServerResponse.
 12730  // Header or (if a response was returned at all) in
 12731  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12732  // whether the returned error was because http.StatusNotModified was
 12733  // returned.
 12734  func (c *ProjectsLocationsAuthConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse, error) {
 12735  	gensupport.SetOptions(c.urlParams_, opts...)
 12736  	res, err := c.doRequest("json")
 12737  	if res != nil && res.StatusCode == http.StatusNotModified {
 12738  		if res.Body != nil {
 12739  			res.Body.Close()
 12740  		}
 12741  		return nil, gensupport.WrapError(&googleapi.Error{
 12742  			Code:   res.StatusCode,
 12743  			Header: res.Header,
 12744  		})
 12745  	}
 12746  	if err != nil {
 12747  		return nil, err
 12748  	}
 12749  	defer googleapi.CloseBody(res)
 12750  	if err := googleapi.CheckResponse(res); err != nil {
 12751  		return nil, gensupport.WrapError(err)
 12752  	}
 12753  	ret := &GoogleCloudIntegrationsV1alphaListAuthConfigsResponse{
 12754  		ServerResponse: googleapi.ServerResponse{
 12755  			Header:         res.Header,
 12756  			HTTPStatusCode: res.StatusCode,
 12757  		},
 12758  	}
 12759  	target := &ret
 12760  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12761  		return nil, err
 12762  	}
 12763  	return ret, nil
 12764  	// {
 12765  	//   "description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.",
 12766  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs",
 12767  	//   "httpMethod": "GET",
 12768  	//   "id": "integrations.projects.locations.authConfigs.list",
 12769  	//   "parameterOrder": [
 12770  	//     "parent"
 12771  	//   ],
 12772  	//   "parameters": {
 12773  	//     "filter": {
 12774  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 12775  	//       "location": "query",
 12776  	//       "type": "string"
 12777  	//     },
 12778  	//     "pageSize": {
 12779  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 12780  	//       "format": "int32",
 12781  	//       "location": "query",
 12782  	//       "type": "integer"
 12783  	//     },
 12784  	//     "pageToken": {
 12785  	//       "description": "The token returned in the previous response.",
 12786  	//       "location": "query",
 12787  	//       "type": "string"
 12788  	//     },
 12789  	//     "parent": {
 12790  	//       "description": "Required. The client, which owns this collection of AuthConfigs.",
 12791  	//       "location": "path",
 12792  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 12793  	//       "required": true,
 12794  	//       "type": "string"
 12795  	//     },
 12796  	//     "readMask": {
 12797  	//       "description": "The mask which specifies fields that need to be returned in the AuthConfig's response.",
 12798  	//       "format": "google-fieldmask",
 12799  	//       "location": "query",
 12800  	//       "type": "string"
 12801  	//     }
 12802  	//   },
 12803  	//   "path": "v1alpha/{+parent}/authConfigs",
 12804  	//   "response": {
 12805  	//     "$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse"
 12806  	//   },
 12807  	//   "scopes": [
 12808  	//     "https://www.googleapis.com/auth/cloud-platform"
 12809  	//   ]
 12810  	// }
 12811  
 12812  }
 12813  
 12814  // Pages invokes f for each page of results.
 12815  // A non-nil error returned from f will halt the iteration.
 12816  // The provided context supersedes any context provided to the Context method.
 12817  func (c *ProjectsLocationsAuthConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse) error) error {
 12818  	c.ctx_ = ctx
 12819  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 12820  	for {
 12821  		x, err := c.Do()
 12822  		if err != nil {
 12823  			return err
 12824  		}
 12825  		if err := f(x); err != nil {
 12826  			return err
 12827  		}
 12828  		if x.NextPageToken == "" {
 12829  			return nil
 12830  		}
 12831  		c.PageToken(x.NextPageToken)
 12832  	}
 12833  }
 12834  
 12835  // method id "integrations.projects.locations.authConfigs.patch":
 12836  
 12837  type ProjectsLocationsAuthConfigsPatchCall struct {
 12838  	s                                        *Service
 12839  	name                                     string
 12840  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 12841  	urlParams_                               gensupport.URLParams
 12842  	ctx_                                     context.Context
 12843  	header_                                  http.Header
 12844  }
 12845  
 12846  // Patch: Updates an auth config. If credential is updated, fetch the
 12847  // encrypted auth config from Spanner, decrypt with Cloud KMS key,
 12848  // update the credential fields, re-encrypt with Cloud KMS key and
 12849  // update the Spanner record. For other fields, directly update the
 12850  // Spanner record. Returns the encrypted auth config.
 12851  //
 12852  //   - name: Resource name of the SFDC instance
 12853  //     projects/{project}/locations/{location}/authConfigs/{authConfig}.
 12854  func (r *ProjectsLocationsAuthConfigsService) Patch(name string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsAuthConfigsPatchCall {
 12855  	c := &ProjectsLocationsAuthConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12856  	c.name = name
 12857  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 12858  	return c
 12859  }
 12860  
 12861  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 12862  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 12863  // in PEM format. This string must include the begin header and end
 12864  // footer lines. For example, -----BEGIN CERTIFICATE-----
 12865  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 12866  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 12867  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 12868  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 12869  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 12870  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 12871  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 12872  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 12873  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 12874  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 12875  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 12876  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 12877  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 12878  func (c *ProjectsLocationsAuthConfigsPatchCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsAuthConfigsPatchCall {
 12879  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 12880  	return c
 12881  }
 12882  
 12883  // ClientCertificatePassphrase sets the optional parameter
 12884  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 12885  // private key is not encrypted. Note that 'passphrase' is not the
 12886  // password for web server, but an extra layer of security to protected
 12887  // private key.
 12888  func (c *ProjectsLocationsAuthConfigsPatchCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsAuthConfigsPatchCall {
 12889  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 12890  	return c
 12891  }
 12892  
 12893  // ClientCertificateSslCertificate sets the optional parameter
 12894  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 12895  // PEM format. This string must include the begin header and end footer
 12896  // lines. For example, -----BEGIN CERTIFICATE-----
 12897  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 12898  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 12899  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 12900  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 12901  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 12902  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 12903  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 12904  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 12905  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 12906  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 12907  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 12908  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 12909  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 12910  func (c *ProjectsLocationsAuthConfigsPatchCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsAuthConfigsPatchCall {
 12911  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 12912  	return c
 12913  }
 12914  
 12915  // UpdateMask sets the optional parameter "updateMask": Field mask
 12916  // specifying the fields in the above AuthConfig that have been modified
 12917  // and need to be updated.
 12918  func (c *ProjectsLocationsAuthConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAuthConfigsPatchCall {
 12919  	c.urlParams_.Set("updateMask", updateMask)
 12920  	return c
 12921  }
 12922  
 12923  // Fields allows partial responses to be retrieved. See
 12924  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 12925  // for more information.
 12926  func (c *ProjectsLocationsAuthConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthConfigsPatchCall {
 12927  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12928  	return c
 12929  }
 12930  
 12931  // Context sets the context to be used in this call's Do method. Any
 12932  // pending HTTP request will be aborted if the provided context is
 12933  // canceled.
 12934  func (c *ProjectsLocationsAuthConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsAuthConfigsPatchCall {
 12935  	c.ctx_ = ctx
 12936  	return c
 12937  }
 12938  
 12939  // Header returns an http.Header that can be modified by the caller to
 12940  // add HTTP headers to the request.
 12941  func (c *ProjectsLocationsAuthConfigsPatchCall) Header() http.Header {
 12942  	if c.header_ == nil {
 12943  		c.header_ = make(http.Header)
 12944  	}
 12945  	return c.header_
 12946  }
 12947  
 12948  func (c *ProjectsLocationsAuthConfigsPatchCall) doRequest(alt string) (*http.Response, error) {
 12949  	reqHeaders := make(http.Header)
 12950  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 12951  	for k, v := range c.header_ {
 12952  		reqHeaders[k] = v
 12953  	}
 12954  	reqHeaders.Set("User-Agent", c.s.userAgent())
 12955  	var body io.Reader = nil
 12956  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 12957  	if err != nil {
 12958  		return nil, err
 12959  	}
 12960  	reqHeaders.Set("Content-Type", "application/json")
 12961  	c.urlParams_.Set("alt", alt)
 12962  	c.urlParams_.Set("prettyPrint", "false")
 12963  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 12964  	urls += "?" + c.urlParams_.Encode()
 12965  	req, err := http.NewRequest("PATCH", urls, body)
 12966  	if err != nil {
 12967  		return nil, err
 12968  	}
 12969  	req.Header = reqHeaders
 12970  	googleapi.Expand(req.URL, map[string]string{
 12971  		"name": c.name,
 12972  	})
 12973  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12974  }
 12975  
 12976  // Do executes the "integrations.projects.locations.authConfigs.patch" call.
 12977  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 12978  // will be non-nil. Any non-2xx status code is an error. Response
 12979  // headers are in either
 12980  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 12981  // (if a response was returned at all) in
 12982  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 12983  // whether the returned error was because http.StatusNotModified was
 12984  // returned.
 12985  func (c *ProjectsLocationsAuthConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 12986  	gensupport.SetOptions(c.urlParams_, opts...)
 12987  	res, err := c.doRequest("json")
 12988  	if res != nil && res.StatusCode == http.StatusNotModified {
 12989  		if res.Body != nil {
 12990  			res.Body.Close()
 12991  		}
 12992  		return nil, gensupport.WrapError(&googleapi.Error{
 12993  			Code:   res.StatusCode,
 12994  			Header: res.Header,
 12995  		})
 12996  	}
 12997  	if err != nil {
 12998  		return nil, err
 12999  	}
 13000  	defer googleapi.CloseBody(res)
 13001  	if err := googleapi.CheckResponse(res); err != nil {
 13002  		return nil, gensupport.WrapError(err)
 13003  	}
 13004  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 13005  		ServerResponse: googleapi.ServerResponse{
 13006  			Header:         res.Header,
 13007  			HTTPStatusCode: res.StatusCode,
 13008  		},
 13009  	}
 13010  	target := &ret
 13011  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13012  		return nil, err
 13013  	}
 13014  	return ret, nil
 13015  	// {
 13016  	//   "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.",
 13017  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}",
 13018  	//   "httpMethod": "PATCH",
 13019  	//   "id": "integrations.projects.locations.authConfigs.patch",
 13020  	//   "parameterOrder": [
 13021  	//     "name"
 13022  	//   ],
 13023  	//   "parameters": {
 13024  	//     "clientCertificate.encryptedPrivateKey": {
 13025  	//       "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-----",
 13026  	//       "location": "query",
 13027  	//       "type": "string"
 13028  	//     },
 13029  	//     "clientCertificate.passphrase": {
 13030  	//       "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.",
 13031  	//       "location": "query",
 13032  	//       "type": "string"
 13033  	//     },
 13034  	//     "clientCertificate.sslCertificate": {
 13035  	//       "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-----",
 13036  	//       "location": "query",
 13037  	//       "type": "string"
 13038  	//     },
 13039  	//     "name": {
 13040  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.",
 13041  	//       "location": "path",
 13042  	//       "pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$",
 13043  	//       "required": true,
 13044  	//       "type": "string"
 13045  	//     },
 13046  	//     "updateMask": {
 13047  	//       "description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.",
 13048  	//       "format": "google-fieldmask",
 13049  	//       "location": "query",
 13050  	//       "type": "string"
 13051  	//     }
 13052  	//   },
 13053  	//   "path": "v1alpha/{+name}",
 13054  	//   "request": {
 13055  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 13056  	//   },
 13057  	//   "response": {
 13058  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 13059  	//   },
 13060  	//   "scopes": [
 13061  	//     "https://www.googleapis.com/auth/cloud-platform"
 13062  	//   ]
 13063  	// }
 13064  
 13065  }
 13066  
 13067  // method id "integrations.projects.locations.certificates.get":
 13068  
 13069  type ProjectsLocationsCertificatesGetCall struct {
 13070  	s            *Service
 13071  	name         string
 13072  	urlParams_   gensupport.URLParams
 13073  	ifNoneMatch_ string
 13074  	ctx_         context.Context
 13075  	header_      http.Header
 13076  }
 13077  
 13078  // Get: Get a certificates in the specified project.
 13079  //
 13080  //   - name: The certificate to retrieve. Format:
 13081  //     projects/{project}/locations/{location}/certificates/{certificate}.
 13082  func (r *ProjectsLocationsCertificatesService) Get(name string) *ProjectsLocationsCertificatesGetCall {
 13083  	c := &ProjectsLocationsCertificatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13084  	c.name = name
 13085  	return c
 13086  }
 13087  
 13088  // Fields allows partial responses to be retrieved. See
 13089  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13090  // for more information.
 13091  func (c *ProjectsLocationsCertificatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesGetCall {
 13092  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13093  	return c
 13094  }
 13095  
 13096  // IfNoneMatch sets the optional parameter which makes the operation
 13097  // fail if the object's ETag matches the given value. This is useful for
 13098  // getting updates only after the object has changed since the last
 13099  // request. Use googleapi.IsNotModified to check whether the response
 13100  // error from Do is the result of In-None-Match.
 13101  func (c *ProjectsLocationsCertificatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificatesGetCall {
 13102  	c.ifNoneMatch_ = entityTag
 13103  	return c
 13104  }
 13105  
 13106  // Context sets the context to be used in this call's Do method. Any
 13107  // pending HTTP request will be aborted if the provided context is
 13108  // canceled.
 13109  func (c *ProjectsLocationsCertificatesGetCall) Context(ctx context.Context) *ProjectsLocationsCertificatesGetCall {
 13110  	c.ctx_ = ctx
 13111  	return c
 13112  }
 13113  
 13114  // Header returns an http.Header that can be modified by the caller to
 13115  // add HTTP headers to the request.
 13116  func (c *ProjectsLocationsCertificatesGetCall) Header() http.Header {
 13117  	if c.header_ == nil {
 13118  		c.header_ = make(http.Header)
 13119  	}
 13120  	return c.header_
 13121  }
 13122  
 13123  func (c *ProjectsLocationsCertificatesGetCall) doRequest(alt string) (*http.Response, error) {
 13124  	reqHeaders := make(http.Header)
 13125  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13126  	for k, v := range c.header_ {
 13127  		reqHeaders[k] = v
 13128  	}
 13129  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13130  	if c.ifNoneMatch_ != "" {
 13131  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13132  	}
 13133  	var body io.Reader = nil
 13134  	c.urlParams_.Set("alt", alt)
 13135  	c.urlParams_.Set("prettyPrint", "false")
 13136  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 13137  	urls += "?" + c.urlParams_.Encode()
 13138  	req, err := http.NewRequest("GET", urls, body)
 13139  	if err != nil {
 13140  		return nil, err
 13141  	}
 13142  	req.Header = reqHeaders
 13143  	googleapi.Expand(req.URL, map[string]string{
 13144  		"name": c.name,
 13145  	})
 13146  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13147  }
 13148  
 13149  // Do executes the "integrations.projects.locations.certificates.get" call.
 13150  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 13151  // will be non-nil. Any non-2xx status code is an error. Response
 13152  // headers are in either
 13153  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 13154  // (if a response was returned at all) in
 13155  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13156  // whether the returned error was because http.StatusNotModified was
 13157  // returned.
 13158  func (c *ProjectsLocationsCertificatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 13159  	gensupport.SetOptions(c.urlParams_, opts...)
 13160  	res, err := c.doRequest("json")
 13161  	if res != nil && res.StatusCode == http.StatusNotModified {
 13162  		if res.Body != nil {
 13163  			res.Body.Close()
 13164  		}
 13165  		return nil, gensupport.WrapError(&googleapi.Error{
 13166  			Code:   res.StatusCode,
 13167  			Header: res.Header,
 13168  		})
 13169  	}
 13170  	if err != nil {
 13171  		return nil, err
 13172  	}
 13173  	defer googleapi.CloseBody(res)
 13174  	if err := googleapi.CheckResponse(res); err != nil {
 13175  		return nil, gensupport.WrapError(err)
 13176  	}
 13177  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 13178  		ServerResponse: googleapi.ServerResponse{
 13179  			Header:         res.Header,
 13180  			HTTPStatusCode: res.StatusCode,
 13181  		},
 13182  	}
 13183  	target := &ret
 13184  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13185  		return nil, err
 13186  	}
 13187  	return ret, nil
 13188  	// {
 13189  	//   "description": "Get a certificates in the specified project.",
 13190  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}",
 13191  	//   "httpMethod": "GET",
 13192  	//   "id": "integrations.projects.locations.certificates.get",
 13193  	//   "parameterOrder": [
 13194  	//     "name"
 13195  	//   ],
 13196  	//   "parameters": {
 13197  	//     "name": {
 13198  	//       "description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}",
 13199  	//       "location": "path",
 13200  	//       "pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$",
 13201  	//       "required": true,
 13202  	//       "type": "string"
 13203  	//     }
 13204  	//   },
 13205  	//   "path": "v1alpha/{+name}",
 13206  	//   "response": {
 13207  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 13208  	//   },
 13209  	//   "scopes": [
 13210  	//     "https://www.googleapis.com/auth/cloud-platform"
 13211  	//   ]
 13212  	// }
 13213  
 13214  }
 13215  
 13216  // method id "integrations.projects.locations.connections.getConnectionSchemaMetadata":
 13217  
 13218  type ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall struct {
 13219  	s            *Service
 13220  	name         string
 13221  	urlParams_   gensupport.URLParams
 13222  	ifNoneMatch_ string
 13223  	ctx_         context.Context
 13224  	header_      http.Header
 13225  }
 13226  
 13227  // GetConnectionSchemaMetadata: Lists the available entities and actions
 13228  // associated with a Connection.
 13229  //
 13230  //   - name: ConnectionSchemaMetadata name. Format:
 13231  //     projects/{project}/locations/{location}/connections/{connection}/con
 13232  //     nectionSchemaMetadata.
 13233  func (r *ProjectsLocationsConnectionsService) GetConnectionSchemaMetadata(name string) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 13234  	c := &ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13235  	c.name = name
 13236  	return c
 13237  }
 13238  
 13239  // Fields allows partial responses to be retrieved. See
 13240  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13241  // for more information.
 13242  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 13243  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13244  	return c
 13245  }
 13246  
 13247  // IfNoneMatch sets the optional parameter which makes the operation
 13248  // fail if the object's ETag matches the given value. This is useful for
 13249  // getting updates only after the object has changed since the last
 13250  // request. Use googleapi.IsNotModified to check whether the response
 13251  // error from Do is the result of In-None-Match.
 13252  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 13253  	c.ifNoneMatch_ = entityTag
 13254  	return c
 13255  }
 13256  
 13257  // Context sets the context to be used in this call's Do method. Any
 13258  // pending HTTP request will be aborted if the provided context is
 13259  // canceled.
 13260  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Context(ctx context.Context) *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall {
 13261  	c.ctx_ = ctx
 13262  	return c
 13263  }
 13264  
 13265  // Header returns an http.Header that can be modified by the caller to
 13266  // add HTTP headers to the request.
 13267  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Header() http.Header {
 13268  	if c.header_ == nil {
 13269  		c.header_ = make(http.Header)
 13270  	}
 13271  	return c.header_
 13272  }
 13273  
 13274  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) doRequest(alt string) (*http.Response, error) {
 13275  	reqHeaders := make(http.Header)
 13276  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13277  	for k, v := range c.header_ {
 13278  		reqHeaders[k] = v
 13279  	}
 13280  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13281  	if c.ifNoneMatch_ != "" {
 13282  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13283  	}
 13284  	var body io.Reader = nil
 13285  	c.urlParams_.Set("alt", alt)
 13286  	c.urlParams_.Set("prettyPrint", "false")
 13287  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 13288  	urls += "?" + c.urlParams_.Encode()
 13289  	req, err := http.NewRequest("GET", urls, body)
 13290  	if err != nil {
 13291  		return nil, err
 13292  	}
 13293  	req.Header = reqHeaders
 13294  	googleapi.Expand(req.URL, map[string]string{
 13295  		"name": c.name,
 13296  	})
 13297  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13298  }
 13299  
 13300  // Do executes the "integrations.projects.locations.connections.getConnectionSchemaMetadata" call.
 13301  // Exactly one of
 13302  // *GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata or error will
 13303  // be non-nil. Any non-2xx status code is an error. Response headers are
 13304  // in either
 13305  // *GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata.ServerResponse
 13306  // .Header or (if a response was returned at all) in
 13307  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13308  // whether the returned error was because http.StatusNotModified was
 13309  // returned.
 13310  func (c *ProjectsLocationsConnectionsGetConnectionSchemaMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata, error) {
 13311  	gensupport.SetOptions(c.urlParams_, opts...)
 13312  	res, err := c.doRequest("json")
 13313  	if res != nil && res.StatusCode == http.StatusNotModified {
 13314  		if res.Body != nil {
 13315  			res.Body.Close()
 13316  		}
 13317  		return nil, gensupport.WrapError(&googleapi.Error{
 13318  			Code:   res.StatusCode,
 13319  			Header: res.Header,
 13320  		})
 13321  	}
 13322  	if err != nil {
 13323  		return nil, err
 13324  	}
 13325  	defer googleapi.CloseBody(res)
 13326  	if err := googleapi.CheckResponse(res); err != nil {
 13327  		return nil, gensupport.WrapError(err)
 13328  	}
 13329  	ret := &GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata{
 13330  		ServerResponse: googleapi.ServerResponse{
 13331  			Header:         res.Header,
 13332  			HTTPStatusCode: res.StatusCode,
 13333  		},
 13334  	}
 13335  	target := &ret
 13336  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13337  		return nil, err
 13338  	}
 13339  	return ret, nil
 13340  	// {
 13341  	//   "description": "Lists the available entities and actions associated with a Connection.",
 13342  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata",
 13343  	//   "httpMethod": "GET",
 13344  	//   "id": "integrations.projects.locations.connections.getConnectionSchemaMetadata",
 13345  	//   "parameterOrder": [
 13346  	//     "name"
 13347  	//   ],
 13348  	//   "parameters": {
 13349  	//     "name": {
 13350  	//       "description": "Required. ConnectionSchemaMetadata name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata",
 13351  	//       "location": "path",
 13352  	//       "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$",
 13353  	//       "required": true,
 13354  	//       "type": "string"
 13355  	//     }
 13356  	//   },
 13357  	//   "path": "v1alpha/{+name}",
 13358  	//   "response": {
 13359  	//     "$ref": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata"
 13360  	//   },
 13361  	//   "scopes": [
 13362  	//     "https://www.googleapis.com/auth/cloud-platform"
 13363  	//   ]
 13364  	// }
 13365  
 13366  }
 13367  
 13368  // method id "integrations.projects.locations.connections.list":
 13369  
 13370  type ProjectsLocationsConnectionsListCall struct {
 13371  	s            *Service
 13372  	parent       string
 13373  	urlParams_   gensupport.URLParams
 13374  	ifNoneMatch_ string
 13375  	ctx_         context.Context
 13376  	header_      http.Header
 13377  }
 13378  
 13379  // List: Lists Connections in a given project and location.
 13380  //
 13381  //   - parent: Parent resource of the Connection, of the form:
 13382  //     `projects/*/locations/*`.
 13383  func (r *ProjectsLocationsConnectionsService) List(parent string) *ProjectsLocationsConnectionsListCall {
 13384  	c := &ProjectsLocationsConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13385  	c.parent = parent
 13386  	return c
 13387  }
 13388  
 13389  // Filter sets the optional parameter "filter": Filter.
 13390  func (c *ProjectsLocationsConnectionsListCall) Filter(filter string) *ProjectsLocationsConnectionsListCall {
 13391  	c.urlParams_.Set("filter", filter)
 13392  	return c
 13393  }
 13394  
 13395  // OrderBy sets the optional parameter "orderBy": Order by parameters.
 13396  func (c *ProjectsLocationsConnectionsListCall) OrderBy(orderBy string) *ProjectsLocationsConnectionsListCall {
 13397  	c.urlParams_.Set("orderBy", orderBy)
 13398  	return c
 13399  }
 13400  
 13401  // PageSize sets the optional parameter "pageSize": Page size.
 13402  func (c *ProjectsLocationsConnectionsListCall) PageSize(pageSize int64) *ProjectsLocationsConnectionsListCall {
 13403  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 13404  	return c
 13405  }
 13406  
 13407  // PageToken sets the optional parameter "pageToken": Page token.
 13408  func (c *ProjectsLocationsConnectionsListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsListCall {
 13409  	c.urlParams_.Set("pageToken", pageToken)
 13410  	return c
 13411  }
 13412  
 13413  // Fields allows partial responses to be retrieved. See
 13414  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13415  // for more information.
 13416  func (c *ProjectsLocationsConnectionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsListCall {
 13417  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13418  	return c
 13419  }
 13420  
 13421  // IfNoneMatch sets the optional parameter which makes the operation
 13422  // fail if the object's ETag matches the given value. This is useful for
 13423  // getting updates only after the object has changed since the last
 13424  // request. Use googleapi.IsNotModified to check whether the response
 13425  // error from Do is the result of In-None-Match.
 13426  func (c *ProjectsLocationsConnectionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsListCall {
 13427  	c.ifNoneMatch_ = entityTag
 13428  	return c
 13429  }
 13430  
 13431  // Context sets the context to be used in this call's Do method. Any
 13432  // pending HTTP request will be aborted if the provided context is
 13433  // canceled.
 13434  func (c *ProjectsLocationsConnectionsListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsListCall {
 13435  	c.ctx_ = ctx
 13436  	return c
 13437  }
 13438  
 13439  // Header returns an http.Header that can be modified by the caller to
 13440  // add HTTP headers to the request.
 13441  func (c *ProjectsLocationsConnectionsListCall) Header() http.Header {
 13442  	if c.header_ == nil {
 13443  		c.header_ = make(http.Header)
 13444  	}
 13445  	return c.header_
 13446  }
 13447  
 13448  func (c *ProjectsLocationsConnectionsListCall) doRequest(alt string) (*http.Response, error) {
 13449  	reqHeaders := make(http.Header)
 13450  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13451  	for k, v := range c.header_ {
 13452  		reqHeaders[k] = v
 13453  	}
 13454  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13455  	if c.ifNoneMatch_ != "" {
 13456  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13457  	}
 13458  	var body io.Reader = nil
 13459  	c.urlParams_.Set("alt", alt)
 13460  	c.urlParams_.Set("prettyPrint", "false")
 13461  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/connections")
 13462  	urls += "?" + c.urlParams_.Encode()
 13463  	req, err := http.NewRequest("GET", urls, body)
 13464  	if err != nil {
 13465  		return nil, err
 13466  	}
 13467  	req.Header = reqHeaders
 13468  	googleapi.Expand(req.URL, map[string]string{
 13469  		"parent": c.parent,
 13470  	})
 13471  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13472  }
 13473  
 13474  // Do executes the "integrations.projects.locations.connections.list" call.
 13475  // Exactly one of *GoogleCloudIntegrationsV1alphaListConnectionsResponse
 13476  // or error will be non-nil. Any non-2xx status code is an error.
 13477  // Response headers are in either
 13478  // *GoogleCloudIntegrationsV1alphaListConnectionsResponse.ServerResponse.
 13479  // Header or (if a response was returned at all) in
 13480  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13481  // whether the returned error was because http.StatusNotModified was
 13482  // returned.
 13483  func (c *ProjectsLocationsConnectionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListConnectionsResponse, error) {
 13484  	gensupport.SetOptions(c.urlParams_, opts...)
 13485  	res, err := c.doRequest("json")
 13486  	if res != nil && res.StatusCode == http.StatusNotModified {
 13487  		if res.Body != nil {
 13488  			res.Body.Close()
 13489  		}
 13490  		return nil, gensupport.WrapError(&googleapi.Error{
 13491  			Code:   res.StatusCode,
 13492  			Header: res.Header,
 13493  		})
 13494  	}
 13495  	if err != nil {
 13496  		return nil, err
 13497  	}
 13498  	defer googleapi.CloseBody(res)
 13499  	if err := googleapi.CheckResponse(res); err != nil {
 13500  		return nil, gensupport.WrapError(err)
 13501  	}
 13502  	ret := &GoogleCloudIntegrationsV1alphaListConnectionsResponse{
 13503  		ServerResponse: googleapi.ServerResponse{
 13504  			Header:         res.Header,
 13505  			HTTPStatusCode: res.StatusCode,
 13506  		},
 13507  	}
 13508  	target := &ret
 13509  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13510  		return nil, err
 13511  	}
 13512  	return ret, nil
 13513  	// {
 13514  	//   "description": "Lists Connections in a given project and location.",
 13515  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections",
 13516  	//   "httpMethod": "GET",
 13517  	//   "id": "integrations.projects.locations.connections.list",
 13518  	//   "parameterOrder": [
 13519  	//     "parent"
 13520  	//   ],
 13521  	//   "parameters": {
 13522  	//     "filter": {
 13523  	//       "description": "Filter.",
 13524  	//       "location": "query",
 13525  	//       "type": "string"
 13526  	//     },
 13527  	//     "orderBy": {
 13528  	//       "description": "Order by parameters.",
 13529  	//       "location": "query",
 13530  	//       "type": "string"
 13531  	//     },
 13532  	//     "pageSize": {
 13533  	//       "description": "Page size.",
 13534  	//       "format": "int32",
 13535  	//       "location": "query",
 13536  	//       "type": "integer"
 13537  	//     },
 13538  	//     "pageToken": {
 13539  	//       "description": "Page token.",
 13540  	//       "location": "query",
 13541  	//       "type": "string"
 13542  	//     },
 13543  	//     "parent": {
 13544  	//       "description": "Required. Parent resource of the Connection, of the form: `projects/*/locations/*`",
 13545  	//       "location": "path",
 13546  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 13547  	//       "required": true,
 13548  	//       "type": "string"
 13549  	//     }
 13550  	//   },
 13551  	//   "path": "v1alpha/{+parent}/connections",
 13552  	//   "response": {
 13553  	//     "$ref": "GoogleCloudIntegrationsV1alphaListConnectionsResponse"
 13554  	//   },
 13555  	//   "scopes": [
 13556  	//     "https://www.googleapis.com/auth/cloud-platform"
 13557  	//   ]
 13558  	// }
 13559  
 13560  }
 13561  
 13562  // Pages invokes f for each page of results.
 13563  // A non-nil error returned from f will halt the iteration.
 13564  // The provided context supersedes any context provided to the Context method.
 13565  func (c *ProjectsLocationsConnectionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListConnectionsResponse) error) error {
 13566  	c.ctx_ = ctx
 13567  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 13568  	for {
 13569  		x, err := c.Do()
 13570  		if err != nil {
 13571  			return err
 13572  		}
 13573  		if err := f(x); err != nil {
 13574  			return err
 13575  		}
 13576  		if x.NextPageToken == "" {
 13577  			return nil
 13578  		}
 13579  		c.PageToken(x.NextPageToken)
 13580  	}
 13581  }
 13582  
 13583  // method id "integrations.projects.locations.connections.runtimeActionSchemas.list":
 13584  
 13585  type ProjectsLocationsConnectionsRuntimeActionSchemasListCall struct {
 13586  	s            *Service
 13587  	parent       string
 13588  	urlParams_   gensupport.URLParams
 13589  	ifNoneMatch_ string
 13590  	ctx_         context.Context
 13591  	header_      http.Header
 13592  }
 13593  
 13594  // List: Lists the JSON schemas for the inputs and outputs of actions,
 13595  // filtered by action name.
 13596  //
 13597  //   - parent: Parent resource of RuntimeActionSchema. Format:
 13598  //     projects/{project}/locations/{location}/connections/{connection}.
 13599  func (r *ProjectsLocationsConnectionsRuntimeActionSchemasService) List(parent string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13600  	c := &ProjectsLocationsConnectionsRuntimeActionSchemasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13601  	c.parent = parent
 13602  	return c
 13603  }
 13604  
 13605  // Filter sets the optional parameter "filter": Filter. Only the action
 13606  // field with literal equality operator is supported.
 13607  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Filter(filter string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13608  	c.urlParams_.Set("filter", filter)
 13609  	return c
 13610  }
 13611  
 13612  // PageSize sets the optional parameter "pageSize": Page size.
 13613  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13614  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 13615  	return c
 13616  }
 13617  
 13618  // PageToken sets the optional parameter "pageToken": Page token.
 13619  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13620  	c.urlParams_.Set("pageToken", pageToken)
 13621  	return c
 13622  }
 13623  
 13624  // Fields allows partial responses to be retrieved. See
 13625  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13626  // for more information.
 13627  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13628  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13629  	return c
 13630  }
 13631  
 13632  // IfNoneMatch sets the optional parameter which makes the operation
 13633  // fail if the object's ETag matches the given value. This is useful for
 13634  // getting updates only after the object has changed since the last
 13635  // request. Use googleapi.IsNotModified to check whether the response
 13636  // error from Do is the result of In-None-Match.
 13637  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13638  	c.ifNoneMatch_ = entityTag
 13639  	return c
 13640  }
 13641  
 13642  // Context sets the context to be used in this call's Do method. Any
 13643  // pending HTTP request will be aborted if the provided context is
 13644  // canceled.
 13645  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsRuntimeActionSchemasListCall {
 13646  	c.ctx_ = ctx
 13647  	return c
 13648  }
 13649  
 13650  // Header returns an http.Header that can be modified by the caller to
 13651  // add HTTP headers to the request.
 13652  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Header() http.Header {
 13653  	if c.header_ == nil {
 13654  		c.header_ = make(http.Header)
 13655  	}
 13656  	return c.header_
 13657  }
 13658  
 13659  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) doRequest(alt string) (*http.Response, error) {
 13660  	reqHeaders := make(http.Header)
 13661  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13662  	for k, v := range c.header_ {
 13663  		reqHeaders[k] = v
 13664  	}
 13665  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13666  	if c.ifNoneMatch_ != "" {
 13667  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13668  	}
 13669  	var body io.Reader = nil
 13670  	c.urlParams_.Set("alt", alt)
 13671  	c.urlParams_.Set("prettyPrint", "false")
 13672  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/runtimeActionSchemas")
 13673  	urls += "?" + c.urlParams_.Encode()
 13674  	req, err := http.NewRequest("GET", urls, body)
 13675  	if err != nil {
 13676  		return nil, err
 13677  	}
 13678  	req.Header = reqHeaders
 13679  	googleapi.Expand(req.URL, map[string]string{
 13680  		"parent": c.parent,
 13681  	})
 13682  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13683  }
 13684  
 13685  // Do executes the "integrations.projects.locations.connections.runtimeActionSchemas.list" call.
 13686  // Exactly one of
 13687  // *GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse or
 13688  // error will be non-nil. Any non-2xx status code is an error. Response
 13689  // headers are in either
 13690  // *GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse.Server
 13691  // Response.Header or (if a response was returned at all) in
 13692  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13693  // whether the returned error was because http.StatusNotModified was
 13694  // returned.
 13695  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse, error) {
 13696  	gensupport.SetOptions(c.urlParams_, opts...)
 13697  	res, err := c.doRequest("json")
 13698  	if res != nil && res.StatusCode == http.StatusNotModified {
 13699  		if res.Body != nil {
 13700  			res.Body.Close()
 13701  		}
 13702  		return nil, gensupport.WrapError(&googleapi.Error{
 13703  			Code:   res.StatusCode,
 13704  			Header: res.Header,
 13705  		})
 13706  	}
 13707  	if err != nil {
 13708  		return nil, err
 13709  	}
 13710  	defer googleapi.CloseBody(res)
 13711  	if err := googleapi.CheckResponse(res); err != nil {
 13712  		return nil, gensupport.WrapError(err)
 13713  	}
 13714  	ret := &GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse{
 13715  		ServerResponse: googleapi.ServerResponse{
 13716  			Header:         res.Header,
 13717  			HTTPStatusCode: res.StatusCode,
 13718  		},
 13719  	}
 13720  	target := &ret
 13721  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13722  		return nil, err
 13723  	}
 13724  	return ret, nil
 13725  	// {
 13726  	//   "description": "Lists the JSON schemas for the inputs and outputs of actions, filtered by action name.",
 13727  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeActionSchemas",
 13728  	//   "httpMethod": "GET",
 13729  	//   "id": "integrations.projects.locations.connections.runtimeActionSchemas.list",
 13730  	//   "parameterOrder": [
 13731  	//     "parent"
 13732  	//   ],
 13733  	//   "parameters": {
 13734  	//     "filter": {
 13735  	//       "description": "Filter. Only the action field with literal equality operator is supported.",
 13736  	//       "location": "query",
 13737  	//       "type": "string"
 13738  	//     },
 13739  	//     "pageSize": {
 13740  	//       "description": "Page size.",
 13741  	//       "format": "int32",
 13742  	//       "location": "query",
 13743  	//       "type": "integer"
 13744  	//     },
 13745  	//     "pageToken": {
 13746  	//       "description": "Page token.",
 13747  	//       "location": "query",
 13748  	//       "type": "string"
 13749  	//     },
 13750  	//     "parent": {
 13751  	//       "description": "Required. Parent resource of RuntimeActionSchema. Format: projects/{project}/locations/{location}/connections/{connection}",
 13752  	//       "location": "path",
 13753  	//       "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
 13754  	//       "required": true,
 13755  	//       "type": "string"
 13756  	//     }
 13757  	//   },
 13758  	//   "path": "v1alpha/{+parent}/runtimeActionSchemas",
 13759  	//   "response": {
 13760  	//     "$ref": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse"
 13761  	//   },
 13762  	//   "scopes": [
 13763  	//     "https://www.googleapis.com/auth/cloud-platform"
 13764  	//   ]
 13765  	// }
 13766  
 13767  }
 13768  
 13769  // Pages invokes f for each page of results.
 13770  // A non-nil error returned from f will halt the iteration.
 13771  // The provided context supersedes any context provided to the Context method.
 13772  func (c *ProjectsLocationsConnectionsRuntimeActionSchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse) error) error {
 13773  	c.ctx_ = ctx
 13774  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 13775  	for {
 13776  		x, err := c.Do()
 13777  		if err != nil {
 13778  			return err
 13779  		}
 13780  		if err := f(x); err != nil {
 13781  			return err
 13782  		}
 13783  		if x.NextPageToken == "" {
 13784  			return nil
 13785  		}
 13786  		c.PageToken(x.NextPageToken)
 13787  	}
 13788  }
 13789  
 13790  // method id "integrations.projects.locations.connections.runtimeEntitySchemas.list":
 13791  
 13792  type ProjectsLocationsConnectionsRuntimeEntitySchemasListCall struct {
 13793  	s            *Service
 13794  	parent       string
 13795  	urlParams_   gensupport.URLParams
 13796  	ifNoneMatch_ string
 13797  	ctx_         context.Context
 13798  	header_      http.Header
 13799  }
 13800  
 13801  // List: Lists the JSON schemas for the properties of runtime entities,
 13802  // filtered by entity name.
 13803  //
 13804  //   - parent: Parent resource of RuntimeEntitySchema. Format:
 13805  //     projects/{project}/locations/{location}/connections/{connection}.
 13806  func (r *ProjectsLocationsConnectionsRuntimeEntitySchemasService) List(parent string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13807  	c := &ProjectsLocationsConnectionsRuntimeEntitySchemasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 13808  	c.parent = parent
 13809  	return c
 13810  }
 13811  
 13812  // Filter sets the optional parameter "filter": Filter. Only the entity
 13813  // field with literal equality operator is supported.
 13814  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Filter(filter string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13815  	c.urlParams_.Set("filter", filter)
 13816  	return c
 13817  }
 13818  
 13819  // PageSize sets the optional parameter "pageSize": Page size.
 13820  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) PageSize(pageSize int64) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13821  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 13822  	return c
 13823  }
 13824  
 13825  // PageToken sets the optional parameter "pageToken": Page token.
 13826  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13827  	c.urlParams_.Set("pageToken", pageToken)
 13828  	return c
 13829  }
 13830  
 13831  // Fields allows partial responses to be retrieved. See
 13832  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 13833  // for more information.
 13834  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13835  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 13836  	return c
 13837  }
 13838  
 13839  // IfNoneMatch sets the optional parameter which makes the operation
 13840  // fail if the object's ETag matches the given value. This is useful for
 13841  // getting updates only after the object has changed since the last
 13842  // request. Use googleapi.IsNotModified to check whether the response
 13843  // error from Do is the result of In-None-Match.
 13844  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13845  	c.ifNoneMatch_ = entityTag
 13846  	return c
 13847  }
 13848  
 13849  // Context sets the context to be used in this call's Do method. Any
 13850  // pending HTTP request will be aborted if the provided context is
 13851  // canceled.
 13852  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall {
 13853  	c.ctx_ = ctx
 13854  	return c
 13855  }
 13856  
 13857  // Header returns an http.Header that can be modified by the caller to
 13858  // add HTTP headers to the request.
 13859  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Header() http.Header {
 13860  	if c.header_ == nil {
 13861  		c.header_ = make(http.Header)
 13862  	}
 13863  	return c.header_
 13864  }
 13865  
 13866  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) doRequest(alt string) (*http.Response, error) {
 13867  	reqHeaders := make(http.Header)
 13868  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 13869  	for k, v := range c.header_ {
 13870  		reqHeaders[k] = v
 13871  	}
 13872  	reqHeaders.Set("User-Agent", c.s.userAgent())
 13873  	if c.ifNoneMatch_ != "" {
 13874  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 13875  	}
 13876  	var body io.Reader = nil
 13877  	c.urlParams_.Set("alt", alt)
 13878  	c.urlParams_.Set("prettyPrint", "false")
 13879  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/runtimeEntitySchemas")
 13880  	urls += "?" + c.urlParams_.Encode()
 13881  	req, err := http.NewRequest("GET", urls, body)
 13882  	if err != nil {
 13883  		return nil, err
 13884  	}
 13885  	req.Header = reqHeaders
 13886  	googleapi.Expand(req.URL, map[string]string{
 13887  		"parent": c.parent,
 13888  	})
 13889  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 13890  }
 13891  
 13892  // Do executes the "integrations.projects.locations.connections.runtimeEntitySchemas.list" call.
 13893  // Exactly one of
 13894  // *GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse or
 13895  // error will be non-nil. Any non-2xx status code is an error. Response
 13896  // headers are in either
 13897  // *GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse.Server
 13898  // Response.Header or (if a response was returned at all) in
 13899  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 13900  // whether the returned error was because http.StatusNotModified was
 13901  // returned.
 13902  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse, error) {
 13903  	gensupport.SetOptions(c.urlParams_, opts...)
 13904  	res, err := c.doRequest("json")
 13905  	if res != nil && res.StatusCode == http.StatusNotModified {
 13906  		if res.Body != nil {
 13907  			res.Body.Close()
 13908  		}
 13909  		return nil, gensupport.WrapError(&googleapi.Error{
 13910  			Code:   res.StatusCode,
 13911  			Header: res.Header,
 13912  		})
 13913  	}
 13914  	if err != nil {
 13915  		return nil, err
 13916  	}
 13917  	defer googleapi.CloseBody(res)
 13918  	if err := googleapi.CheckResponse(res); err != nil {
 13919  		return nil, gensupport.WrapError(err)
 13920  	}
 13921  	ret := &GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse{
 13922  		ServerResponse: googleapi.ServerResponse{
 13923  			Header:         res.Header,
 13924  			HTTPStatusCode: res.StatusCode,
 13925  		},
 13926  	}
 13927  	target := &ret
 13928  	if err := gensupport.DecodeResponse(target, res); err != nil {
 13929  		return nil, err
 13930  	}
 13931  	return ret, nil
 13932  	// {
 13933  	//   "description": "Lists the JSON schemas for the properties of runtime entities, filtered by entity name.",
 13934  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeEntitySchemas",
 13935  	//   "httpMethod": "GET",
 13936  	//   "id": "integrations.projects.locations.connections.runtimeEntitySchemas.list",
 13937  	//   "parameterOrder": [
 13938  	//     "parent"
 13939  	//   ],
 13940  	//   "parameters": {
 13941  	//     "filter": {
 13942  	//       "description": "Filter. Only the entity field with literal equality operator is supported.",
 13943  	//       "location": "query",
 13944  	//       "type": "string"
 13945  	//     },
 13946  	//     "pageSize": {
 13947  	//       "description": "Page size.",
 13948  	//       "format": "int32",
 13949  	//       "location": "query",
 13950  	//       "type": "integer"
 13951  	//     },
 13952  	//     "pageToken": {
 13953  	//       "description": "Page token.",
 13954  	//       "location": "query",
 13955  	//       "type": "string"
 13956  	//     },
 13957  	//     "parent": {
 13958  	//       "description": "Required. Parent resource of RuntimeEntitySchema. Format: projects/{project}/locations/{location}/connections/{connection}",
 13959  	//       "location": "path",
 13960  	//       "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
 13961  	//       "required": true,
 13962  	//       "type": "string"
 13963  	//     }
 13964  	//   },
 13965  	//   "path": "v1alpha/{+parent}/runtimeEntitySchemas",
 13966  	//   "response": {
 13967  	//     "$ref": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse"
 13968  	//   },
 13969  	//   "scopes": [
 13970  	//     "https://www.googleapis.com/auth/cloud-platform"
 13971  	//   ]
 13972  	// }
 13973  
 13974  }
 13975  
 13976  // Pages invokes f for each page of results.
 13977  // A non-nil error returned from f will halt the iteration.
 13978  // The provided context supersedes any context provided to the Context method.
 13979  func (c *ProjectsLocationsConnectionsRuntimeEntitySchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse) error) error {
 13980  	c.ctx_ = ctx
 13981  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 13982  	for {
 13983  		x, err := c.Do()
 13984  		if err != nil {
 13985  			return err
 13986  		}
 13987  		if err := f(x); err != nil {
 13988  			return err
 13989  		}
 13990  		if x.NextPageToken == "" {
 13991  			return nil
 13992  		}
 13993  		c.PageToken(x.NextPageToken)
 13994  	}
 13995  }
 13996  
 13997  // method id "integrations.projects.locations.integrations.delete":
 13998  
 13999  type ProjectsLocationsIntegrationsDeleteCall struct {
 14000  	s          *Service
 14001  	name       string
 14002  	urlParams_ gensupport.URLParams
 14003  	ctx_       context.Context
 14004  	header_    http.Header
 14005  }
 14006  
 14007  // Delete: Delete the selected integration and all versions inside
 14008  //
 14009  // - name: The location resource of the request.
 14010  func (r *ProjectsLocationsIntegrationsService) Delete(name string) *ProjectsLocationsIntegrationsDeleteCall {
 14011  	c := &ProjectsLocationsIntegrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14012  	c.name = name
 14013  	return c
 14014  }
 14015  
 14016  // Fields allows partial responses to be retrieved. See
 14017  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14018  // for more information.
 14019  func (c *ProjectsLocationsIntegrationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsDeleteCall {
 14020  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14021  	return c
 14022  }
 14023  
 14024  // Context sets the context to be used in this call's Do method. Any
 14025  // pending HTTP request will be aborted if the provided context is
 14026  // canceled.
 14027  func (c *ProjectsLocationsIntegrationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsDeleteCall {
 14028  	c.ctx_ = ctx
 14029  	return c
 14030  }
 14031  
 14032  // Header returns an http.Header that can be modified by the caller to
 14033  // add HTTP headers to the request.
 14034  func (c *ProjectsLocationsIntegrationsDeleteCall) Header() http.Header {
 14035  	if c.header_ == nil {
 14036  		c.header_ = make(http.Header)
 14037  	}
 14038  	return c.header_
 14039  }
 14040  
 14041  func (c *ProjectsLocationsIntegrationsDeleteCall) doRequest(alt string) (*http.Response, error) {
 14042  	reqHeaders := make(http.Header)
 14043  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14044  	for k, v := range c.header_ {
 14045  		reqHeaders[k] = v
 14046  	}
 14047  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14048  	var body io.Reader = nil
 14049  	c.urlParams_.Set("alt", alt)
 14050  	c.urlParams_.Set("prettyPrint", "false")
 14051  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 14052  	urls += "?" + c.urlParams_.Encode()
 14053  	req, err := http.NewRequest("DELETE", urls, body)
 14054  	if err != nil {
 14055  		return nil, err
 14056  	}
 14057  	req.Header = reqHeaders
 14058  	googleapi.Expand(req.URL, map[string]string{
 14059  		"name": c.name,
 14060  	})
 14061  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14062  }
 14063  
 14064  // Do executes the "integrations.projects.locations.integrations.delete" call.
 14065  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 14066  // non-2xx status code is an error. Response headers are in either
 14067  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 14068  // returned at all) in error.(*googleapi.Error).Header. Use
 14069  // googleapi.IsNotModified to check whether the returned error was
 14070  // because http.StatusNotModified was returned.
 14071  func (c *ProjectsLocationsIntegrationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 14072  	gensupport.SetOptions(c.urlParams_, opts...)
 14073  	res, err := c.doRequest("json")
 14074  	if res != nil && res.StatusCode == http.StatusNotModified {
 14075  		if res.Body != nil {
 14076  			res.Body.Close()
 14077  		}
 14078  		return nil, gensupport.WrapError(&googleapi.Error{
 14079  			Code:   res.StatusCode,
 14080  			Header: res.Header,
 14081  		})
 14082  	}
 14083  	if err != nil {
 14084  		return nil, err
 14085  	}
 14086  	defer googleapi.CloseBody(res)
 14087  	if err := googleapi.CheckResponse(res); err != nil {
 14088  		return nil, gensupport.WrapError(err)
 14089  	}
 14090  	ret := &GoogleProtobufEmpty{
 14091  		ServerResponse: googleapi.ServerResponse{
 14092  			Header:         res.Header,
 14093  			HTTPStatusCode: res.StatusCode,
 14094  		},
 14095  	}
 14096  	target := &ret
 14097  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14098  		return nil, err
 14099  	}
 14100  	return ret, nil
 14101  	// {
 14102  	//   "description": "Delete the selected integration and all versions inside",
 14103  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}",
 14104  	//   "httpMethod": "DELETE",
 14105  	//   "id": "integrations.projects.locations.integrations.delete",
 14106  	//   "parameterOrder": [
 14107  	//     "name"
 14108  	//   ],
 14109  	//   "parameters": {
 14110  	//     "name": {
 14111  	//       "description": "Required. The location resource of the request.",
 14112  	//       "location": "path",
 14113  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 14114  	//       "required": true,
 14115  	//       "type": "string"
 14116  	//     }
 14117  	//   },
 14118  	//   "path": "v1alpha/{+name}",
 14119  	//   "response": {
 14120  	//     "$ref": "GoogleProtobufEmpty"
 14121  	//   },
 14122  	//   "scopes": [
 14123  	//     "https://www.googleapis.com/auth/cloud-platform"
 14124  	//   ]
 14125  	// }
 14126  
 14127  }
 14128  
 14129  // method id "integrations.projects.locations.integrations.execute":
 14130  
 14131  type ProjectsLocationsIntegrationsExecuteCall struct {
 14132  	s                                                        *Service
 14133  	name                                                     string
 14134  	googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest
 14135  	urlParams_                                               gensupport.URLParams
 14136  	ctx_                                                     context.Context
 14137  	header_                                                  http.Header
 14138  }
 14139  
 14140  // Execute: Executes integrations synchronously by passing the trigger
 14141  // id in the request body. The request is not returned until the
 14142  // requested executions are either fulfilled or experienced an error. If
 14143  // the integration name is not specified (passing `-`), all of the
 14144  // associated integration under the given trigger_id will be executed.
 14145  // Otherwise only the specified integration for the given `trigger_id`
 14146  // is executed. This is helpful for execution the integration from UI.
 14147  //
 14148  // - name: The integration resource name.
 14149  func (r *ProjectsLocationsIntegrationsService) Execute(name string, googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) *ProjectsLocationsIntegrationsExecuteCall {
 14150  	c := &ProjectsLocationsIntegrationsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14151  	c.name = name
 14152  	c.googlecloudintegrationsv1alphaexecuteintegrationsrequest = googlecloudintegrationsv1alphaexecuteintegrationsrequest
 14153  	return c
 14154  }
 14155  
 14156  // Fields allows partial responses to be retrieved. See
 14157  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14158  // for more information.
 14159  func (c *ProjectsLocationsIntegrationsExecuteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecuteCall {
 14160  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14161  	return c
 14162  }
 14163  
 14164  // Context sets the context to be used in this call's Do method. Any
 14165  // pending HTTP request will be aborted if the provided context is
 14166  // canceled.
 14167  func (c *ProjectsLocationsIntegrationsExecuteCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecuteCall {
 14168  	c.ctx_ = ctx
 14169  	return c
 14170  }
 14171  
 14172  // Header returns an http.Header that can be modified by the caller to
 14173  // add HTTP headers to the request.
 14174  func (c *ProjectsLocationsIntegrationsExecuteCall) Header() http.Header {
 14175  	if c.header_ == nil {
 14176  		c.header_ = make(http.Header)
 14177  	}
 14178  	return c.header_
 14179  }
 14180  
 14181  func (c *ProjectsLocationsIntegrationsExecuteCall) doRequest(alt string) (*http.Response, error) {
 14182  	reqHeaders := make(http.Header)
 14183  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14184  	for k, v := range c.header_ {
 14185  		reqHeaders[k] = v
 14186  	}
 14187  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14188  	var body io.Reader = nil
 14189  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaexecuteintegrationsrequest)
 14190  	if err != nil {
 14191  		return nil, err
 14192  	}
 14193  	reqHeaders.Set("Content-Type", "application/json")
 14194  	c.urlParams_.Set("alt", alt)
 14195  	c.urlParams_.Set("prettyPrint", "false")
 14196  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:execute")
 14197  	urls += "?" + c.urlParams_.Encode()
 14198  	req, err := http.NewRequest("POST", urls, body)
 14199  	if err != nil {
 14200  		return nil, err
 14201  	}
 14202  	req.Header = reqHeaders
 14203  	googleapi.Expand(req.URL, map[string]string{
 14204  		"name": c.name,
 14205  	})
 14206  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14207  }
 14208  
 14209  // Do executes the "integrations.projects.locations.integrations.execute" call.
 14210  // Exactly one of
 14211  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse or error
 14212  // will be non-nil. Any non-2xx status code is an error. Response
 14213  // headers are in either
 14214  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse.ServerRespo
 14215  // nse.Header or (if a response was returned at all) in
 14216  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14217  // whether the returned error was because http.StatusNotModified was
 14218  // returned.
 14219  func (c *ProjectsLocationsIntegrationsExecuteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse, error) {
 14220  	gensupport.SetOptions(c.urlParams_, opts...)
 14221  	res, err := c.doRequest("json")
 14222  	if res != nil && res.StatusCode == http.StatusNotModified {
 14223  		if res.Body != nil {
 14224  			res.Body.Close()
 14225  		}
 14226  		return nil, gensupport.WrapError(&googleapi.Error{
 14227  			Code:   res.StatusCode,
 14228  			Header: res.Header,
 14229  		})
 14230  	}
 14231  	if err != nil {
 14232  		return nil, err
 14233  	}
 14234  	defer googleapi.CloseBody(res)
 14235  	if err := googleapi.CheckResponse(res); err != nil {
 14236  		return nil, gensupport.WrapError(err)
 14237  	}
 14238  	ret := &GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse{
 14239  		ServerResponse: googleapi.ServerResponse{
 14240  			Header:         res.Header,
 14241  			HTTPStatusCode: res.StatusCode,
 14242  		},
 14243  	}
 14244  	target := &ret
 14245  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14246  		return nil, err
 14247  	}
 14248  	return ret, nil
 14249  	// {
 14250  	//   "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.",
 14251  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:execute",
 14252  	//   "httpMethod": "POST",
 14253  	//   "id": "integrations.projects.locations.integrations.execute",
 14254  	//   "parameterOrder": [
 14255  	//     "name"
 14256  	//   ],
 14257  	//   "parameters": {
 14258  	//     "name": {
 14259  	//       "description": "Required. The integration resource name.",
 14260  	//       "location": "path",
 14261  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 14262  	//       "required": true,
 14263  	//       "type": "string"
 14264  	//     }
 14265  	//   },
 14266  	//   "path": "v1alpha/{+name}:execute",
 14267  	//   "request": {
 14268  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest"
 14269  	//   },
 14270  	//   "response": {
 14271  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse"
 14272  	//   },
 14273  	//   "scopes": [
 14274  	//     "https://www.googleapis.com/auth/cloud-platform"
 14275  	//   ]
 14276  	// }
 14277  
 14278  }
 14279  
 14280  // method id "integrations.projects.locations.integrations.executeEvent":
 14281  
 14282  type ProjectsLocationsIntegrationsExecuteEventCall struct {
 14283  	s                                                 *Service
 14284  	name                                              string
 14285  	googlecloudintegrationsv1alphaexecuteeventrequest *GoogleCloudIntegrationsV1alphaExecuteEventRequest
 14286  	urlParams_                                        gensupport.URLParams
 14287  	ctx_                                              context.Context
 14288  	header_                                           http.Header
 14289  }
 14290  
 14291  // ExecuteEvent: Executes an integration on receiving events from
 14292  // Integration Connector triggers, Eventarc or CPS Trigger. The details
 14293  // about integration are derived from CloudEvent request body.
 14294  //
 14295  //   - name: The integration resource name. Format:
 14296  //     projects/{gcp_project_id}/locations/{location}/integrations/{integra
 14297  //     tion_id}.
 14298  func (r *ProjectsLocationsIntegrationsService) ExecuteEvent(name string, googlecloudintegrationsv1alphaexecuteeventrequest *GoogleCloudIntegrationsV1alphaExecuteEventRequest) *ProjectsLocationsIntegrationsExecuteEventCall {
 14299  	c := &ProjectsLocationsIntegrationsExecuteEventCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14300  	c.name = name
 14301  	c.googlecloudintegrationsv1alphaexecuteeventrequest = googlecloudintegrationsv1alphaexecuteeventrequest
 14302  	return c
 14303  }
 14304  
 14305  // Fields allows partial responses to be retrieved. See
 14306  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14307  // for more information.
 14308  func (c *ProjectsLocationsIntegrationsExecuteEventCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecuteEventCall {
 14309  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14310  	return c
 14311  }
 14312  
 14313  // Context sets the context to be used in this call's Do method. Any
 14314  // pending HTTP request will be aborted if the provided context is
 14315  // canceled.
 14316  func (c *ProjectsLocationsIntegrationsExecuteEventCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecuteEventCall {
 14317  	c.ctx_ = ctx
 14318  	return c
 14319  }
 14320  
 14321  // Header returns an http.Header that can be modified by the caller to
 14322  // add HTTP headers to the request.
 14323  func (c *ProjectsLocationsIntegrationsExecuteEventCall) Header() http.Header {
 14324  	if c.header_ == nil {
 14325  		c.header_ = make(http.Header)
 14326  	}
 14327  	return c.header_
 14328  }
 14329  
 14330  func (c *ProjectsLocationsIntegrationsExecuteEventCall) doRequest(alt string) (*http.Response, error) {
 14331  	reqHeaders := make(http.Header)
 14332  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14333  	for k, v := range c.header_ {
 14334  		reqHeaders[k] = v
 14335  	}
 14336  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14337  	var body io.Reader = nil
 14338  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaexecuteeventrequest)
 14339  	if err != nil {
 14340  		return nil, err
 14341  	}
 14342  	reqHeaders.Set("Content-Type", "application/json")
 14343  	c.urlParams_.Set("alt", alt)
 14344  	c.urlParams_.Set("prettyPrint", "false")
 14345  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:executeEvent")
 14346  	urls += "?" + c.urlParams_.Encode()
 14347  	req, err := http.NewRequest("POST", urls, body)
 14348  	if err != nil {
 14349  		return nil, err
 14350  	}
 14351  	req.Header = reqHeaders
 14352  	googleapi.Expand(req.URL, map[string]string{
 14353  		"name": c.name,
 14354  	})
 14355  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14356  }
 14357  
 14358  // Do executes the "integrations.projects.locations.integrations.executeEvent" call.
 14359  // Exactly one of *GoogleCloudIntegrationsV1alphaExecuteEventResponse or
 14360  // error will be non-nil. Any non-2xx status code is an error. Response
 14361  // headers are in either
 14362  // *GoogleCloudIntegrationsV1alphaExecuteEventResponse.ServerResponse.Hea
 14363  // der or (if a response was returned at all) in
 14364  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14365  // whether the returned error was because http.StatusNotModified was
 14366  // returned.
 14367  func (c *ProjectsLocationsIntegrationsExecuteEventCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecuteEventResponse, error) {
 14368  	gensupport.SetOptions(c.urlParams_, opts...)
 14369  	res, err := c.doRequest("json")
 14370  	if res != nil && res.StatusCode == http.StatusNotModified {
 14371  		if res.Body != nil {
 14372  			res.Body.Close()
 14373  		}
 14374  		return nil, gensupport.WrapError(&googleapi.Error{
 14375  			Code:   res.StatusCode,
 14376  			Header: res.Header,
 14377  		})
 14378  	}
 14379  	if err != nil {
 14380  		return nil, err
 14381  	}
 14382  	defer googleapi.CloseBody(res)
 14383  	if err := googleapi.CheckResponse(res); err != nil {
 14384  		return nil, gensupport.WrapError(err)
 14385  	}
 14386  	ret := &GoogleCloudIntegrationsV1alphaExecuteEventResponse{
 14387  		ServerResponse: googleapi.ServerResponse{
 14388  			Header:         res.Header,
 14389  			HTTPStatusCode: res.StatusCode,
 14390  		},
 14391  	}
 14392  	target := &ret
 14393  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14394  		return nil, err
 14395  	}
 14396  	return ret, nil
 14397  	// {
 14398  	//   "description": "Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. The details about integration are derived from CloudEvent request body.",
 14399  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:executeEvent",
 14400  	//   "httpMethod": "POST",
 14401  	//   "id": "integrations.projects.locations.integrations.executeEvent",
 14402  	//   "parameterOrder": [
 14403  	//     "name"
 14404  	//   ],
 14405  	//   "parameters": {
 14406  	//     "name": {
 14407  	//       "description": "Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id}",
 14408  	//       "location": "path",
 14409  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 14410  	//       "required": true,
 14411  	//       "type": "string"
 14412  	//     }
 14413  	//   },
 14414  	//   "path": "v1alpha/{+name}:executeEvent",
 14415  	//   "request": {
 14416  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteEventRequest"
 14417  	//   },
 14418  	//   "response": {
 14419  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteEventResponse"
 14420  	//   },
 14421  	//   "scopes": [
 14422  	//     "https://www.googleapis.com/auth/cloud-platform"
 14423  	//   ]
 14424  	// }
 14425  
 14426  }
 14427  
 14428  // method id "integrations.projects.locations.integrations.list":
 14429  
 14430  type ProjectsLocationsIntegrationsListCall struct {
 14431  	s            *Service
 14432  	parent       string
 14433  	urlParams_   gensupport.URLParams
 14434  	ifNoneMatch_ string
 14435  	ctx_         context.Context
 14436  	header_      http.Header
 14437  }
 14438  
 14439  // List: Returns the list of all integrations in the specified project.
 14440  //
 14441  //   - parent: Project and location from which the integrations should be
 14442  //     listed. Format: projects/{project}.
 14443  func (r *ProjectsLocationsIntegrationsService) List(parent string) *ProjectsLocationsIntegrationsListCall {
 14444  	c := &ProjectsLocationsIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14445  	c.parent = parent
 14446  	return c
 14447  }
 14448  
 14449  // Filter sets the optional parameter "filter": Filter on fields of
 14450  // IntegrationVersion. Fields can be compared with literal values by use
 14451  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 14452  // >=" (greater than or equal to), "<=" (less than or equal to), and
 14453  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 14454  // are written using NOT, AND, and OR keywords. For example,
 14455  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 14456  // Filtering cannot be performed on repeated fields like `task_config`.
 14457  func (c *ProjectsLocationsIntegrationsListCall) Filter(filter string) *ProjectsLocationsIntegrationsListCall {
 14458  	c.urlParams_.Set("filter", filter)
 14459  	return c
 14460  }
 14461  
 14462  // OrderBy sets the optional parameter "orderBy": The results would be
 14463  // returned in order you specified here. Supported sort keys are:
 14464  // Descending sort order by "last_modified_time", "created_time",
 14465  // "snapshot_number". Ascending sort order by the integration name.
 14466  func (c *ProjectsLocationsIntegrationsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsListCall {
 14467  	c.urlParams_.Set("orderBy", orderBy)
 14468  	return c
 14469  }
 14470  
 14471  // PageSize sets the optional parameter "pageSize": The page size for
 14472  // the resquest.
 14473  func (c *ProjectsLocationsIntegrationsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsListCall {
 14474  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 14475  	return c
 14476  }
 14477  
 14478  // PageToken sets the optional parameter "pageToken": The page token for
 14479  // the resquest.
 14480  func (c *ProjectsLocationsIntegrationsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsListCall {
 14481  	c.urlParams_.Set("pageToken", pageToken)
 14482  	return c
 14483  }
 14484  
 14485  // Fields allows partial responses to be retrieved. See
 14486  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14487  // for more information.
 14488  func (c *ProjectsLocationsIntegrationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsListCall {
 14489  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14490  	return c
 14491  }
 14492  
 14493  // IfNoneMatch sets the optional parameter which makes the operation
 14494  // fail if the object's ETag matches the given value. This is useful for
 14495  // getting updates only after the object has changed since the last
 14496  // request. Use googleapi.IsNotModified to check whether the response
 14497  // error from Do is the result of In-None-Match.
 14498  func (c *ProjectsLocationsIntegrationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsListCall {
 14499  	c.ifNoneMatch_ = entityTag
 14500  	return c
 14501  }
 14502  
 14503  // Context sets the context to be used in this call's Do method. Any
 14504  // pending HTTP request will be aborted if the provided context is
 14505  // canceled.
 14506  func (c *ProjectsLocationsIntegrationsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsListCall {
 14507  	c.ctx_ = ctx
 14508  	return c
 14509  }
 14510  
 14511  // Header returns an http.Header that can be modified by the caller to
 14512  // add HTTP headers to the request.
 14513  func (c *ProjectsLocationsIntegrationsListCall) Header() http.Header {
 14514  	if c.header_ == nil {
 14515  		c.header_ = make(http.Header)
 14516  	}
 14517  	return c.header_
 14518  }
 14519  
 14520  func (c *ProjectsLocationsIntegrationsListCall) doRequest(alt string) (*http.Response, error) {
 14521  	reqHeaders := make(http.Header)
 14522  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14523  	for k, v := range c.header_ {
 14524  		reqHeaders[k] = v
 14525  	}
 14526  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14527  	if c.ifNoneMatch_ != "" {
 14528  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 14529  	}
 14530  	var body io.Reader = nil
 14531  	c.urlParams_.Set("alt", alt)
 14532  	c.urlParams_.Set("prettyPrint", "false")
 14533  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/integrations")
 14534  	urls += "?" + c.urlParams_.Encode()
 14535  	req, err := http.NewRequest("GET", urls, body)
 14536  	if err != nil {
 14537  		return nil, err
 14538  	}
 14539  	req.Header = reqHeaders
 14540  	googleapi.Expand(req.URL, map[string]string{
 14541  		"parent": c.parent,
 14542  	})
 14543  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14544  }
 14545  
 14546  // Do executes the "integrations.projects.locations.integrations.list" call.
 14547  // Exactly one of
 14548  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse or error will
 14549  // be non-nil. Any non-2xx status code is an error. Response headers are
 14550  // in either
 14551  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse.ServerResponse
 14552  // .Header or (if a response was returned at all) in
 14553  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14554  // whether the returned error was because http.StatusNotModified was
 14555  // returned.
 14556  func (c *ProjectsLocationsIntegrationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationsResponse, error) {
 14557  	gensupport.SetOptions(c.urlParams_, opts...)
 14558  	res, err := c.doRequest("json")
 14559  	if res != nil && res.StatusCode == http.StatusNotModified {
 14560  		if res.Body != nil {
 14561  			res.Body.Close()
 14562  		}
 14563  		return nil, gensupport.WrapError(&googleapi.Error{
 14564  			Code:   res.StatusCode,
 14565  			Header: res.Header,
 14566  		})
 14567  	}
 14568  	if err != nil {
 14569  		return nil, err
 14570  	}
 14571  	defer googleapi.CloseBody(res)
 14572  	if err := googleapi.CheckResponse(res); err != nil {
 14573  		return nil, gensupport.WrapError(err)
 14574  	}
 14575  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationsResponse{
 14576  		ServerResponse: googleapi.ServerResponse{
 14577  			Header:         res.Header,
 14578  			HTTPStatusCode: res.StatusCode,
 14579  		},
 14580  	}
 14581  	target := &ret
 14582  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14583  		return nil, err
 14584  	}
 14585  	return ret, nil
 14586  	// {
 14587  	//   "description": "Returns the list of all integrations in the specified project.",
 14588  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations",
 14589  	//   "httpMethod": "GET",
 14590  	//   "id": "integrations.projects.locations.integrations.list",
 14591  	//   "parameterOrder": [
 14592  	//     "parent"
 14593  	//   ],
 14594  	//   "parameters": {
 14595  	//     "filter": {
 14596  	//       "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`.",
 14597  	//       "location": "query",
 14598  	//       "type": "string"
 14599  	//     },
 14600  	//     "orderBy": {
 14601  	//       "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.",
 14602  	//       "location": "query",
 14603  	//       "type": "string"
 14604  	//     },
 14605  	//     "pageSize": {
 14606  	//       "description": "The page size for the resquest.",
 14607  	//       "format": "int32",
 14608  	//       "location": "query",
 14609  	//       "type": "integer"
 14610  	//     },
 14611  	//     "pageToken": {
 14612  	//       "description": "The page token for the resquest.",
 14613  	//       "location": "query",
 14614  	//       "type": "string"
 14615  	//     },
 14616  	//     "parent": {
 14617  	//       "description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}",
 14618  	//       "location": "path",
 14619  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 14620  	//       "required": true,
 14621  	//       "type": "string"
 14622  	//     }
 14623  	//   },
 14624  	//   "path": "v1alpha/{+parent}/integrations",
 14625  	//   "response": {
 14626  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse"
 14627  	//   },
 14628  	//   "scopes": [
 14629  	//     "https://www.googleapis.com/auth/cloud-platform"
 14630  	//   ]
 14631  	// }
 14632  
 14633  }
 14634  
 14635  // Pages invokes f for each page of results.
 14636  // A non-nil error returned from f will halt the iteration.
 14637  // The provided context supersedes any context provided to the Context method.
 14638  func (c *ProjectsLocationsIntegrationsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationsResponse) error) error {
 14639  	c.ctx_ = ctx
 14640  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 14641  	for {
 14642  		x, err := c.Do()
 14643  		if err != nil {
 14644  			return err
 14645  		}
 14646  		if err := f(x); err != nil {
 14647  			return err
 14648  		}
 14649  		if x.NextPageToken == "" {
 14650  			return nil
 14651  		}
 14652  		c.PageToken(x.NextPageToken)
 14653  	}
 14654  }
 14655  
 14656  // method id "integrations.projects.locations.integrations.schedule":
 14657  
 14658  type ProjectsLocationsIntegrationsScheduleCall struct {
 14659  	s                                                         *Service
 14660  	name                                                      string
 14661  	googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
 14662  	urlParams_                                                gensupport.URLParams
 14663  	ctx_                                                      context.Context
 14664  	header_                                                   http.Header
 14665  }
 14666  
 14667  // Schedule: Schedules an integration for execution by passing the
 14668  // trigger id and the scheduled time in the request body.
 14669  //
 14670  // - name: The integration resource name.
 14671  func (r *ProjectsLocationsIntegrationsService) Schedule(name string, googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) *ProjectsLocationsIntegrationsScheduleCall {
 14672  	c := &ProjectsLocationsIntegrationsScheduleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14673  	c.name = name
 14674  	c.googlecloudintegrationsv1alphascheduleintegrationsrequest = googlecloudintegrationsv1alphascheduleintegrationsrequest
 14675  	return c
 14676  }
 14677  
 14678  // Fields allows partial responses to be retrieved. See
 14679  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14680  // for more information.
 14681  func (c *ProjectsLocationsIntegrationsScheduleCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsScheduleCall {
 14682  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14683  	return c
 14684  }
 14685  
 14686  // Context sets the context to be used in this call's Do method. Any
 14687  // pending HTTP request will be aborted if the provided context is
 14688  // canceled.
 14689  func (c *ProjectsLocationsIntegrationsScheduleCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsScheduleCall {
 14690  	c.ctx_ = ctx
 14691  	return c
 14692  }
 14693  
 14694  // Header returns an http.Header that can be modified by the caller to
 14695  // add HTTP headers to the request.
 14696  func (c *ProjectsLocationsIntegrationsScheduleCall) Header() http.Header {
 14697  	if c.header_ == nil {
 14698  		c.header_ = make(http.Header)
 14699  	}
 14700  	return c.header_
 14701  }
 14702  
 14703  func (c *ProjectsLocationsIntegrationsScheduleCall) doRequest(alt string) (*http.Response, error) {
 14704  	reqHeaders := make(http.Header)
 14705  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 14706  	for k, v := range c.header_ {
 14707  		reqHeaders[k] = v
 14708  	}
 14709  	reqHeaders.Set("User-Agent", c.s.userAgent())
 14710  	var body io.Reader = nil
 14711  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphascheduleintegrationsrequest)
 14712  	if err != nil {
 14713  		return nil, err
 14714  	}
 14715  	reqHeaders.Set("Content-Type", "application/json")
 14716  	c.urlParams_.Set("alt", alt)
 14717  	c.urlParams_.Set("prettyPrint", "false")
 14718  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:schedule")
 14719  	urls += "?" + c.urlParams_.Encode()
 14720  	req, err := http.NewRequest("POST", urls, body)
 14721  	if err != nil {
 14722  		return nil, err
 14723  	}
 14724  	req.Header = reqHeaders
 14725  	googleapi.Expand(req.URL, map[string]string{
 14726  		"name": c.name,
 14727  	})
 14728  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 14729  }
 14730  
 14731  // Do executes the "integrations.projects.locations.integrations.schedule" call.
 14732  // Exactly one of
 14733  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse or error
 14734  // will be non-nil. Any non-2xx status code is an error. Response
 14735  // headers are in either
 14736  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse.ServerResp
 14737  // onse.Header or (if a response was returned at all) in
 14738  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 14739  // whether the returned error was because http.StatusNotModified was
 14740  // returned.
 14741  func (c *ProjectsLocationsIntegrationsScheduleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse, error) {
 14742  	gensupport.SetOptions(c.urlParams_, opts...)
 14743  	res, err := c.doRequest("json")
 14744  	if res != nil && res.StatusCode == http.StatusNotModified {
 14745  		if res.Body != nil {
 14746  			res.Body.Close()
 14747  		}
 14748  		return nil, gensupport.WrapError(&googleapi.Error{
 14749  			Code:   res.StatusCode,
 14750  			Header: res.Header,
 14751  		})
 14752  	}
 14753  	if err != nil {
 14754  		return nil, err
 14755  	}
 14756  	defer googleapi.CloseBody(res)
 14757  	if err := googleapi.CheckResponse(res); err != nil {
 14758  		return nil, gensupport.WrapError(err)
 14759  	}
 14760  	ret := &GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse{
 14761  		ServerResponse: googleapi.ServerResponse{
 14762  			Header:         res.Header,
 14763  			HTTPStatusCode: res.StatusCode,
 14764  		},
 14765  	}
 14766  	target := &ret
 14767  	if err := gensupport.DecodeResponse(target, res); err != nil {
 14768  		return nil, err
 14769  	}
 14770  	return ret, nil
 14771  	// {
 14772  	//   "description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.",
 14773  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:schedule",
 14774  	//   "httpMethod": "POST",
 14775  	//   "id": "integrations.projects.locations.integrations.schedule",
 14776  	//   "parameterOrder": [
 14777  	//     "name"
 14778  	//   ],
 14779  	//   "parameters": {
 14780  	//     "name": {
 14781  	//       "description": "The integration resource name.",
 14782  	//       "location": "path",
 14783  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 14784  	//       "required": true,
 14785  	//       "type": "string"
 14786  	//     }
 14787  	//   },
 14788  	//   "path": "v1alpha/{+name}:schedule",
 14789  	//   "request": {
 14790  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest"
 14791  	//   },
 14792  	//   "response": {
 14793  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse"
 14794  	//   },
 14795  	//   "scopes": [
 14796  	//     "https://www.googleapis.com/auth/cloud-platform"
 14797  	//   ]
 14798  	// }
 14799  
 14800  }
 14801  
 14802  // method id "integrations.projects.locations.integrations.executions.list":
 14803  
 14804  type ProjectsLocationsIntegrationsExecutionsListCall struct {
 14805  	s            *Service
 14806  	parent       string
 14807  	urlParams_   gensupport.URLParams
 14808  	ifNoneMatch_ string
 14809  	ctx_         context.Context
 14810  	header_      http.Header
 14811  }
 14812  
 14813  // List: Lists the results of all the integration executions. The
 14814  // response includes the same information as the execution log
 14815  // (https://cloud.google.com/application-integration/docs/viewing-logs)
 14816  // in the Integration UI.
 14817  //
 14818  // - parent: The parent resource name of the integration execution.
 14819  func (r *ProjectsLocationsIntegrationsExecutionsService) List(parent string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14820  	c := &ProjectsLocationsIntegrationsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 14821  	c.parent = parent
 14822  	return c
 14823  }
 14824  
 14825  // Filter sets the optional parameter "filter": Standard filter field,
 14826  // we support filtering on following fields: workflow_name: the name of
 14827  // the integration. CreateTimestamp: the execution created time.
 14828  // event_execution_state: the state of the executions. execution_id: the
 14829  // id of the execution. trigger_id: the id of the trigger.
 14830  // parameter_type: the type of the parameters involved in the execution.
 14831  // All fields support for EQUALS, in additional: CreateTimestamp support
 14832  // for LESS_THAN, GREATER_THAN ParameterType support for HAS For
 14833  // example: "parameter_type" HAS \"string\" Also supports operators like
 14834  // AND, OR, NOT For example, trigger_id=\"id1\" AND
 14835  // workflow_name=\"testWorkflow\"
 14836  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Filter(filter string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14837  	c.urlParams_.Set("filter", filter)
 14838  	return c
 14839  }
 14840  
 14841  // FilterParamsCustomFilter sets the optional parameter
 14842  // "filterParams.customFilter": Optional user-provided custom filter.
 14843  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsCustomFilter(filterParamsCustomFilter string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14844  	c.urlParams_.Set("filterParams.customFilter", filterParamsCustomFilter)
 14845  	return c
 14846  }
 14847  
 14848  // FilterParamsEndTime sets the optional parameter
 14849  // "filterParams.endTime": End timestamp.
 14850  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsEndTime(filterParamsEndTime int64) *ProjectsLocationsIntegrationsExecutionsListCall {
 14851  	c.urlParams_.Set("filterParams.endTime", fmt.Sprint(filterParamsEndTime))
 14852  	return c
 14853  }
 14854  
 14855  // FilterParamsEventStatuses sets the optional parameter
 14856  // "filterParams.eventStatuses": List of possible event statuses.
 14857  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsEventStatuses(filterParamsEventStatuses ...string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14858  	c.urlParams_.SetMulti("filterParams.eventStatuses", append([]string{}, filterParamsEventStatuses...))
 14859  	return c
 14860  }
 14861  
 14862  // FilterParamsExecutionId sets the optional parameter
 14863  // "filterParams.executionId": Execution id.
 14864  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsExecutionId(filterParamsExecutionId string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14865  	c.urlParams_.Set("filterParams.executionId", filterParamsExecutionId)
 14866  	return c
 14867  }
 14868  
 14869  // FilterParamsParameterKey sets the optional parameter
 14870  // "filterParams.parameterKey": Param key. DEPRECATED. User
 14871  // parameter_pair_key instead.
 14872  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterKey(filterParamsParameterKey string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14873  	c.urlParams_.Set("filterParams.parameterKey", filterParamsParameterKey)
 14874  	return c
 14875  }
 14876  
 14877  // FilterParamsParameterPairKey sets the optional parameter
 14878  // "filterParams.parameterPairKey": Param key in the key value pair
 14879  // filter.
 14880  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterPairKey(filterParamsParameterPairKey string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14881  	c.urlParams_.Set("filterParams.parameterPairKey", filterParamsParameterPairKey)
 14882  	return c
 14883  }
 14884  
 14885  // FilterParamsParameterPairValue sets the optional parameter
 14886  // "filterParams.parameterPairValue": Param value in the key value pair
 14887  // filter.
 14888  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterPairValue(filterParamsParameterPairValue string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14889  	c.urlParams_.Set("filterParams.parameterPairValue", filterParamsParameterPairValue)
 14890  	return c
 14891  }
 14892  
 14893  // FilterParamsParameterType sets the optional parameter
 14894  // "filterParams.parameterType": Param type.
 14895  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterType(filterParamsParameterType string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14896  	c.urlParams_.Set("filterParams.parameterType", filterParamsParameterType)
 14897  	return c
 14898  }
 14899  
 14900  // FilterParamsParameterValue sets the optional parameter
 14901  // "filterParams.parameterValue": Param value. DEPRECATED. User
 14902  // parameter_pair_value instead.
 14903  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsParameterValue(filterParamsParameterValue string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14904  	c.urlParams_.Set("filterParams.parameterValue", filterParamsParameterValue)
 14905  	return c
 14906  }
 14907  
 14908  // FilterParamsStartTime sets the optional parameter
 14909  // "filterParams.startTime": Start timestamp.
 14910  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsStartTime(filterParamsStartTime int64) *ProjectsLocationsIntegrationsExecutionsListCall {
 14911  	c.urlParams_.Set("filterParams.startTime", fmt.Sprint(filterParamsStartTime))
 14912  	return c
 14913  }
 14914  
 14915  // FilterParamsTaskStatuses sets the optional parameter
 14916  // "filterParams.taskStatuses": List of possible task statuses.
 14917  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsTaskStatuses(filterParamsTaskStatuses ...string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14918  	c.urlParams_.SetMulti("filterParams.taskStatuses", append([]string{}, filterParamsTaskStatuses...))
 14919  	return c
 14920  }
 14921  
 14922  // FilterParamsWorkflowName sets the optional parameter
 14923  // "filterParams.workflowName": Workflow name.
 14924  func (c *ProjectsLocationsIntegrationsExecutionsListCall) FilterParamsWorkflowName(filterParamsWorkflowName string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14925  	c.urlParams_.Set("filterParams.workflowName", filterParamsWorkflowName)
 14926  	return c
 14927  }
 14928  
 14929  // OrderBy sets the optional parameter "orderBy": The results would be
 14930  // returned in order you specified here. Currently supporting
 14931  // "last_modified_time" and "create_time".
 14932  func (c *ProjectsLocationsIntegrationsExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14933  	c.urlParams_.Set("orderBy", orderBy)
 14934  	return c
 14935  }
 14936  
 14937  // PageSize sets the optional parameter "pageSize": The size of entries
 14938  // in the response.
 14939  func (c *ProjectsLocationsIntegrationsExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsExecutionsListCall {
 14940  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 14941  	return c
 14942  }
 14943  
 14944  // PageToken sets the optional parameter "pageToken": The token returned
 14945  // in the previous response.
 14946  func (c *ProjectsLocationsIntegrationsExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14947  	c.urlParams_.Set("pageToken", pageToken)
 14948  	return c
 14949  }
 14950  
 14951  // ReadMask sets the optional parameter "readMask": View mask for the
 14952  // response data. If set, only the field specified will be returned as
 14953  // part of the result. If not set, all fields in event execution info
 14954  // will be filled and returned.
 14955  func (c *ProjectsLocationsIntegrationsExecutionsListCall) ReadMask(readMask string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14956  	c.urlParams_.Set("readMask", readMask)
 14957  	return c
 14958  }
 14959  
 14960  // RefreshAcl sets the optional parameter "refreshAcl": If true, the
 14961  // service will use the most recent acl information to list event
 14962  // execution infos and renew the acl cache. Note that fetching the most
 14963  // recent acl is synchronous, so it will increase RPC call latency.
 14964  func (c *ProjectsLocationsIntegrationsExecutionsListCall) RefreshAcl(refreshAcl bool) *ProjectsLocationsIntegrationsExecutionsListCall {
 14965  	c.urlParams_.Set("refreshAcl", fmt.Sprint(refreshAcl))
 14966  	return c
 14967  }
 14968  
 14969  // TruncateParams sets the optional parameter "truncateParams": If true,
 14970  // the service will truncate the params to only keep the first 1000
 14971  // characters of string params and empty the executions in order to make
 14972  // response smaller. Only works for UI and when the params fields are
 14973  // not filtered out.
 14974  func (c *ProjectsLocationsIntegrationsExecutionsListCall) TruncateParams(truncateParams bool) *ProjectsLocationsIntegrationsExecutionsListCall {
 14975  	c.urlParams_.Set("truncateParams", fmt.Sprint(truncateParams))
 14976  	return c
 14977  }
 14978  
 14979  // Fields allows partial responses to be retrieved. See
 14980  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 14981  // for more information.
 14982  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsListCall {
 14983  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 14984  	return c
 14985  }
 14986  
 14987  // IfNoneMatch sets the optional parameter which makes the operation
 14988  // fail if the object's ETag matches the given value. This is useful for
 14989  // getting updates only after the object has changed since the last
 14990  // request. Use googleapi.IsNotModified to check whether the response
 14991  // error from Do is the result of In-None-Match.
 14992  func (c *ProjectsLocationsIntegrationsExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsListCall {
 14993  	c.ifNoneMatch_ = entityTag
 14994  	return c
 14995  }
 14996  
 14997  // Context sets the context to be used in this call's Do method. Any
 14998  // pending HTTP request will be aborted if the provided context is
 14999  // canceled.
 15000  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsListCall {
 15001  	c.ctx_ = ctx
 15002  	return c
 15003  }
 15004  
 15005  // Header returns an http.Header that can be modified by the caller to
 15006  // add HTTP headers to the request.
 15007  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Header() http.Header {
 15008  	if c.header_ == nil {
 15009  		c.header_ = make(http.Header)
 15010  	}
 15011  	return c.header_
 15012  }
 15013  
 15014  func (c *ProjectsLocationsIntegrationsExecutionsListCall) doRequest(alt string) (*http.Response, error) {
 15015  	reqHeaders := make(http.Header)
 15016  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15017  	for k, v := range c.header_ {
 15018  		reqHeaders[k] = v
 15019  	}
 15020  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15021  	if c.ifNoneMatch_ != "" {
 15022  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 15023  	}
 15024  	var body io.Reader = nil
 15025  	c.urlParams_.Set("alt", alt)
 15026  	c.urlParams_.Set("prettyPrint", "false")
 15027  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/executions")
 15028  	urls += "?" + c.urlParams_.Encode()
 15029  	req, err := http.NewRequest("GET", urls, body)
 15030  	if err != nil {
 15031  		return nil, err
 15032  	}
 15033  	req.Header = reqHeaders
 15034  	googleapi.Expand(req.URL, map[string]string{
 15035  		"parent": c.parent,
 15036  	})
 15037  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15038  }
 15039  
 15040  // Do executes the "integrations.projects.locations.integrations.executions.list" call.
 15041  // Exactly one of *GoogleCloudIntegrationsV1alphaListExecutionsResponse
 15042  // or error will be non-nil. Any non-2xx status code is an error.
 15043  // Response headers are in either
 15044  // *GoogleCloudIntegrationsV1alphaListExecutionsResponse.ServerResponse.H
 15045  // eader or (if a response was returned at all) in
 15046  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15047  // whether the returned error was because http.StatusNotModified was
 15048  // returned.
 15049  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListExecutionsResponse, error) {
 15050  	gensupport.SetOptions(c.urlParams_, opts...)
 15051  	res, err := c.doRequest("json")
 15052  	if res != nil && res.StatusCode == http.StatusNotModified {
 15053  		if res.Body != nil {
 15054  			res.Body.Close()
 15055  		}
 15056  		return nil, gensupport.WrapError(&googleapi.Error{
 15057  			Code:   res.StatusCode,
 15058  			Header: res.Header,
 15059  		})
 15060  	}
 15061  	if err != nil {
 15062  		return nil, err
 15063  	}
 15064  	defer googleapi.CloseBody(res)
 15065  	if err := googleapi.CheckResponse(res); err != nil {
 15066  		return nil, gensupport.WrapError(err)
 15067  	}
 15068  	ret := &GoogleCloudIntegrationsV1alphaListExecutionsResponse{
 15069  		ServerResponse: googleapi.ServerResponse{
 15070  			Header:         res.Header,
 15071  			HTTPStatusCode: res.StatusCode,
 15072  		},
 15073  	}
 15074  	target := &ret
 15075  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15076  		return nil, err
 15077  	}
 15078  	return ret, nil
 15079  	// {
 15080  	//   "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.",
 15081  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions",
 15082  	//   "httpMethod": "GET",
 15083  	//   "id": "integrations.projects.locations.integrations.executions.list",
 15084  	//   "parameterOrder": [
 15085  	//     "parent"
 15086  	//   ],
 15087  	//   "parameters": {
 15088  	//     "filter": {
 15089  	//       "description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"",
 15090  	//       "location": "query",
 15091  	//       "type": "string"
 15092  	//     },
 15093  	//     "filterParams.customFilter": {
 15094  	//       "description": "Optional user-provided custom filter.",
 15095  	//       "location": "query",
 15096  	//       "type": "string"
 15097  	//     },
 15098  	//     "filterParams.endTime": {
 15099  	//       "description": "End timestamp.",
 15100  	//       "format": "int64",
 15101  	//       "location": "query",
 15102  	//       "type": "string"
 15103  	//     },
 15104  	//     "filterParams.eventStatuses": {
 15105  	//       "description": "List of possible event statuses.",
 15106  	//       "location": "query",
 15107  	//       "repeated": true,
 15108  	//       "type": "string"
 15109  	//     },
 15110  	//     "filterParams.executionId": {
 15111  	//       "description": "Execution id.",
 15112  	//       "location": "query",
 15113  	//       "type": "string"
 15114  	//     },
 15115  	//     "filterParams.parameterKey": {
 15116  	//       "deprecated": true,
 15117  	//       "description": "Param key. DEPRECATED. User parameter_pair_key instead.",
 15118  	//       "location": "query",
 15119  	//       "type": "string"
 15120  	//     },
 15121  	//     "filterParams.parameterPairKey": {
 15122  	//       "description": "Param key in the key value pair filter.",
 15123  	//       "location": "query",
 15124  	//       "type": "string"
 15125  	//     },
 15126  	//     "filterParams.parameterPairValue": {
 15127  	//       "description": "Param value in the key value pair filter.",
 15128  	//       "location": "query",
 15129  	//       "type": "string"
 15130  	//     },
 15131  	//     "filterParams.parameterType": {
 15132  	//       "description": "Param type.",
 15133  	//       "location": "query",
 15134  	//       "type": "string"
 15135  	//     },
 15136  	//     "filterParams.parameterValue": {
 15137  	//       "deprecated": true,
 15138  	//       "description": "Param value. DEPRECATED. User parameter_pair_value instead.",
 15139  	//       "location": "query",
 15140  	//       "type": "string"
 15141  	//     },
 15142  	//     "filterParams.startTime": {
 15143  	//       "description": "Start timestamp.",
 15144  	//       "format": "int64",
 15145  	//       "location": "query",
 15146  	//       "type": "string"
 15147  	//     },
 15148  	//     "filterParams.taskStatuses": {
 15149  	//       "deprecated": true,
 15150  	//       "description": "List of possible task statuses.",
 15151  	//       "location": "query",
 15152  	//       "repeated": true,
 15153  	//       "type": "string"
 15154  	//     },
 15155  	//     "filterParams.workflowName": {
 15156  	//       "description": "Workflow name.",
 15157  	//       "location": "query",
 15158  	//       "type": "string"
 15159  	//     },
 15160  	//     "orderBy": {
 15161  	//       "description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".",
 15162  	//       "location": "query",
 15163  	//       "type": "string"
 15164  	//     },
 15165  	//     "pageSize": {
 15166  	//       "description": "Optional. The size of entries in the response.",
 15167  	//       "format": "int32",
 15168  	//       "location": "query",
 15169  	//       "type": "integer"
 15170  	//     },
 15171  	//     "pageToken": {
 15172  	//       "description": "Optional. The token returned in the previous response.",
 15173  	//       "location": "query",
 15174  	//       "type": "string"
 15175  	//     },
 15176  	//     "parent": {
 15177  	//       "description": "Required. The parent resource name of the integration execution.",
 15178  	//       "location": "path",
 15179  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 15180  	//       "required": true,
 15181  	//       "type": "string"
 15182  	//     },
 15183  	//     "readMask": {
 15184  	//       "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.",
 15185  	//       "format": "google-fieldmask",
 15186  	//       "location": "query",
 15187  	//       "type": "string"
 15188  	//     },
 15189  	//     "refreshAcl": {
 15190  	//       "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.",
 15191  	//       "location": "query",
 15192  	//       "type": "boolean"
 15193  	//     },
 15194  	//     "truncateParams": {
 15195  	//       "deprecated": true,
 15196  	//       "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.",
 15197  	//       "location": "query",
 15198  	//       "type": "boolean"
 15199  	//     }
 15200  	//   },
 15201  	//   "path": "v1alpha/{+parent}/executions",
 15202  	//   "response": {
 15203  	//     "$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse"
 15204  	//   },
 15205  	//   "scopes": [
 15206  	//     "https://www.googleapis.com/auth/cloud-platform"
 15207  	//   ]
 15208  	// }
 15209  
 15210  }
 15211  
 15212  // Pages invokes f for each page of results.
 15213  // A non-nil error returned from f will halt the iteration.
 15214  // The provided context supersedes any context provided to the Context method.
 15215  func (c *ProjectsLocationsIntegrationsExecutionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListExecutionsResponse) error) error {
 15216  	c.ctx_ = ctx
 15217  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 15218  	for {
 15219  		x, err := c.Do()
 15220  		if err != nil {
 15221  			return err
 15222  		}
 15223  		if err := f(x); err != nil {
 15224  			return err
 15225  		}
 15226  		if x.NextPageToken == "" {
 15227  			return nil
 15228  		}
 15229  		c.PageToken(x.NextPageToken)
 15230  	}
 15231  }
 15232  
 15233  // method id "integrations.projects.locations.integrations.executions.suspensions.lift":
 15234  
 15235  type ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall struct {
 15236  	s                                                   *Service
 15237  	name                                                string
 15238  	googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest
 15239  	urlParams_                                          gensupport.URLParams
 15240  	ctx_                                                context.Context
 15241  	header_                                             http.Header
 15242  }
 15243  
 15244  // Lift: * Lifts suspension for advanced suspension task. Fetch
 15245  // corresponding suspension with provided suspension Id, resolve
 15246  // suspension, and set up suspension result for the Suspension Task.
 15247  //
 15248  //   - name: The resource that the suspension belongs to.
 15249  //     "projects/{project}/locations/{location}/products/{product}/integrat
 15250  //     ions/{integration}/executions/{execution}/suspensions/{suspenion}"
 15251  //     format.
 15252  func (r *ProjectsLocationsIntegrationsExecutionsSuspensionsService) Lift(name string, googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall {
 15253  	c := &ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15254  	c.name = name
 15255  	c.googlecloudintegrationsv1alphaliftsuspensionrequest = googlecloudintegrationsv1alphaliftsuspensionrequest
 15256  	return c
 15257  }
 15258  
 15259  // Fields allows partial responses to be retrieved. See
 15260  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15261  // for more information.
 15262  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall {
 15263  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15264  	return c
 15265  }
 15266  
 15267  // Context sets the context to be used in this call's Do method. Any
 15268  // pending HTTP request will be aborted if the provided context is
 15269  // canceled.
 15270  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall {
 15271  	c.ctx_ = ctx
 15272  	return c
 15273  }
 15274  
 15275  // Header returns an http.Header that can be modified by the caller to
 15276  // add HTTP headers to the request.
 15277  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Header() http.Header {
 15278  	if c.header_ == nil {
 15279  		c.header_ = make(http.Header)
 15280  	}
 15281  	return c.header_
 15282  }
 15283  
 15284  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) doRequest(alt string) (*http.Response, error) {
 15285  	reqHeaders := make(http.Header)
 15286  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15287  	for k, v := range c.header_ {
 15288  		reqHeaders[k] = v
 15289  	}
 15290  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15291  	var body io.Reader = nil
 15292  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaliftsuspensionrequest)
 15293  	if err != nil {
 15294  		return nil, err
 15295  	}
 15296  	reqHeaders.Set("Content-Type", "application/json")
 15297  	c.urlParams_.Set("alt", alt)
 15298  	c.urlParams_.Set("prettyPrint", "false")
 15299  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:lift")
 15300  	urls += "?" + c.urlParams_.Encode()
 15301  	req, err := http.NewRequest("POST", urls, body)
 15302  	if err != nil {
 15303  		return nil, err
 15304  	}
 15305  	req.Header = reqHeaders
 15306  	googleapi.Expand(req.URL, map[string]string{
 15307  		"name": c.name,
 15308  	})
 15309  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15310  }
 15311  
 15312  // Do executes the "integrations.projects.locations.integrations.executions.suspensions.lift" call.
 15313  // Exactly one of *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
 15314  // or error will be non-nil. Any non-2xx status code is an error.
 15315  // Response headers are in either
 15316  // *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse.ServerResponse.H
 15317  // eader or (if a response was returned at all) in
 15318  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15319  // whether the returned error was because http.StatusNotModified was
 15320  // returned.
 15321  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsLiftCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaLiftSuspensionResponse, error) {
 15322  	gensupport.SetOptions(c.urlParams_, opts...)
 15323  	res, err := c.doRequest("json")
 15324  	if res != nil && res.StatusCode == http.StatusNotModified {
 15325  		if res.Body != nil {
 15326  			res.Body.Close()
 15327  		}
 15328  		return nil, gensupport.WrapError(&googleapi.Error{
 15329  			Code:   res.StatusCode,
 15330  			Header: res.Header,
 15331  		})
 15332  	}
 15333  	if err != nil {
 15334  		return nil, err
 15335  	}
 15336  	defer googleapi.CloseBody(res)
 15337  	if err := googleapi.CheckResponse(res); err != nil {
 15338  		return nil, gensupport.WrapError(err)
 15339  	}
 15340  	ret := &GoogleCloudIntegrationsV1alphaLiftSuspensionResponse{
 15341  		ServerResponse: googleapi.ServerResponse{
 15342  			Header:         res.Header,
 15343  			HTTPStatusCode: res.StatusCode,
 15344  		},
 15345  	}
 15346  	target := &ret
 15347  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15348  		return nil, err
 15349  	}
 15350  	return ret, nil
 15351  	// {
 15352  	//   "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.",
 15353  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift",
 15354  	//   "httpMethod": "POST",
 15355  	//   "id": "integrations.projects.locations.integrations.executions.suspensions.lift",
 15356  	//   "parameterOrder": [
 15357  	//     "name"
 15358  	//   ],
 15359  	//   "parameters": {
 15360  	//     "name": {
 15361  	//       "description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.",
 15362  	//       "location": "path",
 15363  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 15364  	//       "required": true,
 15365  	//       "type": "string"
 15366  	//     }
 15367  	//   },
 15368  	//   "path": "v1alpha/{+name}:lift",
 15369  	//   "request": {
 15370  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest"
 15371  	//   },
 15372  	//   "response": {
 15373  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse"
 15374  	//   },
 15375  	//   "scopes": [
 15376  	//     "https://www.googleapis.com/auth/cloud-platform"
 15377  	//   ]
 15378  	// }
 15379  
 15380  }
 15381  
 15382  // method id "integrations.projects.locations.integrations.executions.suspensions.list":
 15383  
 15384  type ProjectsLocationsIntegrationsExecutionsSuspensionsListCall struct {
 15385  	s            *Service
 15386  	parent       string
 15387  	urlParams_   gensupport.URLParams
 15388  	ifNoneMatch_ string
 15389  	ctx_         context.Context
 15390  	header_      http.Header
 15391  }
 15392  
 15393  // List: * Lists suspensions associated with a specific execution. Only
 15394  // those with permissions to resolve the relevant suspensions will be
 15395  // able to view them.
 15396  //
 15397  //   - parent:
 15398  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 15399  //     tegrations/{integration_name}/executions/{execution_name}.
 15400  func (r *ProjectsLocationsIntegrationsExecutionsSuspensionsService) List(parent string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15401  	c := &ProjectsLocationsIntegrationsExecutionsSuspensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15402  	c.parent = parent
 15403  	return c
 15404  }
 15405  
 15406  // Filter sets the optional parameter "filter": Standard filter field.
 15407  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Filter(filter string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15408  	c.urlParams_.Set("filter", filter)
 15409  	return c
 15410  }
 15411  
 15412  // OrderBy sets the optional parameter "orderBy": Field name to order
 15413  // by.
 15414  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15415  	c.urlParams_.Set("orderBy", orderBy)
 15416  	return c
 15417  }
 15418  
 15419  // PageSize sets the optional parameter "pageSize": Maximum number of
 15420  // entries in the response.
 15421  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15422  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 15423  	return c
 15424  }
 15425  
 15426  // PageToken sets the optional parameter "pageToken": Token to retrieve
 15427  // a specific page.
 15428  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15429  	c.urlParams_.Set("pageToken", pageToken)
 15430  	return c
 15431  }
 15432  
 15433  // Fields allows partial responses to be retrieved. See
 15434  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15435  // for more information.
 15436  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15437  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15438  	return c
 15439  }
 15440  
 15441  // IfNoneMatch sets the optional parameter which makes the operation
 15442  // fail if the object's ETag matches the given value. This is useful for
 15443  // getting updates only after the object has changed since the last
 15444  // request. Use googleapi.IsNotModified to check whether the response
 15445  // error from Do is the result of In-None-Match.
 15446  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15447  	c.ifNoneMatch_ = entityTag
 15448  	return c
 15449  }
 15450  
 15451  // Context sets the context to be used in this call's Do method. Any
 15452  // pending HTTP request will be aborted if the provided context is
 15453  // canceled.
 15454  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall {
 15455  	c.ctx_ = ctx
 15456  	return c
 15457  }
 15458  
 15459  // Header returns an http.Header that can be modified by the caller to
 15460  // add HTTP headers to the request.
 15461  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Header() http.Header {
 15462  	if c.header_ == nil {
 15463  		c.header_ = make(http.Header)
 15464  	}
 15465  	return c.header_
 15466  }
 15467  
 15468  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) doRequest(alt string) (*http.Response, error) {
 15469  	reqHeaders := make(http.Header)
 15470  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15471  	for k, v := range c.header_ {
 15472  		reqHeaders[k] = v
 15473  	}
 15474  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15475  	if c.ifNoneMatch_ != "" {
 15476  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 15477  	}
 15478  	var body io.Reader = nil
 15479  	c.urlParams_.Set("alt", alt)
 15480  	c.urlParams_.Set("prettyPrint", "false")
 15481  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/suspensions")
 15482  	urls += "?" + c.urlParams_.Encode()
 15483  	req, err := http.NewRequest("GET", urls, body)
 15484  	if err != nil {
 15485  		return nil, err
 15486  	}
 15487  	req.Header = reqHeaders
 15488  	googleapi.Expand(req.URL, map[string]string{
 15489  		"parent": c.parent,
 15490  	})
 15491  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15492  }
 15493  
 15494  // Do executes the "integrations.projects.locations.integrations.executions.suspensions.list" call.
 15495  // Exactly one of *GoogleCloudIntegrationsV1alphaListSuspensionsResponse
 15496  // or error will be non-nil. Any non-2xx status code is an error.
 15497  // Response headers are in either
 15498  // *GoogleCloudIntegrationsV1alphaListSuspensionsResponse.ServerResponse.
 15499  // Header or (if a response was returned at all) in
 15500  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15501  // whether the returned error was because http.StatusNotModified was
 15502  // returned.
 15503  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSuspensionsResponse, error) {
 15504  	gensupport.SetOptions(c.urlParams_, opts...)
 15505  	res, err := c.doRequest("json")
 15506  	if res != nil && res.StatusCode == http.StatusNotModified {
 15507  		if res.Body != nil {
 15508  			res.Body.Close()
 15509  		}
 15510  		return nil, gensupport.WrapError(&googleapi.Error{
 15511  			Code:   res.StatusCode,
 15512  			Header: res.Header,
 15513  		})
 15514  	}
 15515  	if err != nil {
 15516  		return nil, err
 15517  	}
 15518  	defer googleapi.CloseBody(res)
 15519  	if err := googleapi.CheckResponse(res); err != nil {
 15520  		return nil, gensupport.WrapError(err)
 15521  	}
 15522  	ret := &GoogleCloudIntegrationsV1alphaListSuspensionsResponse{
 15523  		ServerResponse: googleapi.ServerResponse{
 15524  			Header:         res.Header,
 15525  			HTTPStatusCode: res.StatusCode,
 15526  		},
 15527  	}
 15528  	target := &ret
 15529  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15530  		return nil, err
 15531  	}
 15532  	return ret, nil
 15533  	// {
 15534  	//   "description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.",
 15535  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions",
 15536  	//   "httpMethod": "GET",
 15537  	//   "id": "integrations.projects.locations.integrations.executions.suspensions.list",
 15538  	//   "parameterOrder": [
 15539  	//     "parent"
 15540  	//   ],
 15541  	//   "parameters": {
 15542  	//     "filter": {
 15543  	//       "description": "Standard filter field.",
 15544  	//       "location": "query",
 15545  	//       "type": "string"
 15546  	//     },
 15547  	//     "orderBy": {
 15548  	//       "description": "Field name to order by.",
 15549  	//       "location": "query",
 15550  	//       "type": "string"
 15551  	//     },
 15552  	//     "pageSize": {
 15553  	//       "description": "Maximum number of entries in the response.",
 15554  	//       "format": "int32",
 15555  	//       "location": "query",
 15556  	//       "type": "integer"
 15557  	//     },
 15558  	//     "pageToken": {
 15559  	//       "description": "Token to retrieve a specific page.",
 15560  	//       "location": "query",
 15561  	//       "type": "string"
 15562  	//     },
 15563  	//     "parent": {
 15564  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}",
 15565  	//       "location": "path",
 15566  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$",
 15567  	//       "required": true,
 15568  	//       "type": "string"
 15569  	//     }
 15570  	//   },
 15571  	//   "path": "v1alpha/{+parent}/suspensions",
 15572  	//   "response": {
 15573  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse"
 15574  	//   },
 15575  	//   "scopes": [
 15576  	//     "https://www.googleapis.com/auth/cloud-platform"
 15577  	//   ]
 15578  	// }
 15579  
 15580  }
 15581  
 15582  // Pages invokes f for each page of results.
 15583  // A non-nil error returned from f will halt the iteration.
 15584  // The provided context supersedes any context provided to the Context method.
 15585  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSuspensionsResponse) error) error {
 15586  	c.ctx_ = ctx
 15587  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 15588  	for {
 15589  		x, err := c.Do()
 15590  		if err != nil {
 15591  			return err
 15592  		}
 15593  		if err := f(x); err != nil {
 15594  			return err
 15595  		}
 15596  		if x.NextPageToken == "" {
 15597  			return nil
 15598  		}
 15599  		c.PageToken(x.NextPageToken)
 15600  	}
 15601  }
 15602  
 15603  // method id "integrations.projects.locations.integrations.executions.suspensions.resolve":
 15604  
 15605  type ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall struct {
 15606  	s                                                      *Service
 15607  	name                                                   string
 15608  	googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
 15609  	urlParams_                                             gensupport.URLParams
 15610  	ctx_                                                   context.Context
 15611  	header_                                                http.Header
 15612  }
 15613  
 15614  // Resolve: * Resolves (lifts/rejects) any number of suspensions. If the
 15615  // integration is already running, only the status of the suspension is
 15616  // updated. Otherwise, the suspended integration will begin execution
 15617  // again.
 15618  //
 15619  //   - name:
 15620  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 15621  //     tegrations/{integration_name}/executions/{execution_name}/suspension
 15622  //     s/{suspension_id}.
 15623  func (r *ProjectsLocationsIntegrationsExecutionsSuspensionsService) Resolve(name string, googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall {
 15624  	c := &ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15625  	c.name = name
 15626  	c.googlecloudintegrationsv1alpharesolvesuspensionrequest = googlecloudintegrationsv1alpharesolvesuspensionrequest
 15627  	return c
 15628  }
 15629  
 15630  // Fields allows partial responses to be retrieved. See
 15631  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15632  // for more information.
 15633  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall {
 15634  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15635  	return c
 15636  }
 15637  
 15638  // Context sets the context to be used in this call's Do method. Any
 15639  // pending HTTP request will be aborted if the provided context is
 15640  // canceled.
 15641  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall {
 15642  	c.ctx_ = ctx
 15643  	return c
 15644  }
 15645  
 15646  // Header returns an http.Header that can be modified by the caller to
 15647  // add HTTP headers to the request.
 15648  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Header() http.Header {
 15649  	if c.header_ == nil {
 15650  		c.header_ = make(http.Header)
 15651  	}
 15652  	return c.header_
 15653  }
 15654  
 15655  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) doRequest(alt string) (*http.Response, error) {
 15656  	reqHeaders := make(http.Header)
 15657  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15658  	for k, v := range c.header_ {
 15659  		reqHeaders[k] = v
 15660  	}
 15661  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15662  	var body io.Reader = nil
 15663  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alpharesolvesuspensionrequest)
 15664  	if err != nil {
 15665  		return nil, err
 15666  	}
 15667  	reqHeaders.Set("Content-Type", "application/json")
 15668  	c.urlParams_.Set("alt", alt)
 15669  	c.urlParams_.Set("prettyPrint", "false")
 15670  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:resolve")
 15671  	urls += "?" + c.urlParams_.Encode()
 15672  	req, err := http.NewRequest("POST", urls, body)
 15673  	if err != nil {
 15674  		return nil, err
 15675  	}
 15676  	req.Header = reqHeaders
 15677  	googleapi.Expand(req.URL, map[string]string{
 15678  		"name": c.name,
 15679  	})
 15680  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15681  }
 15682  
 15683  // Do executes the "integrations.projects.locations.integrations.executions.suspensions.resolve" call.
 15684  // Exactly one of
 15685  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse or error
 15686  // will be non-nil. Any non-2xx status code is an error. Response
 15687  // headers are in either
 15688  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse.ServerRespons
 15689  // e.Header or (if a response was returned at all) in
 15690  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15691  // whether the returned error was because http.StatusNotModified was
 15692  // returned.
 15693  func (c *ProjectsLocationsIntegrationsExecutionsSuspensionsResolveCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaResolveSuspensionResponse, error) {
 15694  	gensupport.SetOptions(c.urlParams_, opts...)
 15695  	res, err := c.doRequest("json")
 15696  	if res != nil && res.StatusCode == http.StatusNotModified {
 15697  		if res.Body != nil {
 15698  			res.Body.Close()
 15699  		}
 15700  		return nil, gensupport.WrapError(&googleapi.Error{
 15701  			Code:   res.StatusCode,
 15702  			Header: res.Header,
 15703  		})
 15704  	}
 15705  	if err != nil {
 15706  		return nil, err
 15707  	}
 15708  	defer googleapi.CloseBody(res)
 15709  	if err := googleapi.CheckResponse(res); err != nil {
 15710  		return nil, gensupport.WrapError(err)
 15711  	}
 15712  	ret := &GoogleCloudIntegrationsV1alphaResolveSuspensionResponse{
 15713  		ServerResponse: googleapi.ServerResponse{
 15714  			Header:         res.Header,
 15715  			HTTPStatusCode: res.StatusCode,
 15716  		},
 15717  	}
 15718  	target := &ret
 15719  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15720  		return nil, err
 15721  	}
 15722  	return ret, nil
 15723  	// {
 15724  	//   "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.",
 15725  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve",
 15726  	//   "httpMethod": "POST",
 15727  	//   "id": "integrations.projects.locations.integrations.executions.suspensions.resolve",
 15728  	//   "parameterOrder": [
 15729  	//     "name"
 15730  	//   ],
 15731  	//   "parameters": {
 15732  	//     "name": {
 15733  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}",
 15734  	//       "location": "path",
 15735  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 15736  	//       "required": true,
 15737  	//       "type": "string"
 15738  	//     }
 15739  	//   },
 15740  	//   "path": "v1alpha/{+name}:resolve",
 15741  	//   "request": {
 15742  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest"
 15743  	//   },
 15744  	//   "response": {
 15745  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse"
 15746  	//   },
 15747  	//   "scopes": [
 15748  	//     "https://www.googleapis.com/auth/cloud-platform"
 15749  	//   ]
 15750  	// }
 15751  
 15752  }
 15753  
 15754  // method id "integrations.projects.locations.integrations.versions.create":
 15755  
 15756  type ProjectsLocationsIntegrationsVersionsCreateCall struct {
 15757  	s                                                *Service
 15758  	parent                                           string
 15759  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 15760  	urlParams_                                       gensupport.URLParams
 15761  	ctx_                                             context.Context
 15762  	header_                                          http.Header
 15763  }
 15764  
 15765  // Create: Create a integration with a draft version in the specified
 15766  // project.
 15767  //
 15768  //   - parent: The parent resource where this version will be created.
 15769  //     Format:
 15770  //     projects/{project}/locations/{location}/integrations/{integration}.
 15771  func (r *ProjectsLocationsIntegrationsVersionsService) Create(parent string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsIntegrationsVersionsCreateCall {
 15772  	c := &ProjectsLocationsIntegrationsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15773  	c.parent = parent
 15774  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 15775  	return c
 15776  }
 15777  
 15778  // NewIntegration sets the optional parameter "newIntegration": Set this
 15779  // flag to true, if draft version is to be created for a brand new
 15780  // integration. False, if the request is for an existing integration.
 15781  // For backward compatibility reasons, even if this flag is set to
 15782  // `false` and no existing integration is found, a new draft integration
 15783  // will still be created.
 15784  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) NewIntegration(newIntegration bool) *ProjectsLocationsIntegrationsVersionsCreateCall {
 15785  	c.urlParams_.Set("newIntegration", fmt.Sprint(newIntegration))
 15786  	return c
 15787  }
 15788  
 15789  // Fields allows partial responses to be retrieved. See
 15790  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15791  // for more information.
 15792  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsCreateCall {
 15793  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15794  	return c
 15795  }
 15796  
 15797  // Context sets the context to be used in this call's Do method. Any
 15798  // pending HTTP request will be aborted if the provided context is
 15799  // canceled.
 15800  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsCreateCall {
 15801  	c.ctx_ = ctx
 15802  	return c
 15803  }
 15804  
 15805  // Header returns an http.Header that can be modified by the caller to
 15806  // add HTTP headers to the request.
 15807  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Header() http.Header {
 15808  	if c.header_ == nil {
 15809  		c.header_ = make(http.Header)
 15810  	}
 15811  	return c.header_
 15812  }
 15813  
 15814  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) doRequest(alt string) (*http.Response, error) {
 15815  	reqHeaders := make(http.Header)
 15816  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15817  	for k, v := range c.header_ {
 15818  		reqHeaders[k] = v
 15819  	}
 15820  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15821  	var body io.Reader = nil
 15822  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 15823  	if err != nil {
 15824  		return nil, err
 15825  	}
 15826  	reqHeaders.Set("Content-Type", "application/json")
 15827  	c.urlParams_.Set("alt", alt)
 15828  	c.urlParams_.Set("prettyPrint", "false")
 15829  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions")
 15830  	urls += "?" + c.urlParams_.Encode()
 15831  	req, err := http.NewRequest("POST", urls, body)
 15832  	if err != nil {
 15833  		return nil, err
 15834  	}
 15835  	req.Header = reqHeaders
 15836  	googleapi.Expand(req.URL, map[string]string{
 15837  		"parent": c.parent,
 15838  	})
 15839  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15840  }
 15841  
 15842  // Do executes the "integrations.projects.locations.integrations.versions.create" call.
 15843  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 15844  // error will be non-nil. Any non-2xx status code is an error. Response
 15845  // headers are in either
 15846  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 15847  // r or (if a response was returned at all) in
 15848  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 15849  // whether the returned error was because http.StatusNotModified was
 15850  // returned.
 15851  func (c *ProjectsLocationsIntegrationsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 15852  	gensupport.SetOptions(c.urlParams_, opts...)
 15853  	res, err := c.doRequest("json")
 15854  	if res != nil && res.StatusCode == http.StatusNotModified {
 15855  		if res.Body != nil {
 15856  			res.Body.Close()
 15857  		}
 15858  		return nil, gensupport.WrapError(&googleapi.Error{
 15859  			Code:   res.StatusCode,
 15860  			Header: res.Header,
 15861  		})
 15862  	}
 15863  	if err != nil {
 15864  		return nil, err
 15865  	}
 15866  	defer googleapi.CloseBody(res)
 15867  	if err := googleapi.CheckResponse(res); err != nil {
 15868  		return nil, gensupport.WrapError(err)
 15869  	}
 15870  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 15871  		ServerResponse: googleapi.ServerResponse{
 15872  			Header:         res.Header,
 15873  			HTTPStatusCode: res.StatusCode,
 15874  		},
 15875  	}
 15876  	target := &ret
 15877  	if err := gensupport.DecodeResponse(target, res); err != nil {
 15878  		return nil, err
 15879  	}
 15880  	return ret, nil
 15881  	// {
 15882  	//   "description": "Create a integration with a draft version in the specified project.",
 15883  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions",
 15884  	//   "httpMethod": "POST",
 15885  	//   "id": "integrations.projects.locations.integrations.versions.create",
 15886  	//   "parameterOrder": [
 15887  	//     "parent"
 15888  	//   ],
 15889  	//   "parameters": {
 15890  	//     "newIntegration": {
 15891  	//       "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.",
 15892  	//       "location": "query",
 15893  	//       "type": "boolean"
 15894  	//     },
 15895  	//     "parent": {
 15896  	//       "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}",
 15897  	//       "location": "path",
 15898  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 15899  	//       "required": true,
 15900  	//       "type": "string"
 15901  	//     }
 15902  	//   },
 15903  	//   "path": "v1alpha/{+parent}/versions",
 15904  	//   "request": {
 15905  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 15906  	//   },
 15907  	//   "response": {
 15908  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 15909  	//   },
 15910  	//   "scopes": [
 15911  	//     "https://www.googleapis.com/auth/cloud-platform"
 15912  	//   ]
 15913  	// }
 15914  
 15915  }
 15916  
 15917  // method id "integrations.projects.locations.integrations.versions.delete":
 15918  
 15919  type ProjectsLocationsIntegrationsVersionsDeleteCall struct {
 15920  	s          *Service
 15921  	name       string
 15922  	urlParams_ gensupport.URLParams
 15923  	ctx_       context.Context
 15924  	header_    http.Header
 15925  }
 15926  
 15927  // Delete: Soft-deletes the integration. Changes the status of the
 15928  // integration to ARCHIVED. If the integration being ARCHIVED is tagged
 15929  // as "HEAD", the tag is removed from this snapshot and set to the
 15930  // previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED,
 15931  // DUE_FOR_DELETION tags are removed too. This RPC throws an exception
 15932  // if the version being deleted is DRAFT, and if the `locked_by` user is
 15933  // not the same as the user performing the Delete. Audit fields updated
 15934  // include last_modified_timestamp, last_modified_by. Any existing lock
 15935  // is released when Deleting a integration. Currently, there is no
 15936  // undelete mechanism.
 15937  //
 15938  //   - name: The version to delete. Format:
 15939  //     projects/{project}/locations/{location}/integrations/{integration}/v
 15940  //     ersions/{version}.
 15941  func (r *ProjectsLocationsIntegrationsVersionsService) Delete(name string) *ProjectsLocationsIntegrationsVersionsDeleteCall {
 15942  	c := &ProjectsLocationsIntegrationsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 15943  	c.name = name
 15944  	return c
 15945  }
 15946  
 15947  // Fields allows partial responses to be retrieved. See
 15948  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 15949  // for more information.
 15950  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsDeleteCall {
 15951  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 15952  	return c
 15953  }
 15954  
 15955  // Context sets the context to be used in this call's Do method. Any
 15956  // pending HTTP request will be aborted if the provided context is
 15957  // canceled.
 15958  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsDeleteCall {
 15959  	c.ctx_ = ctx
 15960  	return c
 15961  }
 15962  
 15963  // Header returns an http.Header that can be modified by the caller to
 15964  // add HTTP headers to the request.
 15965  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Header() http.Header {
 15966  	if c.header_ == nil {
 15967  		c.header_ = make(http.Header)
 15968  	}
 15969  	return c.header_
 15970  }
 15971  
 15972  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) {
 15973  	reqHeaders := make(http.Header)
 15974  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 15975  	for k, v := range c.header_ {
 15976  		reqHeaders[k] = v
 15977  	}
 15978  	reqHeaders.Set("User-Agent", c.s.userAgent())
 15979  	var body io.Reader = nil
 15980  	c.urlParams_.Set("alt", alt)
 15981  	c.urlParams_.Set("prettyPrint", "false")
 15982  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 15983  	urls += "?" + c.urlParams_.Encode()
 15984  	req, err := http.NewRequest("DELETE", urls, body)
 15985  	if err != nil {
 15986  		return nil, err
 15987  	}
 15988  	req.Header = reqHeaders
 15989  	googleapi.Expand(req.URL, map[string]string{
 15990  		"name": c.name,
 15991  	})
 15992  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 15993  }
 15994  
 15995  // Do executes the "integrations.projects.locations.integrations.versions.delete" call.
 15996  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 15997  // non-2xx status code is an error. Response headers are in either
 15998  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 15999  // returned at all) in error.(*googleapi.Error).Header. Use
 16000  // googleapi.IsNotModified to check whether the returned error was
 16001  // because http.StatusNotModified was returned.
 16002  func (c *ProjectsLocationsIntegrationsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, 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 := &GoogleProtobufEmpty{
 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": "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.",
 16034  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}",
 16035  	//   "httpMethod": "DELETE",
 16036  	//   "id": "integrations.projects.locations.integrations.versions.delete",
 16037  	//   "parameterOrder": [
 16038  	//     "name"
 16039  	//   ],
 16040  	//   "parameters": {
 16041  	//     "name": {
 16042  	//       "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 16043  	//       "location": "path",
 16044  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 16045  	//       "required": true,
 16046  	//       "type": "string"
 16047  	//     }
 16048  	//   },
 16049  	//   "path": "v1alpha/{+name}",
 16050  	//   "response": {
 16051  	//     "$ref": "GoogleProtobufEmpty"
 16052  	//   },
 16053  	//   "scopes": [
 16054  	//     "https://www.googleapis.com/auth/cloud-platform"
 16055  	//   ]
 16056  	// }
 16057  
 16058  }
 16059  
 16060  // method id "integrations.projects.locations.integrations.versions.download":
 16061  
 16062  type ProjectsLocationsIntegrationsVersionsDownloadCall struct {
 16063  	s            *Service
 16064  	name         string
 16065  	urlParams_   gensupport.URLParams
 16066  	ifNoneMatch_ string
 16067  	ctx_         context.Context
 16068  	header_      http.Header
 16069  }
 16070  
 16071  // Download: Downloads an integration. Retrieves the
 16072  // `IntegrationVersion` for a given `integration_id` and returns the
 16073  // response as a string.
 16074  //
 16075  //   - name: The version to download. Format:
 16076  //     projects/{project}/locations/{location}/integrations/{integration}/v
 16077  //     ersions/{version}.
 16078  func (r *ProjectsLocationsIntegrationsVersionsService) Download(name string) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 16079  	c := &ProjectsLocationsIntegrationsVersionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16080  	c.name = name
 16081  	return c
 16082  }
 16083  
 16084  // FileFormat sets the optional parameter "fileFormat": File format for
 16085  // download request.
 16086  //
 16087  // Possible values:
 16088  //
 16089  //	"FILE_FORMAT_UNSPECIFIED" - Unspecified file format
 16090  //	"JSON" - JSON File Format
 16091  //	"YAML" - YAML File Format
 16092  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) FileFormat(fileFormat string) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 16093  	c.urlParams_.Set("fileFormat", fileFormat)
 16094  	return c
 16095  }
 16096  
 16097  // Fields allows partial responses to be retrieved. See
 16098  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16099  // for more information.
 16100  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 16101  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16102  	return c
 16103  }
 16104  
 16105  // IfNoneMatch sets the optional parameter which makes the operation
 16106  // fail if the object's ETag matches the given value. This is useful for
 16107  // getting updates only after the object has changed since the last
 16108  // request. Use googleapi.IsNotModified to check whether the response
 16109  // error from Do is the result of In-None-Match.
 16110  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 16111  	c.ifNoneMatch_ = entityTag
 16112  	return c
 16113  }
 16114  
 16115  // Context sets the context to be used in this call's Do method. Any
 16116  // pending HTTP request will be aborted if the provided context is
 16117  // canceled.
 16118  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsDownloadCall {
 16119  	c.ctx_ = ctx
 16120  	return c
 16121  }
 16122  
 16123  // Header returns an http.Header that can be modified by the caller to
 16124  // add HTTP headers to the request.
 16125  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Header() http.Header {
 16126  	if c.header_ == nil {
 16127  		c.header_ = make(http.Header)
 16128  	}
 16129  	return c.header_
 16130  }
 16131  
 16132  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) doRequest(alt string) (*http.Response, error) {
 16133  	reqHeaders := make(http.Header)
 16134  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16135  	for k, v := range c.header_ {
 16136  		reqHeaders[k] = v
 16137  	}
 16138  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16139  	if c.ifNoneMatch_ != "" {
 16140  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 16141  	}
 16142  	var body io.Reader = nil
 16143  	c.urlParams_.Set("alt", alt)
 16144  	c.urlParams_.Set("prettyPrint", "false")
 16145  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:download")
 16146  	urls += "?" + c.urlParams_.Encode()
 16147  	req, err := http.NewRequest("GET", urls, body)
 16148  	if err != nil {
 16149  		return nil, err
 16150  	}
 16151  	req.Header = reqHeaders
 16152  	googleapi.Expand(req.URL, map[string]string{
 16153  		"name": c.name,
 16154  	})
 16155  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16156  }
 16157  
 16158  // Do executes the "integrations.projects.locations.integrations.versions.download" call.
 16159  // Exactly one of
 16160  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse or
 16161  // error will be non-nil. Any non-2xx status code is an error. Response
 16162  // headers are in either
 16163  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse.Serv
 16164  // erResponse.Header or (if a response was returned at all) in
 16165  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16166  // whether the returned error was because http.StatusNotModified was
 16167  // returned.
 16168  func (c *ProjectsLocationsIntegrationsVersionsDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse, error) {
 16169  	gensupport.SetOptions(c.urlParams_, opts...)
 16170  	res, err := c.doRequest("json")
 16171  	if res != nil && res.StatusCode == http.StatusNotModified {
 16172  		if res.Body != nil {
 16173  			res.Body.Close()
 16174  		}
 16175  		return nil, gensupport.WrapError(&googleapi.Error{
 16176  			Code:   res.StatusCode,
 16177  			Header: res.Header,
 16178  		})
 16179  	}
 16180  	if err != nil {
 16181  		return nil, err
 16182  	}
 16183  	defer googleapi.CloseBody(res)
 16184  	if err := googleapi.CheckResponse(res); err != nil {
 16185  		return nil, gensupport.WrapError(err)
 16186  	}
 16187  	ret := &GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse{
 16188  		ServerResponse: googleapi.ServerResponse{
 16189  			Header:         res.Header,
 16190  			HTTPStatusCode: res.StatusCode,
 16191  		},
 16192  	}
 16193  	target := &ret
 16194  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16195  		return nil, err
 16196  	}
 16197  	return ret, nil
 16198  	// {
 16199  	//   "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.",
 16200  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:download",
 16201  	//   "httpMethod": "GET",
 16202  	//   "id": "integrations.projects.locations.integrations.versions.download",
 16203  	//   "parameterOrder": [
 16204  	//     "name"
 16205  	//   ],
 16206  	//   "parameters": {
 16207  	//     "fileFormat": {
 16208  	//       "description": "File format for download request.",
 16209  	//       "enum": [
 16210  	//         "FILE_FORMAT_UNSPECIFIED",
 16211  	//         "JSON",
 16212  	//         "YAML"
 16213  	//       ],
 16214  	//       "enumDescriptions": [
 16215  	//         "Unspecified file format",
 16216  	//         "JSON File Format",
 16217  	//         "YAML File Format"
 16218  	//       ],
 16219  	//       "location": "query",
 16220  	//       "type": "string"
 16221  	//     },
 16222  	//     "name": {
 16223  	//       "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 16224  	//       "location": "path",
 16225  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 16226  	//       "required": true,
 16227  	//       "type": "string"
 16228  	//     }
 16229  	//   },
 16230  	//   "path": "v1alpha/{+name}:download",
 16231  	//   "response": {
 16232  	//     "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse"
 16233  	//   },
 16234  	//   "scopes": [
 16235  	//     "https://www.googleapis.com/auth/cloud-platform"
 16236  	//   ]
 16237  	// }
 16238  
 16239  }
 16240  
 16241  // method id "integrations.projects.locations.integrations.versions.get":
 16242  
 16243  type ProjectsLocationsIntegrationsVersionsGetCall struct {
 16244  	s            *Service
 16245  	name         string
 16246  	urlParams_   gensupport.URLParams
 16247  	ifNoneMatch_ string
 16248  	ctx_         context.Context
 16249  	header_      http.Header
 16250  }
 16251  
 16252  // Get: Get a integration in the specified project.
 16253  //
 16254  //   - name: The version to retrieve. Format:
 16255  //     projects/{project}/locations/{location}/integrations/{integration}/v
 16256  //     ersions/{version}.
 16257  func (r *ProjectsLocationsIntegrationsVersionsService) Get(name string) *ProjectsLocationsIntegrationsVersionsGetCall {
 16258  	c := &ProjectsLocationsIntegrationsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16259  	c.name = name
 16260  	return c
 16261  }
 16262  
 16263  // Fields allows partial responses to be retrieved. See
 16264  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16265  // for more information.
 16266  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsGetCall {
 16267  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16268  	return c
 16269  }
 16270  
 16271  // IfNoneMatch sets the optional parameter which makes the operation
 16272  // fail if the object's ETag matches the given value. This is useful for
 16273  // getting updates only after the object has changed since the last
 16274  // request. Use googleapi.IsNotModified to check whether the response
 16275  // error from Do is the result of In-None-Match.
 16276  func (c *ProjectsLocationsIntegrationsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsVersionsGetCall {
 16277  	c.ifNoneMatch_ = entityTag
 16278  	return c
 16279  }
 16280  
 16281  // Context sets the context to be used in this call's Do method. Any
 16282  // pending HTTP request will be aborted if the provided context is
 16283  // canceled.
 16284  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsGetCall {
 16285  	c.ctx_ = ctx
 16286  	return c
 16287  }
 16288  
 16289  // Header returns an http.Header that can be modified by the caller to
 16290  // add HTTP headers to the request.
 16291  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Header() http.Header {
 16292  	if c.header_ == nil {
 16293  		c.header_ = make(http.Header)
 16294  	}
 16295  	return c.header_
 16296  }
 16297  
 16298  func (c *ProjectsLocationsIntegrationsVersionsGetCall) doRequest(alt string) (*http.Response, error) {
 16299  	reqHeaders := make(http.Header)
 16300  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16301  	for k, v := range c.header_ {
 16302  		reqHeaders[k] = v
 16303  	}
 16304  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16305  	if c.ifNoneMatch_ != "" {
 16306  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 16307  	}
 16308  	var body io.Reader = nil
 16309  	c.urlParams_.Set("alt", alt)
 16310  	c.urlParams_.Set("prettyPrint", "false")
 16311  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 16312  	urls += "?" + c.urlParams_.Encode()
 16313  	req, err := http.NewRequest("GET", urls, body)
 16314  	if err != nil {
 16315  		return nil, err
 16316  	}
 16317  	req.Header = reqHeaders
 16318  	googleapi.Expand(req.URL, map[string]string{
 16319  		"name": c.name,
 16320  	})
 16321  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16322  }
 16323  
 16324  // Do executes the "integrations.projects.locations.integrations.versions.get" call.
 16325  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 16326  // error will be non-nil. Any non-2xx status code is an error. Response
 16327  // headers are in either
 16328  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 16329  // r or (if a response was returned at all) in
 16330  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16331  // whether the returned error was because http.StatusNotModified was
 16332  // returned.
 16333  func (c *ProjectsLocationsIntegrationsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 16334  	gensupport.SetOptions(c.urlParams_, opts...)
 16335  	res, err := c.doRequest("json")
 16336  	if res != nil && res.StatusCode == http.StatusNotModified {
 16337  		if res.Body != nil {
 16338  			res.Body.Close()
 16339  		}
 16340  		return nil, gensupport.WrapError(&googleapi.Error{
 16341  			Code:   res.StatusCode,
 16342  			Header: res.Header,
 16343  		})
 16344  	}
 16345  	if err != nil {
 16346  		return nil, err
 16347  	}
 16348  	defer googleapi.CloseBody(res)
 16349  	if err := googleapi.CheckResponse(res); err != nil {
 16350  		return nil, gensupport.WrapError(err)
 16351  	}
 16352  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 16353  		ServerResponse: googleapi.ServerResponse{
 16354  			Header:         res.Header,
 16355  			HTTPStatusCode: res.StatusCode,
 16356  		},
 16357  	}
 16358  	target := &ret
 16359  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16360  		return nil, err
 16361  	}
 16362  	return ret, nil
 16363  	// {
 16364  	//   "description": "Get a integration in the specified project.",
 16365  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}",
 16366  	//   "httpMethod": "GET",
 16367  	//   "id": "integrations.projects.locations.integrations.versions.get",
 16368  	//   "parameterOrder": [
 16369  	//     "name"
 16370  	//   ],
 16371  	//   "parameters": {
 16372  	//     "name": {
 16373  	//       "description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 16374  	//       "location": "path",
 16375  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 16376  	//       "required": true,
 16377  	//       "type": "string"
 16378  	//     }
 16379  	//   },
 16380  	//   "path": "v1alpha/{+name}",
 16381  	//   "response": {
 16382  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 16383  	//   },
 16384  	//   "scopes": [
 16385  	//     "https://www.googleapis.com/auth/cloud-platform"
 16386  	//   ]
 16387  	// }
 16388  
 16389  }
 16390  
 16391  // method id "integrations.projects.locations.integrations.versions.list":
 16392  
 16393  type ProjectsLocationsIntegrationsVersionsListCall struct {
 16394  	s            *Service
 16395  	parent       string
 16396  	urlParams_   gensupport.URLParams
 16397  	ifNoneMatch_ string
 16398  	ctx_         context.Context
 16399  	header_      http.Header
 16400  }
 16401  
 16402  // List: Returns the list of all integration versions in the specified
 16403  // project.
 16404  //
 16405  //   - parent: The parent resource where this version will be created.
 16406  //     Format:
 16407  //     projects/{project}/locations/{location}/integrations/{integration}
 16408  //     Specifically, when parent equals: 1.
 16409  //     projects//locations//integrations/, Meaning: "List versions (with
 16410  //     filter) for a particular integration". 2.
 16411  //     projects//locations//integrations/- Meaning: "List versions (with
 16412  //     filter) for a client within a particular region". 3.
 16413  //     projects//locations/-/integrations/- Meaning: "List versions (with
 16414  //     filter) for a client".
 16415  func (r *ProjectsLocationsIntegrationsVersionsService) List(parent string) *ProjectsLocationsIntegrationsVersionsListCall {
 16416  	c := &ProjectsLocationsIntegrationsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16417  	c.parent = parent
 16418  	return c
 16419  }
 16420  
 16421  // FieldMask sets the optional parameter "fieldMask": The field mask
 16422  // which specifies the particular data to be returned.
 16423  func (c *ProjectsLocationsIntegrationsVersionsListCall) FieldMask(fieldMask string) *ProjectsLocationsIntegrationsVersionsListCall {
 16424  	c.urlParams_.Set("fieldMask", fieldMask)
 16425  	return c
 16426  }
 16427  
 16428  // Filter sets the optional parameter "filter": Filter on fields of
 16429  // IntegrationVersion. Fields can be compared with literal values by use
 16430  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 16431  // >=" (greater than or equal to), "<=" (less than or equal to), and
 16432  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 16433  // are written using NOT, AND, and OR keywords. For example,
 16434  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 16435  // Filtering cannot be performed on repeated fields like `task_config`.
 16436  func (c *ProjectsLocationsIntegrationsVersionsListCall) Filter(filter string) *ProjectsLocationsIntegrationsVersionsListCall {
 16437  	c.urlParams_.Set("filter", filter)
 16438  	return c
 16439  }
 16440  
 16441  // OrderBy sets the optional parameter "orderBy": The results would be
 16442  // returned in order you specified here. Currently supported sort keys
 16443  // are: Descending sort order for "last_modified_time", "created_time",
 16444  // "snapshot_number" Ascending sort order for "name".
 16445  func (c *ProjectsLocationsIntegrationsVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsIntegrationsVersionsListCall {
 16446  	c.urlParams_.Set("orderBy", orderBy)
 16447  	return c
 16448  }
 16449  
 16450  // PageSize sets the optional parameter "pageSize": The maximum number
 16451  // of versions to return. The service may return fewer than this value.
 16452  // If unspecified, at most 50 versions will be returned. The maximum
 16453  // value is 1000; values above 1000 will be coerced to 1000.
 16454  func (c *ProjectsLocationsIntegrationsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsIntegrationsVersionsListCall {
 16455  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 16456  	return c
 16457  }
 16458  
 16459  // PageToken sets the optional parameter "pageToken": A page token,
 16460  // received from a previous `ListIntegrationVersions` call. Provide this
 16461  // to retrieve the subsequent page. When paginating, all other
 16462  // parameters provided to `ListIntegrationVersions` must match the call
 16463  // that provided the page token.
 16464  func (c *ProjectsLocationsIntegrationsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsIntegrationsVersionsListCall {
 16465  	c.urlParams_.Set("pageToken", pageToken)
 16466  	return c
 16467  }
 16468  
 16469  // Fields allows partial responses to be retrieved. See
 16470  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16471  // for more information.
 16472  func (c *ProjectsLocationsIntegrationsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsListCall {
 16473  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16474  	return c
 16475  }
 16476  
 16477  // IfNoneMatch sets the optional parameter which makes the operation
 16478  // fail if the object's ETag matches the given value. This is useful for
 16479  // getting updates only after the object has changed since the last
 16480  // request. Use googleapi.IsNotModified to check whether the response
 16481  // error from Do is the result of In-None-Match.
 16482  func (c *ProjectsLocationsIntegrationsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIntegrationsVersionsListCall {
 16483  	c.ifNoneMatch_ = entityTag
 16484  	return c
 16485  }
 16486  
 16487  // Context sets the context to be used in this call's Do method. Any
 16488  // pending HTTP request will be aborted if the provided context is
 16489  // canceled.
 16490  func (c *ProjectsLocationsIntegrationsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsListCall {
 16491  	c.ctx_ = ctx
 16492  	return c
 16493  }
 16494  
 16495  // Header returns an http.Header that can be modified by the caller to
 16496  // add HTTP headers to the request.
 16497  func (c *ProjectsLocationsIntegrationsVersionsListCall) Header() http.Header {
 16498  	if c.header_ == nil {
 16499  		c.header_ = make(http.Header)
 16500  	}
 16501  	return c.header_
 16502  }
 16503  
 16504  func (c *ProjectsLocationsIntegrationsVersionsListCall) doRequest(alt string) (*http.Response, error) {
 16505  	reqHeaders := make(http.Header)
 16506  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16507  	for k, v := range c.header_ {
 16508  		reqHeaders[k] = v
 16509  	}
 16510  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16511  	if c.ifNoneMatch_ != "" {
 16512  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 16513  	}
 16514  	var body io.Reader = nil
 16515  	c.urlParams_.Set("alt", alt)
 16516  	c.urlParams_.Set("prettyPrint", "false")
 16517  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions")
 16518  	urls += "?" + c.urlParams_.Encode()
 16519  	req, err := http.NewRequest("GET", urls, body)
 16520  	if err != nil {
 16521  		return nil, err
 16522  	}
 16523  	req.Header = reqHeaders
 16524  	googleapi.Expand(req.URL, map[string]string{
 16525  		"parent": c.parent,
 16526  	})
 16527  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16528  }
 16529  
 16530  // Do executes the "integrations.projects.locations.integrations.versions.list" call.
 16531  // Exactly one of
 16532  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse or
 16533  // error will be non-nil. Any non-2xx status code is an error. Response
 16534  // headers are in either
 16535  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse.ServerR
 16536  // esponse.Header or (if a response was returned at all) in
 16537  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16538  // whether the returned error was because http.StatusNotModified was
 16539  // returned.
 16540  func (c *ProjectsLocationsIntegrationsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse, error) {
 16541  	gensupport.SetOptions(c.urlParams_, opts...)
 16542  	res, err := c.doRequest("json")
 16543  	if res != nil && res.StatusCode == http.StatusNotModified {
 16544  		if res.Body != nil {
 16545  			res.Body.Close()
 16546  		}
 16547  		return nil, gensupport.WrapError(&googleapi.Error{
 16548  			Code:   res.StatusCode,
 16549  			Header: res.Header,
 16550  		})
 16551  	}
 16552  	if err != nil {
 16553  		return nil, err
 16554  	}
 16555  	defer googleapi.CloseBody(res)
 16556  	if err := googleapi.CheckResponse(res); err != nil {
 16557  		return nil, gensupport.WrapError(err)
 16558  	}
 16559  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse{
 16560  		ServerResponse: googleapi.ServerResponse{
 16561  			Header:         res.Header,
 16562  			HTTPStatusCode: res.StatusCode,
 16563  		},
 16564  	}
 16565  	target := &ret
 16566  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16567  		return nil, err
 16568  	}
 16569  	return ret, nil
 16570  	// {
 16571  	//   "description": "Returns the list of all integration versions in the specified project.",
 16572  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions",
 16573  	//   "httpMethod": "GET",
 16574  	//   "id": "integrations.projects.locations.integrations.versions.list",
 16575  	//   "parameterOrder": [
 16576  	//     "parent"
 16577  	//   ],
 16578  	//   "parameters": {
 16579  	//     "fieldMask": {
 16580  	//       "description": "The field mask which specifies the particular data to be returned.",
 16581  	//       "format": "google-fieldmask",
 16582  	//       "location": "query",
 16583  	//       "type": "string"
 16584  	//     },
 16585  	//     "filter": {
 16586  	//       "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`.",
 16587  	//       "location": "query",
 16588  	//       "type": "string"
 16589  	//     },
 16590  	//     "orderBy": {
 16591  	//       "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\".",
 16592  	//       "location": "query",
 16593  	//       "type": "string"
 16594  	//     },
 16595  	//     "pageSize": {
 16596  	//       "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.",
 16597  	//       "format": "int32",
 16598  	//       "location": "query",
 16599  	//       "type": "integer"
 16600  	//     },
 16601  	//     "pageToken": {
 16602  	//       "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.",
 16603  	//       "location": "query",
 16604  	//       "type": "string"
 16605  	//     },
 16606  	//     "parent": {
 16607  	//       "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\".",
 16608  	//       "location": "path",
 16609  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 16610  	//       "required": true,
 16611  	//       "type": "string"
 16612  	//     }
 16613  	//   },
 16614  	//   "path": "v1alpha/{+parent}/versions",
 16615  	//   "response": {
 16616  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse"
 16617  	//   },
 16618  	//   "scopes": [
 16619  	//     "https://www.googleapis.com/auth/cloud-platform"
 16620  	//   ]
 16621  	// }
 16622  
 16623  }
 16624  
 16625  // Pages invokes f for each page of results.
 16626  // A non-nil error returned from f will halt the iteration.
 16627  // The provided context supersedes any context provided to the Context method.
 16628  func (c *ProjectsLocationsIntegrationsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse) error) error {
 16629  	c.ctx_ = ctx
 16630  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 16631  	for {
 16632  		x, err := c.Do()
 16633  		if err != nil {
 16634  			return err
 16635  		}
 16636  		if err := f(x); err != nil {
 16637  			return err
 16638  		}
 16639  		if x.NextPageToken == "" {
 16640  			return nil
 16641  		}
 16642  		c.PageToken(x.NextPageToken)
 16643  	}
 16644  }
 16645  
 16646  // method id "integrations.projects.locations.integrations.versions.patch":
 16647  
 16648  type ProjectsLocationsIntegrationsVersionsPatchCall struct {
 16649  	s                                                *Service
 16650  	name                                             string
 16651  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 16652  	urlParams_                                       gensupport.URLParams
 16653  	ctx_                                             context.Context
 16654  	header_                                          http.Header
 16655  }
 16656  
 16657  // Patch: Update a integration with a draft version in the specified
 16658  // project.
 16659  //
 16660  // - name: Output only. Auto-generated primary key.
 16661  func (r *ProjectsLocationsIntegrationsVersionsService) Patch(name string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsIntegrationsVersionsPatchCall {
 16662  	c := &ProjectsLocationsIntegrationsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16663  	c.name = name
 16664  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 16665  	return c
 16666  }
 16667  
 16668  // UpdateMask sets the optional parameter "updateMask": Field mask
 16669  // specifying the fields in the above integration that have been
 16670  // modified and need to be updated.
 16671  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIntegrationsVersionsPatchCall {
 16672  	c.urlParams_.Set("updateMask", updateMask)
 16673  	return c
 16674  }
 16675  
 16676  // Fields allows partial responses to be retrieved. See
 16677  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16678  // for more information.
 16679  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsPatchCall {
 16680  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16681  	return c
 16682  }
 16683  
 16684  // Context sets the context to be used in this call's Do method. Any
 16685  // pending HTTP request will be aborted if the provided context is
 16686  // canceled.
 16687  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsPatchCall {
 16688  	c.ctx_ = ctx
 16689  	return c
 16690  }
 16691  
 16692  // Header returns an http.Header that can be modified by the caller to
 16693  // add HTTP headers to the request.
 16694  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Header() http.Header {
 16695  	if c.header_ == nil {
 16696  		c.header_ = make(http.Header)
 16697  	}
 16698  	return c.header_
 16699  }
 16700  
 16701  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) doRequest(alt string) (*http.Response, error) {
 16702  	reqHeaders := make(http.Header)
 16703  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16704  	for k, v := range c.header_ {
 16705  		reqHeaders[k] = v
 16706  	}
 16707  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16708  	var body io.Reader = nil
 16709  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 16710  	if err != nil {
 16711  		return nil, err
 16712  	}
 16713  	reqHeaders.Set("Content-Type", "application/json")
 16714  	c.urlParams_.Set("alt", alt)
 16715  	c.urlParams_.Set("prettyPrint", "false")
 16716  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 16717  	urls += "?" + c.urlParams_.Encode()
 16718  	req, err := http.NewRequest("PATCH", urls, body)
 16719  	if err != nil {
 16720  		return nil, err
 16721  	}
 16722  	req.Header = reqHeaders
 16723  	googleapi.Expand(req.URL, map[string]string{
 16724  		"name": c.name,
 16725  	})
 16726  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16727  }
 16728  
 16729  // Do executes the "integrations.projects.locations.integrations.versions.patch" call.
 16730  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 16731  // error will be non-nil. Any non-2xx status code is an error. Response
 16732  // headers are in either
 16733  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 16734  // r or (if a response was returned at all) in
 16735  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16736  // whether the returned error was because http.StatusNotModified was
 16737  // returned.
 16738  func (c *ProjectsLocationsIntegrationsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 16739  	gensupport.SetOptions(c.urlParams_, opts...)
 16740  	res, err := c.doRequest("json")
 16741  	if res != nil && res.StatusCode == http.StatusNotModified {
 16742  		if res.Body != nil {
 16743  			res.Body.Close()
 16744  		}
 16745  		return nil, gensupport.WrapError(&googleapi.Error{
 16746  			Code:   res.StatusCode,
 16747  			Header: res.Header,
 16748  		})
 16749  	}
 16750  	if err != nil {
 16751  		return nil, err
 16752  	}
 16753  	defer googleapi.CloseBody(res)
 16754  	if err := googleapi.CheckResponse(res); err != nil {
 16755  		return nil, gensupport.WrapError(err)
 16756  	}
 16757  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 16758  		ServerResponse: googleapi.ServerResponse{
 16759  			Header:         res.Header,
 16760  			HTTPStatusCode: res.StatusCode,
 16761  		},
 16762  	}
 16763  	target := &ret
 16764  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16765  		return nil, err
 16766  	}
 16767  	return ret, nil
 16768  	// {
 16769  	//   "description": "Update a integration with a draft version in the specified project.",
 16770  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}",
 16771  	//   "httpMethod": "PATCH",
 16772  	//   "id": "integrations.projects.locations.integrations.versions.patch",
 16773  	//   "parameterOrder": [
 16774  	//     "name"
 16775  	//   ],
 16776  	//   "parameters": {
 16777  	//     "name": {
 16778  	//       "description": "Output only. Auto-generated primary key.",
 16779  	//       "location": "path",
 16780  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 16781  	//       "required": true,
 16782  	//       "type": "string"
 16783  	//     },
 16784  	//     "updateMask": {
 16785  	//       "description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.",
 16786  	//       "format": "google-fieldmask",
 16787  	//       "location": "query",
 16788  	//       "type": "string"
 16789  	//     }
 16790  	//   },
 16791  	//   "path": "v1alpha/{+name}",
 16792  	//   "request": {
 16793  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 16794  	//   },
 16795  	//   "response": {
 16796  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 16797  	//   },
 16798  	//   "scopes": [
 16799  	//     "https://www.googleapis.com/auth/cloud-platform"
 16800  	//   ]
 16801  	// }
 16802  
 16803  }
 16804  
 16805  // method id "integrations.projects.locations.integrations.versions.publish":
 16806  
 16807  type ProjectsLocationsIntegrationsVersionsPublishCall struct {
 16808  	s                                                              *Service
 16809  	name                                                           string
 16810  	googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest
 16811  	urlParams_                                                     gensupport.URLParams
 16812  	ctx_                                                           context.Context
 16813  	header_                                                        http.Header
 16814  }
 16815  
 16816  // Publish: This RPC throws an exception if the integration is in
 16817  // ARCHIVED or ACTIVE state. This RPC throws an exception if the version
 16818  // being published is DRAFT, and if the `locked_by` user is not the same
 16819  // as the user performing the Publish. Audit fields updated include
 16820  // last_published_timestamp, last_published_by, last_modified_timestamp,
 16821  // last_modified_by. Any existing lock is on this integration is
 16822  // released.
 16823  //
 16824  //   - name: The version to publish. Format:
 16825  //     projects/{project}/locations/{location}/integrations/{integration}/v
 16826  //     ersions/{version}.
 16827  func (r *ProjectsLocationsIntegrationsVersionsService) Publish(name string, googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsPublishCall {
 16828  	c := &ProjectsLocationsIntegrationsVersionsPublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16829  	c.name = name
 16830  	c.googlecloudintegrationsv1alphapublishintegrationversionrequest = googlecloudintegrationsv1alphapublishintegrationversionrequest
 16831  	return c
 16832  }
 16833  
 16834  // Fields allows partial responses to be retrieved. See
 16835  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16836  // for more information.
 16837  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsPublishCall {
 16838  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16839  	return c
 16840  }
 16841  
 16842  // Context sets the context to be used in this call's Do method. Any
 16843  // pending HTTP request will be aborted if the provided context is
 16844  // canceled.
 16845  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsPublishCall {
 16846  	c.ctx_ = ctx
 16847  	return c
 16848  }
 16849  
 16850  // Header returns an http.Header that can be modified by the caller to
 16851  // add HTTP headers to the request.
 16852  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Header() http.Header {
 16853  	if c.header_ == nil {
 16854  		c.header_ = make(http.Header)
 16855  	}
 16856  	return c.header_
 16857  }
 16858  
 16859  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) doRequest(alt string) (*http.Response, error) {
 16860  	reqHeaders := make(http.Header)
 16861  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 16862  	for k, v := range c.header_ {
 16863  		reqHeaders[k] = v
 16864  	}
 16865  	reqHeaders.Set("User-Agent", c.s.userAgent())
 16866  	var body io.Reader = nil
 16867  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphapublishintegrationversionrequest)
 16868  	if err != nil {
 16869  		return nil, err
 16870  	}
 16871  	reqHeaders.Set("Content-Type", "application/json")
 16872  	c.urlParams_.Set("alt", alt)
 16873  	c.urlParams_.Set("prettyPrint", "false")
 16874  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:publish")
 16875  	urls += "?" + c.urlParams_.Encode()
 16876  	req, err := http.NewRequest("POST", urls, body)
 16877  	if err != nil {
 16878  		return nil, err
 16879  	}
 16880  	req.Header = reqHeaders
 16881  	googleapi.Expand(req.URL, map[string]string{
 16882  		"name": c.name,
 16883  	})
 16884  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 16885  }
 16886  
 16887  // Do executes the "integrations.projects.locations.integrations.versions.publish" call.
 16888  // Exactly one of
 16889  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse or
 16890  // error will be non-nil. Any non-2xx status code is an error. Response
 16891  // headers are in either
 16892  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse.Serve
 16893  // rResponse.Header or (if a response was returned at all) in
 16894  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 16895  // whether the returned error was because http.StatusNotModified was
 16896  // returned.
 16897  func (c *ProjectsLocationsIntegrationsVersionsPublishCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse, error) {
 16898  	gensupport.SetOptions(c.urlParams_, opts...)
 16899  	res, err := c.doRequest("json")
 16900  	if res != nil && res.StatusCode == http.StatusNotModified {
 16901  		if res.Body != nil {
 16902  			res.Body.Close()
 16903  		}
 16904  		return nil, gensupport.WrapError(&googleapi.Error{
 16905  			Code:   res.StatusCode,
 16906  			Header: res.Header,
 16907  		})
 16908  	}
 16909  	if err != nil {
 16910  		return nil, err
 16911  	}
 16912  	defer googleapi.CloseBody(res)
 16913  	if err := googleapi.CheckResponse(res); err != nil {
 16914  		return nil, gensupport.WrapError(err)
 16915  	}
 16916  	ret := &GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse{
 16917  		ServerResponse: googleapi.ServerResponse{
 16918  			Header:         res.Header,
 16919  			HTTPStatusCode: res.StatusCode,
 16920  		},
 16921  	}
 16922  	target := &ret
 16923  	if err := gensupport.DecodeResponse(target, res); err != nil {
 16924  		return nil, err
 16925  	}
 16926  	return ret, nil
 16927  	// {
 16928  	//   "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.",
 16929  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:publish",
 16930  	//   "httpMethod": "POST",
 16931  	//   "id": "integrations.projects.locations.integrations.versions.publish",
 16932  	//   "parameterOrder": [
 16933  	//     "name"
 16934  	//   ],
 16935  	//   "parameters": {
 16936  	//     "name": {
 16937  	//       "description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 16938  	//       "location": "path",
 16939  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 16940  	//       "required": true,
 16941  	//       "type": "string"
 16942  	//     }
 16943  	//   },
 16944  	//   "path": "v1alpha/{+name}:publish",
 16945  	//   "request": {
 16946  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest"
 16947  	//   },
 16948  	//   "response": {
 16949  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse"
 16950  	//   },
 16951  	//   "scopes": [
 16952  	//     "https://www.googleapis.com/auth/cloud-platform"
 16953  	//   ]
 16954  	// }
 16955  
 16956  }
 16957  
 16958  // method id "integrations.projects.locations.integrations.versions.takeoverEditLock":
 16959  
 16960  type ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall struct {
 16961  	s                                                     *Service
 16962  	integrationVersion                                    string
 16963  	googlecloudintegrationsv1alphatakeovereditlockrequest *GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest
 16964  	urlParams_                                            gensupport.URLParams
 16965  	ctx_                                                  context.Context
 16966  	header_                                               http.Header
 16967  }
 16968  
 16969  // TakeoverEditLock: Clears the `locked_by` and `locked_at_timestamp`in
 16970  // the DRAFT version of this integration. It then performs the same
 16971  // action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT
 16972  // version of the integration as a SNAPSHOT and then creates a new DRAFT
 16973  // version with the `locked_by` set to the `user_taking_over` and the
 16974  // `locked_at_timestamp` set to the current timestamp). Both the
 16975  // `locked_by` and `user_taking_over` are notified via email about the
 16976  // takeover. This RPC throws an exception if the integration is not in
 16977  // DRAFT status or if the `locked_by` and `locked_at_timestamp` fields
 16978  // are not set.The TakeoverEdit lock is treated the same as an edit of
 16979  // the integration, and hence shares ACLs with edit. Audit fields
 16980  // updated include last_modified_timestamp, last_modified_by.
 16981  //
 16982  //   - integrationVersion: The version to take over edit lock. Format:
 16983  //     projects/{project}/locations/{location}/integrations/{integration}/v
 16984  //     ersions/{version}.
 16985  func (r *ProjectsLocationsIntegrationsVersionsService) TakeoverEditLock(integrationVersion string, googlecloudintegrationsv1alphatakeovereditlockrequest *GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest) *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall {
 16986  	c := &ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 16987  	c.integrationVersion = integrationVersion
 16988  	c.googlecloudintegrationsv1alphatakeovereditlockrequest = googlecloudintegrationsv1alphatakeovereditlockrequest
 16989  	return c
 16990  }
 16991  
 16992  // Fields allows partial responses to be retrieved. See
 16993  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 16994  // for more information.
 16995  func (c *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall {
 16996  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 16997  	return c
 16998  }
 16999  
 17000  // Context sets the context to be used in this call's Do method. Any
 17001  // pending HTTP request will be aborted if the provided context is
 17002  // canceled.
 17003  func (c *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall {
 17004  	c.ctx_ = ctx
 17005  	return c
 17006  }
 17007  
 17008  // Header returns an http.Header that can be modified by the caller to
 17009  // add HTTP headers to the request.
 17010  func (c *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall) Header() http.Header {
 17011  	if c.header_ == nil {
 17012  		c.header_ = make(http.Header)
 17013  	}
 17014  	return c.header_
 17015  }
 17016  
 17017  func (c *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall) doRequest(alt string) (*http.Response, error) {
 17018  	reqHeaders := make(http.Header)
 17019  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17020  	for k, v := range c.header_ {
 17021  		reqHeaders[k] = v
 17022  	}
 17023  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17024  	var body io.Reader = nil
 17025  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphatakeovereditlockrequest)
 17026  	if err != nil {
 17027  		return nil, err
 17028  	}
 17029  	reqHeaders.Set("Content-Type", "application/json")
 17030  	c.urlParams_.Set("alt", alt)
 17031  	c.urlParams_.Set("prettyPrint", "false")
 17032  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+integrationVersion}:takeoverEditLock")
 17033  	urls += "?" + c.urlParams_.Encode()
 17034  	req, err := http.NewRequest("POST", urls, body)
 17035  	if err != nil {
 17036  		return nil, err
 17037  	}
 17038  	req.Header = reqHeaders
 17039  	googleapi.Expand(req.URL, map[string]string{
 17040  		"integrationVersion": c.integrationVersion,
 17041  	})
 17042  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17043  }
 17044  
 17045  // Do executes the "integrations.projects.locations.integrations.versions.takeoverEditLock" call.
 17046  // Exactly one of
 17047  // *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse or error will
 17048  // be non-nil. Any non-2xx status code is an error. Response headers are
 17049  // in either
 17050  // *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse.ServerResponse
 17051  // .Header or (if a response was returned at all) in
 17052  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17053  // whether the returned error was because http.StatusNotModified was
 17054  // returned.
 17055  func (c *ProjectsLocationsIntegrationsVersionsTakeoverEditLockCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse, error) {
 17056  	gensupport.SetOptions(c.urlParams_, opts...)
 17057  	res, err := c.doRequest("json")
 17058  	if res != nil && res.StatusCode == http.StatusNotModified {
 17059  		if res.Body != nil {
 17060  			res.Body.Close()
 17061  		}
 17062  		return nil, gensupport.WrapError(&googleapi.Error{
 17063  			Code:   res.StatusCode,
 17064  			Header: res.Header,
 17065  		})
 17066  	}
 17067  	if err != nil {
 17068  		return nil, err
 17069  	}
 17070  	defer googleapi.CloseBody(res)
 17071  	if err := googleapi.CheckResponse(res); err != nil {
 17072  		return nil, gensupport.WrapError(err)
 17073  	}
 17074  	ret := &GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse{
 17075  		ServerResponse: googleapi.ServerResponse{
 17076  			Header:         res.Header,
 17077  			HTTPStatusCode: res.StatusCode,
 17078  		},
 17079  	}
 17080  	target := &ret
 17081  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17082  		return nil, err
 17083  	}
 17084  	return ret, nil
 17085  	// {
 17086  	//   "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.",
 17087  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock",
 17088  	//   "httpMethod": "POST",
 17089  	//   "id": "integrations.projects.locations.integrations.versions.takeoverEditLock",
 17090  	//   "parameterOrder": [
 17091  	//     "integrationVersion"
 17092  	//   ],
 17093  	//   "parameters": {
 17094  	//     "integrationVersion": {
 17095  	//       "description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 17096  	//       "location": "path",
 17097  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 17098  	//       "required": true,
 17099  	//       "type": "string"
 17100  	//     }
 17101  	//   },
 17102  	//   "path": "v1alpha/{+integrationVersion}:takeoverEditLock",
 17103  	//   "request": {
 17104  	//     "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest"
 17105  	//   },
 17106  	//   "response": {
 17107  	//     "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse"
 17108  	//   },
 17109  	//   "scopes": [
 17110  	//     "https://www.googleapis.com/auth/cloud-platform"
 17111  	//   ]
 17112  	// }
 17113  
 17114  }
 17115  
 17116  // method id "integrations.projects.locations.integrations.versions.unpublish":
 17117  
 17118  type ProjectsLocationsIntegrationsVersionsUnpublishCall struct {
 17119  	s                                                                *Service
 17120  	name                                                             string
 17121  	googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
 17122  	urlParams_                                                       gensupport.URLParams
 17123  	ctx_                                                             context.Context
 17124  	header_                                                          http.Header
 17125  }
 17126  
 17127  // Unpublish: Sets the status of the ACTIVE integration to SNAPSHOT with
 17128  // a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and
 17129  // "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception
 17130  // if the version being snapshot is not ACTIVE. Audit fields added
 17131  // include action, action_by, action_timestamp.
 17132  //
 17133  //   - name: The version to deactivate. Format:
 17134  //     projects/{project}/locations/{location}/integrations/{integration}/v
 17135  //     ersions/{version}.
 17136  func (r *ProjectsLocationsIntegrationsVersionsService) Unpublish(name string, googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsUnpublishCall {
 17137  	c := &ProjectsLocationsIntegrationsVersionsUnpublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17138  	c.name = name
 17139  	c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest = googlecloudintegrationsv1alphaunpublishintegrationversionrequest
 17140  	return c
 17141  }
 17142  
 17143  // Fields allows partial responses to be retrieved. See
 17144  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17145  // for more information.
 17146  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsUnpublishCall {
 17147  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17148  	return c
 17149  }
 17150  
 17151  // Context sets the context to be used in this call's Do method. Any
 17152  // pending HTTP request will be aborted if the provided context is
 17153  // canceled.
 17154  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsUnpublishCall {
 17155  	c.ctx_ = ctx
 17156  	return c
 17157  }
 17158  
 17159  // Header returns an http.Header that can be modified by the caller to
 17160  // add HTTP headers to the request.
 17161  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Header() http.Header {
 17162  	if c.header_ == nil {
 17163  		c.header_ = make(http.Header)
 17164  	}
 17165  	return c.header_
 17166  }
 17167  
 17168  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) doRequest(alt string) (*http.Response, error) {
 17169  	reqHeaders := make(http.Header)
 17170  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17171  	for k, v := range c.header_ {
 17172  		reqHeaders[k] = v
 17173  	}
 17174  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17175  	var body io.Reader = nil
 17176  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest)
 17177  	if err != nil {
 17178  		return nil, err
 17179  	}
 17180  	reqHeaders.Set("Content-Type", "application/json")
 17181  	c.urlParams_.Set("alt", alt)
 17182  	c.urlParams_.Set("prettyPrint", "false")
 17183  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:unpublish")
 17184  	urls += "?" + c.urlParams_.Encode()
 17185  	req, err := http.NewRequest("POST", urls, body)
 17186  	if err != nil {
 17187  		return nil, err
 17188  	}
 17189  	req.Header = reqHeaders
 17190  	googleapi.Expand(req.URL, map[string]string{
 17191  		"name": c.name,
 17192  	})
 17193  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17194  }
 17195  
 17196  // Do executes the "integrations.projects.locations.integrations.versions.unpublish" call.
 17197  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 17198  // non-2xx status code is an error. Response headers are in either
 17199  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 17200  // returned at all) in error.(*googleapi.Error).Header. Use
 17201  // googleapi.IsNotModified to check whether the returned error was
 17202  // because http.StatusNotModified was returned.
 17203  func (c *ProjectsLocationsIntegrationsVersionsUnpublishCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 17204  	gensupport.SetOptions(c.urlParams_, opts...)
 17205  	res, err := c.doRequest("json")
 17206  	if res != nil && res.StatusCode == http.StatusNotModified {
 17207  		if res.Body != nil {
 17208  			res.Body.Close()
 17209  		}
 17210  		return nil, gensupport.WrapError(&googleapi.Error{
 17211  			Code:   res.StatusCode,
 17212  			Header: res.Header,
 17213  		})
 17214  	}
 17215  	if err != nil {
 17216  		return nil, err
 17217  	}
 17218  	defer googleapi.CloseBody(res)
 17219  	if err := googleapi.CheckResponse(res); err != nil {
 17220  		return nil, gensupport.WrapError(err)
 17221  	}
 17222  	ret := &GoogleProtobufEmpty{
 17223  		ServerResponse: googleapi.ServerResponse{
 17224  			Header:         res.Header,
 17225  			HTTPStatusCode: res.StatusCode,
 17226  		},
 17227  	}
 17228  	target := &ret
 17229  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17230  		return nil, err
 17231  	}
 17232  	return ret, nil
 17233  	// {
 17234  	//   "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.",
 17235  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish",
 17236  	//   "httpMethod": "POST",
 17237  	//   "id": "integrations.projects.locations.integrations.versions.unpublish",
 17238  	//   "parameterOrder": [
 17239  	//     "name"
 17240  	//   ],
 17241  	//   "parameters": {
 17242  	//     "name": {
 17243  	//       "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 17244  	//       "location": "path",
 17245  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$",
 17246  	//       "required": true,
 17247  	//       "type": "string"
 17248  	//     }
 17249  	//   },
 17250  	//   "path": "v1alpha/{+name}:unpublish",
 17251  	//   "request": {
 17252  	//     "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest"
 17253  	//   },
 17254  	//   "response": {
 17255  	//     "$ref": "GoogleProtobufEmpty"
 17256  	//   },
 17257  	//   "scopes": [
 17258  	//     "https://www.googleapis.com/auth/cloud-platform"
 17259  	//   ]
 17260  	// }
 17261  
 17262  }
 17263  
 17264  // method id "integrations.projects.locations.integrations.versions.upload":
 17265  
 17266  type ProjectsLocationsIntegrationsVersionsUploadCall struct {
 17267  	s                                                             *Service
 17268  	parent                                                        string
 17269  	googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
 17270  	urlParams_                                                    gensupport.URLParams
 17271  	ctx_                                                          context.Context
 17272  	header_                                                       http.Header
 17273  }
 17274  
 17275  // Upload: Uploads an integration. The content can be a previously
 17276  // downloaded integration. Performs the same function as
 17277  // CreateDraftIntegrationVersion, but accepts input in a string format,
 17278  // which holds the complete representation of the IntegrationVersion
 17279  // content.
 17280  //
 17281  //   - parent: The version to upload. Format:
 17282  //     projects/{project}/locations/{location}/integrations/{integration}.
 17283  func (r *ProjectsLocationsIntegrationsVersionsService) Upload(parent string, googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) *ProjectsLocationsIntegrationsVersionsUploadCall {
 17284  	c := &ProjectsLocationsIntegrationsVersionsUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17285  	c.parent = parent
 17286  	c.googlecloudintegrationsv1alphauploadintegrationversionrequest = googlecloudintegrationsv1alphauploadintegrationversionrequest
 17287  	return c
 17288  }
 17289  
 17290  // Fields allows partial responses to be retrieved. See
 17291  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17292  // for more information.
 17293  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Fields(s ...googleapi.Field) *ProjectsLocationsIntegrationsVersionsUploadCall {
 17294  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17295  	return c
 17296  }
 17297  
 17298  // Context sets the context to be used in this call's Do method. Any
 17299  // pending HTTP request will be aborted if the provided context is
 17300  // canceled.
 17301  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Context(ctx context.Context) *ProjectsLocationsIntegrationsVersionsUploadCall {
 17302  	c.ctx_ = ctx
 17303  	return c
 17304  }
 17305  
 17306  // Header returns an http.Header that can be modified by the caller to
 17307  // add HTTP headers to the request.
 17308  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Header() http.Header {
 17309  	if c.header_ == nil {
 17310  		c.header_ = make(http.Header)
 17311  	}
 17312  	return c.header_
 17313  }
 17314  
 17315  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) doRequest(alt string) (*http.Response, error) {
 17316  	reqHeaders := make(http.Header)
 17317  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17318  	for k, v := range c.header_ {
 17319  		reqHeaders[k] = v
 17320  	}
 17321  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17322  	var body io.Reader = nil
 17323  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphauploadintegrationversionrequest)
 17324  	if err != nil {
 17325  		return nil, err
 17326  	}
 17327  	reqHeaders.Set("Content-Type", "application/json")
 17328  	c.urlParams_.Set("alt", alt)
 17329  	c.urlParams_.Set("prettyPrint", "false")
 17330  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions:upload")
 17331  	urls += "?" + c.urlParams_.Encode()
 17332  	req, err := http.NewRequest("POST", urls, body)
 17333  	if err != nil {
 17334  		return nil, err
 17335  	}
 17336  	req.Header = reqHeaders
 17337  	googleapi.Expand(req.URL, map[string]string{
 17338  		"parent": c.parent,
 17339  	})
 17340  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17341  }
 17342  
 17343  // Do executes the "integrations.projects.locations.integrations.versions.upload" call.
 17344  // Exactly one of
 17345  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse or
 17346  // error will be non-nil. Any non-2xx status code is an error. Response
 17347  // headers are in either
 17348  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse.Server
 17349  // Response.Header or (if a response was returned at all) in
 17350  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17351  // whether the returned error was because http.StatusNotModified was
 17352  // returned.
 17353  func (c *ProjectsLocationsIntegrationsVersionsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse, error) {
 17354  	gensupport.SetOptions(c.urlParams_, opts...)
 17355  	res, err := c.doRequest("json")
 17356  	if res != nil && res.StatusCode == http.StatusNotModified {
 17357  		if res.Body != nil {
 17358  			res.Body.Close()
 17359  		}
 17360  		return nil, gensupport.WrapError(&googleapi.Error{
 17361  			Code:   res.StatusCode,
 17362  			Header: res.Header,
 17363  		})
 17364  	}
 17365  	if err != nil {
 17366  		return nil, err
 17367  	}
 17368  	defer googleapi.CloseBody(res)
 17369  	if err := googleapi.CheckResponse(res); err != nil {
 17370  		return nil, gensupport.WrapError(err)
 17371  	}
 17372  	ret := &GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse{
 17373  		ServerResponse: googleapi.ServerResponse{
 17374  			Header:         res.Header,
 17375  			HTTPStatusCode: res.StatusCode,
 17376  		},
 17377  	}
 17378  	target := &ret
 17379  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17380  		return nil, err
 17381  	}
 17382  	return ret, nil
 17383  	// {
 17384  	//   "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.",
 17385  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions:upload",
 17386  	//   "httpMethod": "POST",
 17387  	//   "id": "integrations.projects.locations.integrations.versions.upload",
 17388  	//   "parameterOrder": [
 17389  	//     "parent"
 17390  	//   ],
 17391  	//   "parameters": {
 17392  	//     "parent": {
 17393  	//       "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}",
 17394  	//       "location": "path",
 17395  	//       "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$",
 17396  	//       "required": true,
 17397  	//       "type": "string"
 17398  	//     }
 17399  	//   },
 17400  	//   "path": "v1alpha/{+parent}/versions:upload",
 17401  	//   "request": {
 17402  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest"
 17403  	//   },
 17404  	//   "response": {
 17405  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse"
 17406  	//   },
 17407  	//   "scopes": [
 17408  	//     "https://www.googleapis.com/auth/cloud-platform"
 17409  	//   ]
 17410  	// }
 17411  
 17412  }
 17413  
 17414  // method id "integrations.projects.locations.products.authConfigs.create":
 17415  
 17416  type ProjectsLocationsProductsAuthConfigsCreateCall struct {
 17417  	s                                        *Service
 17418  	parent                                   string
 17419  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 17420  	urlParams_                               gensupport.URLParams
 17421  	ctx_                                     context.Context
 17422  	header_                                  http.Header
 17423  }
 17424  
 17425  // Create: Creates an auth config record. Fetch corresponding
 17426  // credentials for specific auth types, e.g. access token for OAuth 2.0,
 17427  // JWT token for JWT. Encrypt the auth config with Cloud KMS and store
 17428  // the encrypted credentials in Spanner. Returns the encrypted auth
 17429  // config.
 17430  //
 17431  // - parent: "projects/{project}/locations/{location}" format.
 17432  func (r *ProjectsLocationsProductsAuthConfigsService) Create(parent string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsProductsAuthConfigsCreateCall {
 17433  	c := &ProjectsLocationsProductsAuthConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17434  	c.parent = parent
 17435  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 17436  	return c
 17437  }
 17438  
 17439  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 17440  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 17441  // in PEM format. This string must include the begin header and end
 17442  // footer lines. For example, -----BEGIN CERTIFICATE-----
 17443  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 17444  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 17445  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 17446  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 17447  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 17448  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 17449  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 17450  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 17451  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 17452  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 17453  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 17454  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 17455  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 17456  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsProductsAuthConfigsCreateCall {
 17457  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 17458  	return c
 17459  }
 17460  
 17461  // ClientCertificatePassphrase sets the optional parameter
 17462  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 17463  // private key is not encrypted. Note that 'passphrase' is not the
 17464  // password for web server, but an extra layer of security to protected
 17465  // private key.
 17466  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsProductsAuthConfigsCreateCall {
 17467  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 17468  	return c
 17469  }
 17470  
 17471  // ClientCertificateSslCertificate sets the optional parameter
 17472  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 17473  // PEM format. This string must include the begin header and end footer
 17474  // lines. For example, -----BEGIN CERTIFICATE-----
 17475  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 17476  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 17477  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 17478  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 17479  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 17480  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 17481  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 17482  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 17483  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 17484  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 17485  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 17486  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 17487  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 17488  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsProductsAuthConfigsCreateCall {
 17489  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 17490  	return c
 17491  }
 17492  
 17493  // Fields allows partial responses to be retrieved. See
 17494  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17495  // for more information.
 17496  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsCreateCall {
 17497  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17498  	return c
 17499  }
 17500  
 17501  // Context sets the context to be used in this call's Do method. Any
 17502  // pending HTTP request will be aborted if the provided context is
 17503  // canceled.
 17504  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsCreateCall {
 17505  	c.ctx_ = ctx
 17506  	return c
 17507  }
 17508  
 17509  // Header returns an http.Header that can be modified by the caller to
 17510  // add HTTP headers to the request.
 17511  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Header() http.Header {
 17512  	if c.header_ == nil {
 17513  		c.header_ = make(http.Header)
 17514  	}
 17515  	return c.header_
 17516  }
 17517  
 17518  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) doRequest(alt string) (*http.Response, error) {
 17519  	reqHeaders := make(http.Header)
 17520  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17521  	for k, v := range c.header_ {
 17522  		reqHeaders[k] = v
 17523  	}
 17524  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17525  	var body io.Reader = nil
 17526  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 17527  	if err != nil {
 17528  		return nil, err
 17529  	}
 17530  	reqHeaders.Set("Content-Type", "application/json")
 17531  	c.urlParams_.Set("alt", alt)
 17532  	c.urlParams_.Set("prettyPrint", "false")
 17533  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/authConfigs")
 17534  	urls += "?" + c.urlParams_.Encode()
 17535  	req, err := http.NewRequest("POST", urls, body)
 17536  	if err != nil {
 17537  		return nil, err
 17538  	}
 17539  	req.Header = reqHeaders
 17540  	googleapi.Expand(req.URL, map[string]string{
 17541  		"parent": c.parent,
 17542  	})
 17543  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17544  }
 17545  
 17546  // Do executes the "integrations.projects.locations.products.authConfigs.create" call.
 17547  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 17548  // will be non-nil. Any non-2xx status code is an error. Response
 17549  // headers are in either
 17550  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 17551  // (if a response was returned at all) in
 17552  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17553  // whether the returned error was because http.StatusNotModified was
 17554  // returned.
 17555  func (c *ProjectsLocationsProductsAuthConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 17556  	gensupport.SetOptions(c.urlParams_, opts...)
 17557  	res, err := c.doRequest("json")
 17558  	if res != nil && res.StatusCode == http.StatusNotModified {
 17559  		if res.Body != nil {
 17560  			res.Body.Close()
 17561  		}
 17562  		return nil, gensupport.WrapError(&googleapi.Error{
 17563  			Code:   res.StatusCode,
 17564  			Header: res.Header,
 17565  		})
 17566  	}
 17567  	if err != nil {
 17568  		return nil, err
 17569  	}
 17570  	defer googleapi.CloseBody(res)
 17571  	if err := googleapi.CheckResponse(res); err != nil {
 17572  		return nil, gensupport.WrapError(err)
 17573  	}
 17574  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 17575  		ServerResponse: googleapi.ServerResponse{
 17576  			Header:         res.Header,
 17577  			HTTPStatusCode: res.StatusCode,
 17578  		},
 17579  	}
 17580  	target := &ret
 17581  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17582  		return nil, err
 17583  	}
 17584  	return ret, nil
 17585  	// {
 17586  	//   "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.",
 17587  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs",
 17588  	//   "httpMethod": "POST",
 17589  	//   "id": "integrations.projects.locations.products.authConfigs.create",
 17590  	//   "parameterOrder": [
 17591  	//     "parent"
 17592  	//   ],
 17593  	//   "parameters": {
 17594  	//     "clientCertificate.encryptedPrivateKey": {
 17595  	//       "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-----",
 17596  	//       "location": "query",
 17597  	//       "type": "string"
 17598  	//     },
 17599  	//     "clientCertificate.passphrase": {
 17600  	//       "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.",
 17601  	//       "location": "query",
 17602  	//       "type": "string"
 17603  	//     },
 17604  	//     "clientCertificate.sslCertificate": {
 17605  	//       "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-----",
 17606  	//       "location": "query",
 17607  	//       "type": "string"
 17608  	//     },
 17609  	//     "parent": {
 17610  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 17611  	//       "location": "path",
 17612  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 17613  	//       "required": true,
 17614  	//       "type": "string"
 17615  	//     }
 17616  	//   },
 17617  	//   "path": "v1alpha/{+parent}/authConfigs",
 17618  	//   "request": {
 17619  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 17620  	//   },
 17621  	//   "response": {
 17622  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 17623  	//   },
 17624  	//   "scopes": [
 17625  	//     "https://www.googleapis.com/auth/cloud-platform"
 17626  	//   ]
 17627  	// }
 17628  
 17629  }
 17630  
 17631  // method id "integrations.projects.locations.products.authConfigs.delete":
 17632  
 17633  type ProjectsLocationsProductsAuthConfigsDeleteCall struct {
 17634  	s          *Service
 17635  	name       string
 17636  	urlParams_ gensupport.URLParams
 17637  	ctx_       context.Context
 17638  	header_    http.Header
 17639  }
 17640  
 17641  // Delete: Deletes an auth config.
 17642  //
 17643  // - name: The name that is associated with the AuthConfig.
 17644  func (r *ProjectsLocationsProductsAuthConfigsService) Delete(name string) *ProjectsLocationsProductsAuthConfigsDeleteCall {
 17645  	c := &ProjectsLocationsProductsAuthConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17646  	c.name = name
 17647  	return c
 17648  }
 17649  
 17650  // Fields allows partial responses to be retrieved. See
 17651  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17652  // for more information.
 17653  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsDeleteCall {
 17654  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17655  	return c
 17656  }
 17657  
 17658  // Context sets the context to be used in this call's Do method. Any
 17659  // pending HTTP request will be aborted if the provided context is
 17660  // canceled.
 17661  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsDeleteCall {
 17662  	c.ctx_ = ctx
 17663  	return c
 17664  }
 17665  
 17666  // Header returns an http.Header that can be modified by the caller to
 17667  // add HTTP headers to the request.
 17668  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Header() http.Header {
 17669  	if c.header_ == nil {
 17670  		c.header_ = make(http.Header)
 17671  	}
 17672  	return c.header_
 17673  }
 17674  
 17675  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) doRequest(alt string) (*http.Response, error) {
 17676  	reqHeaders := make(http.Header)
 17677  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17678  	for k, v := range c.header_ {
 17679  		reqHeaders[k] = v
 17680  	}
 17681  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17682  	var body io.Reader = nil
 17683  	c.urlParams_.Set("alt", alt)
 17684  	c.urlParams_.Set("prettyPrint", "false")
 17685  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 17686  	urls += "?" + c.urlParams_.Encode()
 17687  	req, err := http.NewRequest("DELETE", urls, body)
 17688  	if err != nil {
 17689  		return nil, err
 17690  	}
 17691  	req.Header = reqHeaders
 17692  	googleapi.Expand(req.URL, map[string]string{
 17693  		"name": c.name,
 17694  	})
 17695  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17696  }
 17697  
 17698  // Do executes the "integrations.projects.locations.products.authConfigs.delete" call.
 17699  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 17700  // non-2xx status code is an error. Response headers are in either
 17701  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 17702  // returned at all) in error.(*googleapi.Error).Header. Use
 17703  // googleapi.IsNotModified to check whether the returned error was
 17704  // because http.StatusNotModified was returned.
 17705  func (c *ProjectsLocationsProductsAuthConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 17706  	gensupport.SetOptions(c.urlParams_, opts...)
 17707  	res, err := c.doRequest("json")
 17708  	if res != nil && res.StatusCode == http.StatusNotModified {
 17709  		if res.Body != nil {
 17710  			res.Body.Close()
 17711  		}
 17712  		return nil, gensupport.WrapError(&googleapi.Error{
 17713  			Code:   res.StatusCode,
 17714  			Header: res.Header,
 17715  		})
 17716  	}
 17717  	if err != nil {
 17718  		return nil, err
 17719  	}
 17720  	defer googleapi.CloseBody(res)
 17721  	if err := googleapi.CheckResponse(res); err != nil {
 17722  		return nil, gensupport.WrapError(err)
 17723  	}
 17724  	ret := &GoogleProtobufEmpty{
 17725  		ServerResponse: googleapi.ServerResponse{
 17726  			Header:         res.Header,
 17727  			HTTPStatusCode: res.StatusCode,
 17728  		},
 17729  	}
 17730  	target := &ret
 17731  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17732  		return nil, err
 17733  	}
 17734  	return ret, nil
 17735  	// {
 17736  	//   "description": "Deletes an auth config.",
 17737  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}",
 17738  	//   "httpMethod": "DELETE",
 17739  	//   "id": "integrations.projects.locations.products.authConfigs.delete",
 17740  	//   "parameterOrder": [
 17741  	//     "name"
 17742  	//   ],
 17743  	//   "parameters": {
 17744  	//     "name": {
 17745  	//       "description": "Required. The name that is associated with the AuthConfig.",
 17746  	//       "location": "path",
 17747  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$",
 17748  	//       "required": true,
 17749  	//       "type": "string"
 17750  	//     }
 17751  	//   },
 17752  	//   "path": "v1alpha/{+name}",
 17753  	//   "response": {
 17754  	//     "$ref": "GoogleProtobufEmpty"
 17755  	//   },
 17756  	//   "scopes": [
 17757  	//     "https://www.googleapis.com/auth/cloud-platform"
 17758  	//   ]
 17759  	// }
 17760  
 17761  }
 17762  
 17763  // method id "integrations.projects.locations.products.authConfigs.get":
 17764  
 17765  type ProjectsLocationsProductsAuthConfigsGetCall struct {
 17766  	s            *Service
 17767  	name         string
 17768  	urlParams_   gensupport.URLParams
 17769  	ifNoneMatch_ string
 17770  	ctx_         context.Context
 17771  	header_      http.Header
 17772  }
 17773  
 17774  // Get: Gets a complete auth config. If the auth config doesn't exist,
 17775  // Code.NOT_FOUND exception will be thrown. Returns the decrypted auth
 17776  // config.
 17777  //
 17778  // - name: The name that is associated with the AuthConfig.
 17779  func (r *ProjectsLocationsProductsAuthConfigsService) Get(name string) *ProjectsLocationsProductsAuthConfigsGetCall {
 17780  	c := &ProjectsLocationsProductsAuthConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17781  	c.name = name
 17782  	return c
 17783  }
 17784  
 17785  // Fields allows partial responses to be retrieved. See
 17786  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17787  // for more information.
 17788  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsGetCall {
 17789  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17790  	return c
 17791  }
 17792  
 17793  // IfNoneMatch sets the optional parameter which makes the operation
 17794  // fail if the object's ETag matches the given value. This is useful for
 17795  // getting updates only after the object has changed since the last
 17796  // request. Use googleapi.IsNotModified to check whether the response
 17797  // error from Do is the result of In-None-Match.
 17798  func (c *ProjectsLocationsProductsAuthConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsAuthConfigsGetCall {
 17799  	c.ifNoneMatch_ = entityTag
 17800  	return c
 17801  }
 17802  
 17803  // Context sets the context to be used in this call's Do method. Any
 17804  // pending HTTP request will be aborted if the provided context is
 17805  // canceled.
 17806  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsGetCall {
 17807  	c.ctx_ = ctx
 17808  	return c
 17809  }
 17810  
 17811  // Header returns an http.Header that can be modified by the caller to
 17812  // add HTTP headers to the request.
 17813  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Header() http.Header {
 17814  	if c.header_ == nil {
 17815  		c.header_ = make(http.Header)
 17816  	}
 17817  	return c.header_
 17818  }
 17819  
 17820  func (c *ProjectsLocationsProductsAuthConfigsGetCall) doRequest(alt string) (*http.Response, error) {
 17821  	reqHeaders := make(http.Header)
 17822  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 17823  	for k, v := range c.header_ {
 17824  		reqHeaders[k] = v
 17825  	}
 17826  	reqHeaders.Set("User-Agent", c.s.userAgent())
 17827  	if c.ifNoneMatch_ != "" {
 17828  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 17829  	}
 17830  	var body io.Reader = nil
 17831  	c.urlParams_.Set("alt", alt)
 17832  	c.urlParams_.Set("prettyPrint", "false")
 17833  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 17834  	urls += "?" + c.urlParams_.Encode()
 17835  	req, err := http.NewRequest("GET", urls, body)
 17836  	if err != nil {
 17837  		return nil, err
 17838  	}
 17839  	req.Header = reqHeaders
 17840  	googleapi.Expand(req.URL, map[string]string{
 17841  		"name": c.name,
 17842  	})
 17843  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 17844  }
 17845  
 17846  // Do executes the "integrations.projects.locations.products.authConfigs.get" call.
 17847  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 17848  // will be non-nil. Any non-2xx status code is an error. Response
 17849  // headers are in either
 17850  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 17851  // (if a response was returned at all) in
 17852  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 17853  // whether the returned error was because http.StatusNotModified was
 17854  // returned.
 17855  func (c *ProjectsLocationsProductsAuthConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 17856  	gensupport.SetOptions(c.urlParams_, opts...)
 17857  	res, err := c.doRequest("json")
 17858  	if res != nil && res.StatusCode == http.StatusNotModified {
 17859  		if res.Body != nil {
 17860  			res.Body.Close()
 17861  		}
 17862  		return nil, gensupport.WrapError(&googleapi.Error{
 17863  			Code:   res.StatusCode,
 17864  			Header: res.Header,
 17865  		})
 17866  	}
 17867  	if err != nil {
 17868  		return nil, err
 17869  	}
 17870  	defer googleapi.CloseBody(res)
 17871  	if err := googleapi.CheckResponse(res); err != nil {
 17872  		return nil, gensupport.WrapError(err)
 17873  	}
 17874  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 17875  		ServerResponse: googleapi.ServerResponse{
 17876  			Header:         res.Header,
 17877  			HTTPStatusCode: res.StatusCode,
 17878  		},
 17879  	}
 17880  	target := &ret
 17881  	if err := gensupport.DecodeResponse(target, res); err != nil {
 17882  		return nil, err
 17883  	}
 17884  	return ret, nil
 17885  	// {
 17886  	//   "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.",
 17887  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}",
 17888  	//   "httpMethod": "GET",
 17889  	//   "id": "integrations.projects.locations.products.authConfigs.get",
 17890  	//   "parameterOrder": [
 17891  	//     "name"
 17892  	//   ],
 17893  	//   "parameters": {
 17894  	//     "name": {
 17895  	//       "description": "Required. The name that is associated with the AuthConfig.",
 17896  	//       "location": "path",
 17897  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$",
 17898  	//       "required": true,
 17899  	//       "type": "string"
 17900  	//     }
 17901  	//   },
 17902  	//   "path": "v1alpha/{+name}",
 17903  	//   "response": {
 17904  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 17905  	//   },
 17906  	//   "scopes": [
 17907  	//     "https://www.googleapis.com/auth/cloud-platform"
 17908  	//   ]
 17909  	// }
 17910  
 17911  }
 17912  
 17913  // method id "integrations.projects.locations.products.authConfigs.list":
 17914  
 17915  type ProjectsLocationsProductsAuthConfigsListCall struct {
 17916  	s            *Service
 17917  	parent       string
 17918  	urlParams_   gensupport.URLParams
 17919  	ifNoneMatch_ string
 17920  	ctx_         context.Context
 17921  	header_      http.Header
 17922  }
 17923  
 17924  // List: Lists all auth configs that match the filter. Restrict to auth
 17925  // configs belong to the current client only.
 17926  //
 17927  // - parent: The client, which owns this collection of AuthConfigs.
 17928  func (r *ProjectsLocationsProductsAuthConfigsService) List(parent string) *ProjectsLocationsProductsAuthConfigsListCall {
 17929  	c := &ProjectsLocationsProductsAuthConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 17930  	c.parent = parent
 17931  	return c
 17932  }
 17933  
 17934  // Filter sets the optional parameter "filter": Filtering as supported
 17935  // in
 17936  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 17937  func (c *ProjectsLocationsProductsAuthConfigsListCall) Filter(filter string) *ProjectsLocationsProductsAuthConfigsListCall {
 17938  	c.urlParams_.Set("filter", filter)
 17939  	return c
 17940  }
 17941  
 17942  // PageSize sets the optional parameter "pageSize": The size of entries
 17943  // in the response. If unspecified, defaults to 100.
 17944  func (c *ProjectsLocationsProductsAuthConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsAuthConfigsListCall {
 17945  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 17946  	return c
 17947  }
 17948  
 17949  // PageToken sets the optional parameter "pageToken": The token returned
 17950  // in the previous response.
 17951  func (c *ProjectsLocationsProductsAuthConfigsListCall) PageToken(pageToken string) *ProjectsLocationsProductsAuthConfigsListCall {
 17952  	c.urlParams_.Set("pageToken", pageToken)
 17953  	return c
 17954  }
 17955  
 17956  // ReadMask sets the optional parameter "readMask": The mask which
 17957  // specifies fields that need to be returned in the AuthConfig's
 17958  // response.
 17959  func (c *ProjectsLocationsProductsAuthConfigsListCall) ReadMask(readMask string) *ProjectsLocationsProductsAuthConfigsListCall {
 17960  	c.urlParams_.Set("readMask", readMask)
 17961  	return c
 17962  }
 17963  
 17964  // Fields allows partial responses to be retrieved. See
 17965  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 17966  // for more information.
 17967  func (c *ProjectsLocationsProductsAuthConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsListCall {
 17968  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 17969  	return c
 17970  }
 17971  
 17972  // IfNoneMatch sets the optional parameter which makes the operation
 17973  // fail if the object's ETag matches the given value. This is useful for
 17974  // getting updates only after the object has changed since the last
 17975  // request. Use googleapi.IsNotModified to check whether the response
 17976  // error from Do is the result of In-None-Match.
 17977  func (c *ProjectsLocationsProductsAuthConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsAuthConfigsListCall {
 17978  	c.ifNoneMatch_ = entityTag
 17979  	return c
 17980  }
 17981  
 17982  // Context sets the context to be used in this call's Do method. Any
 17983  // pending HTTP request will be aborted if the provided context is
 17984  // canceled.
 17985  func (c *ProjectsLocationsProductsAuthConfigsListCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsListCall {
 17986  	c.ctx_ = ctx
 17987  	return c
 17988  }
 17989  
 17990  // Header returns an http.Header that can be modified by the caller to
 17991  // add HTTP headers to the request.
 17992  func (c *ProjectsLocationsProductsAuthConfigsListCall) Header() http.Header {
 17993  	if c.header_ == nil {
 17994  		c.header_ = make(http.Header)
 17995  	}
 17996  	return c.header_
 17997  }
 17998  
 17999  func (c *ProjectsLocationsProductsAuthConfigsListCall) doRequest(alt string) (*http.Response, error) {
 18000  	reqHeaders := make(http.Header)
 18001  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18002  	for k, v := range c.header_ {
 18003  		reqHeaders[k] = v
 18004  	}
 18005  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18006  	if c.ifNoneMatch_ != "" {
 18007  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18008  	}
 18009  	var body io.Reader = nil
 18010  	c.urlParams_.Set("alt", alt)
 18011  	c.urlParams_.Set("prettyPrint", "false")
 18012  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/authConfigs")
 18013  	urls += "?" + c.urlParams_.Encode()
 18014  	req, err := http.NewRequest("GET", urls, body)
 18015  	if err != nil {
 18016  		return nil, err
 18017  	}
 18018  	req.Header = reqHeaders
 18019  	googleapi.Expand(req.URL, map[string]string{
 18020  		"parent": c.parent,
 18021  	})
 18022  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18023  }
 18024  
 18025  // Do executes the "integrations.projects.locations.products.authConfigs.list" call.
 18026  // Exactly one of *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse
 18027  // or error will be non-nil. Any non-2xx status code is an error.
 18028  // Response headers are in either
 18029  // *GoogleCloudIntegrationsV1alphaListAuthConfigsResponse.ServerResponse.
 18030  // Header or (if a response was returned at all) in
 18031  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18032  // whether the returned error was because http.StatusNotModified was
 18033  // returned.
 18034  func (c *ProjectsLocationsProductsAuthConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse, error) {
 18035  	gensupport.SetOptions(c.urlParams_, opts...)
 18036  	res, err := c.doRequest("json")
 18037  	if res != nil && res.StatusCode == http.StatusNotModified {
 18038  		if res.Body != nil {
 18039  			res.Body.Close()
 18040  		}
 18041  		return nil, gensupport.WrapError(&googleapi.Error{
 18042  			Code:   res.StatusCode,
 18043  			Header: res.Header,
 18044  		})
 18045  	}
 18046  	if err != nil {
 18047  		return nil, err
 18048  	}
 18049  	defer googleapi.CloseBody(res)
 18050  	if err := googleapi.CheckResponse(res); err != nil {
 18051  		return nil, gensupport.WrapError(err)
 18052  	}
 18053  	ret := &GoogleCloudIntegrationsV1alphaListAuthConfigsResponse{
 18054  		ServerResponse: googleapi.ServerResponse{
 18055  			Header:         res.Header,
 18056  			HTTPStatusCode: res.StatusCode,
 18057  		},
 18058  	}
 18059  	target := &ret
 18060  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18061  		return nil, err
 18062  	}
 18063  	return ret, nil
 18064  	// {
 18065  	//   "description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.",
 18066  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs",
 18067  	//   "httpMethod": "GET",
 18068  	//   "id": "integrations.projects.locations.products.authConfigs.list",
 18069  	//   "parameterOrder": [
 18070  	//     "parent"
 18071  	//   ],
 18072  	//   "parameters": {
 18073  	//     "filter": {
 18074  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 18075  	//       "location": "query",
 18076  	//       "type": "string"
 18077  	//     },
 18078  	//     "pageSize": {
 18079  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 18080  	//       "format": "int32",
 18081  	//       "location": "query",
 18082  	//       "type": "integer"
 18083  	//     },
 18084  	//     "pageToken": {
 18085  	//       "description": "The token returned in the previous response.",
 18086  	//       "location": "query",
 18087  	//       "type": "string"
 18088  	//     },
 18089  	//     "parent": {
 18090  	//       "description": "Required. The client, which owns this collection of AuthConfigs.",
 18091  	//       "location": "path",
 18092  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 18093  	//       "required": true,
 18094  	//       "type": "string"
 18095  	//     },
 18096  	//     "readMask": {
 18097  	//       "description": "The mask which specifies fields that need to be returned in the AuthConfig's response.",
 18098  	//       "format": "google-fieldmask",
 18099  	//       "location": "query",
 18100  	//       "type": "string"
 18101  	//     }
 18102  	//   },
 18103  	//   "path": "v1alpha/{+parent}/authConfigs",
 18104  	//   "response": {
 18105  	//     "$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse"
 18106  	//   },
 18107  	//   "scopes": [
 18108  	//     "https://www.googleapis.com/auth/cloud-platform"
 18109  	//   ]
 18110  	// }
 18111  
 18112  }
 18113  
 18114  // Pages invokes f for each page of results.
 18115  // A non-nil error returned from f will halt the iteration.
 18116  // The provided context supersedes any context provided to the Context method.
 18117  func (c *ProjectsLocationsProductsAuthConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListAuthConfigsResponse) error) error {
 18118  	c.ctx_ = ctx
 18119  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 18120  	for {
 18121  		x, err := c.Do()
 18122  		if err != nil {
 18123  			return err
 18124  		}
 18125  		if err := f(x); err != nil {
 18126  			return err
 18127  		}
 18128  		if x.NextPageToken == "" {
 18129  			return nil
 18130  		}
 18131  		c.PageToken(x.NextPageToken)
 18132  	}
 18133  }
 18134  
 18135  // method id "integrations.projects.locations.products.authConfigs.patch":
 18136  
 18137  type ProjectsLocationsProductsAuthConfigsPatchCall struct {
 18138  	s                                        *Service
 18139  	name                                     string
 18140  	googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig
 18141  	urlParams_                               gensupport.URLParams
 18142  	ctx_                                     context.Context
 18143  	header_                                  http.Header
 18144  }
 18145  
 18146  // Patch: Updates an auth config. If credential is updated, fetch the
 18147  // encrypted auth config from Spanner, decrypt with Cloud KMS key,
 18148  // update the credential fields, re-encrypt with Cloud KMS key and
 18149  // update the Spanner record. For other fields, directly update the
 18150  // Spanner record. Returns the encrypted auth config.
 18151  //
 18152  //   - name: Resource name of the SFDC instance
 18153  //     projects/{project}/locations/{location}/authConfigs/{authConfig}.
 18154  func (r *ProjectsLocationsProductsAuthConfigsService) Patch(name string, googlecloudintegrationsv1alphaauthconfig *GoogleCloudIntegrationsV1alphaAuthConfig) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18155  	c := &ProjectsLocationsProductsAuthConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18156  	c.name = name
 18157  	c.googlecloudintegrationsv1alphaauthconfig = googlecloudintegrationsv1alphaauthconfig
 18158  	return c
 18159  }
 18160  
 18161  // ClientCertificateEncryptedPrivateKey sets the optional parameter
 18162  // "clientCertificate.encryptedPrivateKey": The ssl certificate encoded
 18163  // in PEM format. This string must include the begin header and end
 18164  // footer lines. For example, -----BEGIN CERTIFICATE-----
 18165  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 18166  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 18167  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 18168  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 18169  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 18170  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 18171  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 18172  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 18173  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 18174  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 18175  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 18176  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 18177  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 18178  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) ClientCertificateEncryptedPrivateKey(clientCertificateEncryptedPrivateKey string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18179  	c.urlParams_.Set("clientCertificate.encryptedPrivateKey", clientCertificateEncryptedPrivateKey)
 18180  	return c
 18181  }
 18182  
 18183  // ClientCertificatePassphrase sets the optional parameter
 18184  // "clientCertificate.passphrase": 'passphrase' should be left unset if
 18185  // private key is not encrypted. Note that 'passphrase' is not the
 18186  // password for web server, but an extra layer of security to protected
 18187  // private key.
 18188  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) ClientCertificatePassphrase(clientCertificatePassphrase string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18189  	c.urlParams_.Set("clientCertificate.passphrase", clientCertificatePassphrase)
 18190  	return c
 18191  }
 18192  
 18193  // ClientCertificateSslCertificate sets the optional parameter
 18194  // "clientCertificate.sslCertificate": The ssl certificate encoded in
 18195  // PEM format. This string must include the begin header and end footer
 18196  // lines. For example, -----BEGIN CERTIFICATE-----
 18197  // MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
 18198  // BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
 18199  // MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
 18200  // MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
 18201  // vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
 18202  // JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
 18203  // xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
 18204  // AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
 18205  // Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
 18206  // Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
 18207  // JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
 18208  // 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
 18209  // wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
 18210  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) ClientCertificateSslCertificate(clientCertificateSslCertificate string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18211  	c.urlParams_.Set("clientCertificate.sslCertificate", clientCertificateSslCertificate)
 18212  	return c
 18213  }
 18214  
 18215  // UpdateMask sets the optional parameter "updateMask": Field mask
 18216  // specifying the fields in the above AuthConfig that have been modified
 18217  // and need to be updated.
 18218  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18219  	c.urlParams_.Set("updateMask", updateMask)
 18220  	return c
 18221  }
 18222  
 18223  // Fields allows partial responses to be retrieved. See
 18224  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18225  // for more information.
 18226  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18227  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18228  	return c
 18229  }
 18230  
 18231  // Context sets the context to be used in this call's Do method. Any
 18232  // pending HTTP request will be aborted if the provided context is
 18233  // canceled.
 18234  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsAuthConfigsPatchCall {
 18235  	c.ctx_ = ctx
 18236  	return c
 18237  }
 18238  
 18239  // Header returns an http.Header that can be modified by the caller to
 18240  // add HTTP headers to the request.
 18241  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Header() http.Header {
 18242  	if c.header_ == nil {
 18243  		c.header_ = make(http.Header)
 18244  	}
 18245  	return c.header_
 18246  }
 18247  
 18248  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) doRequest(alt string) (*http.Response, error) {
 18249  	reqHeaders := make(http.Header)
 18250  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18251  	for k, v := range c.header_ {
 18252  		reqHeaders[k] = v
 18253  	}
 18254  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18255  	var body io.Reader = nil
 18256  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaauthconfig)
 18257  	if err != nil {
 18258  		return nil, err
 18259  	}
 18260  	reqHeaders.Set("Content-Type", "application/json")
 18261  	c.urlParams_.Set("alt", alt)
 18262  	c.urlParams_.Set("prettyPrint", "false")
 18263  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 18264  	urls += "?" + c.urlParams_.Encode()
 18265  	req, err := http.NewRequest("PATCH", urls, body)
 18266  	if err != nil {
 18267  		return nil, err
 18268  	}
 18269  	req.Header = reqHeaders
 18270  	googleapi.Expand(req.URL, map[string]string{
 18271  		"name": c.name,
 18272  	})
 18273  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18274  }
 18275  
 18276  // Do executes the "integrations.projects.locations.products.authConfigs.patch" call.
 18277  // Exactly one of *GoogleCloudIntegrationsV1alphaAuthConfig or error
 18278  // will be non-nil. Any non-2xx status code is an error. Response
 18279  // headers are in either
 18280  // *GoogleCloudIntegrationsV1alphaAuthConfig.ServerResponse.Header or
 18281  // (if a response was returned at all) in
 18282  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18283  // whether the returned error was because http.StatusNotModified was
 18284  // returned.
 18285  func (c *ProjectsLocationsProductsAuthConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaAuthConfig, error) {
 18286  	gensupport.SetOptions(c.urlParams_, opts...)
 18287  	res, err := c.doRequest("json")
 18288  	if res != nil && res.StatusCode == http.StatusNotModified {
 18289  		if res.Body != nil {
 18290  			res.Body.Close()
 18291  		}
 18292  		return nil, gensupport.WrapError(&googleapi.Error{
 18293  			Code:   res.StatusCode,
 18294  			Header: res.Header,
 18295  		})
 18296  	}
 18297  	if err != nil {
 18298  		return nil, err
 18299  	}
 18300  	defer googleapi.CloseBody(res)
 18301  	if err := googleapi.CheckResponse(res); err != nil {
 18302  		return nil, gensupport.WrapError(err)
 18303  	}
 18304  	ret := &GoogleCloudIntegrationsV1alphaAuthConfig{
 18305  		ServerResponse: googleapi.ServerResponse{
 18306  			Header:         res.Header,
 18307  			HTTPStatusCode: res.StatusCode,
 18308  		},
 18309  	}
 18310  	target := &ret
 18311  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18312  		return nil, err
 18313  	}
 18314  	return ret, nil
 18315  	// {
 18316  	//   "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.",
 18317  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}",
 18318  	//   "httpMethod": "PATCH",
 18319  	//   "id": "integrations.projects.locations.products.authConfigs.patch",
 18320  	//   "parameterOrder": [
 18321  	//     "name"
 18322  	//   ],
 18323  	//   "parameters": {
 18324  	//     "clientCertificate.encryptedPrivateKey": {
 18325  	//       "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-----",
 18326  	//       "location": "query",
 18327  	//       "type": "string"
 18328  	//     },
 18329  	//     "clientCertificate.passphrase": {
 18330  	//       "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.",
 18331  	//       "location": "query",
 18332  	//       "type": "string"
 18333  	//     },
 18334  	//     "clientCertificate.sslCertificate": {
 18335  	//       "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-----",
 18336  	//       "location": "query",
 18337  	//       "type": "string"
 18338  	//     },
 18339  	//     "name": {
 18340  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.",
 18341  	//       "location": "path",
 18342  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$",
 18343  	//       "required": true,
 18344  	//       "type": "string"
 18345  	//     },
 18346  	//     "updateMask": {
 18347  	//       "description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.",
 18348  	//       "format": "google-fieldmask",
 18349  	//       "location": "query",
 18350  	//       "type": "string"
 18351  	//     }
 18352  	//   },
 18353  	//   "path": "v1alpha/{+name}",
 18354  	//   "request": {
 18355  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 18356  	//   },
 18357  	//   "response": {
 18358  	//     "$ref": "GoogleCloudIntegrationsV1alphaAuthConfig"
 18359  	//   },
 18360  	//   "scopes": [
 18361  	//     "https://www.googleapis.com/auth/cloud-platform"
 18362  	//   ]
 18363  	// }
 18364  
 18365  }
 18366  
 18367  // method id "integrations.projects.locations.products.certificates.create":
 18368  
 18369  type ProjectsLocationsProductsCertificatesCreateCall struct {
 18370  	s                                         *Service
 18371  	parent                                    string
 18372  	googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate
 18373  	urlParams_                                gensupport.URLParams
 18374  	ctx_                                      context.Context
 18375  	header_                                   http.Header
 18376  }
 18377  
 18378  // Create: Creates a new certificate. The certificate will be registered
 18379  // to the trawler service and will be encrypted using cloud KMS and
 18380  // stored in Spanner Returns the certificate.
 18381  //
 18382  // - parent: "projects/{project}/locations/{location}" format.
 18383  func (r *ProjectsLocationsProductsCertificatesService) Create(parent string, googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate) *ProjectsLocationsProductsCertificatesCreateCall {
 18384  	c := &ProjectsLocationsProductsCertificatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18385  	c.parent = parent
 18386  	c.googlecloudintegrationsv1alphacertificate = googlecloudintegrationsv1alphacertificate
 18387  	return c
 18388  }
 18389  
 18390  // Fields allows partial responses to be retrieved. See
 18391  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18392  // for more information.
 18393  func (c *ProjectsLocationsProductsCertificatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesCreateCall {
 18394  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18395  	return c
 18396  }
 18397  
 18398  // Context sets the context to be used in this call's Do method. Any
 18399  // pending HTTP request will be aborted if the provided context is
 18400  // canceled.
 18401  func (c *ProjectsLocationsProductsCertificatesCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesCreateCall {
 18402  	c.ctx_ = ctx
 18403  	return c
 18404  }
 18405  
 18406  // Header returns an http.Header that can be modified by the caller to
 18407  // add HTTP headers to the request.
 18408  func (c *ProjectsLocationsProductsCertificatesCreateCall) Header() http.Header {
 18409  	if c.header_ == nil {
 18410  		c.header_ = make(http.Header)
 18411  	}
 18412  	return c.header_
 18413  }
 18414  
 18415  func (c *ProjectsLocationsProductsCertificatesCreateCall) doRequest(alt string) (*http.Response, error) {
 18416  	reqHeaders := make(http.Header)
 18417  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18418  	for k, v := range c.header_ {
 18419  		reqHeaders[k] = v
 18420  	}
 18421  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18422  	var body io.Reader = nil
 18423  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacertificate)
 18424  	if err != nil {
 18425  		return nil, err
 18426  	}
 18427  	reqHeaders.Set("Content-Type", "application/json")
 18428  	c.urlParams_.Set("alt", alt)
 18429  	c.urlParams_.Set("prettyPrint", "false")
 18430  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/certificates")
 18431  	urls += "?" + c.urlParams_.Encode()
 18432  	req, err := http.NewRequest("POST", urls, body)
 18433  	if err != nil {
 18434  		return nil, err
 18435  	}
 18436  	req.Header = reqHeaders
 18437  	googleapi.Expand(req.URL, map[string]string{
 18438  		"parent": c.parent,
 18439  	})
 18440  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18441  }
 18442  
 18443  // Do executes the "integrations.projects.locations.products.certificates.create" call.
 18444  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 18445  // will be non-nil. Any non-2xx status code is an error. Response
 18446  // headers are in either
 18447  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 18448  // (if a response was returned at all) in
 18449  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18450  // whether the returned error was because http.StatusNotModified was
 18451  // returned.
 18452  func (c *ProjectsLocationsProductsCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 18453  	gensupport.SetOptions(c.urlParams_, opts...)
 18454  	res, err := c.doRequest("json")
 18455  	if res != nil && res.StatusCode == http.StatusNotModified {
 18456  		if res.Body != nil {
 18457  			res.Body.Close()
 18458  		}
 18459  		return nil, gensupport.WrapError(&googleapi.Error{
 18460  			Code:   res.StatusCode,
 18461  			Header: res.Header,
 18462  		})
 18463  	}
 18464  	if err != nil {
 18465  		return nil, err
 18466  	}
 18467  	defer googleapi.CloseBody(res)
 18468  	if err := googleapi.CheckResponse(res); err != nil {
 18469  		return nil, gensupport.WrapError(err)
 18470  	}
 18471  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 18472  		ServerResponse: googleapi.ServerResponse{
 18473  			Header:         res.Header,
 18474  			HTTPStatusCode: res.StatusCode,
 18475  		},
 18476  	}
 18477  	target := &ret
 18478  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18479  		return nil, err
 18480  	}
 18481  	return ret, nil
 18482  	// {
 18483  	//   "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.",
 18484  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates",
 18485  	//   "httpMethod": "POST",
 18486  	//   "id": "integrations.projects.locations.products.certificates.create",
 18487  	//   "parameterOrder": [
 18488  	//     "parent"
 18489  	//   ],
 18490  	//   "parameters": {
 18491  	//     "parent": {
 18492  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 18493  	//       "location": "path",
 18494  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 18495  	//       "required": true,
 18496  	//       "type": "string"
 18497  	//     }
 18498  	//   },
 18499  	//   "path": "v1alpha/{+parent}/certificates",
 18500  	//   "request": {
 18501  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 18502  	//   },
 18503  	//   "response": {
 18504  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 18505  	//   },
 18506  	//   "scopes": [
 18507  	//     "https://www.googleapis.com/auth/cloud-platform"
 18508  	//   ]
 18509  	// }
 18510  
 18511  }
 18512  
 18513  // method id "integrations.projects.locations.products.certificates.delete":
 18514  
 18515  type ProjectsLocationsProductsCertificatesDeleteCall struct {
 18516  	s          *Service
 18517  	name       string
 18518  	urlParams_ gensupport.URLParams
 18519  	ctx_       context.Context
 18520  	header_    http.Header
 18521  }
 18522  
 18523  // Delete: Delete a certificate
 18524  //
 18525  // - name: The name that is associated with the Certificate.
 18526  func (r *ProjectsLocationsProductsCertificatesService) Delete(name string) *ProjectsLocationsProductsCertificatesDeleteCall {
 18527  	c := &ProjectsLocationsProductsCertificatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18528  	c.name = name
 18529  	return c
 18530  }
 18531  
 18532  // Fields allows partial responses to be retrieved. See
 18533  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18534  // for more information.
 18535  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesDeleteCall {
 18536  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18537  	return c
 18538  }
 18539  
 18540  // Context sets the context to be used in this call's Do method. Any
 18541  // pending HTTP request will be aborted if the provided context is
 18542  // canceled.
 18543  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesDeleteCall {
 18544  	c.ctx_ = ctx
 18545  	return c
 18546  }
 18547  
 18548  // Header returns an http.Header that can be modified by the caller to
 18549  // add HTTP headers to the request.
 18550  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Header() http.Header {
 18551  	if c.header_ == nil {
 18552  		c.header_ = make(http.Header)
 18553  	}
 18554  	return c.header_
 18555  }
 18556  
 18557  func (c *ProjectsLocationsProductsCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) {
 18558  	reqHeaders := make(http.Header)
 18559  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18560  	for k, v := range c.header_ {
 18561  		reqHeaders[k] = v
 18562  	}
 18563  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18564  	var body io.Reader = nil
 18565  	c.urlParams_.Set("alt", alt)
 18566  	c.urlParams_.Set("prettyPrint", "false")
 18567  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 18568  	urls += "?" + c.urlParams_.Encode()
 18569  	req, err := http.NewRequest("DELETE", urls, body)
 18570  	if err != nil {
 18571  		return nil, err
 18572  	}
 18573  	req.Header = reqHeaders
 18574  	googleapi.Expand(req.URL, map[string]string{
 18575  		"name": c.name,
 18576  	})
 18577  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18578  }
 18579  
 18580  // Do executes the "integrations.projects.locations.products.certificates.delete" call.
 18581  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 18582  // non-2xx status code is an error. Response headers are in either
 18583  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 18584  // returned at all) in error.(*googleapi.Error).Header. Use
 18585  // googleapi.IsNotModified to check whether the returned error was
 18586  // because http.StatusNotModified was returned.
 18587  func (c *ProjectsLocationsProductsCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 18588  	gensupport.SetOptions(c.urlParams_, opts...)
 18589  	res, err := c.doRequest("json")
 18590  	if res != nil && res.StatusCode == http.StatusNotModified {
 18591  		if res.Body != nil {
 18592  			res.Body.Close()
 18593  		}
 18594  		return nil, gensupport.WrapError(&googleapi.Error{
 18595  			Code:   res.StatusCode,
 18596  			Header: res.Header,
 18597  		})
 18598  	}
 18599  	if err != nil {
 18600  		return nil, err
 18601  	}
 18602  	defer googleapi.CloseBody(res)
 18603  	if err := googleapi.CheckResponse(res); err != nil {
 18604  		return nil, gensupport.WrapError(err)
 18605  	}
 18606  	ret := &GoogleProtobufEmpty{
 18607  		ServerResponse: googleapi.ServerResponse{
 18608  			Header:         res.Header,
 18609  			HTTPStatusCode: res.StatusCode,
 18610  		},
 18611  	}
 18612  	target := &ret
 18613  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18614  		return nil, err
 18615  	}
 18616  	return ret, nil
 18617  	// {
 18618  	//   "description": "Delete a certificate",
 18619  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}",
 18620  	//   "httpMethod": "DELETE",
 18621  	//   "id": "integrations.projects.locations.products.certificates.delete",
 18622  	//   "parameterOrder": [
 18623  	//     "name"
 18624  	//   ],
 18625  	//   "parameters": {
 18626  	//     "name": {
 18627  	//       "description": "Required. The name that is associated with the Certificate.",
 18628  	//       "location": "path",
 18629  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$",
 18630  	//       "required": true,
 18631  	//       "type": "string"
 18632  	//     }
 18633  	//   },
 18634  	//   "path": "v1alpha/{+name}",
 18635  	//   "response": {
 18636  	//     "$ref": "GoogleProtobufEmpty"
 18637  	//   },
 18638  	//   "scopes": [
 18639  	//     "https://www.googleapis.com/auth/cloud-platform"
 18640  	//   ]
 18641  	// }
 18642  
 18643  }
 18644  
 18645  // method id "integrations.projects.locations.products.certificates.get":
 18646  
 18647  type ProjectsLocationsProductsCertificatesGetCall struct {
 18648  	s            *Service
 18649  	name         string
 18650  	urlParams_   gensupport.URLParams
 18651  	ifNoneMatch_ string
 18652  	ctx_         context.Context
 18653  	header_      http.Header
 18654  }
 18655  
 18656  // Get: Get a certificates in the specified project.
 18657  //
 18658  //   - name: The certificate to retrieve. Format:
 18659  //     projects/{project}/locations/{location}/certificates/{certificate}.
 18660  func (r *ProjectsLocationsProductsCertificatesService) Get(name string) *ProjectsLocationsProductsCertificatesGetCall {
 18661  	c := &ProjectsLocationsProductsCertificatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18662  	c.name = name
 18663  	return c
 18664  }
 18665  
 18666  // Fields allows partial responses to be retrieved. See
 18667  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18668  // for more information.
 18669  func (c *ProjectsLocationsProductsCertificatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesGetCall {
 18670  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18671  	return c
 18672  }
 18673  
 18674  // IfNoneMatch sets the optional parameter which makes the operation
 18675  // fail if the object's ETag matches the given value. This is useful for
 18676  // getting updates only after the object has changed since the last
 18677  // request. Use googleapi.IsNotModified to check whether the response
 18678  // error from Do is the result of In-None-Match.
 18679  func (c *ProjectsLocationsProductsCertificatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsCertificatesGetCall {
 18680  	c.ifNoneMatch_ = entityTag
 18681  	return c
 18682  }
 18683  
 18684  // Context sets the context to be used in this call's Do method. Any
 18685  // pending HTTP request will be aborted if the provided context is
 18686  // canceled.
 18687  func (c *ProjectsLocationsProductsCertificatesGetCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesGetCall {
 18688  	c.ctx_ = ctx
 18689  	return c
 18690  }
 18691  
 18692  // Header returns an http.Header that can be modified by the caller to
 18693  // add HTTP headers to the request.
 18694  func (c *ProjectsLocationsProductsCertificatesGetCall) Header() http.Header {
 18695  	if c.header_ == nil {
 18696  		c.header_ = make(http.Header)
 18697  	}
 18698  	return c.header_
 18699  }
 18700  
 18701  func (c *ProjectsLocationsProductsCertificatesGetCall) doRequest(alt string) (*http.Response, error) {
 18702  	reqHeaders := make(http.Header)
 18703  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18704  	for k, v := range c.header_ {
 18705  		reqHeaders[k] = v
 18706  	}
 18707  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18708  	if c.ifNoneMatch_ != "" {
 18709  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18710  	}
 18711  	var body io.Reader = nil
 18712  	c.urlParams_.Set("alt", alt)
 18713  	c.urlParams_.Set("prettyPrint", "false")
 18714  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 18715  	urls += "?" + c.urlParams_.Encode()
 18716  	req, err := http.NewRequest("GET", urls, body)
 18717  	if err != nil {
 18718  		return nil, err
 18719  	}
 18720  	req.Header = reqHeaders
 18721  	googleapi.Expand(req.URL, map[string]string{
 18722  		"name": c.name,
 18723  	})
 18724  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18725  }
 18726  
 18727  // Do executes the "integrations.projects.locations.products.certificates.get" call.
 18728  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 18729  // will be non-nil. Any non-2xx status code is an error. Response
 18730  // headers are in either
 18731  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 18732  // (if a response was returned at all) in
 18733  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18734  // whether the returned error was because http.StatusNotModified was
 18735  // returned.
 18736  func (c *ProjectsLocationsProductsCertificatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 18737  	gensupport.SetOptions(c.urlParams_, opts...)
 18738  	res, err := c.doRequest("json")
 18739  	if res != nil && res.StatusCode == http.StatusNotModified {
 18740  		if res.Body != nil {
 18741  			res.Body.Close()
 18742  		}
 18743  		return nil, gensupport.WrapError(&googleapi.Error{
 18744  			Code:   res.StatusCode,
 18745  			Header: res.Header,
 18746  		})
 18747  	}
 18748  	if err != nil {
 18749  		return nil, err
 18750  	}
 18751  	defer googleapi.CloseBody(res)
 18752  	if err := googleapi.CheckResponse(res); err != nil {
 18753  		return nil, gensupport.WrapError(err)
 18754  	}
 18755  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 18756  		ServerResponse: googleapi.ServerResponse{
 18757  			Header:         res.Header,
 18758  			HTTPStatusCode: res.StatusCode,
 18759  		},
 18760  	}
 18761  	target := &ret
 18762  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18763  		return nil, err
 18764  	}
 18765  	return ret, nil
 18766  	// {
 18767  	//   "description": "Get a certificates in the specified project.",
 18768  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}",
 18769  	//   "httpMethod": "GET",
 18770  	//   "id": "integrations.projects.locations.products.certificates.get",
 18771  	//   "parameterOrder": [
 18772  	//     "name"
 18773  	//   ],
 18774  	//   "parameters": {
 18775  	//     "name": {
 18776  	//       "description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}",
 18777  	//       "location": "path",
 18778  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$",
 18779  	//       "required": true,
 18780  	//       "type": "string"
 18781  	//     }
 18782  	//   },
 18783  	//   "path": "v1alpha/{+name}",
 18784  	//   "response": {
 18785  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 18786  	//   },
 18787  	//   "scopes": [
 18788  	//     "https://www.googleapis.com/auth/cloud-platform"
 18789  	//   ]
 18790  	// }
 18791  
 18792  }
 18793  
 18794  // method id "integrations.projects.locations.products.certificates.list":
 18795  
 18796  type ProjectsLocationsProductsCertificatesListCall struct {
 18797  	s            *Service
 18798  	parent       string
 18799  	urlParams_   gensupport.URLParams
 18800  	ifNoneMatch_ string
 18801  	ctx_         context.Context
 18802  	header_      http.Header
 18803  }
 18804  
 18805  // List: List all the certificates that match the filter. Restrict to
 18806  // certificate of current client only.
 18807  //
 18808  // - parent: The client, which owns this collection of Certificates.
 18809  func (r *ProjectsLocationsProductsCertificatesService) List(parent string) *ProjectsLocationsProductsCertificatesListCall {
 18810  	c := &ProjectsLocationsProductsCertificatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18811  	c.parent = parent
 18812  	return c
 18813  }
 18814  
 18815  // Filter sets the optional parameter "filter": Filtering as supported
 18816  // in
 18817  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 18818  func (c *ProjectsLocationsProductsCertificatesListCall) Filter(filter string) *ProjectsLocationsProductsCertificatesListCall {
 18819  	c.urlParams_.Set("filter", filter)
 18820  	return c
 18821  }
 18822  
 18823  // PageSize sets the optional parameter "pageSize": The size of entries
 18824  // in the response. If unspecified, defaults to 100.
 18825  func (c *ProjectsLocationsProductsCertificatesListCall) PageSize(pageSize int64) *ProjectsLocationsProductsCertificatesListCall {
 18826  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 18827  	return c
 18828  }
 18829  
 18830  // PageToken sets the optional parameter "pageToken": The token returned
 18831  // in the previous response.
 18832  func (c *ProjectsLocationsProductsCertificatesListCall) PageToken(pageToken string) *ProjectsLocationsProductsCertificatesListCall {
 18833  	c.urlParams_.Set("pageToken", pageToken)
 18834  	return c
 18835  }
 18836  
 18837  // ReadMask sets the optional parameter "readMask": The mask which
 18838  // specifies fields that need to be returned in the Certificate's
 18839  // response.
 18840  func (c *ProjectsLocationsProductsCertificatesListCall) ReadMask(readMask string) *ProjectsLocationsProductsCertificatesListCall {
 18841  	c.urlParams_.Set("readMask", readMask)
 18842  	return c
 18843  }
 18844  
 18845  // Fields allows partial responses to be retrieved. See
 18846  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 18847  // for more information.
 18848  func (c *ProjectsLocationsProductsCertificatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesListCall {
 18849  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18850  	return c
 18851  }
 18852  
 18853  // IfNoneMatch sets the optional parameter which makes the operation
 18854  // fail if the object's ETag matches the given value. This is useful for
 18855  // getting updates only after the object has changed since the last
 18856  // request. Use googleapi.IsNotModified to check whether the response
 18857  // error from Do is the result of In-None-Match.
 18858  func (c *ProjectsLocationsProductsCertificatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsCertificatesListCall {
 18859  	c.ifNoneMatch_ = entityTag
 18860  	return c
 18861  }
 18862  
 18863  // Context sets the context to be used in this call's Do method. Any
 18864  // pending HTTP request will be aborted if the provided context is
 18865  // canceled.
 18866  func (c *ProjectsLocationsProductsCertificatesListCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesListCall {
 18867  	c.ctx_ = ctx
 18868  	return c
 18869  }
 18870  
 18871  // Header returns an http.Header that can be modified by the caller to
 18872  // add HTTP headers to the request.
 18873  func (c *ProjectsLocationsProductsCertificatesListCall) Header() http.Header {
 18874  	if c.header_ == nil {
 18875  		c.header_ = make(http.Header)
 18876  	}
 18877  	return c.header_
 18878  }
 18879  
 18880  func (c *ProjectsLocationsProductsCertificatesListCall) doRequest(alt string) (*http.Response, error) {
 18881  	reqHeaders := make(http.Header)
 18882  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 18883  	for k, v := range c.header_ {
 18884  		reqHeaders[k] = v
 18885  	}
 18886  	reqHeaders.Set("User-Agent", c.s.userAgent())
 18887  	if c.ifNoneMatch_ != "" {
 18888  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18889  	}
 18890  	var body io.Reader = nil
 18891  	c.urlParams_.Set("alt", alt)
 18892  	c.urlParams_.Set("prettyPrint", "false")
 18893  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/certificates")
 18894  	urls += "?" + c.urlParams_.Encode()
 18895  	req, err := http.NewRequest("GET", urls, body)
 18896  	if err != nil {
 18897  		return nil, err
 18898  	}
 18899  	req.Header = reqHeaders
 18900  	googleapi.Expand(req.URL, map[string]string{
 18901  		"parent": c.parent,
 18902  	})
 18903  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18904  }
 18905  
 18906  // Do executes the "integrations.projects.locations.products.certificates.list" call.
 18907  // Exactly one of
 18908  // *GoogleCloudIntegrationsV1alphaListCertificatesResponse or error will
 18909  // be non-nil. Any non-2xx status code is an error. Response headers are
 18910  // in either
 18911  // *GoogleCloudIntegrationsV1alphaListCertificatesResponse.ServerResponse
 18912  // .Header or (if a response was returned at all) in
 18913  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 18914  // whether the returned error was because http.StatusNotModified was
 18915  // returned.
 18916  func (c *ProjectsLocationsProductsCertificatesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListCertificatesResponse, error) {
 18917  	gensupport.SetOptions(c.urlParams_, opts...)
 18918  	res, err := c.doRequest("json")
 18919  	if res != nil && res.StatusCode == http.StatusNotModified {
 18920  		if res.Body != nil {
 18921  			res.Body.Close()
 18922  		}
 18923  		return nil, gensupport.WrapError(&googleapi.Error{
 18924  			Code:   res.StatusCode,
 18925  			Header: res.Header,
 18926  		})
 18927  	}
 18928  	if err != nil {
 18929  		return nil, err
 18930  	}
 18931  	defer googleapi.CloseBody(res)
 18932  	if err := googleapi.CheckResponse(res); err != nil {
 18933  		return nil, gensupport.WrapError(err)
 18934  	}
 18935  	ret := &GoogleCloudIntegrationsV1alphaListCertificatesResponse{
 18936  		ServerResponse: googleapi.ServerResponse{
 18937  			Header:         res.Header,
 18938  			HTTPStatusCode: res.StatusCode,
 18939  		},
 18940  	}
 18941  	target := &ret
 18942  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18943  		return nil, err
 18944  	}
 18945  	return ret, nil
 18946  	// {
 18947  	//   "description": "List all the certificates that match the filter. Restrict to certificate of current client only.",
 18948  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates",
 18949  	//   "httpMethod": "GET",
 18950  	//   "id": "integrations.projects.locations.products.certificates.list",
 18951  	//   "parameterOrder": [
 18952  	//     "parent"
 18953  	//   ],
 18954  	//   "parameters": {
 18955  	//     "filter": {
 18956  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 18957  	//       "location": "query",
 18958  	//       "type": "string"
 18959  	//     },
 18960  	//     "pageSize": {
 18961  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 18962  	//       "format": "int32",
 18963  	//       "location": "query",
 18964  	//       "type": "integer"
 18965  	//     },
 18966  	//     "pageToken": {
 18967  	//       "description": "The token returned in the previous response.",
 18968  	//       "location": "query",
 18969  	//       "type": "string"
 18970  	//     },
 18971  	//     "parent": {
 18972  	//       "description": "Required. The client, which owns this collection of Certificates.",
 18973  	//       "location": "path",
 18974  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 18975  	//       "required": true,
 18976  	//       "type": "string"
 18977  	//     },
 18978  	//     "readMask": {
 18979  	//       "description": "The mask which specifies fields that need to be returned in the Certificate's response.",
 18980  	//       "format": "google-fieldmask",
 18981  	//       "location": "query",
 18982  	//       "type": "string"
 18983  	//     }
 18984  	//   },
 18985  	//   "path": "v1alpha/{+parent}/certificates",
 18986  	//   "response": {
 18987  	//     "$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse"
 18988  	//   },
 18989  	//   "scopes": [
 18990  	//     "https://www.googleapis.com/auth/cloud-platform"
 18991  	//   ]
 18992  	// }
 18993  
 18994  }
 18995  
 18996  // Pages invokes f for each page of results.
 18997  // A non-nil error returned from f will halt the iteration.
 18998  // The provided context supersedes any context provided to the Context method.
 18999  func (c *ProjectsLocationsProductsCertificatesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListCertificatesResponse) error) error {
 19000  	c.ctx_ = ctx
 19001  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 19002  	for {
 19003  		x, err := c.Do()
 19004  		if err != nil {
 19005  			return err
 19006  		}
 19007  		if err := f(x); err != nil {
 19008  			return err
 19009  		}
 19010  		if x.NextPageToken == "" {
 19011  			return nil
 19012  		}
 19013  		c.PageToken(x.NextPageToken)
 19014  	}
 19015  }
 19016  
 19017  // method id "integrations.projects.locations.products.certificates.patch":
 19018  
 19019  type ProjectsLocationsProductsCertificatesPatchCall struct {
 19020  	s                                         *Service
 19021  	name                                      string
 19022  	googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate
 19023  	urlParams_                                gensupport.URLParams
 19024  	ctx_                                      context.Context
 19025  	header_                                   http.Header
 19026  }
 19027  
 19028  // Patch: Updates the certificate by id. If new certificate file is
 19029  // updated, it will register with the trawler service, re-encrypt with
 19030  // cloud KMS and update the Spanner record. Other fields will directly
 19031  // update the Spanner record. Returns the Certificate.
 19032  //
 19033  // - name: Output only. Auto generated primary key.
 19034  func (r *ProjectsLocationsProductsCertificatesService) Patch(name string, googlecloudintegrationsv1alphacertificate *GoogleCloudIntegrationsV1alphaCertificate) *ProjectsLocationsProductsCertificatesPatchCall {
 19035  	c := &ProjectsLocationsProductsCertificatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19036  	c.name = name
 19037  	c.googlecloudintegrationsv1alphacertificate = googlecloudintegrationsv1alphacertificate
 19038  	return c
 19039  }
 19040  
 19041  // UpdateMask sets the optional parameter "updateMask": Field mask
 19042  // specifying the fields in the above Certificate that have been
 19043  // modified and need to be updated.
 19044  func (c *ProjectsLocationsProductsCertificatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsCertificatesPatchCall {
 19045  	c.urlParams_.Set("updateMask", updateMask)
 19046  	return c
 19047  }
 19048  
 19049  // Fields allows partial responses to be retrieved. See
 19050  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19051  // for more information.
 19052  func (c *ProjectsLocationsProductsCertificatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsCertificatesPatchCall {
 19053  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19054  	return c
 19055  }
 19056  
 19057  // Context sets the context to be used in this call's Do method. Any
 19058  // pending HTTP request will be aborted if the provided context is
 19059  // canceled.
 19060  func (c *ProjectsLocationsProductsCertificatesPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsCertificatesPatchCall {
 19061  	c.ctx_ = ctx
 19062  	return c
 19063  }
 19064  
 19065  // Header returns an http.Header that can be modified by the caller to
 19066  // add HTTP headers to the request.
 19067  func (c *ProjectsLocationsProductsCertificatesPatchCall) Header() http.Header {
 19068  	if c.header_ == nil {
 19069  		c.header_ = make(http.Header)
 19070  	}
 19071  	return c.header_
 19072  }
 19073  
 19074  func (c *ProjectsLocationsProductsCertificatesPatchCall) doRequest(alt string) (*http.Response, error) {
 19075  	reqHeaders := make(http.Header)
 19076  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19077  	for k, v := range c.header_ {
 19078  		reqHeaders[k] = v
 19079  	}
 19080  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19081  	var body io.Reader = nil
 19082  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacertificate)
 19083  	if err != nil {
 19084  		return nil, err
 19085  	}
 19086  	reqHeaders.Set("Content-Type", "application/json")
 19087  	c.urlParams_.Set("alt", alt)
 19088  	c.urlParams_.Set("prettyPrint", "false")
 19089  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 19090  	urls += "?" + c.urlParams_.Encode()
 19091  	req, err := http.NewRequest("PATCH", urls, body)
 19092  	if err != nil {
 19093  		return nil, err
 19094  	}
 19095  	req.Header = reqHeaders
 19096  	googleapi.Expand(req.URL, map[string]string{
 19097  		"name": c.name,
 19098  	})
 19099  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19100  }
 19101  
 19102  // Do executes the "integrations.projects.locations.products.certificates.patch" call.
 19103  // Exactly one of *GoogleCloudIntegrationsV1alphaCertificate or error
 19104  // will be non-nil. Any non-2xx status code is an error. Response
 19105  // headers are in either
 19106  // *GoogleCloudIntegrationsV1alphaCertificate.ServerResponse.Header or
 19107  // (if a response was returned at all) in
 19108  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19109  // whether the returned error was because http.StatusNotModified was
 19110  // returned.
 19111  func (c *ProjectsLocationsProductsCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCertificate, error) {
 19112  	gensupport.SetOptions(c.urlParams_, opts...)
 19113  	res, err := c.doRequest("json")
 19114  	if res != nil && res.StatusCode == http.StatusNotModified {
 19115  		if res.Body != nil {
 19116  			res.Body.Close()
 19117  		}
 19118  		return nil, gensupport.WrapError(&googleapi.Error{
 19119  			Code:   res.StatusCode,
 19120  			Header: res.Header,
 19121  		})
 19122  	}
 19123  	if err != nil {
 19124  		return nil, err
 19125  	}
 19126  	defer googleapi.CloseBody(res)
 19127  	if err := googleapi.CheckResponse(res); err != nil {
 19128  		return nil, gensupport.WrapError(err)
 19129  	}
 19130  	ret := &GoogleCloudIntegrationsV1alphaCertificate{
 19131  		ServerResponse: googleapi.ServerResponse{
 19132  			Header:         res.Header,
 19133  			HTTPStatusCode: res.StatusCode,
 19134  		},
 19135  	}
 19136  	target := &ret
 19137  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19138  		return nil, err
 19139  	}
 19140  	return ret, nil
 19141  	// {
 19142  	//   "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.",
 19143  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}",
 19144  	//   "httpMethod": "PATCH",
 19145  	//   "id": "integrations.projects.locations.products.certificates.patch",
 19146  	//   "parameterOrder": [
 19147  	//     "name"
 19148  	//   ],
 19149  	//   "parameters": {
 19150  	//     "name": {
 19151  	//       "description": "Output only. Auto generated primary key",
 19152  	//       "location": "path",
 19153  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$",
 19154  	//       "required": true,
 19155  	//       "type": "string"
 19156  	//     },
 19157  	//     "updateMask": {
 19158  	//       "description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.",
 19159  	//       "format": "google-fieldmask",
 19160  	//       "location": "query",
 19161  	//       "type": "string"
 19162  	//     }
 19163  	//   },
 19164  	//   "path": "v1alpha/{+name}",
 19165  	//   "request": {
 19166  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 19167  	//   },
 19168  	//   "response": {
 19169  	//     "$ref": "GoogleCloudIntegrationsV1alphaCertificate"
 19170  	//   },
 19171  	//   "scopes": [
 19172  	//     "https://www.googleapis.com/auth/cloud-platform"
 19173  	//   ]
 19174  	// }
 19175  
 19176  }
 19177  
 19178  // method id "integrations.projects.locations.products.integrations.delete":
 19179  
 19180  type ProjectsLocationsProductsIntegrationsDeleteCall struct {
 19181  	s          *Service
 19182  	name       string
 19183  	urlParams_ gensupport.URLParams
 19184  	ctx_       context.Context
 19185  	header_    http.Header
 19186  }
 19187  
 19188  // Delete: Delete the selected integration and all versions inside
 19189  //
 19190  // - name: The location resource of the request.
 19191  func (r *ProjectsLocationsProductsIntegrationsService) Delete(name string) *ProjectsLocationsProductsIntegrationsDeleteCall {
 19192  	c := &ProjectsLocationsProductsIntegrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19193  	c.name = name
 19194  	return c
 19195  }
 19196  
 19197  // Fields allows partial responses to be retrieved. See
 19198  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19199  // for more information.
 19200  func (c *ProjectsLocationsProductsIntegrationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsDeleteCall {
 19201  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19202  	return c
 19203  }
 19204  
 19205  // Context sets the context to be used in this call's Do method. Any
 19206  // pending HTTP request will be aborted if the provided context is
 19207  // canceled.
 19208  func (c *ProjectsLocationsProductsIntegrationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsDeleteCall {
 19209  	c.ctx_ = ctx
 19210  	return c
 19211  }
 19212  
 19213  // Header returns an http.Header that can be modified by the caller to
 19214  // add HTTP headers to the request.
 19215  func (c *ProjectsLocationsProductsIntegrationsDeleteCall) Header() http.Header {
 19216  	if c.header_ == nil {
 19217  		c.header_ = make(http.Header)
 19218  	}
 19219  	return c.header_
 19220  }
 19221  
 19222  func (c *ProjectsLocationsProductsIntegrationsDeleteCall) doRequest(alt string) (*http.Response, error) {
 19223  	reqHeaders := make(http.Header)
 19224  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19225  	for k, v := range c.header_ {
 19226  		reqHeaders[k] = v
 19227  	}
 19228  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19229  	var body io.Reader = nil
 19230  	c.urlParams_.Set("alt", alt)
 19231  	c.urlParams_.Set("prettyPrint", "false")
 19232  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 19233  	urls += "?" + c.urlParams_.Encode()
 19234  	req, err := http.NewRequest("DELETE", urls, body)
 19235  	if err != nil {
 19236  		return nil, err
 19237  	}
 19238  	req.Header = reqHeaders
 19239  	googleapi.Expand(req.URL, map[string]string{
 19240  		"name": c.name,
 19241  	})
 19242  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19243  }
 19244  
 19245  // Do executes the "integrations.projects.locations.products.integrations.delete" call.
 19246  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 19247  // non-2xx status code is an error. Response headers are in either
 19248  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 19249  // returned at all) in error.(*googleapi.Error).Header. Use
 19250  // googleapi.IsNotModified to check whether the returned error was
 19251  // because http.StatusNotModified was returned.
 19252  func (c *ProjectsLocationsProductsIntegrationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 19253  	gensupport.SetOptions(c.urlParams_, opts...)
 19254  	res, err := c.doRequest("json")
 19255  	if res != nil && res.StatusCode == http.StatusNotModified {
 19256  		if res.Body != nil {
 19257  			res.Body.Close()
 19258  		}
 19259  		return nil, gensupport.WrapError(&googleapi.Error{
 19260  			Code:   res.StatusCode,
 19261  			Header: res.Header,
 19262  		})
 19263  	}
 19264  	if err != nil {
 19265  		return nil, err
 19266  	}
 19267  	defer googleapi.CloseBody(res)
 19268  	if err := googleapi.CheckResponse(res); err != nil {
 19269  		return nil, gensupport.WrapError(err)
 19270  	}
 19271  	ret := &GoogleProtobufEmpty{
 19272  		ServerResponse: googleapi.ServerResponse{
 19273  			Header:         res.Header,
 19274  			HTTPStatusCode: res.StatusCode,
 19275  		},
 19276  	}
 19277  	target := &ret
 19278  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19279  		return nil, err
 19280  	}
 19281  	return ret, nil
 19282  	// {
 19283  	//   "description": "Delete the selected integration and all versions inside",
 19284  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}",
 19285  	//   "httpMethod": "DELETE",
 19286  	//   "id": "integrations.projects.locations.products.integrations.delete",
 19287  	//   "parameterOrder": [
 19288  	//     "name"
 19289  	//   ],
 19290  	//   "parameters": {
 19291  	//     "name": {
 19292  	//       "description": "Required. The location resource of the request.",
 19293  	//       "location": "path",
 19294  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 19295  	//       "required": true,
 19296  	//       "type": "string"
 19297  	//     }
 19298  	//   },
 19299  	//   "path": "v1alpha/{+name}",
 19300  	//   "response": {
 19301  	//     "$ref": "GoogleProtobufEmpty"
 19302  	//   },
 19303  	//   "scopes": [
 19304  	//     "https://www.googleapis.com/auth/cloud-platform"
 19305  	//   ]
 19306  	// }
 19307  
 19308  }
 19309  
 19310  // method id "integrations.projects.locations.products.integrations.execute":
 19311  
 19312  type ProjectsLocationsProductsIntegrationsExecuteCall struct {
 19313  	s                                                        *Service
 19314  	name                                                     string
 19315  	googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest
 19316  	urlParams_                                               gensupport.URLParams
 19317  	ctx_                                                     context.Context
 19318  	header_                                                  http.Header
 19319  }
 19320  
 19321  // Execute: Executes integrations synchronously by passing the trigger
 19322  // id in the request body. The request is not returned until the
 19323  // requested executions are either fulfilled or experienced an error. If
 19324  // the integration name is not specified (passing `-`), all of the
 19325  // associated integration under the given trigger_id will be executed.
 19326  // Otherwise only the specified integration for the given `trigger_id`
 19327  // is executed. This is helpful for execution the integration from UI.
 19328  //
 19329  // - name: The integration resource name.
 19330  func (r *ProjectsLocationsProductsIntegrationsService) Execute(name string, googlecloudintegrationsv1alphaexecuteintegrationsrequest *GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest) *ProjectsLocationsProductsIntegrationsExecuteCall {
 19331  	c := &ProjectsLocationsProductsIntegrationsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19332  	c.name = name
 19333  	c.googlecloudintegrationsv1alphaexecuteintegrationsrequest = googlecloudintegrationsv1alphaexecuteintegrationsrequest
 19334  	return c
 19335  }
 19336  
 19337  // Fields allows partial responses to be retrieved. See
 19338  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19339  // for more information.
 19340  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecuteCall {
 19341  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19342  	return c
 19343  }
 19344  
 19345  // Context sets the context to be used in this call's Do method. Any
 19346  // pending HTTP request will be aborted if the provided context is
 19347  // canceled.
 19348  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecuteCall {
 19349  	c.ctx_ = ctx
 19350  	return c
 19351  }
 19352  
 19353  // Header returns an http.Header that can be modified by the caller to
 19354  // add HTTP headers to the request.
 19355  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Header() http.Header {
 19356  	if c.header_ == nil {
 19357  		c.header_ = make(http.Header)
 19358  	}
 19359  	return c.header_
 19360  }
 19361  
 19362  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) doRequest(alt string) (*http.Response, error) {
 19363  	reqHeaders := make(http.Header)
 19364  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19365  	for k, v := range c.header_ {
 19366  		reqHeaders[k] = v
 19367  	}
 19368  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19369  	var body io.Reader = nil
 19370  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaexecuteintegrationsrequest)
 19371  	if err != nil {
 19372  		return nil, err
 19373  	}
 19374  	reqHeaders.Set("Content-Type", "application/json")
 19375  	c.urlParams_.Set("alt", alt)
 19376  	c.urlParams_.Set("prettyPrint", "false")
 19377  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:execute")
 19378  	urls += "?" + c.urlParams_.Encode()
 19379  	req, err := http.NewRequest("POST", urls, body)
 19380  	if err != nil {
 19381  		return nil, err
 19382  	}
 19383  	req.Header = reqHeaders
 19384  	googleapi.Expand(req.URL, map[string]string{
 19385  		"name": c.name,
 19386  	})
 19387  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19388  }
 19389  
 19390  // Do executes the "integrations.projects.locations.products.integrations.execute" call.
 19391  // Exactly one of
 19392  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse or error
 19393  // will be non-nil. Any non-2xx status code is an error. Response
 19394  // headers are in either
 19395  // *GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse.ServerRespo
 19396  // nse.Header or (if a response was returned at all) in
 19397  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19398  // whether the returned error was because http.StatusNotModified was
 19399  // returned.
 19400  func (c *ProjectsLocationsProductsIntegrationsExecuteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse, error) {
 19401  	gensupport.SetOptions(c.urlParams_, opts...)
 19402  	res, err := c.doRequest("json")
 19403  	if res != nil && res.StatusCode == http.StatusNotModified {
 19404  		if res.Body != nil {
 19405  			res.Body.Close()
 19406  		}
 19407  		return nil, gensupport.WrapError(&googleapi.Error{
 19408  			Code:   res.StatusCode,
 19409  			Header: res.Header,
 19410  		})
 19411  	}
 19412  	if err != nil {
 19413  		return nil, err
 19414  	}
 19415  	defer googleapi.CloseBody(res)
 19416  	if err := googleapi.CheckResponse(res); err != nil {
 19417  		return nil, gensupport.WrapError(err)
 19418  	}
 19419  	ret := &GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse{
 19420  		ServerResponse: googleapi.ServerResponse{
 19421  			Header:         res.Header,
 19422  			HTTPStatusCode: res.StatusCode,
 19423  		},
 19424  	}
 19425  	target := &ret
 19426  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19427  		return nil, err
 19428  	}
 19429  	return ret, nil
 19430  	// {
 19431  	//   "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.",
 19432  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:execute",
 19433  	//   "httpMethod": "POST",
 19434  	//   "id": "integrations.projects.locations.products.integrations.execute",
 19435  	//   "parameterOrder": [
 19436  	//     "name"
 19437  	//   ],
 19438  	//   "parameters": {
 19439  	//     "name": {
 19440  	//       "description": "Required. The integration resource name.",
 19441  	//       "location": "path",
 19442  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 19443  	//       "required": true,
 19444  	//       "type": "string"
 19445  	//     }
 19446  	//   },
 19447  	//   "path": "v1alpha/{+name}:execute",
 19448  	//   "request": {
 19449  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest"
 19450  	//   },
 19451  	//   "response": {
 19452  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse"
 19453  	//   },
 19454  	//   "scopes": [
 19455  	//     "https://www.googleapis.com/auth/cloud-platform"
 19456  	//   ]
 19457  	// }
 19458  
 19459  }
 19460  
 19461  // method id "integrations.projects.locations.products.integrations.list":
 19462  
 19463  type ProjectsLocationsProductsIntegrationsListCall struct {
 19464  	s            *Service
 19465  	parent       string
 19466  	urlParams_   gensupport.URLParams
 19467  	ifNoneMatch_ string
 19468  	ctx_         context.Context
 19469  	header_      http.Header
 19470  }
 19471  
 19472  // List: Returns the list of all integrations in the specified project.
 19473  //
 19474  //   - parent: Project and location from which the integrations should be
 19475  //     listed. Format: projects/{project}.
 19476  func (r *ProjectsLocationsProductsIntegrationsService) List(parent string) *ProjectsLocationsProductsIntegrationsListCall {
 19477  	c := &ProjectsLocationsProductsIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19478  	c.parent = parent
 19479  	return c
 19480  }
 19481  
 19482  // Filter sets the optional parameter "filter": Filter on fields of
 19483  // IntegrationVersion. Fields can be compared with literal values by use
 19484  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 19485  // >=" (greater than or equal to), "<=" (less than or equal to), and
 19486  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 19487  // are written using NOT, AND, and OR keywords. For example,
 19488  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 19489  // Filtering cannot be performed on repeated fields like `task_config`.
 19490  func (c *ProjectsLocationsProductsIntegrationsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsListCall {
 19491  	c.urlParams_.Set("filter", filter)
 19492  	return c
 19493  }
 19494  
 19495  // OrderBy sets the optional parameter "orderBy": The results would be
 19496  // returned in order you specified here. Supported sort keys are:
 19497  // Descending sort order by "last_modified_time", "created_time",
 19498  // "snapshot_number". Ascending sort order by the integration name.
 19499  func (c *ProjectsLocationsProductsIntegrationsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsListCall {
 19500  	c.urlParams_.Set("orderBy", orderBy)
 19501  	return c
 19502  }
 19503  
 19504  // PageSize sets the optional parameter "pageSize": The page size for
 19505  // the resquest.
 19506  func (c *ProjectsLocationsProductsIntegrationsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsListCall {
 19507  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 19508  	return c
 19509  }
 19510  
 19511  // PageToken sets the optional parameter "pageToken": The page token for
 19512  // the resquest.
 19513  func (c *ProjectsLocationsProductsIntegrationsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsListCall {
 19514  	c.urlParams_.Set("pageToken", pageToken)
 19515  	return c
 19516  }
 19517  
 19518  // Fields allows partial responses to be retrieved. See
 19519  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19520  // for more information.
 19521  func (c *ProjectsLocationsProductsIntegrationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsListCall {
 19522  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19523  	return c
 19524  }
 19525  
 19526  // IfNoneMatch sets the optional parameter which makes the operation
 19527  // fail if the object's ETag matches the given value. This is useful for
 19528  // getting updates only after the object has changed since the last
 19529  // request. Use googleapi.IsNotModified to check whether the response
 19530  // error from Do is the result of In-None-Match.
 19531  func (c *ProjectsLocationsProductsIntegrationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsListCall {
 19532  	c.ifNoneMatch_ = entityTag
 19533  	return c
 19534  }
 19535  
 19536  // Context sets the context to be used in this call's Do method. Any
 19537  // pending HTTP request will be aborted if the provided context is
 19538  // canceled.
 19539  func (c *ProjectsLocationsProductsIntegrationsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsListCall {
 19540  	c.ctx_ = ctx
 19541  	return c
 19542  }
 19543  
 19544  // Header returns an http.Header that can be modified by the caller to
 19545  // add HTTP headers to the request.
 19546  func (c *ProjectsLocationsProductsIntegrationsListCall) Header() http.Header {
 19547  	if c.header_ == nil {
 19548  		c.header_ = make(http.Header)
 19549  	}
 19550  	return c.header_
 19551  }
 19552  
 19553  func (c *ProjectsLocationsProductsIntegrationsListCall) doRequest(alt string) (*http.Response, error) {
 19554  	reqHeaders := make(http.Header)
 19555  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19556  	for k, v := range c.header_ {
 19557  		reqHeaders[k] = v
 19558  	}
 19559  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19560  	if c.ifNoneMatch_ != "" {
 19561  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 19562  	}
 19563  	var body io.Reader = nil
 19564  	c.urlParams_.Set("alt", alt)
 19565  	c.urlParams_.Set("prettyPrint", "false")
 19566  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/integrations")
 19567  	urls += "?" + c.urlParams_.Encode()
 19568  	req, err := http.NewRequest("GET", urls, body)
 19569  	if err != nil {
 19570  		return nil, err
 19571  	}
 19572  	req.Header = reqHeaders
 19573  	googleapi.Expand(req.URL, map[string]string{
 19574  		"parent": c.parent,
 19575  	})
 19576  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19577  }
 19578  
 19579  // Do executes the "integrations.projects.locations.products.integrations.list" call.
 19580  // Exactly one of
 19581  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse or error will
 19582  // be non-nil. Any non-2xx status code is an error. Response headers are
 19583  // in either
 19584  // *GoogleCloudIntegrationsV1alphaListIntegrationsResponse.ServerResponse
 19585  // .Header or (if a response was returned at all) in
 19586  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19587  // whether the returned error was because http.StatusNotModified was
 19588  // returned.
 19589  func (c *ProjectsLocationsProductsIntegrationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationsResponse, error) {
 19590  	gensupport.SetOptions(c.urlParams_, opts...)
 19591  	res, err := c.doRequest("json")
 19592  	if res != nil && res.StatusCode == http.StatusNotModified {
 19593  		if res.Body != nil {
 19594  			res.Body.Close()
 19595  		}
 19596  		return nil, gensupport.WrapError(&googleapi.Error{
 19597  			Code:   res.StatusCode,
 19598  			Header: res.Header,
 19599  		})
 19600  	}
 19601  	if err != nil {
 19602  		return nil, err
 19603  	}
 19604  	defer googleapi.CloseBody(res)
 19605  	if err := googleapi.CheckResponse(res); err != nil {
 19606  		return nil, gensupport.WrapError(err)
 19607  	}
 19608  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationsResponse{
 19609  		ServerResponse: googleapi.ServerResponse{
 19610  			Header:         res.Header,
 19611  			HTTPStatusCode: res.StatusCode,
 19612  		},
 19613  	}
 19614  	target := &ret
 19615  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19616  		return nil, err
 19617  	}
 19618  	return ret, nil
 19619  	// {
 19620  	//   "description": "Returns the list of all integrations in the specified project.",
 19621  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations",
 19622  	//   "httpMethod": "GET",
 19623  	//   "id": "integrations.projects.locations.products.integrations.list",
 19624  	//   "parameterOrder": [
 19625  	//     "parent"
 19626  	//   ],
 19627  	//   "parameters": {
 19628  	//     "filter": {
 19629  	//       "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`.",
 19630  	//       "location": "query",
 19631  	//       "type": "string"
 19632  	//     },
 19633  	//     "orderBy": {
 19634  	//       "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.",
 19635  	//       "location": "query",
 19636  	//       "type": "string"
 19637  	//     },
 19638  	//     "pageSize": {
 19639  	//       "description": "The page size for the resquest.",
 19640  	//       "format": "int32",
 19641  	//       "location": "query",
 19642  	//       "type": "integer"
 19643  	//     },
 19644  	//     "pageToken": {
 19645  	//       "description": "The page token for the resquest.",
 19646  	//       "location": "query",
 19647  	//       "type": "string"
 19648  	//     },
 19649  	//     "parent": {
 19650  	//       "description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}",
 19651  	//       "location": "path",
 19652  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 19653  	//       "required": true,
 19654  	//       "type": "string"
 19655  	//     }
 19656  	//   },
 19657  	//   "path": "v1alpha/{+parent}/integrations",
 19658  	//   "response": {
 19659  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse"
 19660  	//   },
 19661  	//   "scopes": [
 19662  	//     "https://www.googleapis.com/auth/cloud-platform"
 19663  	//   ]
 19664  	// }
 19665  
 19666  }
 19667  
 19668  // Pages invokes f for each page of results.
 19669  // A non-nil error returned from f will halt the iteration.
 19670  // The provided context supersedes any context provided to the Context method.
 19671  func (c *ProjectsLocationsProductsIntegrationsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationsResponse) error) error {
 19672  	c.ctx_ = ctx
 19673  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 19674  	for {
 19675  		x, err := c.Do()
 19676  		if err != nil {
 19677  			return err
 19678  		}
 19679  		if err := f(x); err != nil {
 19680  			return err
 19681  		}
 19682  		if x.NextPageToken == "" {
 19683  			return nil
 19684  		}
 19685  		c.PageToken(x.NextPageToken)
 19686  	}
 19687  }
 19688  
 19689  // method id "integrations.projects.locations.products.integrations.schedule":
 19690  
 19691  type ProjectsLocationsProductsIntegrationsScheduleCall struct {
 19692  	s                                                         *Service
 19693  	name                                                      string
 19694  	googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest
 19695  	urlParams_                                                gensupport.URLParams
 19696  	ctx_                                                      context.Context
 19697  	header_                                                   http.Header
 19698  }
 19699  
 19700  // Schedule: Schedules an integration for execution by passing the
 19701  // trigger id and the scheduled time in the request body.
 19702  //
 19703  // - name: The integration resource name.
 19704  func (r *ProjectsLocationsProductsIntegrationsService) Schedule(name string, googlecloudintegrationsv1alphascheduleintegrationsrequest *GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest) *ProjectsLocationsProductsIntegrationsScheduleCall {
 19705  	c := &ProjectsLocationsProductsIntegrationsScheduleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19706  	c.name = name
 19707  	c.googlecloudintegrationsv1alphascheduleintegrationsrequest = googlecloudintegrationsv1alphascheduleintegrationsrequest
 19708  	return c
 19709  }
 19710  
 19711  // Fields allows partial responses to be retrieved. See
 19712  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19713  // for more information.
 19714  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsScheduleCall {
 19715  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19716  	return c
 19717  }
 19718  
 19719  // Context sets the context to be used in this call's Do method. Any
 19720  // pending HTTP request will be aborted if the provided context is
 19721  // canceled.
 19722  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsScheduleCall {
 19723  	c.ctx_ = ctx
 19724  	return c
 19725  }
 19726  
 19727  // Header returns an http.Header that can be modified by the caller to
 19728  // add HTTP headers to the request.
 19729  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Header() http.Header {
 19730  	if c.header_ == nil {
 19731  		c.header_ = make(http.Header)
 19732  	}
 19733  	return c.header_
 19734  }
 19735  
 19736  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) doRequest(alt string) (*http.Response, error) {
 19737  	reqHeaders := make(http.Header)
 19738  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19739  	for k, v := range c.header_ {
 19740  		reqHeaders[k] = v
 19741  	}
 19742  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19743  	var body io.Reader = nil
 19744  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphascheduleintegrationsrequest)
 19745  	if err != nil {
 19746  		return nil, err
 19747  	}
 19748  	reqHeaders.Set("Content-Type", "application/json")
 19749  	c.urlParams_.Set("alt", alt)
 19750  	c.urlParams_.Set("prettyPrint", "false")
 19751  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:schedule")
 19752  	urls += "?" + c.urlParams_.Encode()
 19753  	req, err := http.NewRequest("POST", urls, body)
 19754  	if err != nil {
 19755  		return nil, err
 19756  	}
 19757  	req.Header = reqHeaders
 19758  	googleapi.Expand(req.URL, map[string]string{
 19759  		"name": c.name,
 19760  	})
 19761  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19762  }
 19763  
 19764  // Do executes the "integrations.projects.locations.products.integrations.schedule" call.
 19765  // Exactly one of
 19766  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse or error
 19767  // will be non-nil. Any non-2xx status code is an error. Response
 19768  // headers are in either
 19769  // *GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse.ServerResp
 19770  // onse.Header or (if a response was returned at all) in
 19771  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19772  // whether the returned error was because http.StatusNotModified was
 19773  // returned.
 19774  func (c *ProjectsLocationsProductsIntegrationsScheduleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse, error) {
 19775  	gensupport.SetOptions(c.urlParams_, opts...)
 19776  	res, err := c.doRequest("json")
 19777  	if res != nil && res.StatusCode == http.StatusNotModified {
 19778  		if res.Body != nil {
 19779  			res.Body.Close()
 19780  		}
 19781  		return nil, gensupport.WrapError(&googleapi.Error{
 19782  			Code:   res.StatusCode,
 19783  			Header: res.Header,
 19784  		})
 19785  	}
 19786  	if err != nil {
 19787  		return nil, err
 19788  	}
 19789  	defer googleapi.CloseBody(res)
 19790  	if err := googleapi.CheckResponse(res); err != nil {
 19791  		return nil, gensupport.WrapError(err)
 19792  	}
 19793  	ret := &GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse{
 19794  		ServerResponse: googleapi.ServerResponse{
 19795  			Header:         res.Header,
 19796  			HTTPStatusCode: res.StatusCode,
 19797  		},
 19798  	}
 19799  	target := &ret
 19800  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19801  		return nil, err
 19802  	}
 19803  	return ret, nil
 19804  	// {
 19805  	//   "description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.",
 19806  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:schedule",
 19807  	//   "httpMethod": "POST",
 19808  	//   "id": "integrations.projects.locations.products.integrations.schedule",
 19809  	//   "parameterOrder": [
 19810  	//     "name"
 19811  	//   ],
 19812  	//   "parameters": {
 19813  	//     "name": {
 19814  	//       "description": "The integration resource name.",
 19815  	//       "location": "path",
 19816  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 19817  	//       "required": true,
 19818  	//       "type": "string"
 19819  	//     }
 19820  	//   },
 19821  	//   "path": "v1alpha/{+name}:schedule",
 19822  	//   "request": {
 19823  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest"
 19824  	//   },
 19825  	//   "response": {
 19826  	//     "$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse"
 19827  	//   },
 19828  	//   "scopes": [
 19829  	//     "https://www.googleapis.com/auth/cloud-platform"
 19830  	//   ]
 19831  	// }
 19832  
 19833  }
 19834  
 19835  // method id "integrations.projects.locations.products.integrations.executions.cancel":
 19836  
 19837  type ProjectsLocationsProductsIntegrationsExecutionsCancelCall struct {
 19838  	s                                                    *Service
 19839  	name                                                 string
 19840  	googlecloudintegrationsv1alphacancelexecutionrequest *GoogleCloudIntegrationsV1alphaCancelExecutionRequest
 19841  	urlParams_                                           gensupport.URLParams
 19842  	ctx_                                                 context.Context
 19843  	header_                                              http.Header
 19844  }
 19845  
 19846  // Cancel: Cancellation of an execution
 19847  //
 19848  //   - name: The execution resource name. Format:
 19849  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 19850  //     tegrations/{integration_id}/executions/{execution_id}.
 19851  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) Cancel(name string, googlecloudintegrationsv1alphacancelexecutionrequest *GoogleCloudIntegrationsV1alphaCancelExecutionRequest) *ProjectsLocationsProductsIntegrationsExecutionsCancelCall {
 19852  	c := &ProjectsLocationsProductsIntegrationsExecutionsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19853  	c.name = name
 19854  	c.googlecloudintegrationsv1alphacancelexecutionrequest = googlecloudintegrationsv1alphacancelexecutionrequest
 19855  	return c
 19856  }
 19857  
 19858  // Fields allows partial responses to be retrieved. See
 19859  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 19860  // for more information.
 19861  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsCancelCall {
 19862  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19863  	return c
 19864  }
 19865  
 19866  // Context sets the context to be used in this call's Do method. Any
 19867  // pending HTTP request will be aborted if the provided context is
 19868  // canceled.
 19869  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsCancelCall {
 19870  	c.ctx_ = ctx
 19871  	return c
 19872  }
 19873  
 19874  // Header returns an http.Header that can be modified by the caller to
 19875  // add HTTP headers to the request.
 19876  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Header() http.Header {
 19877  	if c.header_ == nil {
 19878  		c.header_ = make(http.Header)
 19879  	}
 19880  	return c.header_
 19881  }
 19882  
 19883  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) doRequest(alt string) (*http.Response, error) {
 19884  	reqHeaders := make(http.Header)
 19885  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 19886  	for k, v := range c.header_ {
 19887  		reqHeaders[k] = v
 19888  	}
 19889  	reqHeaders.Set("User-Agent", c.s.userAgent())
 19890  	var body io.Reader = nil
 19891  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphacancelexecutionrequest)
 19892  	if err != nil {
 19893  		return nil, err
 19894  	}
 19895  	reqHeaders.Set("Content-Type", "application/json")
 19896  	c.urlParams_.Set("alt", alt)
 19897  	c.urlParams_.Set("prettyPrint", "false")
 19898  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:cancel")
 19899  	urls += "?" + c.urlParams_.Encode()
 19900  	req, err := http.NewRequest("POST", urls, body)
 19901  	if err != nil {
 19902  		return nil, err
 19903  	}
 19904  	req.Header = reqHeaders
 19905  	googleapi.Expand(req.URL, map[string]string{
 19906  		"name": c.name,
 19907  	})
 19908  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19909  }
 19910  
 19911  // Do executes the "integrations.projects.locations.products.integrations.executions.cancel" call.
 19912  // Exactly one of *GoogleCloudIntegrationsV1alphaCancelExecutionResponse
 19913  // or error will be non-nil. Any non-2xx status code is an error.
 19914  // Response headers are in either
 19915  // *GoogleCloudIntegrationsV1alphaCancelExecutionResponse.ServerResponse.
 19916  // Header or (if a response was returned at all) in
 19917  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 19918  // whether the returned error was because http.StatusNotModified was
 19919  // returned.
 19920  func (c *ProjectsLocationsProductsIntegrationsExecutionsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaCancelExecutionResponse, error) {
 19921  	gensupport.SetOptions(c.urlParams_, opts...)
 19922  	res, err := c.doRequest("json")
 19923  	if res != nil && res.StatusCode == http.StatusNotModified {
 19924  		if res.Body != nil {
 19925  			res.Body.Close()
 19926  		}
 19927  		return nil, gensupport.WrapError(&googleapi.Error{
 19928  			Code:   res.StatusCode,
 19929  			Header: res.Header,
 19930  		})
 19931  	}
 19932  	if err != nil {
 19933  		return nil, err
 19934  	}
 19935  	defer googleapi.CloseBody(res)
 19936  	if err := googleapi.CheckResponse(res); err != nil {
 19937  		return nil, gensupport.WrapError(err)
 19938  	}
 19939  	ret := &GoogleCloudIntegrationsV1alphaCancelExecutionResponse{
 19940  		ServerResponse: googleapi.ServerResponse{
 19941  			Header:         res.Header,
 19942  			HTTPStatusCode: res.StatusCode,
 19943  		},
 19944  	}
 19945  	target := &ret
 19946  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19947  		return nil, err
 19948  	}
 19949  	return ret, nil
 19950  	// {
 19951  	//   "description": "Cancellation of an execution",
 19952  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}:cancel",
 19953  	//   "httpMethod": "POST",
 19954  	//   "id": "integrations.projects.locations.products.integrations.executions.cancel",
 19955  	//   "parameterOrder": [
 19956  	//     "name"
 19957  	//   ],
 19958  	//   "parameters": {
 19959  	//     "name": {
 19960  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 19961  	//       "location": "path",
 19962  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 19963  	//       "required": true,
 19964  	//       "type": "string"
 19965  	//     }
 19966  	//   },
 19967  	//   "path": "v1alpha/{+name}:cancel",
 19968  	//   "request": {
 19969  	//     "$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest"
 19970  	//   },
 19971  	//   "response": {
 19972  	//     "$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse"
 19973  	//   },
 19974  	//   "scopes": [
 19975  	//     "https://www.googleapis.com/auth/cloud-platform"
 19976  	//   ]
 19977  	// }
 19978  
 19979  }
 19980  
 19981  // method id "integrations.projects.locations.products.integrations.executions.get":
 19982  
 19983  type ProjectsLocationsProductsIntegrationsExecutionsGetCall struct {
 19984  	s            *Service
 19985  	name         string
 19986  	urlParams_   gensupport.URLParams
 19987  	ifNoneMatch_ string
 19988  	ctx_         context.Context
 19989  	header_      http.Header
 19990  }
 19991  
 19992  // Get: Get an execution in the specified project.
 19993  //
 19994  //   - name: The execution resource name. Format:
 19995  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 19996  //     tegrations/{integration_id}/executions/{execution_id}.
 19997  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) Get(name string) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 19998  	c := &ProjectsLocationsProductsIntegrationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19999  	c.name = name
 20000  	return c
 20001  }
 20002  
 20003  // Fields allows partial responses to be retrieved. See
 20004  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20005  // for more information.
 20006  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 20007  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20008  	return c
 20009  }
 20010  
 20011  // IfNoneMatch sets the optional parameter which makes the operation
 20012  // fail if the object's ETag matches the given value. This is useful for
 20013  // getting updates only after the object has changed since the last
 20014  // request. Use googleapi.IsNotModified to check whether the response
 20015  // error from Do is the result of In-None-Match.
 20016  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 20017  	c.ifNoneMatch_ = entityTag
 20018  	return c
 20019  }
 20020  
 20021  // Context sets the context to be used in this call's Do method. Any
 20022  // pending HTTP request will be aborted if the provided context is
 20023  // canceled.
 20024  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsGetCall {
 20025  	c.ctx_ = ctx
 20026  	return c
 20027  }
 20028  
 20029  // Header returns an http.Header that can be modified by the caller to
 20030  // add HTTP headers to the request.
 20031  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Header() http.Header {
 20032  	if c.header_ == nil {
 20033  		c.header_ = make(http.Header)
 20034  	}
 20035  	return c.header_
 20036  }
 20037  
 20038  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) doRequest(alt string) (*http.Response, error) {
 20039  	reqHeaders := make(http.Header)
 20040  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20041  	for k, v := range c.header_ {
 20042  		reqHeaders[k] = v
 20043  	}
 20044  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20045  	if c.ifNoneMatch_ != "" {
 20046  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20047  	}
 20048  	var body io.Reader = nil
 20049  	c.urlParams_.Set("alt", alt)
 20050  	c.urlParams_.Set("prettyPrint", "false")
 20051  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 20052  	urls += "?" + c.urlParams_.Encode()
 20053  	req, err := http.NewRequest("GET", urls, body)
 20054  	if err != nil {
 20055  		return nil, err
 20056  	}
 20057  	req.Header = reqHeaders
 20058  	googleapi.Expand(req.URL, map[string]string{
 20059  		"name": c.name,
 20060  	})
 20061  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20062  }
 20063  
 20064  // Do executes the "integrations.projects.locations.products.integrations.executions.get" call.
 20065  // Exactly one of *GoogleCloudIntegrationsV1alphaExecution or error will
 20066  // be non-nil. Any non-2xx status code is an error. Response headers are
 20067  // in either
 20068  // *GoogleCloudIntegrationsV1alphaExecution.ServerResponse.Header or (if
 20069  // a response was returned at all) in error.(*googleapi.Error).Header.
 20070  // Use googleapi.IsNotModified to check whether the returned error was
 20071  // because http.StatusNotModified was returned.
 20072  func (c *ProjectsLocationsProductsIntegrationsExecutionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaExecution, error) {
 20073  	gensupport.SetOptions(c.urlParams_, opts...)
 20074  	res, err := c.doRequest("json")
 20075  	if res != nil && res.StatusCode == http.StatusNotModified {
 20076  		if res.Body != nil {
 20077  			res.Body.Close()
 20078  		}
 20079  		return nil, gensupport.WrapError(&googleapi.Error{
 20080  			Code:   res.StatusCode,
 20081  			Header: res.Header,
 20082  		})
 20083  	}
 20084  	if err != nil {
 20085  		return nil, err
 20086  	}
 20087  	defer googleapi.CloseBody(res)
 20088  	if err := googleapi.CheckResponse(res); err != nil {
 20089  		return nil, gensupport.WrapError(err)
 20090  	}
 20091  	ret := &GoogleCloudIntegrationsV1alphaExecution{
 20092  		ServerResponse: googleapi.ServerResponse{
 20093  			Header:         res.Header,
 20094  			HTTPStatusCode: res.StatusCode,
 20095  		},
 20096  	}
 20097  	target := &ret
 20098  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20099  		return nil, err
 20100  	}
 20101  	return ret, nil
 20102  	// {
 20103  	//   "description": "Get an execution in the specified project.",
 20104  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}",
 20105  	//   "httpMethod": "GET",
 20106  	//   "id": "integrations.projects.locations.products.integrations.executions.get",
 20107  	//   "parameterOrder": [
 20108  	//     "name"
 20109  	//   ],
 20110  	//   "parameters": {
 20111  	//     "name": {
 20112  	//       "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}",
 20113  	//       "location": "path",
 20114  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 20115  	//       "required": true,
 20116  	//       "type": "string"
 20117  	//     }
 20118  	//   },
 20119  	//   "path": "v1alpha/{+name}",
 20120  	//   "response": {
 20121  	//     "$ref": "GoogleCloudIntegrationsV1alphaExecution"
 20122  	//   },
 20123  	//   "scopes": [
 20124  	//     "https://www.googleapis.com/auth/cloud-platform"
 20125  	//   ]
 20126  	// }
 20127  
 20128  }
 20129  
 20130  // method id "integrations.projects.locations.products.integrations.executions.list":
 20131  
 20132  type ProjectsLocationsProductsIntegrationsExecutionsListCall struct {
 20133  	s            *Service
 20134  	parent       string
 20135  	urlParams_   gensupport.URLParams
 20136  	ifNoneMatch_ string
 20137  	ctx_         context.Context
 20138  	header_      http.Header
 20139  }
 20140  
 20141  // List: Lists the results of all the integration executions. The
 20142  // response includes the same information as the execution log
 20143  // (https://cloud.google.com/application-integration/docs/viewing-logs)
 20144  // in the Integration UI.
 20145  //
 20146  // - parent: The parent resource name of the integration execution.
 20147  func (r *ProjectsLocationsProductsIntegrationsExecutionsService) List(parent string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20148  	c := &ProjectsLocationsProductsIntegrationsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20149  	c.parent = parent
 20150  	return c
 20151  }
 20152  
 20153  // Filter sets the optional parameter "filter": Standard filter field,
 20154  // we support filtering on following fields: workflow_name: the name of
 20155  // the integration. CreateTimestamp: the execution created time.
 20156  // event_execution_state: the state of the executions. execution_id: the
 20157  // id of the execution. trigger_id: the id of the trigger.
 20158  // parameter_type: the type of the parameters involved in the execution.
 20159  // All fields support for EQUALS, in additional: CreateTimestamp support
 20160  // for LESS_THAN, GREATER_THAN ParameterType support for HAS For
 20161  // example: "parameter_type" HAS \"string\" Also supports operators like
 20162  // AND, OR, NOT For example, trigger_id=\"id1\" AND
 20163  // workflow_name=\"testWorkflow\"
 20164  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20165  	c.urlParams_.Set("filter", filter)
 20166  	return c
 20167  }
 20168  
 20169  // FilterParamsCustomFilter sets the optional parameter
 20170  // "filterParams.customFilter": Optional user-provided custom filter.
 20171  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsCustomFilter(filterParamsCustomFilter string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20172  	c.urlParams_.Set("filterParams.customFilter", filterParamsCustomFilter)
 20173  	return c
 20174  }
 20175  
 20176  // FilterParamsEndTime sets the optional parameter
 20177  // "filterParams.endTime": End timestamp.
 20178  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsEndTime(filterParamsEndTime int64) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20179  	c.urlParams_.Set("filterParams.endTime", fmt.Sprint(filterParamsEndTime))
 20180  	return c
 20181  }
 20182  
 20183  // FilterParamsEventStatuses sets the optional parameter
 20184  // "filterParams.eventStatuses": List of possible event statuses.
 20185  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsEventStatuses(filterParamsEventStatuses ...string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20186  	c.urlParams_.SetMulti("filterParams.eventStatuses", append([]string{}, filterParamsEventStatuses...))
 20187  	return c
 20188  }
 20189  
 20190  // FilterParamsExecutionId sets the optional parameter
 20191  // "filterParams.executionId": Execution id.
 20192  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsExecutionId(filterParamsExecutionId string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20193  	c.urlParams_.Set("filterParams.executionId", filterParamsExecutionId)
 20194  	return c
 20195  }
 20196  
 20197  // FilterParamsParameterKey sets the optional parameter
 20198  // "filterParams.parameterKey": Param key. DEPRECATED. User
 20199  // parameter_pair_key instead.
 20200  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterKey(filterParamsParameterKey string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20201  	c.urlParams_.Set("filterParams.parameterKey", filterParamsParameterKey)
 20202  	return c
 20203  }
 20204  
 20205  // FilterParamsParameterPairKey sets the optional parameter
 20206  // "filterParams.parameterPairKey": Param key in the key value pair
 20207  // filter.
 20208  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterPairKey(filterParamsParameterPairKey string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20209  	c.urlParams_.Set("filterParams.parameterPairKey", filterParamsParameterPairKey)
 20210  	return c
 20211  }
 20212  
 20213  // FilterParamsParameterPairValue sets the optional parameter
 20214  // "filterParams.parameterPairValue": Param value in the key value pair
 20215  // filter.
 20216  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterPairValue(filterParamsParameterPairValue string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20217  	c.urlParams_.Set("filterParams.parameterPairValue", filterParamsParameterPairValue)
 20218  	return c
 20219  }
 20220  
 20221  // FilterParamsParameterType sets the optional parameter
 20222  // "filterParams.parameterType": Param type.
 20223  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterType(filterParamsParameterType string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20224  	c.urlParams_.Set("filterParams.parameterType", filterParamsParameterType)
 20225  	return c
 20226  }
 20227  
 20228  // FilterParamsParameterValue sets the optional parameter
 20229  // "filterParams.parameterValue": Param value. DEPRECATED. User
 20230  // parameter_pair_value instead.
 20231  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsParameterValue(filterParamsParameterValue string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20232  	c.urlParams_.Set("filterParams.parameterValue", filterParamsParameterValue)
 20233  	return c
 20234  }
 20235  
 20236  // FilterParamsStartTime sets the optional parameter
 20237  // "filterParams.startTime": Start timestamp.
 20238  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsStartTime(filterParamsStartTime int64) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20239  	c.urlParams_.Set("filterParams.startTime", fmt.Sprint(filterParamsStartTime))
 20240  	return c
 20241  }
 20242  
 20243  // FilterParamsTaskStatuses sets the optional parameter
 20244  // "filterParams.taskStatuses": List of possible task statuses.
 20245  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsTaskStatuses(filterParamsTaskStatuses ...string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20246  	c.urlParams_.SetMulti("filterParams.taskStatuses", append([]string{}, filterParamsTaskStatuses...))
 20247  	return c
 20248  }
 20249  
 20250  // FilterParamsWorkflowName sets the optional parameter
 20251  // "filterParams.workflowName": Workflow name.
 20252  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) FilterParamsWorkflowName(filterParamsWorkflowName string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20253  	c.urlParams_.Set("filterParams.workflowName", filterParamsWorkflowName)
 20254  	return c
 20255  }
 20256  
 20257  // OrderBy sets the optional parameter "orderBy": The results would be
 20258  // returned in order you specified here. Currently supporting
 20259  // "last_modified_time" and "create_time".
 20260  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20261  	c.urlParams_.Set("orderBy", orderBy)
 20262  	return c
 20263  }
 20264  
 20265  // PageSize sets the optional parameter "pageSize": The size of entries
 20266  // in the response.
 20267  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20268  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 20269  	return c
 20270  }
 20271  
 20272  // PageToken sets the optional parameter "pageToken": The token returned
 20273  // in the previous response.
 20274  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20275  	c.urlParams_.Set("pageToken", pageToken)
 20276  	return c
 20277  }
 20278  
 20279  // ReadMask sets the optional parameter "readMask": View mask for the
 20280  // response data. If set, only the field specified will be returned as
 20281  // part of the result. If not set, all fields in event execution info
 20282  // will be filled and returned.
 20283  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) ReadMask(readMask string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20284  	c.urlParams_.Set("readMask", readMask)
 20285  	return c
 20286  }
 20287  
 20288  // RefreshAcl sets the optional parameter "refreshAcl": If true, the
 20289  // service will use the most recent acl information to list event
 20290  // execution infos and renew the acl cache. Note that fetching the most
 20291  // recent acl is synchronous, so it will increase RPC call latency.
 20292  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) RefreshAcl(refreshAcl bool) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20293  	c.urlParams_.Set("refreshAcl", fmt.Sprint(refreshAcl))
 20294  	return c
 20295  }
 20296  
 20297  // TruncateParams sets the optional parameter "truncateParams": If true,
 20298  // the service will truncate the params to only keep the first 1000
 20299  // characters of string params and empty the executions in order to make
 20300  // response smaller. Only works for UI and when the params fields are
 20301  // not filtered out.
 20302  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) TruncateParams(truncateParams bool) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20303  	c.urlParams_.Set("truncateParams", fmt.Sprint(truncateParams))
 20304  	return c
 20305  }
 20306  
 20307  // Fields allows partial responses to be retrieved. See
 20308  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20309  // for more information.
 20310  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20311  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20312  	return c
 20313  }
 20314  
 20315  // IfNoneMatch sets the optional parameter which makes the operation
 20316  // fail if the object's ETag matches the given value. This is useful for
 20317  // getting updates only after the object has changed since the last
 20318  // request. Use googleapi.IsNotModified to check whether the response
 20319  // error from Do is the result of In-None-Match.
 20320  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20321  	c.ifNoneMatch_ = entityTag
 20322  	return c
 20323  }
 20324  
 20325  // Context sets the context to be used in this call's Do method. Any
 20326  // pending HTTP request will be aborted if the provided context is
 20327  // canceled.
 20328  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsListCall {
 20329  	c.ctx_ = ctx
 20330  	return c
 20331  }
 20332  
 20333  // Header returns an http.Header that can be modified by the caller to
 20334  // add HTTP headers to the request.
 20335  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Header() http.Header {
 20336  	if c.header_ == nil {
 20337  		c.header_ = make(http.Header)
 20338  	}
 20339  	return c.header_
 20340  }
 20341  
 20342  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) doRequest(alt string) (*http.Response, error) {
 20343  	reqHeaders := make(http.Header)
 20344  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20345  	for k, v := range c.header_ {
 20346  		reqHeaders[k] = v
 20347  	}
 20348  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20349  	if c.ifNoneMatch_ != "" {
 20350  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20351  	}
 20352  	var body io.Reader = nil
 20353  	c.urlParams_.Set("alt", alt)
 20354  	c.urlParams_.Set("prettyPrint", "false")
 20355  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/executions")
 20356  	urls += "?" + c.urlParams_.Encode()
 20357  	req, err := http.NewRequest("GET", urls, body)
 20358  	if err != nil {
 20359  		return nil, err
 20360  	}
 20361  	req.Header = reqHeaders
 20362  	googleapi.Expand(req.URL, map[string]string{
 20363  		"parent": c.parent,
 20364  	})
 20365  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20366  }
 20367  
 20368  // Do executes the "integrations.projects.locations.products.integrations.executions.list" call.
 20369  // Exactly one of *GoogleCloudIntegrationsV1alphaListExecutionsResponse
 20370  // or error will be non-nil. Any non-2xx status code is an error.
 20371  // Response headers are in either
 20372  // *GoogleCloudIntegrationsV1alphaListExecutionsResponse.ServerResponse.H
 20373  // eader or (if a response was returned at all) in
 20374  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20375  // whether the returned error was because http.StatusNotModified was
 20376  // returned.
 20377  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListExecutionsResponse, error) {
 20378  	gensupport.SetOptions(c.urlParams_, opts...)
 20379  	res, err := c.doRequest("json")
 20380  	if res != nil && res.StatusCode == http.StatusNotModified {
 20381  		if res.Body != nil {
 20382  			res.Body.Close()
 20383  		}
 20384  		return nil, gensupport.WrapError(&googleapi.Error{
 20385  			Code:   res.StatusCode,
 20386  			Header: res.Header,
 20387  		})
 20388  	}
 20389  	if err != nil {
 20390  		return nil, err
 20391  	}
 20392  	defer googleapi.CloseBody(res)
 20393  	if err := googleapi.CheckResponse(res); err != nil {
 20394  		return nil, gensupport.WrapError(err)
 20395  	}
 20396  	ret := &GoogleCloudIntegrationsV1alphaListExecutionsResponse{
 20397  		ServerResponse: googleapi.ServerResponse{
 20398  			Header:         res.Header,
 20399  			HTTPStatusCode: res.StatusCode,
 20400  		},
 20401  	}
 20402  	target := &ret
 20403  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20404  		return nil, err
 20405  	}
 20406  	return ret, nil
 20407  	// {
 20408  	//   "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.",
 20409  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions",
 20410  	//   "httpMethod": "GET",
 20411  	//   "id": "integrations.projects.locations.products.integrations.executions.list",
 20412  	//   "parameterOrder": [
 20413  	//     "parent"
 20414  	//   ],
 20415  	//   "parameters": {
 20416  	//     "filter": {
 20417  	//       "description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"",
 20418  	//       "location": "query",
 20419  	//       "type": "string"
 20420  	//     },
 20421  	//     "filterParams.customFilter": {
 20422  	//       "description": "Optional user-provided custom filter.",
 20423  	//       "location": "query",
 20424  	//       "type": "string"
 20425  	//     },
 20426  	//     "filterParams.endTime": {
 20427  	//       "description": "End timestamp.",
 20428  	//       "format": "int64",
 20429  	//       "location": "query",
 20430  	//       "type": "string"
 20431  	//     },
 20432  	//     "filterParams.eventStatuses": {
 20433  	//       "description": "List of possible event statuses.",
 20434  	//       "location": "query",
 20435  	//       "repeated": true,
 20436  	//       "type": "string"
 20437  	//     },
 20438  	//     "filterParams.executionId": {
 20439  	//       "description": "Execution id.",
 20440  	//       "location": "query",
 20441  	//       "type": "string"
 20442  	//     },
 20443  	//     "filterParams.parameterKey": {
 20444  	//       "deprecated": true,
 20445  	//       "description": "Param key. DEPRECATED. User parameter_pair_key instead.",
 20446  	//       "location": "query",
 20447  	//       "type": "string"
 20448  	//     },
 20449  	//     "filterParams.parameterPairKey": {
 20450  	//       "description": "Param key in the key value pair filter.",
 20451  	//       "location": "query",
 20452  	//       "type": "string"
 20453  	//     },
 20454  	//     "filterParams.parameterPairValue": {
 20455  	//       "description": "Param value in the key value pair filter.",
 20456  	//       "location": "query",
 20457  	//       "type": "string"
 20458  	//     },
 20459  	//     "filterParams.parameterType": {
 20460  	//       "description": "Param type.",
 20461  	//       "location": "query",
 20462  	//       "type": "string"
 20463  	//     },
 20464  	//     "filterParams.parameterValue": {
 20465  	//       "deprecated": true,
 20466  	//       "description": "Param value. DEPRECATED. User parameter_pair_value instead.",
 20467  	//       "location": "query",
 20468  	//       "type": "string"
 20469  	//     },
 20470  	//     "filterParams.startTime": {
 20471  	//       "description": "Start timestamp.",
 20472  	//       "format": "int64",
 20473  	//       "location": "query",
 20474  	//       "type": "string"
 20475  	//     },
 20476  	//     "filterParams.taskStatuses": {
 20477  	//       "deprecated": true,
 20478  	//       "description": "List of possible task statuses.",
 20479  	//       "location": "query",
 20480  	//       "repeated": true,
 20481  	//       "type": "string"
 20482  	//     },
 20483  	//     "filterParams.workflowName": {
 20484  	//       "description": "Workflow name.",
 20485  	//       "location": "query",
 20486  	//       "type": "string"
 20487  	//     },
 20488  	//     "orderBy": {
 20489  	//       "description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".",
 20490  	//       "location": "query",
 20491  	//       "type": "string"
 20492  	//     },
 20493  	//     "pageSize": {
 20494  	//       "description": "Optional. The size of entries in the response.",
 20495  	//       "format": "int32",
 20496  	//       "location": "query",
 20497  	//       "type": "integer"
 20498  	//     },
 20499  	//     "pageToken": {
 20500  	//       "description": "Optional. The token returned in the previous response.",
 20501  	//       "location": "query",
 20502  	//       "type": "string"
 20503  	//     },
 20504  	//     "parent": {
 20505  	//       "description": "Required. The parent resource name of the integration execution.",
 20506  	//       "location": "path",
 20507  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 20508  	//       "required": true,
 20509  	//       "type": "string"
 20510  	//     },
 20511  	//     "readMask": {
 20512  	//       "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.",
 20513  	//       "format": "google-fieldmask",
 20514  	//       "location": "query",
 20515  	//       "type": "string"
 20516  	//     },
 20517  	//     "refreshAcl": {
 20518  	//       "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.",
 20519  	//       "location": "query",
 20520  	//       "type": "boolean"
 20521  	//     },
 20522  	//     "truncateParams": {
 20523  	//       "deprecated": true,
 20524  	//       "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.",
 20525  	//       "location": "query",
 20526  	//       "type": "boolean"
 20527  	//     }
 20528  	//   },
 20529  	//   "path": "v1alpha/{+parent}/executions",
 20530  	//   "response": {
 20531  	//     "$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse"
 20532  	//   },
 20533  	//   "scopes": [
 20534  	//     "https://www.googleapis.com/auth/cloud-platform"
 20535  	//   ]
 20536  	// }
 20537  
 20538  }
 20539  
 20540  // Pages invokes f for each page of results.
 20541  // A non-nil error returned from f will halt the iteration.
 20542  // The provided context supersedes any context provided to the Context method.
 20543  func (c *ProjectsLocationsProductsIntegrationsExecutionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListExecutionsResponse) error) error {
 20544  	c.ctx_ = ctx
 20545  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 20546  	for {
 20547  		x, err := c.Do()
 20548  		if err != nil {
 20549  			return err
 20550  		}
 20551  		if err := f(x); err != nil {
 20552  			return err
 20553  		}
 20554  		if x.NextPageToken == "" {
 20555  			return nil
 20556  		}
 20557  		c.PageToken(x.NextPageToken)
 20558  	}
 20559  }
 20560  
 20561  // method id "integrations.projects.locations.products.integrations.executions.suspensions.lift":
 20562  
 20563  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall struct {
 20564  	s                                                   *Service
 20565  	name                                                string
 20566  	googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest
 20567  	urlParams_                                          gensupport.URLParams
 20568  	ctx_                                                context.Context
 20569  	header_                                             http.Header
 20570  }
 20571  
 20572  // Lift: * Lifts suspension for advanced suspension task. Fetch
 20573  // corresponding suspension with provided suspension Id, resolve
 20574  // suspension, and set up suspension result for the Suspension Task.
 20575  //
 20576  //   - name: The resource that the suspension belongs to.
 20577  //     "projects/{project}/locations/{location}/products/{product}/integrat
 20578  //     ions/{integration}/executions/{execution}/suspensions/{suspenion}"
 20579  //     format.
 20580  func (r *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService) Lift(name string, googlecloudintegrationsv1alphaliftsuspensionrequest *GoogleCloudIntegrationsV1alphaLiftSuspensionRequest) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall {
 20581  	c := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20582  	c.name = name
 20583  	c.googlecloudintegrationsv1alphaliftsuspensionrequest = googlecloudintegrationsv1alphaliftsuspensionrequest
 20584  	return c
 20585  }
 20586  
 20587  // Fields allows partial responses to be retrieved. See
 20588  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20589  // for more information.
 20590  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall {
 20591  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20592  	return c
 20593  }
 20594  
 20595  // Context sets the context to be used in this call's Do method. Any
 20596  // pending HTTP request will be aborted if the provided context is
 20597  // canceled.
 20598  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall {
 20599  	c.ctx_ = ctx
 20600  	return c
 20601  }
 20602  
 20603  // Header returns an http.Header that can be modified by the caller to
 20604  // add HTTP headers to the request.
 20605  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Header() http.Header {
 20606  	if c.header_ == nil {
 20607  		c.header_ = make(http.Header)
 20608  	}
 20609  	return c.header_
 20610  }
 20611  
 20612  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) doRequest(alt string) (*http.Response, error) {
 20613  	reqHeaders := make(http.Header)
 20614  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20615  	for k, v := range c.header_ {
 20616  		reqHeaders[k] = v
 20617  	}
 20618  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20619  	var body io.Reader = nil
 20620  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaliftsuspensionrequest)
 20621  	if err != nil {
 20622  		return nil, err
 20623  	}
 20624  	reqHeaders.Set("Content-Type", "application/json")
 20625  	c.urlParams_.Set("alt", alt)
 20626  	c.urlParams_.Set("prettyPrint", "false")
 20627  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:lift")
 20628  	urls += "?" + c.urlParams_.Encode()
 20629  	req, err := http.NewRequest("POST", urls, body)
 20630  	if err != nil {
 20631  		return nil, err
 20632  	}
 20633  	req.Header = reqHeaders
 20634  	googleapi.Expand(req.URL, map[string]string{
 20635  		"name": c.name,
 20636  	})
 20637  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20638  }
 20639  
 20640  // Do executes the "integrations.projects.locations.products.integrations.executions.suspensions.lift" call.
 20641  // Exactly one of *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse
 20642  // or error will be non-nil. Any non-2xx status code is an error.
 20643  // Response headers are in either
 20644  // *GoogleCloudIntegrationsV1alphaLiftSuspensionResponse.ServerResponse.H
 20645  // eader or (if a response was returned at all) in
 20646  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20647  // whether the returned error was because http.StatusNotModified was
 20648  // returned.
 20649  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsLiftCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaLiftSuspensionResponse, error) {
 20650  	gensupport.SetOptions(c.urlParams_, opts...)
 20651  	res, err := c.doRequest("json")
 20652  	if res != nil && res.StatusCode == http.StatusNotModified {
 20653  		if res.Body != nil {
 20654  			res.Body.Close()
 20655  		}
 20656  		return nil, gensupport.WrapError(&googleapi.Error{
 20657  			Code:   res.StatusCode,
 20658  			Header: res.Header,
 20659  		})
 20660  	}
 20661  	if err != nil {
 20662  		return nil, err
 20663  	}
 20664  	defer googleapi.CloseBody(res)
 20665  	if err := googleapi.CheckResponse(res); err != nil {
 20666  		return nil, gensupport.WrapError(err)
 20667  	}
 20668  	ret := &GoogleCloudIntegrationsV1alphaLiftSuspensionResponse{
 20669  		ServerResponse: googleapi.ServerResponse{
 20670  			Header:         res.Header,
 20671  			HTTPStatusCode: res.StatusCode,
 20672  		},
 20673  	}
 20674  	target := &ret
 20675  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20676  		return nil, err
 20677  	}
 20678  	return ret, nil
 20679  	// {
 20680  	//   "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.",
 20681  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift",
 20682  	//   "httpMethod": "POST",
 20683  	//   "id": "integrations.projects.locations.products.integrations.executions.suspensions.lift",
 20684  	//   "parameterOrder": [
 20685  	//     "name"
 20686  	//   ],
 20687  	//   "parameters": {
 20688  	//     "name": {
 20689  	//       "description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.",
 20690  	//       "location": "path",
 20691  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 20692  	//       "required": true,
 20693  	//       "type": "string"
 20694  	//     }
 20695  	//   },
 20696  	//   "path": "v1alpha/{+name}:lift",
 20697  	//   "request": {
 20698  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest"
 20699  	//   },
 20700  	//   "response": {
 20701  	//     "$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse"
 20702  	//   },
 20703  	//   "scopes": [
 20704  	//     "https://www.googleapis.com/auth/cloud-platform"
 20705  	//   ]
 20706  	// }
 20707  
 20708  }
 20709  
 20710  // method id "integrations.projects.locations.products.integrations.executions.suspensions.list":
 20711  
 20712  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall struct {
 20713  	s            *Service
 20714  	parent       string
 20715  	urlParams_   gensupport.URLParams
 20716  	ifNoneMatch_ string
 20717  	ctx_         context.Context
 20718  	header_      http.Header
 20719  }
 20720  
 20721  // List: * Lists suspensions associated with a specific execution. Only
 20722  // those with permissions to resolve the relevant suspensions will be
 20723  // able to view them.
 20724  //
 20725  //   - parent:
 20726  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 20727  //     tegrations/{integration_name}/executions/{execution_name}.
 20728  func (r *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService) List(parent string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20729  	c := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20730  	c.parent = parent
 20731  	return c
 20732  }
 20733  
 20734  // Filter sets the optional parameter "filter": Standard filter field.
 20735  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20736  	c.urlParams_.Set("filter", filter)
 20737  	return c
 20738  }
 20739  
 20740  // OrderBy sets the optional parameter "orderBy": Field name to order
 20741  // by.
 20742  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20743  	c.urlParams_.Set("orderBy", orderBy)
 20744  	return c
 20745  }
 20746  
 20747  // PageSize sets the optional parameter "pageSize": Maximum number of
 20748  // entries in the response.
 20749  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20750  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 20751  	return c
 20752  }
 20753  
 20754  // PageToken sets the optional parameter "pageToken": Token to retrieve
 20755  // a specific page.
 20756  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20757  	c.urlParams_.Set("pageToken", pageToken)
 20758  	return c
 20759  }
 20760  
 20761  // Fields allows partial responses to be retrieved. See
 20762  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20763  // for more information.
 20764  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20765  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20766  	return c
 20767  }
 20768  
 20769  // IfNoneMatch sets the optional parameter which makes the operation
 20770  // fail if the object's ETag matches the given value. This is useful for
 20771  // getting updates only after the object has changed since the last
 20772  // request. Use googleapi.IsNotModified to check whether the response
 20773  // error from Do is the result of In-None-Match.
 20774  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20775  	c.ifNoneMatch_ = entityTag
 20776  	return c
 20777  }
 20778  
 20779  // Context sets the context to be used in this call's Do method. Any
 20780  // pending HTTP request will be aborted if the provided context is
 20781  // canceled.
 20782  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall {
 20783  	c.ctx_ = ctx
 20784  	return c
 20785  }
 20786  
 20787  // Header returns an http.Header that can be modified by the caller to
 20788  // add HTTP headers to the request.
 20789  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Header() http.Header {
 20790  	if c.header_ == nil {
 20791  		c.header_ = make(http.Header)
 20792  	}
 20793  	return c.header_
 20794  }
 20795  
 20796  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) doRequest(alt string) (*http.Response, error) {
 20797  	reqHeaders := make(http.Header)
 20798  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20799  	for k, v := range c.header_ {
 20800  		reqHeaders[k] = v
 20801  	}
 20802  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20803  	if c.ifNoneMatch_ != "" {
 20804  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20805  	}
 20806  	var body io.Reader = nil
 20807  	c.urlParams_.Set("alt", alt)
 20808  	c.urlParams_.Set("prettyPrint", "false")
 20809  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/suspensions")
 20810  	urls += "?" + c.urlParams_.Encode()
 20811  	req, err := http.NewRequest("GET", urls, body)
 20812  	if err != nil {
 20813  		return nil, err
 20814  	}
 20815  	req.Header = reqHeaders
 20816  	googleapi.Expand(req.URL, map[string]string{
 20817  		"parent": c.parent,
 20818  	})
 20819  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20820  }
 20821  
 20822  // Do executes the "integrations.projects.locations.products.integrations.executions.suspensions.list" call.
 20823  // Exactly one of *GoogleCloudIntegrationsV1alphaListSuspensionsResponse
 20824  // or error will be non-nil. Any non-2xx status code is an error.
 20825  // Response headers are in either
 20826  // *GoogleCloudIntegrationsV1alphaListSuspensionsResponse.ServerResponse.
 20827  // Header or (if a response was returned at all) in
 20828  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 20829  // whether the returned error was because http.StatusNotModified was
 20830  // returned.
 20831  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSuspensionsResponse, error) {
 20832  	gensupport.SetOptions(c.urlParams_, opts...)
 20833  	res, err := c.doRequest("json")
 20834  	if res != nil && res.StatusCode == http.StatusNotModified {
 20835  		if res.Body != nil {
 20836  			res.Body.Close()
 20837  		}
 20838  		return nil, gensupport.WrapError(&googleapi.Error{
 20839  			Code:   res.StatusCode,
 20840  			Header: res.Header,
 20841  		})
 20842  	}
 20843  	if err != nil {
 20844  		return nil, err
 20845  	}
 20846  	defer googleapi.CloseBody(res)
 20847  	if err := googleapi.CheckResponse(res); err != nil {
 20848  		return nil, gensupport.WrapError(err)
 20849  	}
 20850  	ret := &GoogleCloudIntegrationsV1alphaListSuspensionsResponse{
 20851  		ServerResponse: googleapi.ServerResponse{
 20852  			Header:         res.Header,
 20853  			HTTPStatusCode: res.StatusCode,
 20854  		},
 20855  	}
 20856  	target := &ret
 20857  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20858  		return nil, err
 20859  	}
 20860  	return ret, nil
 20861  	// {
 20862  	//   "description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.",
 20863  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions",
 20864  	//   "httpMethod": "GET",
 20865  	//   "id": "integrations.projects.locations.products.integrations.executions.suspensions.list",
 20866  	//   "parameterOrder": [
 20867  	//     "parent"
 20868  	//   ],
 20869  	//   "parameters": {
 20870  	//     "filter": {
 20871  	//       "description": "Standard filter field.",
 20872  	//       "location": "query",
 20873  	//       "type": "string"
 20874  	//     },
 20875  	//     "orderBy": {
 20876  	//       "description": "Field name to order by.",
 20877  	//       "location": "query",
 20878  	//       "type": "string"
 20879  	//     },
 20880  	//     "pageSize": {
 20881  	//       "description": "Maximum number of entries in the response.",
 20882  	//       "format": "int32",
 20883  	//       "location": "query",
 20884  	//       "type": "integer"
 20885  	//     },
 20886  	//     "pageToken": {
 20887  	//       "description": "Token to retrieve a specific page.",
 20888  	//       "location": "query",
 20889  	//       "type": "string"
 20890  	//     },
 20891  	//     "parent": {
 20892  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}",
 20893  	//       "location": "path",
 20894  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$",
 20895  	//       "required": true,
 20896  	//       "type": "string"
 20897  	//     }
 20898  	//   },
 20899  	//   "path": "v1alpha/{+parent}/suspensions",
 20900  	//   "response": {
 20901  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse"
 20902  	//   },
 20903  	//   "scopes": [
 20904  	//     "https://www.googleapis.com/auth/cloud-platform"
 20905  	//   ]
 20906  	// }
 20907  
 20908  }
 20909  
 20910  // Pages invokes f for each page of results.
 20911  // A non-nil error returned from f will halt the iteration.
 20912  // The provided context supersedes any context provided to the Context method.
 20913  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSuspensionsResponse) error) error {
 20914  	c.ctx_ = ctx
 20915  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 20916  	for {
 20917  		x, err := c.Do()
 20918  		if err != nil {
 20919  			return err
 20920  		}
 20921  		if err := f(x); err != nil {
 20922  			return err
 20923  		}
 20924  		if x.NextPageToken == "" {
 20925  			return nil
 20926  		}
 20927  		c.PageToken(x.NextPageToken)
 20928  	}
 20929  }
 20930  
 20931  // method id "integrations.projects.locations.products.integrations.executions.suspensions.resolve":
 20932  
 20933  type ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall struct {
 20934  	s                                                      *Service
 20935  	name                                                   string
 20936  	googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest
 20937  	urlParams_                                             gensupport.URLParams
 20938  	ctx_                                                   context.Context
 20939  	header_                                                http.Header
 20940  }
 20941  
 20942  // Resolve: * Resolves (lifts/rejects) any number of suspensions. If the
 20943  // integration is already running, only the status of the suspension is
 20944  // updated. Otherwise, the suspended integration will begin execution
 20945  // again.
 20946  //
 20947  //   - name:
 20948  //     projects/{gcp_project_id}/locations/{location}/products/{product}/in
 20949  //     tegrations/{integration_name}/executions/{execution_name}/suspension
 20950  //     s/{suspension_id}.
 20951  func (r *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsService) Resolve(name string, googlecloudintegrationsv1alpharesolvesuspensionrequest *GoogleCloudIntegrationsV1alphaResolveSuspensionRequest) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall {
 20952  	c := &ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20953  	c.name = name
 20954  	c.googlecloudintegrationsv1alpharesolvesuspensionrequest = googlecloudintegrationsv1alpharesolvesuspensionrequest
 20955  	return c
 20956  }
 20957  
 20958  // Fields allows partial responses to be retrieved. See
 20959  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 20960  // for more information.
 20961  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall {
 20962  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20963  	return c
 20964  }
 20965  
 20966  // Context sets the context to be used in this call's Do method. Any
 20967  // pending HTTP request will be aborted if the provided context is
 20968  // canceled.
 20969  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall {
 20970  	c.ctx_ = ctx
 20971  	return c
 20972  }
 20973  
 20974  // Header returns an http.Header that can be modified by the caller to
 20975  // add HTTP headers to the request.
 20976  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Header() http.Header {
 20977  	if c.header_ == nil {
 20978  		c.header_ = make(http.Header)
 20979  	}
 20980  	return c.header_
 20981  }
 20982  
 20983  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) doRequest(alt string) (*http.Response, error) {
 20984  	reqHeaders := make(http.Header)
 20985  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 20986  	for k, v := range c.header_ {
 20987  		reqHeaders[k] = v
 20988  	}
 20989  	reqHeaders.Set("User-Agent", c.s.userAgent())
 20990  	var body io.Reader = nil
 20991  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alpharesolvesuspensionrequest)
 20992  	if err != nil {
 20993  		return nil, err
 20994  	}
 20995  	reqHeaders.Set("Content-Type", "application/json")
 20996  	c.urlParams_.Set("alt", alt)
 20997  	c.urlParams_.Set("prettyPrint", "false")
 20998  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:resolve")
 20999  	urls += "?" + c.urlParams_.Encode()
 21000  	req, err := http.NewRequest("POST", urls, body)
 21001  	if err != nil {
 21002  		return nil, err
 21003  	}
 21004  	req.Header = reqHeaders
 21005  	googleapi.Expand(req.URL, map[string]string{
 21006  		"name": c.name,
 21007  	})
 21008  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21009  }
 21010  
 21011  // Do executes the "integrations.projects.locations.products.integrations.executions.suspensions.resolve" call.
 21012  // Exactly one of
 21013  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse or error
 21014  // will be non-nil. Any non-2xx status code is an error. Response
 21015  // headers are in either
 21016  // *GoogleCloudIntegrationsV1alphaResolveSuspensionResponse.ServerRespons
 21017  // e.Header or (if a response was returned at all) in
 21018  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21019  // whether the returned error was because http.StatusNotModified was
 21020  // returned.
 21021  func (c *ProjectsLocationsProductsIntegrationsExecutionsSuspensionsResolveCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaResolveSuspensionResponse, error) {
 21022  	gensupport.SetOptions(c.urlParams_, opts...)
 21023  	res, err := c.doRequest("json")
 21024  	if res != nil && res.StatusCode == http.StatusNotModified {
 21025  		if res.Body != nil {
 21026  			res.Body.Close()
 21027  		}
 21028  		return nil, gensupport.WrapError(&googleapi.Error{
 21029  			Code:   res.StatusCode,
 21030  			Header: res.Header,
 21031  		})
 21032  	}
 21033  	if err != nil {
 21034  		return nil, err
 21035  	}
 21036  	defer googleapi.CloseBody(res)
 21037  	if err := googleapi.CheckResponse(res); err != nil {
 21038  		return nil, gensupport.WrapError(err)
 21039  	}
 21040  	ret := &GoogleCloudIntegrationsV1alphaResolveSuspensionResponse{
 21041  		ServerResponse: googleapi.ServerResponse{
 21042  			Header:         res.Header,
 21043  			HTTPStatusCode: res.StatusCode,
 21044  		},
 21045  	}
 21046  	target := &ret
 21047  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21048  		return nil, err
 21049  	}
 21050  	return ret, nil
 21051  	// {
 21052  	//   "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.",
 21053  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve",
 21054  	//   "httpMethod": "POST",
 21055  	//   "id": "integrations.projects.locations.products.integrations.executions.suspensions.resolve",
 21056  	//   "parameterOrder": [
 21057  	//     "name"
 21058  	//   ],
 21059  	//   "parameters": {
 21060  	//     "name": {
 21061  	//       "description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}",
 21062  	//       "location": "path",
 21063  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$",
 21064  	//       "required": true,
 21065  	//       "type": "string"
 21066  	//     }
 21067  	//   },
 21068  	//   "path": "v1alpha/{+name}:resolve",
 21069  	//   "request": {
 21070  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest"
 21071  	//   },
 21072  	//   "response": {
 21073  	//     "$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse"
 21074  	//   },
 21075  	//   "scopes": [
 21076  	//     "https://www.googleapis.com/auth/cloud-platform"
 21077  	//   ]
 21078  	// }
 21079  
 21080  }
 21081  
 21082  // method id "integrations.projects.locations.products.integrations.versions.create":
 21083  
 21084  type ProjectsLocationsProductsIntegrationsVersionsCreateCall struct {
 21085  	s                                                *Service
 21086  	parent                                           string
 21087  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 21088  	urlParams_                                       gensupport.URLParams
 21089  	ctx_                                             context.Context
 21090  	header_                                          http.Header
 21091  }
 21092  
 21093  // Create: Create a integration with a draft version in the specified
 21094  // project.
 21095  //
 21096  //   - parent: The parent resource where this version will be created.
 21097  //     Format:
 21098  //     projects/{project}/locations/{location}/integrations/{integration}.
 21099  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Create(parent string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 21100  	c := &ProjectsLocationsProductsIntegrationsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21101  	c.parent = parent
 21102  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 21103  	return c
 21104  }
 21105  
 21106  // NewIntegration sets the optional parameter "newIntegration": Set this
 21107  // flag to true, if draft version is to be created for a brand new
 21108  // integration. False, if the request is for an existing integration.
 21109  // For backward compatibility reasons, even if this flag is set to
 21110  // `false` and no existing integration is found, a new draft integration
 21111  // will still be created.
 21112  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) NewIntegration(newIntegration bool) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 21113  	c.urlParams_.Set("newIntegration", fmt.Sprint(newIntegration))
 21114  	return c
 21115  }
 21116  
 21117  // Fields allows partial responses to be retrieved. See
 21118  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21119  // for more information.
 21120  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 21121  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21122  	return c
 21123  }
 21124  
 21125  // Context sets the context to be used in this call's Do method. Any
 21126  // pending HTTP request will be aborted if the provided context is
 21127  // canceled.
 21128  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsCreateCall {
 21129  	c.ctx_ = ctx
 21130  	return c
 21131  }
 21132  
 21133  // Header returns an http.Header that can be modified by the caller to
 21134  // add HTTP headers to the request.
 21135  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Header() http.Header {
 21136  	if c.header_ == nil {
 21137  		c.header_ = make(http.Header)
 21138  	}
 21139  	return c.header_
 21140  }
 21141  
 21142  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) doRequest(alt string) (*http.Response, error) {
 21143  	reqHeaders := make(http.Header)
 21144  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21145  	for k, v := range c.header_ {
 21146  		reqHeaders[k] = v
 21147  	}
 21148  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21149  	var body io.Reader = nil
 21150  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 21151  	if err != nil {
 21152  		return nil, err
 21153  	}
 21154  	reqHeaders.Set("Content-Type", "application/json")
 21155  	c.urlParams_.Set("alt", alt)
 21156  	c.urlParams_.Set("prettyPrint", "false")
 21157  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions")
 21158  	urls += "?" + c.urlParams_.Encode()
 21159  	req, err := http.NewRequest("POST", urls, body)
 21160  	if err != nil {
 21161  		return nil, err
 21162  	}
 21163  	req.Header = reqHeaders
 21164  	googleapi.Expand(req.URL, map[string]string{
 21165  		"parent": c.parent,
 21166  	})
 21167  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21168  }
 21169  
 21170  // Do executes the "integrations.projects.locations.products.integrations.versions.create" call.
 21171  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 21172  // error will be non-nil. Any non-2xx status code is an error. Response
 21173  // headers are in either
 21174  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 21175  // r or (if a response was returned at all) in
 21176  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21177  // whether the returned error was because http.StatusNotModified was
 21178  // returned.
 21179  func (c *ProjectsLocationsProductsIntegrationsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 21180  	gensupport.SetOptions(c.urlParams_, opts...)
 21181  	res, err := c.doRequest("json")
 21182  	if res != nil && res.StatusCode == http.StatusNotModified {
 21183  		if res.Body != nil {
 21184  			res.Body.Close()
 21185  		}
 21186  		return nil, gensupport.WrapError(&googleapi.Error{
 21187  			Code:   res.StatusCode,
 21188  			Header: res.Header,
 21189  		})
 21190  	}
 21191  	if err != nil {
 21192  		return nil, err
 21193  	}
 21194  	defer googleapi.CloseBody(res)
 21195  	if err := googleapi.CheckResponse(res); err != nil {
 21196  		return nil, gensupport.WrapError(err)
 21197  	}
 21198  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 21199  		ServerResponse: googleapi.ServerResponse{
 21200  			Header:         res.Header,
 21201  			HTTPStatusCode: res.StatusCode,
 21202  		},
 21203  	}
 21204  	target := &ret
 21205  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21206  		return nil, err
 21207  	}
 21208  	return ret, nil
 21209  	// {
 21210  	//   "description": "Create a integration with a draft version in the specified project.",
 21211  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions",
 21212  	//   "httpMethod": "POST",
 21213  	//   "id": "integrations.projects.locations.products.integrations.versions.create",
 21214  	//   "parameterOrder": [
 21215  	//     "parent"
 21216  	//   ],
 21217  	//   "parameters": {
 21218  	//     "newIntegration": {
 21219  	//       "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.",
 21220  	//       "location": "query",
 21221  	//       "type": "boolean"
 21222  	//     },
 21223  	//     "parent": {
 21224  	//       "description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}",
 21225  	//       "location": "path",
 21226  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 21227  	//       "required": true,
 21228  	//       "type": "string"
 21229  	//     }
 21230  	//   },
 21231  	//   "path": "v1alpha/{+parent}/versions",
 21232  	//   "request": {
 21233  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 21234  	//   },
 21235  	//   "response": {
 21236  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 21237  	//   },
 21238  	//   "scopes": [
 21239  	//     "https://www.googleapis.com/auth/cloud-platform"
 21240  	//   ]
 21241  	// }
 21242  
 21243  }
 21244  
 21245  // method id "integrations.projects.locations.products.integrations.versions.delete":
 21246  
 21247  type ProjectsLocationsProductsIntegrationsVersionsDeleteCall struct {
 21248  	s          *Service
 21249  	name       string
 21250  	urlParams_ gensupport.URLParams
 21251  	ctx_       context.Context
 21252  	header_    http.Header
 21253  }
 21254  
 21255  // Delete: Soft-deletes the integration. Changes the status of the
 21256  // integration to ARCHIVED. If the integration being ARCHIVED is tagged
 21257  // as "HEAD", the tag is removed from this snapshot and set to the
 21258  // previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED,
 21259  // DUE_FOR_DELETION tags are removed too. This RPC throws an exception
 21260  // if the version being deleted is DRAFT, and if the `locked_by` user is
 21261  // not the same as the user performing the Delete. Audit fields updated
 21262  // include last_modified_timestamp, last_modified_by. Any existing lock
 21263  // is released when Deleting a integration. Currently, there is no
 21264  // undelete mechanism.
 21265  //
 21266  //   - name: The version to delete. Format:
 21267  //     projects/{project}/locations/{location}/integrations/{integration}/v
 21268  //     ersions/{version}.
 21269  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Delete(name string) *ProjectsLocationsProductsIntegrationsVersionsDeleteCall {
 21270  	c := &ProjectsLocationsProductsIntegrationsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21271  	c.name = name
 21272  	return c
 21273  }
 21274  
 21275  // Fields allows partial responses to be retrieved. See
 21276  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21277  // for more information.
 21278  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsDeleteCall {
 21279  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21280  	return c
 21281  }
 21282  
 21283  // Context sets the context to be used in this call's Do method. Any
 21284  // pending HTTP request will be aborted if the provided context is
 21285  // canceled.
 21286  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsDeleteCall {
 21287  	c.ctx_ = ctx
 21288  	return c
 21289  }
 21290  
 21291  // Header returns an http.Header that can be modified by the caller to
 21292  // add HTTP headers to the request.
 21293  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Header() http.Header {
 21294  	if c.header_ == nil {
 21295  		c.header_ = make(http.Header)
 21296  	}
 21297  	return c.header_
 21298  }
 21299  
 21300  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) {
 21301  	reqHeaders := make(http.Header)
 21302  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21303  	for k, v := range c.header_ {
 21304  		reqHeaders[k] = v
 21305  	}
 21306  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21307  	var body io.Reader = nil
 21308  	c.urlParams_.Set("alt", alt)
 21309  	c.urlParams_.Set("prettyPrint", "false")
 21310  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 21311  	urls += "?" + c.urlParams_.Encode()
 21312  	req, err := http.NewRequest("DELETE", urls, body)
 21313  	if err != nil {
 21314  		return nil, err
 21315  	}
 21316  	req.Header = reqHeaders
 21317  	googleapi.Expand(req.URL, map[string]string{
 21318  		"name": c.name,
 21319  	})
 21320  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21321  }
 21322  
 21323  // Do executes the "integrations.projects.locations.products.integrations.versions.delete" call.
 21324  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 21325  // non-2xx status code is an error. Response headers are in either
 21326  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 21327  // returned at all) in error.(*googleapi.Error).Header. Use
 21328  // googleapi.IsNotModified to check whether the returned error was
 21329  // because http.StatusNotModified was returned.
 21330  func (c *ProjectsLocationsProductsIntegrationsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 21331  	gensupport.SetOptions(c.urlParams_, opts...)
 21332  	res, err := c.doRequest("json")
 21333  	if res != nil && res.StatusCode == http.StatusNotModified {
 21334  		if res.Body != nil {
 21335  			res.Body.Close()
 21336  		}
 21337  		return nil, gensupport.WrapError(&googleapi.Error{
 21338  			Code:   res.StatusCode,
 21339  			Header: res.Header,
 21340  		})
 21341  	}
 21342  	if err != nil {
 21343  		return nil, err
 21344  	}
 21345  	defer googleapi.CloseBody(res)
 21346  	if err := googleapi.CheckResponse(res); err != nil {
 21347  		return nil, gensupport.WrapError(err)
 21348  	}
 21349  	ret := &GoogleProtobufEmpty{
 21350  		ServerResponse: googleapi.ServerResponse{
 21351  			Header:         res.Header,
 21352  			HTTPStatusCode: res.StatusCode,
 21353  		},
 21354  	}
 21355  	target := &ret
 21356  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21357  		return nil, err
 21358  	}
 21359  	return ret, nil
 21360  	// {
 21361  	//   "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.",
 21362  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}",
 21363  	//   "httpMethod": "DELETE",
 21364  	//   "id": "integrations.projects.locations.products.integrations.versions.delete",
 21365  	//   "parameterOrder": [
 21366  	//     "name"
 21367  	//   ],
 21368  	//   "parameters": {
 21369  	//     "name": {
 21370  	//       "description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 21371  	//       "location": "path",
 21372  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 21373  	//       "required": true,
 21374  	//       "type": "string"
 21375  	//     }
 21376  	//   },
 21377  	//   "path": "v1alpha/{+name}",
 21378  	//   "response": {
 21379  	//     "$ref": "GoogleProtobufEmpty"
 21380  	//   },
 21381  	//   "scopes": [
 21382  	//     "https://www.googleapis.com/auth/cloud-platform"
 21383  	//   ]
 21384  	// }
 21385  
 21386  }
 21387  
 21388  // method id "integrations.projects.locations.products.integrations.versions.download":
 21389  
 21390  type ProjectsLocationsProductsIntegrationsVersionsDownloadCall struct {
 21391  	s            *Service
 21392  	name         string
 21393  	urlParams_   gensupport.URLParams
 21394  	ifNoneMatch_ string
 21395  	ctx_         context.Context
 21396  	header_      http.Header
 21397  }
 21398  
 21399  // Download: Downloads an integration. Retrieves the
 21400  // `IntegrationVersion` for a given `integration_id` and returns the
 21401  // response as a string.
 21402  //
 21403  //   - name: The version to download. Format:
 21404  //     projects/{project}/locations/{location}/integrations/{integration}/v
 21405  //     ersions/{version}.
 21406  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Download(name string) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 21407  	c := &ProjectsLocationsProductsIntegrationsVersionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21408  	c.name = name
 21409  	return c
 21410  }
 21411  
 21412  // FileFormat sets the optional parameter "fileFormat": File format for
 21413  // download request.
 21414  //
 21415  // Possible values:
 21416  //
 21417  //	"FILE_FORMAT_UNSPECIFIED" - Unspecified file format
 21418  //	"JSON" - JSON File Format
 21419  //	"YAML" - YAML File Format
 21420  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) FileFormat(fileFormat string) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 21421  	c.urlParams_.Set("fileFormat", fileFormat)
 21422  	return c
 21423  }
 21424  
 21425  // Fields allows partial responses to be retrieved. See
 21426  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21427  // for more information.
 21428  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 21429  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21430  	return c
 21431  }
 21432  
 21433  // IfNoneMatch sets the optional parameter which makes the operation
 21434  // fail if the object's ETag matches the given value. This is useful for
 21435  // getting updates only after the object has changed since the last
 21436  // request. Use googleapi.IsNotModified to check whether the response
 21437  // error from Do is the result of In-None-Match.
 21438  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 21439  	c.ifNoneMatch_ = entityTag
 21440  	return c
 21441  }
 21442  
 21443  // Context sets the context to be used in this call's Do method. Any
 21444  // pending HTTP request will be aborted if the provided context is
 21445  // canceled.
 21446  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsDownloadCall {
 21447  	c.ctx_ = ctx
 21448  	return c
 21449  }
 21450  
 21451  // Header returns an http.Header that can be modified by the caller to
 21452  // add HTTP headers to the request.
 21453  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Header() http.Header {
 21454  	if c.header_ == nil {
 21455  		c.header_ = make(http.Header)
 21456  	}
 21457  	return c.header_
 21458  }
 21459  
 21460  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) doRequest(alt string) (*http.Response, error) {
 21461  	reqHeaders := make(http.Header)
 21462  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21463  	for k, v := range c.header_ {
 21464  		reqHeaders[k] = v
 21465  	}
 21466  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21467  	if c.ifNoneMatch_ != "" {
 21468  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21469  	}
 21470  	var body io.Reader = nil
 21471  	c.urlParams_.Set("alt", alt)
 21472  	c.urlParams_.Set("prettyPrint", "false")
 21473  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:download")
 21474  	urls += "?" + c.urlParams_.Encode()
 21475  	req, err := http.NewRequest("GET", urls, body)
 21476  	if err != nil {
 21477  		return nil, err
 21478  	}
 21479  	req.Header = reqHeaders
 21480  	googleapi.Expand(req.URL, map[string]string{
 21481  		"name": c.name,
 21482  	})
 21483  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21484  }
 21485  
 21486  // Do executes the "integrations.projects.locations.products.integrations.versions.download" call.
 21487  // Exactly one of
 21488  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse or
 21489  // error will be non-nil. Any non-2xx status code is an error. Response
 21490  // headers are in either
 21491  // *GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse.Serv
 21492  // erResponse.Header or (if a response was returned at all) in
 21493  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21494  // whether the returned error was because http.StatusNotModified was
 21495  // returned.
 21496  func (c *ProjectsLocationsProductsIntegrationsVersionsDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse, error) {
 21497  	gensupport.SetOptions(c.urlParams_, opts...)
 21498  	res, err := c.doRequest("json")
 21499  	if res != nil && res.StatusCode == http.StatusNotModified {
 21500  		if res.Body != nil {
 21501  			res.Body.Close()
 21502  		}
 21503  		return nil, gensupport.WrapError(&googleapi.Error{
 21504  			Code:   res.StatusCode,
 21505  			Header: res.Header,
 21506  		})
 21507  	}
 21508  	if err != nil {
 21509  		return nil, err
 21510  	}
 21511  	defer googleapi.CloseBody(res)
 21512  	if err := googleapi.CheckResponse(res); err != nil {
 21513  		return nil, gensupport.WrapError(err)
 21514  	}
 21515  	ret := &GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse{
 21516  		ServerResponse: googleapi.ServerResponse{
 21517  			Header:         res.Header,
 21518  			HTTPStatusCode: res.StatusCode,
 21519  		},
 21520  	}
 21521  	target := &ret
 21522  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21523  		return nil, err
 21524  	}
 21525  	return ret, nil
 21526  	// {
 21527  	//   "description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.",
 21528  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:download",
 21529  	//   "httpMethod": "GET",
 21530  	//   "id": "integrations.projects.locations.products.integrations.versions.download",
 21531  	//   "parameterOrder": [
 21532  	//     "name"
 21533  	//   ],
 21534  	//   "parameters": {
 21535  	//     "fileFormat": {
 21536  	//       "description": "File format for download request.",
 21537  	//       "enum": [
 21538  	//         "FILE_FORMAT_UNSPECIFIED",
 21539  	//         "JSON",
 21540  	//         "YAML"
 21541  	//       ],
 21542  	//       "enumDescriptions": [
 21543  	//         "Unspecified file format",
 21544  	//         "JSON File Format",
 21545  	//         "YAML File Format"
 21546  	//       ],
 21547  	//       "location": "query",
 21548  	//       "type": "string"
 21549  	//     },
 21550  	//     "name": {
 21551  	//       "description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 21552  	//       "location": "path",
 21553  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 21554  	//       "required": true,
 21555  	//       "type": "string"
 21556  	//     }
 21557  	//   },
 21558  	//   "path": "v1alpha/{+name}:download",
 21559  	//   "response": {
 21560  	//     "$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse"
 21561  	//   },
 21562  	//   "scopes": [
 21563  	//     "https://www.googleapis.com/auth/cloud-platform"
 21564  	//   ]
 21565  	// }
 21566  
 21567  }
 21568  
 21569  // method id "integrations.projects.locations.products.integrations.versions.get":
 21570  
 21571  type ProjectsLocationsProductsIntegrationsVersionsGetCall struct {
 21572  	s            *Service
 21573  	name         string
 21574  	urlParams_   gensupport.URLParams
 21575  	ifNoneMatch_ string
 21576  	ctx_         context.Context
 21577  	header_      http.Header
 21578  }
 21579  
 21580  // Get: Get a integration in the specified project.
 21581  //
 21582  //   - name: The version to retrieve. Format:
 21583  //     projects/{project}/locations/{location}/integrations/{integration}/v
 21584  //     ersions/{version}.
 21585  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Get(name string) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 21586  	c := &ProjectsLocationsProductsIntegrationsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21587  	c.name = name
 21588  	return c
 21589  }
 21590  
 21591  // Fields allows partial responses to be retrieved. See
 21592  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21593  // for more information.
 21594  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 21595  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21596  	return c
 21597  }
 21598  
 21599  // IfNoneMatch sets the optional parameter which makes the operation
 21600  // fail if the object's ETag matches the given value. This is useful for
 21601  // getting updates only after the object has changed since the last
 21602  // request. Use googleapi.IsNotModified to check whether the response
 21603  // error from Do is the result of In-None-Match.
 21604  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 21605  	c.ifNoneMatch_ = entityTag
 21606  	return c
 21607  }
 21608  
 21609  // Context sets the context to be used in this call's Do method. Any
 21610  // pending HTTP request will be aborted if the provided context is
 21611  // canceled.
 21612  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsGetCall {
 21613  	c.ctx_ = ctx
 21614  	return c
 21615  }
 21616  
 21617  // Header returns an http.Header that can be modified by the caller to
 21618  // add HTTP headers to the request.
 21619  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Header() http.Header {
 21620  	if c.header_ == nil {
 21621  		c.header_ = make(http.Header)
 21622  	}
 21623  	return c.header_
 21624  }
 21625  
 21626  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) doRequest(alt string) (*http.Response, error) {
 21627  	reqHeaders := make(http.Header)
 21628  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21629  	for k, v := range c.header_ {
 21630  		reqHeaders[k] = v
 21631  	}
 21632  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21633  	if c.ifNoneMatch_ != "" {
 21634  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21635  	}
 21636  	var body io.Reader = nil
 21637  	c.urlParams_.Set("alt", alt)
 21638  	c.urlParams_.Set("prettyPrint", "false")
 21639  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 21640  	urls += "?" + c.urlParams_.Encode()
 21641  	req, err := http.NewRequest("GET", urls, body)
 21642  	if err != nil {
 21643  		return nil, err
 21644  	}
 21645  	req.Header = reqHeaders
 21646  	googleapi.Expand(req.URL, map[string]string{
 21647  		"name": c.name,
 21648  	})
 21649  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21650  }
 21651  
 21652  // Do executes the "integrations.projects.locations.products.integrations.versions.get" call.
 21653  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 21654  // error will be non-nil. Any non-2xx status code is an error. Response
 21655  // headers are in either
 21656  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 21657  // r or (if a response was returned at all) in
 21658  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21659  // whether the returned error was because http.StatusNotModified was
 21660  // returned.
 21661  func (c *ProjectsLocationsProductsIntegrationsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 21662  	gensupport.SetOptions(c.urlParams_, opts...)
 21663  	res, err := c.doRequest("json")
 21664  	if res != nil && res.StatusCode == http.StatusNotModified {
 21665  		if res.Body != nil {
 21666  			res.Body.Close()
 21667  		}
 21668  		return nil, gensupport.WrapError(&googleapi.Error{
 21669  			Code:   res.StatusCode,
 21670  			Header: res.Header,
 21671  		})
 21672  	}
 21673  	if err != nil {
 21674  		return nil, err
 21675  	}
 21676  	defer googleapi.CloseBody(res)
 21677  	if err := googleapi.CheckResponse(res); err != nil {
 21678  		return nil, gensupport.WrapError(err)
 21679  	}
 21680  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 21681  		ServerResponse: googleapi.ServerResponse{
 21682  			Header:         res.Header,
 21683  			HTTPStatusCode: res.StatusCode,
 21684  		},
 21685  	}
 21686  	target := &ret
 21687  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21688  		return nil, err
 21689  	}
 21690  	return ret, nil
 21691  	// {
 21692  	//   "description": "Get a integration in the specified project.",
 21693  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}",
 21694  	//   "httpMethod": "GET",
 21695  	//   "id": "integrations.projects.locations.products.integrations.versions.get",
 21696  	//   "parameterOrder": [
 21697  	//     "name"
 21698  	//   ],
 21699  	//   "parameters": {
 21700  	//     "name": {
 21701  	//       "description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 21702  	//       "location": "path",
 21703  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 21704  	//       "required": true,
 21705  	//       "type": "string"
 21706  	//     }
 21707  	//   },
 21708  	//   "path": "v1alpha/{+name}",
 21709  	//   "response": {
 21710  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 21711  	//   },
 21712  	//   "scopes": [
 21713  	//     "https://www.googleapis.com/auth/cloud-platform"
 21714  	//   ]
 21715  	// }
 21716  
 21717  }
 21718  
 21719  // method id "integrations.projects.locations.products.integrations.versions.list":
 21720  
 21721  type ProjectsLocationsProductsIntegrationsVersionsListCall struct {
 21722  	s            *Service
 21723  	parent       string
 21724  	urlParams_   gensupport.URLParams
 21725  	ifNoneMatch_ string
 21726  	ctx_         context.Context
 21727  	header_      http.Header
 21728  }
 21729  
 21730  // List: Returns the list of all integration versions in the specified
 21731  // project.
 21732  //
 21733  //   - parent: The parent resource where this version will be created.
 21734  //     Format:
 21735  //     projects/{project}/locations/{location}/integrations/{integration}
 21736  //     Specifically, when parent equals: 1.
 21737  //     projects//locations//integrations/, Meaning: "List versions (with
 21738  //     filter) for a particular integration". 2.
 21739  //     projects//locations//integrations/- Meaning: "List versions (with
 21740  //     filter) for a client within a particular region". 3.
 21741  //     projects//locations/-/integrations/- Meaning: "List versions (with
 21742  //     filter) for a client".
 21743  func (r *ProjectsLocationsProductsIntegrationsVersionsService) List(parent string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21744  	c := &ProjectsLocationsProductsIntegrationsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21745  	c.parent = parent
 21746  	return c
 21747  }
 21748  
 21749  // FieldMask sets the optional parameter "fieldMask": The field mask
 21750  // which specifies the particular data to be returned.
 21751  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) FieldMask(fieldMask string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21752  	c.urlParams_.Set("fieldMask", fieldMask)
 21753  	return c
 21754  }
 21755  
 21756  // Filter sets the optional parameter "filter": Filter on fields of
 21757  // IntegrationVersion. Fields can be compared with literal values by use
 21758  // of ":" (containment), "=" (equality), ">" (greater), "<" (less than),
 21759  // >=" (greater than or equal to), "<=" (less than or equal to), and
 21760  // "!=" (inequality) operators. Negation, conjunction, and disjunction
 21761  // are written using NOT, AND, and OR keywords. For example,
 21762  // organization_id=\"1\" AND state=ACTIVE AND description:"test".
 21763  // Filtering cannot be performed on repeated fields like `task_config`.
 21764  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21765  	c.urlParams_.Set("filter", filter)
 21766  	return c
 21767  }
 21768  
 21769  // OrderBy sets the optional parameter "orderBy": The results would be
 21770  // returned in order you specified here. Currently supported sort keys
 21771  // are: Descending sort order for "last_modified_time", "created_time",
 21772  // "snapshot_number" Ascending sort order for "name".
 21773  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21774  	c.urlParams_.Set("orderBy", orderBy)
 21775  	return c
 21776  }
 21777  
 21778  // PageSize sets the optional parameter "pageSize": The maximum number
 21779  // of versions to return. The service may return fewer than this value.
 21780  // If unspecified, at most 50 versions will be returned. The maximum
 21781  // value is 1000; values above 1000 will be coerced to 1000.
 21782  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21783  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 21784  	return c
 21785  }
 21786  
 21787  // PageToken sets the optional parameter "pageToken": A page token,
 21788  // received from a previous `ListIntegrationVersions` call. Provide this
 21789  // to retrieve the subsequent page. When paginating, all other
 21790  // parameters provided to `ListIntegrationVersions` must match the call
 21791  // that provided the page token.
 21792  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21793  	c.urlParams_.Set("pageToken", pageToken)
 21794  	return c
 21795  }
 21796  
 21797  // Fields allows partial responses to be retrieved. See
 21798  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 21799  // for more information.
 21800  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21801  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21802  	return c
 21803  }
 21804  
 21805  // IfNoneMatch sets the optional parameter which makes the operation
 21806  // fail if the object's ETag matches the given value. This is useful for
 21807  // getting updates only after the object has changed since the last
 21808  // request. Use googleapi.IsNotModified to check whether the response
 21809  // error from Do is the result of In-None-Match.
 21810  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21811  	c.ifNoneMatch_ = entityTag
 21812  	return c
 21813  }
 21814  
 21815  // Context sets the context to be used in this call's Do method. Any
 21816  // pending HTTP request will be aborted if the provided context is
 21817  // canceled.
 21818  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsListCall {
 21819  	c.ctx_ = ctx
 21820  	return c
 21821  }
 21822  
 21823  // Header returns an http.Header that can be modified by the caller to
 21824  // add HTTP headers to the request.
 21825  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Header() http.Header {
 21826  	if c.header_ == nil {
 21827  		c.header_ = make(http.Header)
 21828  	}
 21829  	return c.header_
 21830  }
 21831  
 21832  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) doRequest(alt string) (*http.Response, error) {
 21833  	reqHeaders := make(http.Header)
 21834  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 21835  	for k, v := range c.header_ {
 21836  		reqHeaders[k] = v
 21837  	}
 21838  	reqHeaders.Set("User-Agent", c.s.userAgent())
 21839  	if c.ifNoneMatch_ != "" {
 21840  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21841  	}
 21842  	var body io.Reader = nil
 21843  	c.urlParams_.Set("alt", alt)
 21844  	c.urlParams_.Set("prettyPrint", "false")
 21845  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions")
 21846  	urls += "?" + c.urlParams_.Encode()
 21847  	req, err := http.NewRequest("GET", urls, body)
 21848  	if err != nil {
 21849  		return nil, err
 21850  	}
 21851  	req.Header = reqHeaders
 21852  	googleapi.Expand(req.URL, map[string]string{
 21853  		"parent": c.parent,
 21854  	})
 21855  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21856  }
 21857  
 21858  // Do executes the "integrations.projects.locations.products.integrations.versions.list" call.
 21859  // Exactly one of
 21860  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse or
 21861  // error will be non-nil. Any non-2xx status code is an error. Response
 21862  // headers are in either
 21863  // *GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse.ServerR
 21864  // esponse.Header or (if a response was returned at all) in
 21865  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21866  // whether the returned error was because http.StatusNotModified was
 21867  // returned.
 21868  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse, error) {
 21869  	gensupport.SetOptions(c.urlParams_, opts...)
 21870  	res, err := c.doRequest("json")
 21871  	if res != nil && res.StatusCode == http.StatusNotModified {
 21872  		if res.Body != nil {
 21873  			res.Body.Close()
 21874  		}
 21875  		return nil, gensupport.WrapError(&googleapi.Error{
 21876  			Code:   res.StatusCode,
 21877  			Header: res.Header,
 21878  		})
 21879  	}
 21880  	if err != nil {
 21881  		return nil, err
 21882  	}
 21883  	defer googleapi.CloseBody(res)
 21884  	if err := googleapi.CheckResponse(res); err != nil {
 21885  		return nil, gensupport.WrapError(err)
 21886  	}
 21887  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse{
 21888  		ServerResponse: googleapi.ServerResponse{
 21889  			Header:         res.Header,
 21890  			HTTPStatusCode: res.StatusCode,
 21891  		},
 21892  	}
 21893  	target := &ret
 21894  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21895  		return nil, err
 21896  	}
 21897  	return ret, nil
 21898  	// {
 21899  	//   "description": "Returns the list of all integration versions in the specified project.",
 21900  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions",
 21901  	//   "httpMethod": "GET",
 21902  	//   "id": "integrations.projects.locations.products.integrations.versions.list",
 21903  	//   "parameterOrder": [
 21904  	//     "parent"
 21905  	//   ],
 21906  	//   "parameters": {
 21907  	//     "fieldMask": {
 21908  	//       "description": "The field mask which specifies the particular data to be returned.",
 21909  	//       "format": "google-fieldmask",
 21910  	//       "location": "query",
 21911  	//       "type": "string"
 21912  	//     },
 21913  	//     "filter": {
 21914  	//       "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`.",
 21915  	//       "location": "query",
 21916  	//       "type": "string"
 21917  	//     },
 21918  	//     "orderBy": {
 21919  	//       "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\".",
 21920  	//       "location": "query",
 21921  	//       "type": "string"
 21922  	//     },
 21923  	//     "pageSize": {
 21924  	//       "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.",
 21925  	//       "format": "int32",
 21926  	//       "location": "query",
 21927  	//       "type": "integer"
 21928  	//     },
 21929  	//     "pageToken": {
 21930  	//       "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.",
 21931  	//       "location": "query",
 21932  	//       "type": "string"
 21933  	//     },
 21934  	//     "parent": {
 21935  	//       "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\".",
 21936  	//       "location": "path",
 21937  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 21938  	//       "required": true,
 21939  	//       "type": "string"
 21940  	//     }
 21941  	//   },
 21942  	//   "path": "v1alpha/{+parent}/versions",
 21943  	//   "response": {
 21944  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse"
 21945  	//   },
 21946  	//   "scopes": [
 21947  	//     "https://www.googleapis.com/auth/cloud-platform"
 21948  	//   ]
 21949  	// }
 21950  
 21951  }
 21952  
 21953  // Pages invokes f for each page of results.
 21954  // A non-nil error returned from f will halt the iteration.
 21955  // The provided context supersedes any context provided to the Context method.
 21956  func (c *ProjectsLocationsProductsIntegrationsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse) error) error {
 21957  	c.ctx_ = ctx
 21958  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 21959  	for {
 21960  		x, err := c.Do()
 21961  		if err != nil {
 21962  			return err
 21963  		}
 21964  		if err := f(x); err != nil {
 21965  			return err
 21966  		}
 21967  		if x.NextPageToken == "" {
 21968  			return nil
 21969  		}
 21970  		c.PageToken(x.NextPageToken)
 21971  	}
 21972  }
 21973  
 21974  // method id "integrations.projects.locations.products.integrations.versions.patch":
 21975  
 21976  type ProjectsLocationsProductsIntegrationsVersionsPatchCall struct {
 21977  	s                                                *Service
 21978  	name                                             string
 21979  	googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion
 21980  	urlParams_                                       gensupport.URLParams
 21981  	ctx_                                             context.Context
 21982  	header_                                          http.Header
 21983  }
 21984  
 21985  // Patch: Update a integration with a draft version in the specified
 21986  // project.
 21987  //
 21988  // - name: Output only. Auto-generated primary key.
 21989  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Patch(name string, googlecloudintegrationsv1alphaintegrationversion *GoogleCloudIntegrationsV1alphaIntegrationVersion) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 21990  	c := &ProjectsLocationsProductsIntegrationsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21991  	c.name = name
 21992  	c.googlecloudintegrationsv1alphaintegrationversion = googlecloudintegrationsv1alphaintegrationversion
 21993  	return c
 21994  }
 21995  
 21996  // UpdateMask sets the optional parameter "updateMask": Field mask
 21997  // specifying the fields in the above integration that have been
 21998  // modified and need to be updated.
 21999  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 22000  	c.urlParams_.Set("updateMask", updateMask)
 22001  	return c
 22002  }
 22003  
 22004  // Fields allows partial responses to be retrieved. See
 22005  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22006  // for more information.
 22007  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 22008  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22009  	return c
 22010  }
 22011  
 22012  // Context sets the context to be used in this call's Do method. Any
 22013  // pending HTTP request will be aborted if the provided context is
 22014  // canceled.
 22015  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsPatchCall {
 22016  	c.ctx_ = ctx
 22017  	return c
 22018  }
 22019  
 22020  // Header returns an http.Header that can be modified by the caller to
 22021  // add HTTP headers to the request.
 22022  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Header() http.Header {
 22023  	if c.header_ == nil {
 22024  		c.header_ = make(http.Header)
 22025  	}
 22026  	return c.header_
 22027  }
 22028  
 22029  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) doRequest(alt string) (*http.Response, error) {
 22030  	reqHeaders := make(http.Header)
 22031  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22032  	for k, v := range c.header_ {
 22033  		reqHeaders[k] = v
 22034  	}
 22035  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22036  	var body io.Reader = nil
 22037  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationversion)
 22038  	if err != nil {
 22039  		return nil, err
 22040  	}
 22041  	reqHeaders.Set("Content-Type", "application/json")
 22042  	c.urlParams_.Set("alt", alt)
 22043  	c.urlParams_.Set("prettyPrint", "false")
 22044  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 22045  	urls += "?" + c.urlParams_.Encode()
 22046  	req, err := http.NewRequest("PATCH", urls, body)
 22047  	if err != nil {
 22048  		return nil, err
 22049  	}
 22050  	req.Header = reqHeaders
 22051  	googleapi.Expand(req.URL, map[string]string{
 22052  		"name": c.name,
 22053  	})
 22054  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22055  }
 22056  
 22057  // Do executes the "integrations.projects.locations.products.integrations.versions.patch" call.
 22058  // Exactly one of *GoogleCloudIntegrationsV1alphaIntegrationVersion or
 22059  // error will be non-nil. Any non-2xx status code is an error. Response
 22060  // headers are in either
 22061  // *GoogleCloudIntegrationsV1alphaIntegrationVersion.ServerResponse.Heade
 22062  // r or (if a response was returned at all) in
 22063  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22064  // whether the returned error was because http.StatusNotModified was
 22065  // returned.
 22066  func (c *ProjectsLocationsProductsIntegrationsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationVersion, error) {
 22067  	gensupport.SetOptions(c.urlParams_, opts...)
 22068  	res, err := c.doRequest("json")
 22069  	if res != nil && res.StatusCode == http.StatusNotModified {
 22070  		if res.Body != nil {
 22071  			res.Body.Close()
 22072  		}
 22073  		return nil, gensupport.WrapError(&googleapi.Error{
 22074  			Code:   res.StatusCode,
 22075  			Header: res.Header,
 22076  		})
 22077  	}
 22078  	if err != nil {
 22079  		return nil, err
 22080  	}
 22081  	defer googleapi.CloseBody(res)
 22082  	if err := googleapi.CheckResponse(res); err != nil {
 22083  		return nil, gensupport.WrapError(err)
 22084  	}
 22085  	ret := &GoogleCloudIntegrationsV1alphaIntegrationVersion{
 22086  		ServerResponse: googleapi.ServerResponse{
 22087  			Header:         res.Header,
 22088  			HTTPStatusCode: res.StatusCode,
 22089  		},
 22090  	}
 22091  	target := &ret
 22092  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22093  		return nil, err
 22094  	}
 22095  	return ret, nil
 22096  	// {
 22097  	//   "description": "Update a integration with a draft version in the specified project.",
 22098  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}",
 22099  	//   "httpMethod": "PATCH",
 22100  	//   "id": "integrations.projects.locations.products.integrations.versions.patch",
 22101  	//   "parameterOrder": [
 22102  	//     "name"
 22103  	//   ],
 22104  	//   "parameters": {
 22105  	//     "name": {
 22106  	//       "description": "Output only. Auto-generated primary key.",
 22107  	//       "location": "path",
 22108  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 22109  	//       "required": true,
 22110  	//       "type": "string"
 22111  	//     },
 22112  	//     "updateMask": {
 22113  	//       "description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.",
 22114  	//       "format": "google-fieldmask",
 22115  	//       "location": "query",
 22116  	//       "type": "string"
 22117  	//     }
 22118  	//   },
 22119  	//   "path": "v1alpha/{+name}",
 22120  	//   "request": {
 22121  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 22122  	//   },
 22123  	//   "response": {
 22124  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion"
 22125  	//   },
 22126  	//   "scopes": [
 22127  	//     "https://www.googleapis.com/auth/cloud-platform"
 22128  	//   ]
 22129  	// }
 22130  
 22131  }
 22132  
 22133  // method id "integrations.projects.locations.products.integrations.versions.publish":
 22134  
 22135  type ProjectsLocationsProductsIntegrationsVersionsPublishCall struct {
 22136  	s                                                              *Service
 22137  	name                                                           string
 22138  	googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest
 22139  	urlParams_                                                     gensupport.URLParams
 22140  	ctx_                                                           context.Context
 22141  	header_                                                        http.Header
 22142  }
 22143  
 22144  // Publish: This RPC throws an exception if the integration is in
 22145  // ARCHIVED or ACTIVE state. This RPC throws an exception if the version
 22146  // being published is DRAFT, and if the `locked_by` user is not the same
 22147  // as the user performing the Publish. Audit fields updated include
 22148  // last_published_timestamp, last_published_by, last_modified_timestamp,
 22149  // last_modified_by. Any existing lock is on this integration is
 22150  // released.
 22151  //
 22152  //   - name: The version to publish. Format:
 22153  //     projects/{project}/locations/{location}/integrations/{integration}/v
 22154  //     ersions/{version}.
 22155  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Publish(name string, googlecloudintegrationsv1alphapublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsPublishCall {
 22156  	c := &ProjectsLocationsProductsIntegrationsVersionsPublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22157  	c.name = name
 22158  	c.googlecloudintegrationsv1alphapublishintegrationversionrequest = googlecloudintegrationsv1alphapublishintegrationversionrequest
 22159  	return c
 22160  }
 22161  
 22162  // Fields allows partial responses to be retrieved. See
 22163  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22164  // for more information.
 22165  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsPublishCall {
 22166  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22167  	return c
 22168  }
 22169  
 22170  // Context sets the context to be used in this call's Do method. Any
 22171  // pending HTTP request will be aborted if the provided context is
 22172  // canceled.
 22173  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsPublishCall {
 22174  	c.ctx_ = ctx
 22175  	return c
 22176  }
 22177  
 22178  // Header returns an http.Header that can be modified by the caller to
 22179  // add HTTP headers to the request.
 22180  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Header() http.Header {
 22181  	if c.header_ == nil {
 22182  		c.header_ = make(http.Header)
 22183  	}
 22184  	return c.header_
 22185  }
 22186  
 22187  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) doRequest(alt string) (*http.Response, error) {
 22188  	reqHeaders := make(http.Header)
 22189  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22190  	for k, v := range c.header_ {
 22191  		reqHeaders[k] = v
 22192  	}
 22193  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22194  	var body io.Reader = nil
 22195  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphapublishintegrationversionrequest)
 22196  	if err != nil {
 22197  		return nil, err
 22198  	}
 22199  	reqHeaders.Set("Content-Type", "application/json")
 22200  	c.urlParams_.Set("alt", alt)
 22201  	c.urlParams_.Set("prettyPrint", "false")
 22202  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:publish")
 22203  	urls += "?" + c.urlParams_.Encode()
 22204  	req, err := http.NewRequest("POST", urls, body)
 22205  	if err != nil {
 22206  		return nil, err
 22207  	}
 22208  	req.Header = reqHeaders
 22209  	googleapi.Expand(req.URL, map[string]string{
 22210  		"name": c.name,
 22211  	})
 22212  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22213  }
 22214  
 22215  // Do executes the "integrations.projects.locations.products.integrations.versions.publish" call.
 22216  // Exactly one of
 22217  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse or
 22218  // error will be non-nil. Any non-2xx status code is an error. Response
 22219  // headers are in either
 22220  // *GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse.Serve
 22221  // rResponse.Header or (if a response was returned at all) in
 22222  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22223  // whether the returned error was because http.StatusNotModified was
 22224  // returned.
 22225  func (c *ProjectsLocationsProductsIntegrationsVersionsPublishCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse, error) {
 22226  	gensupport.SetOptions(c.urlParams_, opts...)
 22227  	res, err := c.doRequest("json")
 22228  	if res != nil && res.StatusCode == http.StatusNotModified {
 22229  		if res.Body != nil {
 22230  			res.Body.Close()
 22231  		}
 22232  		return nil, gensupport.WrapError(&googleapi.Error{
 22233  			Code:   res.StatusCode,
 22234  			Header: res.Header,
 22235  		})
 22236  	}
 22237  	if err != nil {
 22238  		return nil, err
 22239  	}
 22240  	defer googleapi.CloseBody(res)
 22241  	if err := googleapi.CheckResponse(res); err != nil {
 22242  		return nil, gensupport.WrapError(err)
 22243  	}
 22244  	ret := &GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse{
 22245  		ServerResponse: googleapi.ServerResponse{
 22246  			Header:         res.Header,
 22247  			HTTPStatusCode: res.StatusCode,
 22248  		},
 22249  	}
 22250  	target := &ret
 22251  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22252  		return nil, err
 22253  	}
 22254  	return ret, nil
 22255  	// {
 22256  	//   "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.",
 22257  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:publish",
 22258  	//   "httpMethod": "POST",
 22259  	//   "id": "integrations.projects.locations.products.integrations.versions.publish",
 22260  	//   "parameterOrder": [
 22261  	//     "name"
 22262  	//   ],
 22263  	//   "parameters": {
 22264  	//     "name": {
 22265  	//       "description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 22266  	//       "location": "path",
 22267  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 22268  	//       "required": true,
 22269  	//       "type": "string"
 22270  	//     }
 22271  	//   },
 22272  	//   "path": "v1alpha/{+name}:publish",
 22273  	//   "request": {
 22274  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest"
 22275  	//   },
 22276  	//   "response": {
 22277  	//     "$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse"
 22278  	//   },
 22279  	//   "scopes": [
 22280  	//     "https://www.googleapis.com/auth/cloud-platform"
 22281  	//   ]
 22282  	// }
 22283  
 22284  }
 22285  
 22286  // method id "integrations.projects.locations.products.integrations.versions.takeoverEditLock":
 22287  
 22288  type ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall struct {
 22289  	s                                                     *Service
 22290  	integrationVersion                                    string
 22291  	googlecloudintegrationsv1alphatakeovereditlockrequest *GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest
 22292  	urlParams_                                            gensupport.URLParams
 22293  	ctx_                                                  context.Context
 22294  	header_                                               http.Header
 22295  }
 22296  
 22297  // TakeoverEditLock: Clears the `locked_by` and `locked_at_timestamp`in
 22298  // the DRAFT version of this integration. It then performs the same
 22299  // action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT
 22300  // version of the integration as a SNAPSHOT and then creates a new DRAFT
 22301  // version with the `locked_by` set to the `user_taking_over` and the
 22302  // `locked_at_timestamp` set to the current timestamp). Both the
 22303  // `locked_by` and `user_taking_over` are notified via email about the
 22304  // takeover. This RPC throws an exception if the integration is not in
 22305  // DRAFT status or if the `locked_by` and `locked_at_timestamp` fields
 22306  // are not set.The TakeoverEdit lock is treated the same as an edit of
 22307  // the integration, and hence shares ACLs with edit. Audit fields
 22308  // updated include last_modified_timestamp, last_modified_by.
 22309  //
 22310  //   - integrationVersion: The version to take over edit lock. Format:
 22311  //     projects/{project}/locations/{location}/integrations/{integration}/v
 22312  //     ersions/{version}.
 22313  func (r *ProjectsLocationsProductsIntegrationsVersionsService) TakeoverEditLock(integrationVersion string, googlecloudintegrationsv1alphatakeovereditlockrequest *GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest) *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall {
 22314  	c := &ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22315  	c.integrationVersion = integrationVersion
 22316  	c.googlecloudintegrationsv1alphatakeovereditlockrequest = googlecloudintegrationsv1alphatakeovereditlockrequest
 22317  	return c
 22318  }
 22319  
 22320  // Fields allows partial responses to be retrieved. See
 22321  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22322  // for more information.
 22323  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall {
 22324  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22325  	return c
 22326  }
 22327  
 22328  // Context sets the context to be used in this call's Do method. Any
 22329  // pending HTTP request will be aborted if the provided context is
 22330  // canceled.
 22331  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall {
 22332  	c.ctx_ = ctx
 22333  	return c
 22334  }
 22335  
 22336  // Header returns an http.Header that can be modified by the caller to
 22337  // add HTTP headers to the request.
 22338  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Header() http.Header {
 22339  	if c.header_ == nil {
 22340  		c.header_ = make(http.Header)
 22341  	}
 22342  	return c.header_
 22343  }
 22344  
 22345  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) doRequest(alt string) (*http.Response, error) {
 22346  	reqHeaders := make(http.Header)
 22347  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22348  	for k, v := range c.header_ {
 22349  		reqHeaders[k] = v
 22350  	}
 22351  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22352  	var body io.Reader = nil
 22353  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphatakeovereditlockrequest)
 22354  	if err != nil {
 22355  		return nil, err
 22356  	}
 22357  	reqHeaders.Set("Content-Type", "application/json")
 22358  	c.urlParams_.Set("alt", alt)
 22359  	c.urlParams_.Set("prettyPrint", "false")
 22360  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+integrationVersion}:takeoverEditLock")
 22361  	urls += "?" + c.urlParams_.Encode()
 22362  	req, err := http.NewRequest("POST", urls, body)
 22363  	if err != nil {
 22364  		return nil, err
 22365  	}
 22366  	req.Header = reqHeaders
 22367  	googleapi.Expand(req.URL, map[string]string{
 22368  		"integrationVersion": c.integrationVersion,
 22369  	})
 22370  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22371  }
 22372  
 22373  // Do executes the "integrations.projects.locations.products.integrations.versions.takeoverEditLock" call.
 22374  // Exactly one of
 22375  // *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse or error will
 22376  // be non-nil. Any non-2xx status code is an error. Response headers are
 22377  // in either
 22378  // *GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse.ServerResponse
 22379  // .Header or (if a response was returned at all) in
 22380  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22381  // whether the returned error was because http.StatusNotModified was
 22382  // returned.
 22383  func (c *ProjectsLocationsProductsIntegrationsVersionsTakeoverEditLockCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse, error) {
 22384  	gensupport.SetOptions(c.urlParams_, opts...)
 22385  	res, err := c.doRequest("json")
 22386  	if res != nil && res.StatusCode == http.StatusNotModified {
 22387  		if res.Body != nil {
 22388  			res.Body.Close()
 22389  		}
 22390  		return nil, gensupport.WrapError(&googleapi.Error{
 22391  			Code:   res.StatusCode,
 22392  			Header: res.Header,
 22393  		})
 22394  	}
 22395  	if err != nil {
 22396  		return nil, err
 22397  	}
 22398  	defer googleapi.CloseBody(res)
 22399  	if err := googleapi.CheckResponse(res); err != nil {
 22400  		return nil, gensupport.WrapError(err)
 22401  	}
 22402  	ret := &GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse{
 22403  		ServerResponse: googleapi.ServerResponse{
 22404  			Header:         res.Header,
 22405  			HTTPStatusCode: res.StatusCode,
 22406  		},
 22407  	}
 22408  	target := &ret
 22409  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22410  		return nil, err
 22411  	}
 22412  	return ret, nil
 22413  	// {
 22414  	//   "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.",
 22415  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock",
 22416  	//   "httpMethod": "POST",
 22417  	//   "id": "integrations.projects.locations.products.integrations.versions.takeoverEditLock",
 22418  	//   "parameterOrder": [
 22419  	//     "integrationVersion"
 22420  	//   ],
 22421  	//   "parameters": {
 22422  	//     "integrationVersion": {
 22423  	//       "description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 22424  	//       "location": "path",
 22425  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 22426  	//       "required": true,
 22427  	//       "type": "string"
 22428  	//     }
 22429  	//   },
 22430  	//   "path": "v1alpha/{+integrationVersion}:takeoverEditLock",
 22431  	//   "request": {
 22432  	//     "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest"
 22433  	//   },
 22434  	//   "response": {
 22435  	//     "$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse"
 22436  	//   },
 22437  	//   "scopes": [
 22438  	//     "https://www.googleapis.com/auth/cloud-platform"
 22439  	//   ]
 22440  	// }
 22441  
 22442  }
 22443  
 22444  // method id "integrations.projects.locations.products.integrations.versions.unpublish":
 22445  
 22446  type ProjectsLocationsProductsIntegrationsVersionsUnpublishCall struct {
 22447  	s                                                                *Service
 22448  	name                                                             string
 22449  	googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest
 22450  	urlParams_                                                       gensupport.URLParams
 22451  	ctx_                                                             context.Context
 22452  	header_                                                          http.Header
 22453  }
 22454  
 22455  // Unpublish: Sets the status of the ACTIVE integration to SNAPSHOT with
 22456  // a new tag "PREVIOUSLY_PUBLISHED" after validating it. The "HEAD" and
 22457  // "PUBLISH_REQUESTED" tags do not change. This RPC throws an exception
 22458  // if the version being snapshot is not ACTIVE. Audit fields added
 22459  // include action, action_by, action_timestamp.
 22460  //
 22461  //   - name: The version to deactivate. Format:
 22462  //     projects/{project}/locations/{location}/integrations/{integration}/v
 22463  //     ersions/{version}.
 22464  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Unpublish(name string, googlecloudintegrationsv1alphaunpublishintegrationversionrequest *GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall {
 22465  	c := &ProjectsLocationsProductsIntegrationsVersionsUnpublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22466  	c.name = name
 22467  	c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest = googlecloudintegrationsv1alphaunpublishintegrationversionrequest
 22468  	return c
 22469  }
 22470  
 22471  // Fields allows partial responses to be retrieved. See
 22472  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22473  // for more information.
 22474  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall {
 22475  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22476  	return c
 22477  }
 22478  
 22479  // Context sets the context to be used in this call's Do method. Any
 22480  // pending HTTP request will be aborted if the provided context is
 22481  // canceled.
 22482  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall {
 22483  	c.ctx_ = ctx
 22484  	return c
 22485  }
 22486  
 22487  // Header returns an http.Header that can be modified by the caller to
 22488  // add HTTP headers to the request.
 22489  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Header() http.Header {
 22490  	if c.header_ == nil {
 22491  		c.header_ = make(http.Header)
 22492  	}
 22493  	return c.header_
 22494  }
 22495  
 22496  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) doRequest(alt string) (*http.Response, error) {
 22497  	reqHeaders := make(http.Header)
 22498  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22499  	for k, v := range c.header_ {
 22500  		reqHeaders[k] = v
 22501  	}
 22502  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22503  	var body io.Reader = nil
 22504  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaunpublishintegrationversionrequest)
 22505  	if err != nil {
 22506  		return nil, err
 22507  	}
 22508  	reqHeaders.Set("Content-Type", "application/json")
 22509  	c.urlParams_.Set("alt", alt)
 22510  	c.urlParams_.Set("prettyPrint", "false")
 22511  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}:unpublish")
 22512  	urls += "?" + c.urlParams_.Encode()
 22513  	req, err := http.NewRequest("POST", urls, body)
 22514  	if err != nil {
 22515  		return nil, err
 22516  	}
 22517  	req.Header = reqHeaders
 22518  	googleapi.Expand(req.URL, map[string]string{
 22519  		"name": c.name,
 22520  	})
 22521  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22522  }
 22523  
 22524  // Do executes the "integrations.projects.locations.products.integrations.versions.unpublish" call.
 22525  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 22526  // non-2xx status code is an error. Response headers are in either
 22527  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 22528  // returned at all) in error.(*googleapi.Error).Header. Use
 22529  // googleapi.IsNotModified to check whether the returned error was
 22530  // because http.StatusNotModified was returned.
 22531  func (c *ProjectsLocationsProductsIntegrationsVersionsUnpublishCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 22532  	gensupport.SetOptions(c.urlParams_, opts...)
 22533  	res, err := c.doRequest("json")
 22534  	if res != nil && res.StatusCode == http.StatusNotModified {
 22535  		if res.Body != nil {
 22536  			res.Body.Close()
 22537  		}
 22538  		return nil, gensupport.WrapError(&googleapi.Error{
 22539  			Code:   res.StatusCode,
 22540  			Header: res.Header,
 22541  		})
 22542  	}
 22543  	if err != nil {
 22544  		return nil, err
 22545  	}
 22546  	defer googleapi.CloseBody(res)
 22547  	if err := googleapi.CheckResponse(res); err != nil {
 22548  		return nil, gensupport.WrapError(err)
 22549  	}
 22550  	ret := &GoogleProtobufEmpty{
 22551  		ServerResponse: googleapi.ServerResponse{
 22552  			Header:         res.Header,
 22553  			HTTPStatusCode: res.StatusCode,
 22554  		},
 22555  	}
 22556  	target := &ret
 22557  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22558  		return nil, err
 22559  	}
 22560  	return ret, nil
 22561  	// {
 22562  	//   "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.",
 22563  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish",
 22564  	//   "httpMethod": "POST",
 22565  	//   "id": "integrations.projects.locations.products.integrations.versions.unpublish",
 22566  	//   "parameterOrder": [
 22567  	//     "name"
 22568  	//   ],
 22569  	//   "parameters": {
 22570  	//     "name": {
 22571  	//       "description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}",
 22572  	//       "location": "path",
 22573  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$",
 22574  	//       "required": true,
 22575  	//       "type": "string"
 22576  	//     }
 22577  	//   },
 22578  	//   "path": "v1alpha/{+name}:unpublish",
 22579  	//   "request": {
 22580  	//     "$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest"
 22581  	//   },
 22582  	//   "response": {
 22583  	//     "$ref": "GoogleProtobufEmpty"
 22584  	//   },
 22585  	//   "scopes": [
 22586  	//     "https://www.googleapis.com/auth/cloud-platform"
 22587  	//   ]
 22588  	// }
 22589  
 22590  }
 22591  
 22592  // method id "integrations.projects.locations.products.integrations.versions.upload":
 22593  
 22594  type ProjectsLocationsProductsIntegrationsVersionsUploadCall struct {
 22595  	s                                                             *Service
 22596  	parent                                                        string
 22597  	googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest
 22598  	urlParams_                                                    gensupport.URLParams
 22599  	ctx_                                                          context.Context
 22600  	header_                                                       http.Header
 22601  }
 22602  
 22603  // Upload: Uploads an integration. The content can be a previously
 22604  // downloaded integration. Performs the same function as
 22605  // CreateDraftIntegrationVersion, but accepts input in a string format,
 22606  // which holds the complete representation of the IntegrationVersion
 22607  // content.
 22608  //
 22609  //   - parent: The version to upload. Format:
 22610  //     projects/{project}/locations/{location}/integrations/{integration}.
 22611  func (r *ProjectsLocationsProductsIntegrationsVersionsService) Upload(parent string, googlecloudintegrationsv1alphauploadintegrationversionrequest *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest) *ProjectsLocationsProductsIntegrationsVersionsUploadCall {
 22612  	c := &ProjectsLocationsProductsIntegrationsVersionsUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22613  	c.parent = parent
 22614  	c.googlecloudintegrationsv1alphauploadintegrationversionrequest = googlecloudintegrationsv1alphauploadintegrationversionrequest
 22615  	return c
 22616  }
 22617  
 22618  // Fields allows partial responses to be retrieved. See
 22619  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22620  // for more information.
 22621  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationsVersionsUploadCall {
 22622  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22623  	return c
 22624  }
 22625  
 22626  // Context sets the context to be used in this call's Do method. Any
 22627  // pending HTTP request will be aborted if the provided context is
 22628  // canceled.
 22629  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationsVersionsUploadCall {
 22630  	c.ctx_ = ctx
 22631  	return c
 22632  }
 22633  
 22634  // Header returns an http.Header that can be modified by the caller to
 22635  // add HTTP headers to the request.
 22636  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Header() http.Header {
 22637  	if c.header_ == nil {
 22638  		c.header_ = make(http.Header)
 22639  	}
 22640  	return c.header_
 22641  }
 22642  
 22643  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) doRequest(alt string) (*http.Response, error) {
 22644  	reqHeaders := make(http.Header)
 22645  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22646  	for k, v := range c.header_ {
 22647  		reqHeaders[k] = v
 22648  	}
 22649  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22650  	var body io.Reader = nil
 22651  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphauploadintegrationversionrequest)
 22652  	if err != nil {
 22653  		return nil, err
 22654  	}
 22655  	reqHeaders.Set("Content-Type", "application/json")
 22656  	c.urlParams_.Set("alt", alt)
 22657  	c.urlParams_.Set("prettyPrint", "false")
 22658  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions:upload")
 22659  	urls += "?" + c.urlParams_.Encode()
 22660  	req, err := http.NewRequest("POST", urls, body)
 22661  	if err != nil {
 22662  		return nil, err
 22663  	}
 22664  	req.Header = reqHeaders
 22665  	googleapi.Expand(req.URL, map[string]string{
 22666  		"parent": c.parent,
 22667  	})
 22668  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22669  }
 22670  
 22671  // Do executes the "integrations.projects.locations.products.integrations.versions.upload" call.
 22672  // Exactly one of
 22673  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse or
 22674  // error will be non-nil. Any non-2xx status code is an error. Response
 22675  // headers are in either
 22676  // *GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse.Server
 22677  // Response.Header or (if a response was returned at all) in
 22678  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22679  // whether the returned error was because http.StatusNotModified was
 22680  // returned.
 22681  func (c *ProjectsLocationsProductsIntegrationsVersionsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse, error) {
 22682  	gensupport.SetOptions(c.urlParams_, opts...)
 22683  	res, err := c.doRequest("json")
 22684  	if res != nil && res.StatusCode == http.StatusNotModified {
 22685  		if res.Body != nil {
 22686  			res.Body.Close()
 22687  		}
 22688  		return nil, gensupport.WrapError(&googleapi.Error{
 22689  			Code:   res.StatusCode,
 22690  			Header: res.Header,
 22691  		})
 22692  	}
 22693  	if err != nil {
 22694  		return nil, err
 22695  	}
 22696  	defer googleapi.CloseBody(res)
 22697  	if err := googleapi.CheckResponse(res); err != nil {
 22698  		return nil, gensupport.WrapError(err)
 22699  	}
 22700  	ret := &GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse{
 22701  		ServerResponse: googleapi.ServerResponse{
 22702  			Header:         res.Header,
 22703  			HTTPStatusCode: res.StatusCode,
 22704  		},
 22705  	}
 22706  	target := &ret
 22707  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22708  		return nil, err
 22709  	}
 22710  	return ret, nil
 22711  	// {
 22712  	//   "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.",
 22713  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions:upload",
 22714  	//   "httpMethod": "POST",
 22715  	//   "id": "integrations.projects.locations.products.integrations.versions.upload",
 22716  	//   "parameterOrder": [
 22717  	//     "parent"
 22718  	//   ],
 22719  	//   "parameters": {
 22720  	//     "parent": {
 22721  	//       "description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}",
 22722  	//       "location": "path",
 22723  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$",
 22724  	//       "required": true,
 22725  	//       "type": "string"
 22726  	//     }
 22727  	//   },
 22728  	//   "path": "v1alpha/{+parent}/versions:upload",
 22729  	//   "request": {
 22730  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest"
 22731  	//   },
 22732  	//   "response": {
 22733  	//     "$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse"
 22734  	//   },
 22735  	//   "scopes": [
 22736  	//     "https://www.googleapis.com/auth/cloud-platform"
 22737  	//   ]
 22738  	// }
 22739  
 22740  }
 22741  
 22742  // method id "integrations.projects.locations.products.integrationtemplates.versions.create":
 22743  
 22744  type ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall struct {
 22745  	s                                                        *Service
 22746  	parent                                                   string
 22747  	googlecloudintegrationsv1alphaintegrationtemplateversion *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion
 22748  	urlParams_                                               gensupport.URLParams
 22749  	ctx_                                                     context.Context
 22750  	header_                                                  http.Header
 22751  }
 22752  
 22753  // Create: Creates an IntegrationTemplateVersion.
 22754  //
 22755  //   - parent: The parent resource where this TemplateVersion will be
 22756  //     created. Format:
 22757  //     projects/{project}/location/{location}/product/{product}/integration
 22758  //     templates/{integrationtemplate}.
 22759  func (r *ProjectsLocationsProductsIntegrationtemplatesVersionsService) Create(parent string, googlecloudintegrationsv1alphaintegrationtemplateversion *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion) *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall {
 22760  	c := &ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22761  	c.parent = parent
 22762  	c.googlecloudintegrationsv1alphaintegrationtemplateversion = googlecloudintegrationsv1alphaintegrationtemplateversion
 22763  	return c
 22764  }
 22765  
 22766  // Fields allows partial responses to be retrieved. See
 22767  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22768  // for more information.
 22769  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall {
 22770  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22771  	return c
 22772  }
 22773  
 22774  // Context sets the context to be used in this call's Do method. Any
 22775  // pending HTTP request will be aborted if the provided context is
 22776  // canceled.
 22777  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall {
 22778  	c.ctx_ = ctx
 22779  	return c
 22780  }
 22781  
 22782  // Header returns an http.Header that can be modified by the caller to
 22783  // add HTTP headers to the request.
 22784  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall) Header() http.Header {
 22785  	if c.header_ == nil {
 22786  		c.header_ = make(http.Header)
 22787  	}
 22788  	return c.header_
 22789  }
 22790  
 22791  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall) doRequest(alt string) (*http.Response, error) {
 22792  	reqHeaders := make(http.Header)
 22793  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22794  	for k, v := range c.header_ {
 22795  		reqHeaders[k] = v
 22796  	}
 22797  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22798  	var body io.Reader = nil
 22799  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphaintegrationtemplateversion)
 22800  	if err != nil {
 22801  		return nil, err
 22802  	}
 22803  	reqHeaders.Set("Content-Type", "application/json")
 22804  	c.urlParams_.Set("alt", alt)
 22805  	c.urlParams_.Set("prettyPrint", "false")
 22806  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions")
 22807  	urls += "?" + c.urlParams_.Encode()
 22808  	req, err := http.NewRequest("POST", urls, body)
 22809  	if err != nil {
 22810  		return nil, err
 22811  	}
 22812  	req.Header = reqHeaders
 22813  	googleapi.Expand(req.URL, map[string]string{
 22814  		"parent": c.parent,
 22815  	})
 22816  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22817  }
 22818  
 22819  // Do executes the "integrations.projects.locations.products.integrationtemplates.versions.create" call.
 22820  // Exactly one of
 22821  // *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion or error
 22822  // will be non-nil. Any non-2xx status code is an error. Response
 22823  // headers are in either
 22824  // *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion.ServerRespon
 22825  // se.Header or (if a response was returned at all) in
 22826  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22827  // whether the returned error was because http.StatusNotModified was
 22828  // returned.
 22829  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion, error) {
 22830  	gensupport.SetOptions(c.urlParams_, opts...)
 22831  	res, err := c.doRequest("json")
 22832  	if res != nil && res.StatusCode == http.StatusNotModified {
 22833  		if res.Body != nil {
 22834  			res.Body.Close()
 22835  		}
 22836  		return nil, gensupport.WrapError(&googleapi.Error{
 22837  			Code:   res.StatusCode,
 22838  			Header: res.Header,
 22839  		})
 22840  	}
 22841  	if err != nil {
 22842  		return nil, err
 22843  	}
 22844  	defer googleapi.CloseBody(res)
 22845  	if err := googleapi.CheckResponse(res); err != nil {
 22846  		return nil, gensupport.WrapError(err)
 22847  	}
 22848  	ret := &GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion{
 22849  		ServerResponse: googleapi.ServerResponse{
 22850  			Header:         res.Header,
 22851  			HTTPStatusCode: res.StatusCode,
 22852  		},
 22853  	}
 22854  	target := &ret
 22855  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22856  		return nil, err
 22857  	}
 22858  	return ret, nil
 22859  	// {
 22860  	//   "description": "Creates an IntegrationTemplateVersion.",
 22861  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions",
 22862  	//   "httpMethod": "POST",
 22863  	//   "id": "integrations.projects.locations.products.integrationtemplates.versions.create",
 22864  	//   "parameterOrder": [
 22865  	//     "parent"
 22866  	//   ],
 22867  	//   "parameters": {
 22868  	//     "parent": {
 22869  	//       "description": "Required. The parent resource where this TemplateVersion will be created. Format: projects/{project}/location/{location}/product/{product}/integrationtemplates/{integrationtemplate}",
 22870  	//       "location": "path",
 22871  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+$",
 22872  	//       "required": true,
 22873  	//       "type": "string"
 22874  	//     }
 22875  	//   },
 22876  	//   "path": "v1alpha/{+parent}/versions",
 22877  	//   "request": {
 22878  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion"
 22879  	//   },
 22880  	//   "response": {
 22881  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion"
 22882  	//   },
 22883  	//   "scopes": [
 22884  	//     "https://www.googleapis.com/auth/cloud-platform"
 22885  	//   ]
 22886  	// }
 22887  
 22888  }
 22889  
 22890  // method id "integrations.projects.locations.products.integrationtemplates.versions.get":
 22891  
 22892  type ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall struct {
 22893  	s            *Service
 22894  	name         string
 22895  	urlParams_   gensupport.URLParams
 22896  	ifNoneMatch_ string
 22897  	ctx_         context.Context
 22898  	header_      http.Header
 22899  }
 22900  
 22901  // Get: Returns an IntegrationTemplateVersion in the specified project.
 22902  //
 22903  //   - name: The TemplateVersion to retrieve. Format:
 22904  //     projects/{project}/locations/{location}/products/{product}/integrati
 22905  //     ontemplates/{integrationtemplate}/versions/{version}.
 22906  func (r *ProjectsLocationsProductsIntegrationtemplatesVersionsService) Get(name string) *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall {
 22907  	c := &ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22908  	c.name = name
 22909  	return c
 22910  }
 22911  
 22912  // Fields allows partial responses to be retrieved. See
 22913  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 22914  // for more information.
 22915  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall {
 22916  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22917  	return c
 22918  }
 22919  
 22920  // IfNoneMatch sets the optional parameter which makes the operation
 22921  // fail if the object's ETag matches the given value. This is useful for
 22922  // getting updates only after the object has changed since the last
 22923  // request. Use googleapi.IsNotModified to check whether the response
 22924  // error from Do is the result of In-None-Match.
 22925  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall {
 22926  	c.ifNoneMatch_ = entityTag
 22927  	return c
 22928  }
 22929  
 22930  // Context sets the context to be used in this call's Do method. Any
 22931  // pending HTTP request will be aborted if the provided context is
 22932  // canceled.
 22933  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall {
 22934  	c.ctx_ = ctx
 22935  	return c
 22936  }
 22937  
 22938  // Header returns an http.Header that can be modified by the caller to
 22939  // add HTTP headers to the request.
 22940  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall) Header() http.Header {
 22941  	if c.header_ == nil {
 22942  		c.header_ = make(http.Header)
 22943  	}
 22944  	return c.header_
 22945  }
 22946  
 22947  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall) doRequest(alt string) (*http.Response, error) {
 22948  	reqHeaders := make(http.Header)
 22949  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 22950  	for k, v := range c.header_ {
 22951  		reqHeaders[k] = v
 22952  	}
 22953  	reqHeaders.Set("User-Agent", c.s.userAgent())
 22954  	if c.ifNoneMatch_ != "" {
 22955  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22956  	}
 22957  	var body io.Reader = nil
 22958  	c.urlParams_.Set("alt", alt)
 22959  	c.urlParams_.Set("prettyPrint", "false")
 22960  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 22961  	urls += "?" + c.urlParams_.Encode()
 22962  	req, err := http.NewRequest("GET", urls, body)
 22963  	if err != nil {
 22964  		return nil, err
 22965  	}
 22966  	req.Header = reqHeaders
 22967  	googleapi.Expand(req.URL, map[string]string{
 22968  		"name": c.name,
 22969  	})
 22970  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22971  }
 22972  
 22973  // Do executes the "integrations.projects.locations.products.integrationtemplates.versions.get" call.
 22974  // Exactly one of
 22975  // *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion or error
 22976  // will be non-nil. Any non-2xx status code is an error. Response
 22977  // headers are in either
 22978  // *GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion.ServerRespon
 22979  // se.Header or (if a response was returned at all) in
 22980  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22981  // whether the returned error was because http.StatusNotModified was
 22982  // returned.
 22983  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion, error) {
 22984  	gensupport.SetOptions(c.urlParams_, opts...)
 22985  	res, err := c.doRequest("json")
 22986  	if res != nil && res.StatusCode == http.StatusNotModified {
 22987  		if res.Body != nil {
 22988  			res.Body.Close()
 22989  		}
 22990  		return nil, gensupport.WrapError(&googleapi.Error{
 22991  			Code:   res.StatusCode,
 22992  			Header: res.Header,
 22993  		})
 22994  	}
 22995  	if err != nil {
 22996  		return nil, err
 22997  	}
 22998  	defer googleapi.CloseBody(res)
 22999  	if err := googleapi.CheckResponse(res); err != nil {
 23000  		return nil, gensupport.WrapError(err)
 23001  	}
 23002  	ret := &GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion{
 23003  		ServerResponse: googleapi.ServerResponse{
 23004  			Header:         res.Header,
 23005  			HTTPStatusCode: res.StatusCode,
 23006  		},
 23007  	}
 23008  	target := &ret
 23009  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23010  		return nil, err
 23011  	}
 23012  	return ret, nil
 23013  	// {
 23014  	//   "description": "Returns an IntegrationTemplateVersion in the specified project.",
 23015  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions/{versionsId}",
 23016  	//   "httpMethod": "GET",
 23017  	//   "id": "integrations.projects.locations.products.integrationtemplates.versions.get",
 23018  	//   "parameterOrder": [
 23019  	//     "name"
 23020  	//   ],
 23021  	//   "parameters": {
 23022  	//     "name": {
 23023  	//       "description": "Required. The TemplateVersion to retrieve. Format: projects/{project}/locations/{location}/products/{product}/integrationtemplates/{integrationtemplate}/versions/{version}",
 23024  	//       "location": "path",
 23025  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+/versions/[^/]+$",
 23026  	//       "required": true,
 23027  	//       "type": "string"
 23028  	//     }
 23029  	//   },
 23030  	//   "path": "v1alpha/{+name}",
 23031  	//   "response": {
 23032  	//     "$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion"
 23033  	//   },
 23034  	//   "scopes": [
 23035  	//     "https://www.googleapis.com/auth/cloud-platform"
 23036  	//   ]
 23037  	// }
 23038  
 23039  }
 23040  
 23041  // method id "integrations.projects.locations.products.integrationtemplates.versions.list":
 23042  
 23043  type ProjectsLocationsProductsIntegrationtemplatesVersionsListCall struct {
 23044  	s            *Service
 23045  	parent       string
 23046  	urlParams_   gensupport.URLParams
 23047  	ifNoneMatch_ string
 23048  	ctx_         context.Context
 23049  	header_      http.Header
 23050  }
 23051  
 23052  // List: Returns the list of all IntegrationTemplateVersions in the
 23053  // specified project.
 23054  //
 23055  //   - parent: Format:
 23056  //     projects/{project}/location/{location}/product/{product}/integration
 23057  //     templates/{integrationtemplate}.
 23058  func (r *ProjectsLocationsProductsIntegrationtemplatesVersionsService) List(parent string) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23059  	c := &ProjectsLocationsProductsIntegrationtemplatesVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23060  	c.parent = parent
 23061  	return c
 23062  }
 23063  
 23064  // Filter sets the optional parameter "filter": Filter syntax: defined
 23065  // in the EBNF grammar.
 23066  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) Filter(filter string) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23067  	c.urlParams_.Set("filter", filter)
 23068  	return c
 23069  }
 23070  
 23071  // PageSize sets the optional parameter "pageSize": The maximum number
 23072  // of IntegrationTemplateVersions to return. The service may return
 23073  // fewer than this value. If unspecified, at most 50 versions will be
 23074  // returned. The maximum value is 1000; values above 1000 will be
 23075  // coerced to 1000.
 23076  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23077  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 23078  	return c
 23079  }
 23080  
 23081  // PageToken sets the optional parameter "pageToken": A page token,
 23082  // received from a previous `ListIntegrationTemplateVersions` call.
 23083  // Provide this to retrieve the subsequent page. When paginating, all
 23084  // other parameters provided to `ListIntegrationTemplateVersions` must
 23085  // match the call that provided the page token.
 23086  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) PageToken(pageToken string) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23087  	c.urlParams_.Set("pageToken", pageToken)
 23088  	return c
 23089  }
 23090  
 23091  // Fields allows partial responses to be retrieved. See
 23092  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23093  // for more information.
 23094  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23095  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23096  	return c
 23097  }
 23098  
 23099  // IfNoneMatch sets the optional parameter which makes the operation
 23100  // fail if the object's ETag matches the given value. This is useful for
 23101  // getting updates only after the object has changed since the last
 23102  // request. Use googleapi.IsNotModified to check whether the response
 23103  // error from Do is the result of In-None-Match.
 23104  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23105  	c.ifNoneMatch_ = entityTag
 23106  	return c
 23107  }
 23108  
 23109  // Context sets the context to be used in this call's Do method. Any
 23110  // pending HTTP request will be aborted if the provided context is
 23111  // canceled.
 23112  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) Context(ctx context.Context) *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall {
 23113  	c.ctx_ = ctx
 23114  	return c
 23115  }
 23116  
 23117  // Header returns an http.Header that can be modified by the caller to
 23118  // add HTTP headers to the request.
 23119  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) Header() http.Header {
 23120  	if c.header_ == nil {
 23121  		c.header_ = make(http.Header)
 23122  	}
 23123  	return c.header_
 23124  }
 23125  
 23126  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) doRequest(alt string) (*http.Response, error) {
 23127  	reqHeaders := make(http.Header)
 23128  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23129  	for k, v := range c.header_ {
 23130  		reqHeaders[k] = v
 23131  	}
 23132  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23133  	if c.ifNoneMatch_ != "" {
 23134  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23135  	}
 23136  	var body io.Reader = nil
 23137  	c.urlParams_.Set("alt", alt)
 23138  	c.urlParams_.Set("prettyPrint", "false")
 23139  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/versions")
 23140  	urls += "?" + c.urlParams_.Encode()
 23141  	req, err := http.NewRequest("GET", urls, body)
 23142  	if err != nil {
 23143  		return nil, err
 23144  	}
 23145  	req.Header = reqHeaders
 23146  	googleapi.Expand(req.URL, map[string]string{
 23147  		"parent": c.parent,
 23148  	})
 23149  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23150  }
 23151  
 23152  // Do executes the "integrations.projects.locations.products.integrationtemplates.versions.list" call.
 23153  // Exactly one of
 23154  // *GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse
 23155  //
 23156  //	or error will be non-nil. Any non-2xx status code is an error.
 23157  //
 23158  // Response headers are in either
 23159  // *GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse
 23160  // .ServerResponse.Header or (if a response was returned at all) in
 23161  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23162  // whether the returned error was because http.StatusNotModified was
 23163  // returned.
 23164  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse, error) {
 23165  	gensupport.SetOptions(c.urlParams_, opts...)
 23166  	res, err := c.doRequest("json")
 23167  	if res != nil && res.StatusCode == http.StatusNotModified {
 23168  		if res.Body != nil {
 23169  			res.Body.Close()
 23170  		}
 23171  		return nil, gensupport.WrapError(&googleapi.Error{
 23172  			Code:   res.StatusCode,
 23173  			Header: res.Header,
 23174  		})
 23175  	}
 23176  	if err != nil {
 23177  		return nil, err
 23178  	}
 23179  	defer googleapi.CloseBody(res)
 23180  	if err := googleapi.CheckResponse(res); err != nil {
 23181  		return nil, gensupport.WrapError(err)
 23182  	}
 23183  	ret := &GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse{
 23184  		ServerResponse: googleapi.ServerResponse{
 23185  			Header:         res.Header,
 23186  			HTTPStatusCode: res.StatusCode,
 23187  		},
 23188  	}
 23189  	target := &ret
 23190  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23191  		return nil, err
 23192  	}
 23193  	return ret, nil
 23194  	// {
 23195  	//   "description": "Returns the list of all IntegrationTemplateVersions in the specified project.",
 23196  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions",
 23197  	//   "httpMethod": "GET",
 23198  	//   "id": "integrations.projects.locations.products.integrationtemplates.versions.list",
 23199  	//   "parameterOrder": [
 23200  	//     "parent"
 23201  	//   ],
 23202  	//   "parameters": {
 23203  	//     "filter": {
 23204  	//       "description": "Filter syntax: defined in the EBNF grammar.",
 23205  	//       "location": "query",
 23206  	//       "type": "string"
 23207  	//     },
 23208  	//     "pageSize": {
 23209  	//       "description": "The maximum number of IntegrationTemplateVersions 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.",
 23210  	//       "format": "int32",
 23211  	//       "location": "query",
 23212  	//       "type": "integer"
 23213  	//     },
 23214  	//     "pageToken": {
 23215  	//       "description": "A page token, received from a previous `ListIntegrationTemplateVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationTemplateVersions` must match the call that provided the page token.",
 23216  	//       "location": "query",
 23217  	//       "type": "string"
 23218  	//     },
 23219  	//     "parent": {
 23220  	//       "description": "Required. Format: projects/{project}/location/{location}/product/{product}/integrationtemplates/{integrationtemplate}",
 23221  	//       "location": "path",
 23222  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+$",
 23223  	//       "required": true,
 23224  	//       "type": "string"
 23225  	//     }
 23226  	//   },
 23227  	//   "path": "v1alpha/{+parent}/versions",
 23228  	//   "response": {
 23229  	//     "$ref": "GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse"
 23230  	//   },
 23231  	//   "scopes": [
 23232  	//     "https://www.googleapis.com/auth/cloud-platform"
 23233  	//   ]
 23234  	// }
 23235  
 23236  }
 23237  
 23238  // Pages invokes f for each page of results.
 23239  // A non-nil error returned from f will halt the iteration.
 23240  // The provided context supersedes any context provided to the Context method.
 23241  func (c *ProjectsLocationsProductsIntegrationtemplatesVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse) error) error {
 23242  	c.ctx_ = ctx
 23243  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 23244  	for {
 23245  		x, err := c.Do()
 23246  		if err != nil {
 23247  			return err
 23248  		}
 23249  		if err := f(x); err != nil {
 23250  			return err
 23251  		}
 23252  		if x.NextPageToken == "" {
 23253  			return nil
 23254  		}
 23255  		c.PageToken(x.NextPageToken)
 23256  	}
 23257  }
 23258  
 23259  // method id "integrations.projects.locations.products.sfdcInstances.create":
 23260  
 23261  type ProjectsLocationsProductsSfdcInstancesCreateCall struct {
 23262  	s                                          *Service
 23263  	parent                                     string
 23264  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 23265  	urlParams_                                 gensupport.URLParams
 23266  	ctx_                                       context.Context
 23267  	header_                                    http.Header
 23268  }
 23269  
 23270  // Create: Creates an sfdc instance record. Store the sfdc instance in
 23271  // Spanner. Returns the sfdc instance.
 23272  //
 23273  // - parent: "projects/{project}/locations/{location}" format.
 23274  func (r *ProjectsLocationsProductsSfdcInstancesService) Create(parent string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsProductsSfdcInstancesCreateCall {
 23275  	c := &ProjectsLocationsProductsSfdcInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23276  	c.parent = parent
 23277  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 23278  	return c
 23279  }
 23280  
 23281  // Fields allows partial responses to be retrieved. See
 23282  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23283  // for more information.
 23284  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesCreateCall {
 23285  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23286  	return c
 23287  }
 23288  
 23289  // Context sets the context to be used in this call's Do method. Any
 23290  // pending HTTP request will be aborted if the provided context is
 23291  // canceled.
 23292  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesCreateCall {
 23293  	c.ctx_ = ctx
 23294  	return c
 23295  }
 23296  
 23297  // Header returns an http.Header that can be modified by the caller to
 23298  // add HTTP headers to the request.
 23299  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Header() http.Header {
 23300  	if c.header_ == nil {
 23301  		c.header_ = make(http.Header)
 23302  	}
 23303  	return c.header_
 23304  }
 23305  
 23306  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) doRequest(alt string) (*http.Response, error) {
 23307  	reqHeaders := make(http.Header)
 23308  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23309  	for k, v := range c.header_ {
 23310  		reqHeaders[k] = v
 23311  	}
 23312  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23313  	var body io.Reader = nil
 23314  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 23315  	if err != nil {
 23316  		return nil, err
 23317  	}
 23318  	reqHeaders.Set("Content-Type", "application/json")
 23319  	c.urlParams_.Set("alt", alt)
 23320  	c.urlParams_.Set("prettyPrint", "false")
 23321  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcInstances")
 23322  	urls += "?" + c.urlParams_.Encode()
 23323  	req, err := http.NewRequest("POST", urls, body)
 23324  	if err != nil {
 23325  		return nil, err
 23326  	}
 23327  	req.Header = reqHeaders
 23328  	googleapi.Expand(req.URL, map[string]string{
 23329  		"parent": c.parent,
 23330  	})
 23331  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23332  }
 23333  
 23334  // Do executes the "integrations.projects.locations.products.sfdcInstances.create" call.
 23335  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 23336  // will be non-nil. Any non-2xx status code is an error. Response
 23337  // headers are in either
 23338  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 23339  // (if a response was returned at all) in
 23340  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23341  // whether the returned error was because http.StatusNotModified was
 23342  // returned.
 23343  func (c *ProjectsLocationsProductsSfdcInstancesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 23344  	gensupport.SetOptions(c.urlParams_, opts...)
 23345  	res, err := c.doRequest("json")
 23346  	if res != nil && res.StatusCode == http.StatusNotModified {
 23347  		if res.Body != nil {
 23348  			res.Body.Close()
 23349  		}
 23350  		return nil, gensupport.WrapError(&googleapi.Error{
 23351  			Code:   res.StatusCode,
 23352  			Header: res.Header,
 23353  		})
 23354  	}
 23355  	if err != nil {
 23356  		return nil, err
 23357  	}
 23358  	defer googleapi.CloseBody(res)
 23359  	if err := googleapi.CheckResponse(res); err != nil {
 23360  		return nil, gensupport.WrapError(err)
 23361  	}
 23362  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 23363  		ServerResponse: googleapi.ServerResponse{
 23364  			Header:         res.Header,
 23365  			HTTPStatusCode: res.StatusCode,
 23366  		},
 23367  	}
 23368  	target := &ret
 23369  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23370  		return nil, err
 23371  	}
 23372  	return ret, nil
 23373  	// {
 23374  	//   "description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.",
 23375  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances",
 23376  	//   "httpMethod": "POST",
 23377  	//   "id": "integrations.projects.locations.products.sfdcInstances.create",
 23378  	//   "parameterOrder": [
 23379  	//     "parent"
 23380  	//   ],
 23381  	//   "parameters": {
 23382  	//     "parent": {
 23383  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 23384  	//       "location": "path",
 23385  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 23386  	//       "required": true,
 23387  	//       "type": "string"
 23388  	//     }
 23389  	//   },
 23390  	//   "path": "v1alpha/{+parent}/sfdcInstances",
 23391  	//   "request": {
 23392  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 23393  	//   },
 23394  	//   "response": {
 23395  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 23396  	//   },
 23397  	//   "scopes": [
 23398  	//     "https://www.googleapis.com/auth/cloud-platform"
 23399  	//   ]
 23400  	// }
 23401  
 23402  }
 23403  
 23404  // method id "integrations.projects.locations.products.sfdcInstances.delete":
 23405  
 23406  type ProjectsLocationsProductsSfdcInstancesDeleteCall struct {
 23407  	s          *Service
 23408  	name       string
 23409  	urlParams_ gensupport.URLParams
 23410  	ctx_       context.Context
 23411  	header_    http.Header
 23412  }
 23413  
 23414  // Delete: Deletes an sfdc instance.
 23415  //
 23416  // - name: The name that is associated with the SfdcInstance.
 23417  func (r *ProjectsLocationsProductsSfdcInstancesService) Delete(name string) *ProjectsLocationsProductsSfdcInstancesDeleteCall {
 23418  	c := &ProjectsLocationsProductsSfdcInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23419  	c.name = name
 23420  	return c
 23421  }
 23422  
 23423  // Fields allows partial responses to be retrieved. See
 23424  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23425  // for more information.
 23426  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesDeleteCall {
 23427  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23428  	return c
 23429  }
 23430  
 23431  // Context sets the context to be used in this call's Do method. Any
 23432  // pending HTTP request will be aborted if the provided context is
 23433  // canceled.
 23434  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesDeleteCall {
 23435  	c.ctx_ = ctx
 23436  	return c
 23437  }
 23438  
 23439  // Header returns an http.Header that can be modified by the caller to
 23440  // add HTTP headers to the request.
 23441  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Header() http.Header {
 23442  	if c.header_ == nil {
 23443  		c.header_ = make(http.Header)
 23444  	}
 23445  	return c.header_
 23446  }
 23447  
 23448  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) doRequest(alt string) (*http.Response, error) {
 23449  	reqHeaders := make(http.Header)
 23450  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23451  	for k, v := range c.header_ {
 23452  		reqHeaders[k] = v
 23453  	}
 23454  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23455  	var body io.Reader = nil
 23456  	c.urlParams_.Set("alt", alt)
 23457  	c.urlParams_.Set("prettyPrint", "false")
 23458  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 23459  	urls += "?" + c.urlParams_.Encode()
 23460  	req, err := http.NewRequest("DELETE", urls, body)
 23461  	if err != nil {
 23462  		return nil, err
 23463  	}
 23464  	req.Header = reqHeaders
 23465  	googleapi.Expand(req.URL, map[string]string{
 23466  		"name": c.name,
 23467  	})
 23468  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23469  }
 23470  
 23471  // Do executes the "integrations.projects.locations.products.sfdcInstances.delete" call.
 23472  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 23473  // non-2xx status code is an error. Response headers are in either
 23474  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 23475  // returned at all) in error.(*googleapi.Error).Header. Use
 23476  // googleapi.IsNotModified to check whether the returned error was
 23477  // because http.StatusNotModified was returned.
 23478  func (c *ProjectsLocationsProductsSfdcInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 23479  	gensupport.SetOptions(c.urlParams_, opts...)
 23480  	res, err := c.doRequest("json")
 23481  	if res != nil && res.StatusCode == http.StatusNotModified {
 23482  		if res.Body != nil {
 23483  			res.Body.Close()
 23484  		}
 23485  		return nil, gensupport.WrapError(&googleapi.Error{
 23486  			Code:   res.StatusCode,
 23487  			Header: res.Header,
 23488  		})
 23489  	}
 23490  	if err != nil {
 23491  		return nil, err
 23492  	}
 23493  	defer googleapi.CloseBody(res)
 23494  	if err := googleapi.CheckResponse(res); err != nil {
 23495  		return nil, gensupport.WrapError(err)
 23496  	}
 23497  	ret := &GoogleProtobufEmpty{
 23498  		ServerResponse: googleapi.ServerResponse{
 23499  			Header:         res.Header,
 23500  			HTTPStatusCode: res.StatusCode,
 23501  		},
 23502  	}
 23503  	target := &ret
 23504  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23505  		return nil, err
 23506  	}
 23507  	return ret, nil
 23508  	// {
 23509  	//   "description": "Deletes an sfdc instance.",
 23510  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}",
 23511  	//   "httpMethod": "DELETE",
 23512  	//   "id": "integrations.projects.locations.products.sfdcInstances.delete",
 23513  	//   "parameterOrder": [
 23514  	//     "name"
 23515  	//   ],
 23516  	//   "parameters": {
 23517  	//     "name": {
 23518  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 23519  	//       "location": "path",
 23520  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 23521  	//       "required": true,
 23522  	//       "type": "string"
 23523  	//     }
 23524  	//   },
 23525  	//   "path": "v1alpha/{+name}",
 23526  	//   "response": {
 23527  	//     "$ref": "GoogleProtobufEmpty"
 23528  	//   },
 23529  	//   "scopes": [
 23530  	//     "https://www.googleapis.com/auth/cloud-platform"
 23531  	//   ]
 23532  	// }
 23533  
 23534  }
 23535  
 23536  // method id "integrations.projects.locations.products.sfdcInstances.get":
 23537  
 23538  type ProjectsLocationsProductsSfdcInstancesGetCall struct {
 23539  	s            *Service
 23540  	name         string
 23541  	urlParams_   gensupport.URLParams
 23542  	ifNoneMatch_ string
 23543  	ctx_         context.Context
 23544  	header_      http.Header
 23545  }
 23546  
 23547  // Get: Gets an sfdc instance. If the instance doesn't exist,
 23548  // Code.NOT_FOUND exception will be thrown.
 23549  //
 23550  // - name: The name that is associated with the SfdcInstance.
 23551  func (r *ProjectsLocationsProductsSfdcInstancesService) Get(name string) *ProjectsLocationsProductsSfdcInstancesGetCall {
 23552  	c := &ProjectsLocationsProductsSfdcInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23553  	c.name = name
 23554  	return c
 23555  }
 23556  
 23557  // Fields allows partial responses to be retrieved. See
 23558  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23559  // for more information.
 23560  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesGetCall {
 23561  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23562  	return c
 23563  }
 23564  
 23565  // IfNoneMatch sets the optional parameter which makes the operation
 23566  // fail if the object's ETag matches the given value. This is useful for
 23567  // getting updates only after the object has changed since the last
 23568  // request. Use googleapi.IsNotModified to check whether the response
 23569  // error from Do is the result of In-None-Match.
 23570  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesGetCall {
 23571  	c.ifNoneMatch_ = entityTag
 23572  	return c
 23573  }
 23574  
 23575  // Context sets the context to be used in this call's Do method. Any
 23576  // pending HTTP request will be aborted if the provided context is
 23577  // canceled.
 23578  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesGetCall {
 23579  	c.ctx_ = ctx
 23580  	return c
 23581  }
 23582  
 23583  // Header returns an http.Header that can be modified by the caller to
 23584  // add HTTP headers to the request.
 23585  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Header() http.Header {
 23586  	if c.header_ == nil {
 23587  		c.header_ = make(http.Header)
 23588  	}
 23589  	return c.header_
 23590  }
 23591  
 23592  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) doRequest(alt string) (*http.Response, error) {
 23593  	reqHeaders := make(http.Header)
 23594  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23595  	for k, v := range c.header_ {
 23596  		reqHeaders[k] = v
 23597  	}
 23598  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23599  	if c.ifNoneMatch_ != "" {
 23600  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23601  	}
 23602  	var body io.Reader = nil
 23603  	c.urlParams_.Set("alt", alt)
 23604  	c.urlParams_.Set("prettyPrint", "false")
 23605  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 23606  	urls += "?" + c.urlParams_.Encode()
 23607  	req, err := http.NewRequest("GET", urls, body)
 23608  	if err != nil {
 23609  		return nil, err
 23610  	}
 23611  	req.Header = reqHeaders
 23612  	googleapi.Expand(req.URL, map[string]string{
 23613  		"name": c.name,
 23614  	})
 23615  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23616  }
 23617  
 23618  // Do executes the "integrations.projects.locations.products.sfdcInstances.get" call.
 23619  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 23620  // will be non-nil. Any non-2xx status code is an error. Response
 23621  // headers are in either
 23622  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 23623  // (if a response was returned at all) in
 23624  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23625  // whether the returned error was because http.StatusNotModified was
 23626  // returned.
 23627  func (c *ProjectsLocationsProductsSfdcInstancesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 23628  	gensupport.SetOptions(c.urlParams_, opts...)
 23629  	res, err := c.doRequest("json")
 23630  	if res != nil && res.StatusCode == http.StatusNotModified {
 23631  		if res.Body != nil {
 23632  			res.Body.Close()
 23633  		}
 23634  		return nil, gensupport.WrapError(&googleapi.Error{
 23635  			Code:   res.StatusCode,
 23636  			Header: res.Header,
 23637  		})
 23638  	}
 23639  	if err != nil {
 23640  		return nil, err
 23641  	}
 23642  	defer googleapi.CloseBody(res)
 23643  	if err := googleapi.CheckResponse(res); err != nil {
 23644  		return nil, gensupport.WrapError(err)
 23645  	}
 23646  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 23647  		ServerResponse: googleapi.ServerResponse{
 23648  			Header:         res.Header,
 23649  			HTTPStatusCode: res.StatusCode,
 23650  		},
 23651  	}
 23652  	target := &ret
 23653  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23654  		return nil, err
 23655  	}
 23656  	return ret, nil
 23657  	// {
 23658  	//   "description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.",
 23659  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}",
 23660  	//   "httpMethod": "GET",
 23661  	//   "id": "integrations.projects.locations.products.sfdcInstances.get",
 23662  	//   "parameterOrder": [
 23663  	//     "name"
 23664  	//   ],
 23665  	//   "parameters": {
 23666  	//     "name": {
 23667  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 23668  	//       "location": "path",
 23669  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 23670  	//       "required": true,
 23671  	//       "type": "string"
 23672  	//     }
 23673  	//   },
 23674  	//   "path": "v1alpha/{+name}",
 23675  	//   "response": {
 23676  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 23677  	//   },
 23678  	//   "scopes": [
 23679  	//     "https://www.googleapis.com/auth/cloud-platform"
 23680  	//   ]
 23681  	// }
 23682  
 23683  }
 23684  
 23685  // method id "integrations.projects.locations.products.sfdcInstances.list":
 23686  
 23687  type ProjectsLocationsProductsSfdcInstancesListCall struct {
 23688  	s            *Service
 23689  	parent       string
 23690  	urlParams_   gensupport.URLParams
 23691  	ifNoneMatch_ string
 23692  	ctx_         context.Context
 23693  	header_      http.Header
 23694  }
 23695  
 23696  // List: Lists all sfdc instances that match the filter. Restrict to
 23697  // sfdc instances belonging to the current client only.
 23698  //
 23699  // - parent: The client, which owns this collection of SfdcInstances.
 23700  func (r *ProjectsLocationsProductsSfdcInstancesService) List(parent string) *ProjectsLocationsProductsSfdcInstancesListCall {
 23701  	c := &ProjectsLocationsProductsSfdcInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23702  	c.parent = parent
 23703  	return c
 23704  }
 23705  
 23706  // Filter sets the optional parameter "filter": Filtering as supported
 23707  // in
 23708  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 23709  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Filter(filter string) *ProjectsLocationsProductsSfdcInstancesListCall {
 23710  	c.urlParams_.Set("filter", filter)
 23711  	return c
 23712  }
 23713  
 23714  // PageSize sets the optional parameter "pageSize": The size of entries
 23715  // in the response. If unspecified, defaults to 100.
 23716  func (c *ProjectsLocationsProductsSfdcInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsProductsSfdcInstancesListCall {
 23717  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 23718  	return c
 23719  }
 23720  
 23721  // PageToken sets the optional parameter "pageToken": The token returned
 23722  // in the previous response.
 23723  func (c *ProjectsLocationsProductsSfdcInstancesListCall) PageToken(pageToken string) *ProjectsLocationsProductsSfdcInstancesListCall {
 23724  	c.urlParams_.Set("pageToken", pageToken)
 23725  	return c
 23726  }
 23727  
 23728  // ReadMask sets the optional parameter "readMask": The mask which
 23729  // specifies fields that need to be returned in the SfdcInstance's
 23730  // response.
 23731  func (c *ProjectsLocationsProductsSfdcInstancesListCall) ReadMask(readMask string) *ProjectsLocationsProductsSfdcInstancesListCall {
 23732  	c.urlParams_.Set("readMask", readMask)
 23733  	return c
 23734  }
 23735  
 23736  // Fields allows partial responses to be retrieved. See
 23737  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23738  // for more information.
 23739  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesListCall {
 23740  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23741  	return c
 23742  }
 23743  
 23744  // IfNoneMatch sets the optional parameter which makes the operation
 23745  // fail if the object's ETag matches the given value. This is useful for
 23746  // getting updates only after the object has changed since the last
 23747  // request. Use googleapi.IsNotModified to check whether the response
 23748  // error from Do is the result of In-None-Match.
 23749  func (c *ProjectsLocationsProductsSfdcInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesListCall {
 23750  	c.ifNoneMatch_ = entityTag
 23751  	return c
 23752  }
 23753  
 23754  // Context sets the context to be used in this call's Do method. Any
 23755  // pending HTTP request will be aborted if the provided context is
 23756  // canceled.
 23757  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesListCall {
 23758  	c.ctx_ = ctx
 23759  	return c
 23760  }
 23761  
 23762  // Header returns an http.Header that can be modified by the caller to
 23763  // add HTTP headers to the request.
 23764  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Header() http.Header {
 23765  	if c.header_ == nil {
 23766  		c.header_ = make(http.Header)
 23767  	}
 23768  	return c.header_
 23769  }
 23770  
 23771  func (c *ProjectsLocationsProductsSfdcInstancesListCall) doRequest(alt string) (*http.Response, error) {
 23772  	reqHeaders := make(http.Header)
 23773  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23774  	for k, v := range c.header_ {
 23775  		reqHeaders[k] = v
 23776  	}
 23777  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23778  	if c.ifNoneMatch_ != "" {
 23779  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23780  	}
 23781  	var body io.Reader = nil
 23782  	c.urlParams_.Set("alt", alt)
 23783  	c.urlParams_.Set("prettyPrint", "false")
 23784  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcInstances")
 23785  	urls += "?" + c.urlParams_.Encode()
 23786  	req, err := http.NewRequest("GET", urls, body)
 23787  	if err != nil {
 23788  		return nil, err
 23789  	}
 23790  	req.Header = reqHeaders
 23791  	googleapi.Expand(req.URL, map[string]string{
 23792  		"parent": c.parent,
 23793  	})
 23794  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23795  }
 23796  
 23797  // Do executes the "integrations.projects.locations.products.sfdcInstances.list" call.
 23798  // Exactly one of
 23799  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse or error
 23800  // will be non-nil. Any non-2xx status code is an error. Response
 23801  // headers are in either
 23802  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse.ServerRespons
 23803  // e.Header or (if a response was returned at all) in
 23804  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 23805  // whether the returned error was because http.StatusNotModified was
 23806  // returned.
 23807  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse, error) {
 23808  	gensupport.SetOptions(c.urlParams_, opts...)
 23809  	res, err := c.doRequest("json")
 23810  	if res != nil && res.StatusCode == http.StatusNotModified {
 23811  		if res.Body != nil {
 23812  			res.Body.Close()
 23813  		}
 23814  		return nil, gensupport.WrapError(&googleapi.Error{
 23815  			Code:   res.StatusCode,
 23816  			Header: res.Header,
 23817  		})
 23818  	}
 23819  	if err != nil {
 23820  		return nil, err
 23821  	}
 23822  	defer googleapi.CloseBody(res)
 23823  	if err := googleapi.CheckResponse(res); err != nil {
 23824  		return nil, gensupport.WrapError(err)
 23825  	}
 23826  	ret := &GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse{
 23827  		ServerResponse: googleapi.ServerResponse{
 23828  			Header:         res.Header,
 23829  			HTTPStatusCode: res.StatusCode,
 23830  		},
 23831  	}
 23832  	target := &ret
 23833  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23834  		return nil, err
 23835  	}
 23836  	return ret, nil
 23837  	// {
 23838  	//   "description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.",
 23839  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances",
 23840  	//   "httpMethod": "GET",
 23841  	//   "id": "integrations.projects.locations.products.sfdcInstances.list",
 23842  	//   "parameterOrder": [
 23843  	//     "parent"
 23844  	//   ],
 23845  	//   "parameters": {
 23846  	//     "filter": {
 23847  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 23848  	//       "location": "query",
 23849  	//       "type": "string"
 23850  	//     },
 23851  	//     "pageSize": {
 23852  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 23853  	//       "format": "int32",
 23854  	//       "location": "query",
 23855  	//       "type": "integer"
 23856  	//     },
 23857  	//     "pageToken": {
 23858  	//       "description": "The token returned in the previous response.",
 23859  	//       "location": "query",
 23860  	//       "type": "string"
 23861  	//     },
 23862  	//     "parent": {
 23863  	//       "description": "Required. The client, which owns this collection of SfdcInstances.",
 23864  	//       "location": "path",
 23865  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$",
 23866  	//       "required": true,
 23867  	//       "type": "string"
 23868  	//     },
 23869  	//     "readMask": {
 23870  	//       "description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.",
 23871  	//       "format": "google-fieldmask",
 23872  	//       "location": "query",
 23873  	//       "type": "string"
 23874  	//     }
 23875  	//   },
 23876  	//   "path": "v1alpha/{+parent}/sfdcInstances",
 23877  	//   "response": {
 23878  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse"
 23879  	//   },
 23880  	//   "scopes": [
 23881  	//     "https://www.googleapis.com/auth/cloud-platform"
 23882  	//   ]
 23883  	// }
 23884  
 23885  }
 23886  
 23887  // Pages invokes f for each page of results.
 23888  // A non-nil error returned from f will halt the iteration.
 23889  // The provided context supersedes any context provided to the Context method.
 23890  func (c *ProjectsLocationsProductsSfdcInstancesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse) error) error {
 23891  	c.ctx_ = ctx
 23892  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 23893  	for {
 23894  		x, err := c.Do()
 23895  		if err != nil {
 23896  			return err
 23897  		}
 23898  		if err := f(x); err != nil {
 23899  			return err
 23900  		}
 23901  		if x.NextPageToken == "" {
 23902  			return nil
 23903  		}
 23904  		c.PageToken(x.NextPageToken)
 23905  	}
 23906  }
 23907  
 23908  // method id "integrations.projects.locations.products.sfdcInstances.patch":
 23909  
 23910  type ProjectsLocationsProductsSfdcInstancesPatchCall struct {
 23911  	s                                          *Service
 23912  	name                                       string
 23913  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 23914  	urlParams_                                 gensupport.URLParams
 23915  	ctx_                                       context.Context
 23916  	header_                                    http.Header
 23917  }
 23918  
 23919  // Patch: Updates an sfdc instance. Updates the sfdc instance in
 23920  // spanner. Returns the sfdc instance.
 23921  //
 23922  //   - name: Resource name of the SFDC instance
 23923  //     projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}
 23924  //     .
 23925  func (r *ProjectsLocationsProductsSfdcInstancesService) Patch(name string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 23926  	c := &ProjectsLocationsProductsSfdcInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23927  	c.name = name
 23928  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 23929  	return c
 23930  }
 23931  
 23932  // UpdateMask sets the optional parameter "updateMask": Field mask
 23933  // specifying the fields in the above SfdcInstance that have been
 23934  // modified and need to be updated.
 23935  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 23936  	c.urlParams_.Set("updateMask", updateMask)
 23937  	return c
 23938  }
 23939  
 23940  // Fields allows partial responses to be retrieved. See
 23941  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 23942  // for more information.
 23943  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 23944  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23945  	return c
 23946  }
 23947  
 23948  // Context sets the context to be used in this call's Do method. Any
 23949  // pending HTTP request will be aborted if the provided context is
 23950  // canceled.
 23951  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesPatchCall {
 23952  	c.ctx_ = ctx
 23953  	return c
 23954  }
 23955  
 23956  // Header returns an http.Header that can be modified by the caller to
 23957  // add HTTP headers to the request.
 23958  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Header() http.Header {
 23959  	if c.header_ == nil {
 23960  		c.header_ = make(http.Header)
 23961  	}
 23962  	return c.header_
 23963  }
 23964  
 23965  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) doRequest(alt string) (*http.Response, error) {
 23966  	reqHeaders := make(http.Header)
 23967  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 23968  	for k, v := range c.header_ {
 23969  		reqHeaders[k] = v
 23970  	}
 23971  	reqHeaders.Set("User-Agent", c.s.userAgent())
 23972  	var body io.Reader = nil
 23973  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 23974  	if err != nil {
 23975  		return nil, err
 23976  	}
 23977  	reqHeaders.Set("Content-Type", "application/json")
 23978  	c.urlParams_.Set("alt", alt)
 23979  	c.urlParams_.Set("prettyPrint", "false")
 23980  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 23981  	urls += "?" + c.urlParams_.Encode()
 23982  	req, err := http.NewRequest("PATCH", urls, body)
 23983  	if err != nil {
 23984  		return nil, err
 23985  	}
 23986  	req.Header = reqHeaders
 23987  	googleapi.Expand(req.URL, map[string]string{
 23988  		"name": c.name,
 23989  	})
 23990  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23991  }
 23992  
 23993  // Do executes the "integrations.projects.locations.products.sfdcInstances.patch" call.
 23994  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 23995  // will be non-nil. Any non-2xx status code is an error. Response
 23996  // headers are in either
 23997  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 23998  // (if a response was returned at all) in
 23999  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24000  // whether the returned error was because http.StatusNotModified was
 24001  // returned.
 24002  func (c *ProjectsLocationsProductsSfdcInstancesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 24003  	gensupport.SetOptions(c.urlParams_, opts...)
 24004  	res, err := c.doRequest("json")
 24005  	if res != nil && res.StatusCode == http.StatusNotModified {
 24006  		if res.Body != nil {
 24007  			res.Body.Close()
 24008  		}
 24009  		return nil, gensupport.WrapError(&googleapi.Error{
 24010  			Code:   res.StatusCode,
 24011  			Header: res.Header,
 24012  		})
 24013  	}
 24014  	if err != nil {
 24015  		return nil, err
 24016  	}
 24017  	defer googleapi.CloseBody(res)
 24018  	if err := googleapi.CheckResponse(res); err != nil {
 24019  		return nil, gensupport.WrapError(err)
 24020  	}
 24021  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 24022  		ServerResponse: googleapi.ServerResponse{
 24023  			Header:         res.Header,
 24024  			HTTPStatusCode: res.StatusCode,
 24025  		},
 24026  	}
 24027  	target := &ret
 24028  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24029  		return nil, err
 24030  	}
 24031  	return ret, nil
 24032  	// {
 24033  	//   "description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.",
 24034  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}",
 24035  	//   "httpMethod": "PATCH",
 24036  	//   "id": "integrations.projects.locations.products.sfdcInstances.patch",
 24037  	//   "parameterOrder": [
 24038  	//     "name"
 24039  	//   ],
 24040  	//   "parameters": {
 24041  	//     "name": {
 24042  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.",
 24043  	//       "location": "path",
 24044  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 24045  	//       "required": true,
 24046  	//       "type": "string"
 24047  	//     },
 24048  	//     "updateMask": {
 24049  	//       "description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.",
 24050  	//       "format": "google-fieldmask",
 24051  	//       "location": "query",
 24052  	//       "type": "string"
 24053  	//     }
 24054  	//   },
 24055  	//   "path": "v1alpha/{+name}",
 24056  	//   "request": {
 24057  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 24058  	//   },
 24059  	//   "response": {
 24060  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 24061  	//   },
 24062  	//   "scopes": [
 24063  	//     "https://www.googleapis.com/auth/cloud-platform"
 24064  	//   ]
 24065  	// }
 24066  
 24067  }
 24068  
 24069  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create":
 24070  
 24071  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall struct {
 24072  	s                                         *Service
 24073  	parent                                    string
 24074  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 24075  	urlParams_                                gensupport.URLParams
 24076  	ctx_                                      context.Context
 24077  	header_                                   http.Header
 24078  }
 24079  
 24080  // Create: Creates an sfdc channel record. Store the sfdc channel in
 24081  // Spanner. Returns the sfdc channel.
 24082  //
 24083  // - parent: "projects/{project}/locations/{location}" format.
 24084  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Create(parent string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall {
 24085  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24086  	c.parent = parent
 24087  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 24088  	return c
 24089  }
 24090  
 24091  // Fields allows partial responses to be retrieved. See
 24092  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24093  // for more information.
 24094  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall {
 24095  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24096  	return c
 24097  }
 24098  
 24099  // Context sets the context to be used in this call's Do method. Any
 24100  // pending HTTP request will be aborted if the provided context is
 24101  // canceled.
 24102  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall {
 24103  	c.ctx_ = ctx
 24104  	return c
 24105  }
 24106  
 24107  // Header returns an http.Header that can be modified by the caller to
 24108  // add HTTP headers to the request.
 24109  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Header() http.Header {
 24110  	if c.header_ == nil {
 24111  		c.header_ = make(http.Header)
 24112  	}
 24113  	return c.header_
 24114  }
 24115  
 24116  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) doRequest(alt string) (*http.Response, error) {
 24117  	reqHeaders := make(http.Header)
 24118  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24119  	for k, v := range c.header_ {
 24120  		reqHeaders[k] = v
 24121  	}
 24122  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24123  	var body io.Reader = nil
 24124  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 24125  	if err != nil {
 24126  		return nil, err
 24127  	}
 24128  	reqHeaders.Set("Content-Type", "application/json")
 24129  	c.urlParams_.Set("alt", alt)
 24130  	c.urlParams_.Set("prettyPrint", "false")
 24131  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcChannels")
 24132  	urls += "?" + c.urlParams_.Encode()
 24133  	req, err := http.NewRequest("POST", urls, body)
 24134  	if err != nil {
 24135  		return nil, err
 24136  	}
 24137  	req.Header = reqHeaders
 24138  	googleapi.Expand(req.URL, map[string]string{
 24139  		"parent": c.parent,
 24140  	})
 24141  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24142  }
 24143  
 24144  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create" call.
 24145  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 24146  // will be non-nil. Any non-2xx status code is an error. Response
 24147  // headers are in either
 24148  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 24149  // (if a response was returned at all) in
 24150  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24151  // whether the returned error was because http.StatusNotModified was
 24152  // returned.
 24153  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 24154  	gensupport.SetOptions(c.urlParams_, opts...)
 24155  	res, err := c.doRequest("json")
 24156  	if res != nil && res.StatusCode == http.StatusNotModified {
 24157  		if res.Body != nil {
 24158  			res.Body.Close()
 24159  		}
 24160  		return nil, gensupport.WrapError(&googleapi.Error{
 24161  			Code:   res.StatusCode,
 24162  			Header: res.Header,
 24163  		})
 24164  	}
 24165  	if err != nil {
 24166  		return nil, err
 24167  	}
 24168  	defer googleapi.CloseBody(res)
 24169  	if err := googleapi.CheckResponse(res); err != nil {
 24170  		return nil, gensupport.WrapError(err)
 24171  	}
 24172  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 24173  		ServerResponse: googleapi.ServerResponse{
 24174  			Header:         res.Header,
 24175  			HTTPStatusCode: res.StatusCode,
 24176  		},
 24177  	}
 24178  	target := &ret
 24179  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24180  		return nil, err
 24181  	}
 24182  	return ret, nil
 24183  	// {
 24184  	//   "description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.",
 24185  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 24186  	//   "httpMethod": "POST",
 24187  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create",
 24188  	//   "parameterOrder": [
 24189  	//     "parent"
 24190  	//   ],
 24191  	//   "parameters": {
 24192  	//     "parent": {
 24193  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 24194  	//       "location": "path",
 24195  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 24196  	//       "required": true,
 24197  	//       "type": "string"
 24198  	//     }
 24199  	//   },
 24200  	//   "path": "v1alpha/{+parent}/sfdcChannels",
 24201  	//   "request": {
 24202  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 24203  	//   },
 24204  	//   "response": {
 24205  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 24206  	//   },
 24207  	//   "scopes": [
 24208  	//     "https://www.googleapis.com/auth/cloud-platform"
 24209  	//   ]
 24210  	// }
 24211  
 24212  }
 24213  
 24214  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete":
 24215  
 24216  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall struct {
 24217  	s          *Service
 24218  	name       string
 24219  	urlParams_ gensupport.URLParams
 24220  	ctx_       context.Context
 24221  	header_    http.Header
 24222  }
 24223  
 24224  // Delete: Deletes an sfdc channel.
 24225  //
 24226  // - name: The name that is associated with the SfdcChannel.
 24227  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Delete(name string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall {
 24228  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24229  	c.name = name
 24230  	return c
 24231  }
 24232  
 24233  // Fields allows partial responses to be retrieved. See
 24234  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24235  // for more information.
 24236  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall {
 24237  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24238  	return c
 24239  }
 24240  
 24241  // Context sets the context to be used in this call's Do method. Any
 24242  // pending HTTP request will be aborted if the provided context is
 24243  // canceled.
 24244  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall {
 24245  	c.ctx_ = ctx
 24246  	return c
 24247  }
 24248  
 24249  // Header returns an http.Header that can be modified by the caller to
 24250  // add HTTP headers to the request.
 24251  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Header() http.Header {
 24252  	if c.header_ == nil {
 24253  		c.header_ = make(http.Header)
 24254  	}
 24255  	return c.header_
 24256  }
 24257  
 24258  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) doRequest(alt string) (*http.Response, error) {
 24259  	reqHeaders := make(http.Header)
 24260  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24261  	for k, v := range c.header_ {
 24262  		reqHeaders[k] = v
 24263  	}
 24264  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24265  	var body io.Reader = nil
 24266  	c.urlParams_.Set("alt", alt)
 24267  	c.urlParams_.Set("prettyPrint", "false")
 24268  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 24269  	urls += "?" + c.urlParams_.Encode()
 24270  	req, err := http.NewRequest("DELETE", urls, body)
 24271  	if err != nil {
 24272  		return nil, err
 24273  	}
 24274  	req.Header = reqHeaders
 24275  	googleapi.Expand(req.URL, map[string]string{
 24276  		"name": c.name,
 24277  	})
 24278  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24279  }
 24280  
 24281  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete" call.
 24282  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 24283  // non-2xx status code is an error. Response headers are in either
 24284  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 24285  // returned at all) in error.(*googleapi.Error).Header. Use
 24286  // googleapi.IsNotModified to check whether the returned error was
 24287  // because http.StatusNotModified was returned.
 24288  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 24289  	gensupport.SetOptions(c.urlParams_, opts...)
 24290  	res, err := c.doRequest("json")
 24291  	if res != nil && res.StatusCode == http.StatusNotModified {
 24292  		if res.Body != nil {
 24293  			res.Body.Close()
 24294  		}
 24295  		return nil, gensupport.WrapError(&googleapi.Error{
 24296  			Code:   res.StatusCode,
 24297  			Header: res.Header,
 24298  		})
 24299  	}
 24300  	if err != nil {
 24301  		return nil, err
 24302  	}
 24303  	defer googleapi.CloseBody(res)
 24304  	if err := googleapi.CheckResponse(res); err != nil {
 24305  		return nil, gensupport.WrapError(err)
 24306  	}
 24307  	ret := &GoogleProtobufEmpty{
 24308  		ServerResponse: googleapi.ServerResponse{
 24309  			Header:         res.Header,
 24310  			HTTPStatusCode: res.StatusCode,
 24311  		},
 24312  	}
 24313  	target := &ret
 24314  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24315  		return nil, err
 24316  	}
 24317  	return ret, nil
 24318  	// {
 24319  	//   "description": "Deletes an sfdc channel.",
 24320  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 24321  	//   "httpMethod": "DELETE",
 24322  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete",
 24323  	//   "parameterOrder": [
 24324  	//     "name"
 24325  	//   ],
 24326  	//   "parameters": {
 24327  	//     "name": {
 24328  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 24329  	//       "location": "path",
 24330  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 24331  	//       "required": true,
 24332  	//       "type": "string"
 24333  	//     }
 24334  	//   },
 24335  	//   "path": "v1alpha/{+name}",
 24336  	//   "response": {
 24337  	//     "$ref": "GoogleProtobufEmpty"
 24338  	//   },
 24339  	//   "scopes": [
 24340  	//     "https://www.googleapis.com/auth/cloud-platform"
 24341  	//   ]
 24342  	// }
 24343  
 24344  }
 24345  
 24346  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get":
 24347  
 24348  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall struct {
 24349  	s            *Service
 24350  	name         string
 24351  	urlParams_   gensupport.URLParams
 24352  	ifNoneMatch_ string
 24353  	ctx_         context.Context
 24354  	header_      http.Header
 24355  }
 24356  
 24357  // Get: Gets an sfdc channel. If the channel doesn't exist,
 24358  // Code.NOT_FOUND exception will be thrown.
 24359  //
 24360  // - name: The name that is associated with the SfdcChannel.
 24361  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Get(name string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 24362  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24363  	c.name = name
 24364  	return c
 24365  }
 24366  
 24367  // Fields allows partial responses to be retrieved. See
 24368  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24369  // for more information.
 24370  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 24371  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24372  	return c
 24373  }
 24374  
 24375  // IfNoneMatch sets the optional parameter which makes the operation
 24376  // fail if the object's ETag matches the given value. This is useful for
 24377  // getting updates only after the object has changed since the last
 24378  // request. Use googleapi.IsNotModified to check whether the response
 24379  // error from Do is the result of In-None-Match.
 24380  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 24381  	c.ifNoneMatch_ = entityTag
 24382  	return c
 24383  }
 24384  
 24385  // Context sets the context to be used in this call's Do method. Any
 24386  // pending HTTP request will be aborted if the provided context is
 24387  // canceled.
 24388  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall {
 24389  	c.ctx_ = ctx
 24390  	return c
 24391  }
 24392  
 24393  // Header returns an http.Header that can be modified by the caller to
 24394  // add HTTP headers to the request.
 24395  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Header() http.Header {
 24396  	if c.header_ == nil {
 24397  		c.header_ = make(http.Header)
 24398  	}
 24399  	return c.header_
 24400  }
 24401  
 24402  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) doRequest(alt string) (*http.Response, error) {
 24403  	reqHeaders := make(http.Header)
 24404  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24405  	for k, v := range c.header_ {
 24406  		reqHeaders[k] = v
 24407  	}
 24408  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24409  	if c.ifNoneMatch_ != "" {
 24410  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 24411  	}
 24412  	var body io.Reader = nil
 24413  	c.urlParams_.Set("alt", alt)
 24414  	c.urlParams_.Set("prettyPrint", "false")
 24415  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 24416  	urls += "?" + c.urlParams_.Encode()
 24417  	req, err := http.NewRequest("GET", urls, body)
 24418  	if err != nil {
 24419  		return nil, err
 24420  	}
 24421  	req.Header = reqHeaders
 24422  	googleapi.Expand(req.URL, map[string]string{
 24423  		"name": c.name,
 24424  	})
 24425  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24426  }
 24427  
 24428  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get" call.
 24429  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 24430  // will be non-nil. Any non-2xx status code is an error. Response
 24431  // headers are in either
 24432  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 24433  // (if a response was returned at all) in
 24434  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24435  // whether the returned error was because http.StatusNotModified was
 24436  // returned.
 24437  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 24438  	gensupport.SetOptions(c.urlParams_, opts...)
 24439  	res, err := c.doRequest("json")
 24440  	if res != nil && res.StatusCode == http.StatusNotModified {
 24441  		if res.Body != nil {
 24442  			res.Body.Close()
 24443  		}
 24444  		return nil, gensupport.WrapError(&googleapi.Error{
 24445  			Code:   res.StatusCode,
 24446  			Header: res.Header,
 24447  		})
 24448  	}
 24449  	if err != nil {
 24450  		return nil, err
 24451  	}
 24452  	defer googleapi.CloseBody(res)
 24453  	if err := googleapi.CheckResponse(res); err != nil {
 24454  		return nil, gensupport.WrapError(err)
 24455  	}
 24456  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 24457  		ServerResponse: googleapi.ServerResponse{
 24458  			Header:         res.Header,
 24459  			HTTPStatusCode: res.StatusCode,
 24460  		},
 24461  	}
 24462  	target := &ret
 24463  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24464  		return nil, err
 24465  	}
 24466  	return ret, nil
 24467  	// {
 24468  	//   "description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.",
 24469  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 24470  	//   "httpMethod": "GET",
 24471  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get",
 24472  	//   "parameterOrder": [
 24473  	//     "name"
 24474  	//   ],
 24475  	//   "parameters": {
 24476  	//     "name": {
 24477  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 24478  	//       "location": "path",
 24479  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 24480  	//       "required": true,
 24481  	//       "type": "string"
 24482  	//     }
 24483  	//   },
 24484  	//   "path": "v1alpha/{+name}",
 24485  	//   "response": {
 24486  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 24487  	//   },
 24488  	//   "scopes": [
 24489  	//     "https://www.googleapis.com/auth/cloud-platform"
 24490  	//   ]
 24491  	// }
 24492  
 24493  }
 24494  
 24495  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list":
 24496  
 24497  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall struct {
 24498  	s            *Service
 24499  	parent       string
 24500  	urlParams_   gensupport.URLParams
 24501  	ifNoneMatch_ string
 24502  	ctx_         context.Context
 24503  	header_      http.Header
 24504  }
 24505  
 24506  // List: Lists all sfdc channels that match the filter. Restrict to sfdc
 24507  // channels belonging to the current client only.
 24508  //
 24509  // - parent: The client, which owns this collection of SfdcChannels.
 24510  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) List(parent string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24511  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24512  	c.parent = parent
 24513  	return c
 24514  }
 24515  
 24516  // Filter sets the optional parameter "filter": Filtering as supported
 24517  // in
 24518  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 24519  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Filter(filter string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24520  	c.urlParams_.Set("filter", filter)
 24521  	return c
 24522  }
 24523  
 24524  // PageSize sets the optional parameter "pageSize": The size of entries
 24525  // in the response. If unspecified, defaults to 100.
 24526  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) PageSize(pageSize int64) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24527  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 24528  	return c
 24529  }
 24530  
 24531  // PageToken sets the optional parameter "pageToken": The token returned
 24532  // in the previous response.
 24533  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) PageToken(pageToken string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24534  	c.urlParams_.Set("pageToken", pageToken)
 24535  	return c
 24536  }
 24537  
 24538  // ReadMask sets the optional parameter "readMask": The mask which
 24539  // specifies fields that need to be returned in the SfdcChannel's
 24540  // response.
 24541  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) ReadMask(readMask string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24542  	c.urlParams_.Set("readMask", readMask)
 24543  	return c
 24544  }
 24545  
 24546  // Fields allows partial responses to be retrieved. See
 24547  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24548  // for more information.
 24549  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24550  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24551  	return c
 24552  }
 24553  
 24554  // IfNoneMatch sets the optional parameter which makes the operation
 24555  // fail if the object's ETag matches the given value. This is useful for
 24556  // getting updates only after the object has changed since the last
 24557  // request. Use googleapi.IsNotModified to check whether the response
 24558  // error from Do is the result of In-None-Match.
 24559  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24560  	c.ifNoneMatch_ = entityTag
 24561  	return c
 24562  }
 24563  
 24564  // Context sets the context to be used in this call's Do method. Any
 24565  // pending HTTP request will be aborted if the provided context is
 24566  // canceled.
 24567  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall {
 24568  	c.ctx_ = ctx
 24569  	return c
 24570  }
 24571  
 24572  // Header returns an http.Header that can be modified by the caller to
 24573  // add HTTP headers to the request.
 24574  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Header() http.Header {
 24575  	if c.header_ == nil {
 24576  		c.header_ = make(http.Header)
 24577  	}
 24578  	return c.header_
 24579  }
 24580  
 24581  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) doRequest(alt string) (*http.Response, error) {
 24582  	reqHeaders := make(http.Header)
 24583  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24584  	for k, v := range c.header_ {
 24585  		reqHeaders[k] = v
 24586  	}
 24587  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24588  	if c.ifNoneMatch_ != "" {
 24589  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 24590  	}
 24591  	var body io.Reader = nil
 24592  	c.urlParams_.Set("alt", alt)
 24593  	c.urlParams_.Set("prettyPrint", "false")
 24594  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcChannels")
 24595  	urls += "?" + c.urlParams_.Encode()
 24596  	req, err := http.NewRequest("GET", urls, body)
 24597  	if err != nil {
 24598  		return nil, err
 24599  	}
 24600  	req.Header = reqHeaders
 24601  	googleapi.Expand(req.URL, map[string]string{
 24602  		"parent": c.parent,
 24603  	})
 24604  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24605  }
 24606  
 24607  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list" call.
 24608  // Exactly one of
 24609  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse or error will
 24610  // be non-nil. Any non-2xx status code is an error. Response headers are
 24611  // in either
 24612  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse.ServerResponse
 24613  // .Header or (if a response was returned at all) in
 24614  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24615  // whether the returned error was because http.StatusNotModified was
 24616  // returned.
 24617  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse, error) {
 24618  	gensupport.SetOptions(c.urlParams_, opts...)
 24619  	res, err := c.doRequest("json")
 24620  	if res != nil && res.StatusCode == http.StatusNotModified {
 24621  		if res.Body != nil {
 24622  			res.Body.Close()
 24623  		}
 24624  		return nil, gensupport.WrapError(&googleapi.Error{
 24625  			Code:   res.StatusCode,
 24626  			Header: res.Header,
 24627  		})
 24628  	}
 24629  	if err != nil {
 24630  		return nil, err
 24631  	}
 24632  	defer googleapi.CloseBody(res)
 24633  	if err := googleapi.CheckResponse(res); err != nil {
 24634  		return nil, gensupport.WrapError(err)
 24635  	}
 24636  	ret := &GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse{
 24637  		ServerResponse: googleapi.ServerResponse{
 24638  			Header:         res.Header,
 24639  			HTTPStatusCode: res.StatusCode,
 24640  		},
 24641  	}
 24642  	target := &ret
 24643  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24644  		return nil, err
 24645  	}
 24646  	return ret, nil
 24647  	// {
 24648  	//   "description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.",
 24649  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 24650  	//   "httpMethod": "GET",
 24651  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list",
 24652  	//   "parameterOrder": [
 24653  	//     "parent"
 24654  	//   ],
 24655  	//   "parameters": {
 24656  	//     "filter": {
 24657  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 24658  	//       "location": "query",
 24659  	//       "type": "string"
 24660  	//     },
 24661  	//     "pageSize": {
 24662  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 24663  	//       "format": "int32",
 24664  	//       "location": "query",
 24665  	//       "type": "integer"
 24666  	//     },
 24667  	//     "pageToken": {
 24668  	//       "description": "The token returned in the previous response.",
 24669  	//       "location": "query",
 24670  	//       "type": "string"
 24671  	//     },
 24672  	//     "parent": {
 24673  	//       "description": "Required. The client, which owns this collection of SfdcChannels.",
 24674  	//       "location": "path",
 24675  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$",
 24676  	//       "required": true,
 24677  	//       "type": "string"
 24678  	//     },
 24679  	//     "readMask": {
 24680  	//       "description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.",
 24681  	//       "format": "google-fieldmask",
 24682  	//       "location": "query",
 24683  	//       "type": "string"
 24684  	//     }
 24685  	//   },
 24686  	//   "path": "v1alpha/{+parent}/sfdcChannels",
 24687  	//   "response": {
 24688  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse"
 24689  	//   },
 24690  	//   "scopes": [
 24691  	//     "https://www.googleapis.com/auth/cloud-platform"
 24692  	//   ]
 24693  	// }
 24694  
 24695  }
 24696  
 24697  // Pages invokes f for each page of results.
 24698  // A non-nil error returned from f will halt the iteration.
 24699  // The provided context supersedes any context provided to the Context method.
 24700  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse) error) error {
 24701  	c.ctx_ = ctx
 24702  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 24703  	for {
 24704  		x, err := c.Do()
 24705  		if err != nil {
 24706  			return err
 24707  		}
 24708  		if err := f(x); err != nil {
 24709  			return err
 24710  		}
 24711  		if x.NextPageToken == "" {
 24712  			return nil
 24713  		}
 24714  		c.PageToken(x.NextPageToken)
 24715  	}
 24716  }
 24717  
 24718  // method id "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch":
 24719  
 24720  type ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall struct {
 24721  	s                                         *Service
 24722  	name                                      string
 24723  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 24724  	urlParams_                                gensupport.URLParams
 24725  	ctx_                                      context.Context
 24726  	header_                                   http.Header
 24727  }
 24728  
 24729  // Patch: Updates an sfdc channel. Updates the sfdc channel in spanner.
 24730  // Returns the sfdc channel.
 24731  //
 24732  //   - name: Resource name of the SFDC channel
 24733  //     projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance
 24734  //     }/sfdcChannels/{sfdc_channel}.
 24735  func (r *ProjectsLocationsProductsSfdcInstancesSfdcChannelsService) Patch(name string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 24736  	c := &ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24737  	c.name = name
 24738  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 24739  	return c
 24740  }
 24741  
 24742  // UpdateMask sets the optional parameter "updateMask": Field mask
 24743  // specifying the fields in the above SfdcChannel that have been
 24744  // modified and need to be updated.
 24745  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 24746  	c.urlParams_.Set("updateMask", updateMask)
 24747  	return c
 24748  }
 24749  
 24750  // Fields allows partial responses to be retrieved. See
 24751  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24752  // for more information.
 24753  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 24754  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24755  	return c
 24756  }
 24757  
 24758  // Context sets the context to be used in this call's Do method. Any
 24759  // pending HTTP request will be aborted if the provided context is
 24760  // canceled.
 24761  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Context(ctx context.Context) *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall {
 24762  	c.ctx_ = ctx
 24763  	return c
 24764  }
 24765  
 24766  // Header returns an http.Header that can be modified by the caller to
 24767  // add HTTP headers to the request.
 24768  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Header() http.Header {
 24769  	if c.header_ == nil {
 24770  		c.header_ = make(http.Header)
 24771  	}
 24772  	return c.header_
 24773  }
 24774  
 24775  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) doRequest(alt string) (*http.Response, error) {
 24776  	reqHeaders := make(http.Header)
 24777  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24778  	for k, v := range c.header_ {
 24779  		reqHeaders[k] = v
 24780  	}
 24781  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24782  	var body io.Reader = nil
 24783  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 24784  	if err != nil {
 24785  		return nil, err
 24786  	}
 24787  	reqHeaders.Set("Content-Type", "application/json")
 24788  	c.urlParams_.Set("alt", alt)
 24789  	c.urlParams_.Set("prettyPrint", "false")
 24790  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 24791  	urls += "?" + c.urlParams_.Encode()
 24792  	req, err := http.NewRequest("PATCH", urls, body)
 24793  	if err != nil {
 24794  		return nil, err
 24795  	}
 24796  	req.Header = reqHeaders
 24797  	googleapi.Expand(req.URL, map[string]string{
 24798  		"name": c.name,
 24799  	})
 24800  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24801  }
 24802  
 24803  // Do executes the "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch" call.
 24804  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 24805  // will be non-nil. Any non-2xx status code is an error. Response
 24806  // headers are in either
 24807  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 24808  // (if a response was returned at all) in
 24809  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24810  // whether the returned error was because http.StatusNotModified was
 24811  // returned.
 24812  func (c *ProjectsLocationsProductsSfdcInstancesSfdcChannelsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 24813  	gensupport.SetOptions(c.urlParams_, opts...)
 24814  	res, err := c.doRequest("json")
 24815  	if res != nil && res.StatusCode == http.StatusNotModified {
 24816  		if res.Body != nil {
 24817  			res.Body.Close()
 24818  		}
 24819  		return nil, gensupport.WrapError(&googleapi.Error{
 24820  			Code:   res.StatusCode,
 24821  			Header: res.Header,
 24822  		})
 24823  	}
 24824  	if err != nil {
 24825  		return nil, err
 24826  	}
 24827  	defer googleapi.CloseBody(res)
 24828  	if err := googleapi.CheckResponse(res); err != nil {
 24829  		return nil, gensupport.WrapError(err)
 24830  	}
 24831  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 24832  		ServerResponse: googleapi.ServerResponse{
 24833  			Header:         res.Header,
 24834  			HTTPStatusCode: res.StatusCode,
 24835  		},
 24836  	}
 24837  	target := &ret
 24838  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24839  		return nil, err
 24840  	}
 24841  	return ret, nil
 24842  	// {
 24843  	//   "description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.",
 24844  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 24845  	//   "httpMethod": "PATCH",
 24846  	//   "id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch",
 24847  	//   "parameterOrder": [
 24848  	//     "name"
 24849  	//   ],
 24850  	//   "parameters": {
 24851  	//     "name": {
 24852  	//       "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.",
 24853  	//       "location": "path",
 24854  	//       "pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 24855  	//       "required": true,
 24856  	//       "type": "string"
 24857  	//     },
 24858  	//     "updateMask": {
 24859  	//       "description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.",
 24860  	//       "format": "google-fieldmask",
 24861  	//       "location": "query",
 24862  	//       "type": "string"
 24863  	//     }
 24864  	//   },
 24865  	//   "path": "v1alpha/{+name}",
 24866  	//   "request": {
 24867  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 24868  	//   },
 24869  	//   "response": {
 24870  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 24871  	//   },
 24872  	//   "scopes": [
 24873  	//     "https://www.googleapis.com/auth/cloud-platform"
 24874  	//   ]
 24875  	// }
 24876  
 24877  }
 24878  
 24879  // method id "integrations.projects.locations.sfdcInstances.create":
 24880  
 24881  type ProjectsLocationsSfdcInstancesCreateCall struct {
 24882  	s                                          *Service
 24883  	parent                                     string
 24884  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 24885  	urlParams_                                 gensupport.URLParams
 24886  	ctx_                                       context.Context
 24887  	header_                                    http.Header
 24888  }
 24889  
 24890  // Create: Creates an sfdc instance record. Store the sfdc instance in
 24891  // Spanner. Returns the sfdc instance.
 24892  //
 24893  // - parent: "projects/{project}/locations/{location}" format.
 24894  func (r *ProjectsLocationsSfdcInstancesService) Create(parent string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsSfdcInstancesCreateCall {
 24895  	c := &ProjectsLocationsSfdcInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24896  	c.parent = parent
 24897  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 24898  	return c
 24899  }
 24900  
 24901  // Fields allows partial responses to be retrieved. See
 24902  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 24903  // for more information.
 24904  func (c *ProjectsLocationsSfdcInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesCreateCall {
 24905  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24906  	return c
 24907  }
 24908  
 24909  // Context sets the context to be used in this call's Do method. Any
 24910  // pending HTTP request will be aborted if the provided context is
 24911  // canceled.
 24912  func (c *ProjectsLocationsSfdcInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesCreateCall {
 24913  	c.ctx_ = ctx
 24914  	return c
 24915  }
 24916  
 24917  // Header returns an http.Header that can be modified by the caller to
 24918  // add HTTP headers to the request.
 24919  func (c *ProjectsLocationsSfdcInstancesCreateCall) Header() http.Header {
 24920  	if c.header_ == nil {
 24921  		c.header_ = make(http.Header)
 24922  	}
 24923  	return c.header_
 24924  }
 24925  
 24926  func (c *ProjectsLocationsSfdcInstancesCreateCall) doRequest(alt string) (*http.Response, error) {
 24927  	reqHeaders := make(http.Header)
 24928  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 24929  	for k, v := range c.header_ {
 24930  		reqHeaders[k] = v
 24931  	}
 24932  	reqHeaders.Set("User-Agent", c.s.userAgent())
 24933  	var body io.Reader = nil
 24934  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 24935  	if err != nil {
 24936  		return nil, err
 24937  	}
 24938  	reqHeaders.Set("Content-Type", "application/json")
 24939  	c.urlParams_.Set("alt", alt)
 24940  	c.urlParams_.Set("prettyPrint", "false")
 24941  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcInstances")
 24942  	urls += "?" + c.urlParams_.Encode()
 24943  	req, err := http.NewRequest("POST", urls, body)
 24944  	if err != nil {
 24945  		return nil, err
 24946  	}
 24947  	req.Header = reqHeaders
 24948  	googleapi.Expand(req.URL, map[string]string{
 24949  		"parent": c.parent,
 24950  	})
 24951  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24952  }
 24953  
 24954  // Do executes the "integrations.projects.locations.sfdcInstances.create" call.
 24955  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 24956  // will be non-nil. Any non-2xx status code is an error. Response
 24957  // headers are in either
 24958  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 24959  // (if a response was returned at all) in
 24960  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 24961  // whether the returned error was because http.StatusNotModified was
 24962  // returned.
 24963  func (c *ProjectsLocationsSfdcInstancesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 24964  	gensupport.SetOptions(c.urlParams_, opts...)
 24965  	res, err := c.doRequest("json")
 24966  	if res != nil && res.StatusCode == http.StatusNotModified {
 24967  		if res.Body != nil {
 24968  			res.Body.Close()
 24969  		}
 24970  		return nil, gensupport.WrapError(&googleapi.Error{
 24971  			Code:   res.StatusCode,
 24972  			Header: res.Header,
 24973  		})
 24974  	}
 24975  	if err != nil {
 24976  		return nil, err
 24977  	}
 24978  	defer googleapi.CloseBody(res)
 24979  	if err := googleapi.CheckResponse(res); err != nil {
 24980  		return nil, gensupport.WrapError(err)
 24981  	}
 24982  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 24983  		ServerResponse: googleapi.ServerResponse{
 24984  			Header:         res.Header,
 24985  			HTTPStatusCode: res.StatusCode,
 24986  		},
 24987  	}
 24988  	target := &ret
 24989  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24990  		return nil, err
 24991  	}
 24992  	return ret, nil
 24993  	// {
 24994  	//   "description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.",
 24995  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances",
 24996  	//   "httpMethod": "POST",
 24997  	//   "id": "integrations.projects.locations.sfdcInstances.create",
 24998  	//   "parameterOrder": [
 24999  	//     "parent"
 25000  	//   ],
 25001  	//   "parameters": {
 25002  	//     "parent": {
 25003  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 25004  	//       "location": "path",
 25005  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 25006  	//       "required": true,
 25007  	//       "type": "string"
 25008  	//     }
 25009  	//   },
 25010  	//   "path": "v1alpha/{+parent}/sfdcInstances",
 25011  	//   "request": {
 25012  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 25013  	//   },
 25014  	//   "response": {
 25015  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 25016  	//   },
 25017  	//   "scopes": [
 25018  	//     "https://www.googleapis.com/auth/cloud-platform"
 25019  	//   ]
 25020  	// }
 25021  
 25022  }
 25023  
 25024  // method id "integrations.projects.locations.sfdcInstances.delete":
 25025  
 25026  type ProjectsLocationsSfdcInstancesDeleteCall struct {
 25027  	s          *Service
 25028  	name       string
 25029  	urlParams_ gensupport.URLParams
 25030  	ctx_       context.Context
 25031  	header_    http.Header
 25032  }
 25033  
 25034  // Delete: Deletes an sfdc instance.
 25035  //
 25036  // - name: The name that is associated with the SfdcInstance.
 25037  func (r *ProjectsLocationsSfdcInstancesService) Delete(name string) *ProjectsLocationsSfdcInstancesDeleteCall {
 25038  	c := &ProjectsLocationsSfdcInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25039  	c.name = name
 25040  	return c
 25041  }
 25042  
 25043  // Fields allows partial responses to be retrieved. See
 25044  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25045  // for more information.
 25046  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesDeleteCall {
 25047  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25048  	return c
 25049  }
 25050  
 25051  // Context sets the context to be used in this call's Do method. Any
 25052  // pending HTTP request will be aborted if the provided context is
 25053  // canceled.
 25054  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesDeleteCall {
 25055  	c.ctx_ = ctx
 25056  	return c
 25057  }
 25058  
 25059  // Header returns an http.Header that can be modified by the caller to
 25060  // add HTTP headers to the request.
 25061  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Header() http.Header {
 25062  	if c.header_ == nil {
 25063  		c.header_ = make(http.Header)
 25064  	}
 25065  	return c.header_
 25066  }
 25067  
 25068  func (c *ProjectsLocationsSfdcInstancesDeleteCall) doRequest(alt string) (*http.Response, error) {
 25069  	reqHeaders := make(http.Header)
 25070  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25071  	for k, v := range c.header_ {
 25072  		reqHeaders[k] = v
 25073  	}
 25074  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25075  	var body io.Reader = nil
 25076  	c.urlParams_.Set("alt", alt)
 25077  	c.urlParams_.Set("prettyPrint", "false")
 25078  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 25079  	urls += "?" + c.urlParams_.Encode()
 25080  	req, err := http.NewRequest("DELETE", urls, body)
 25081  	if err != nil {
 25082  		return nil, err
 25083  	}
 25084  	req.Header = reqHeaders
 25085  	googleapi.Expand(req.URL, map[string]string{
 25086  		"name": c.name,
 25087  	})
 25088  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25089  }
 25090  
 25091  // Do executes the "integrations.projects.locations.sfdcInstances.delete" call.
 25092  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 25093  // non-2xx status code is an error. Response headers are in either
 25094  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 25095  // returned at all) in error.(*googleapi.Error).Header. Use
 25096  // googleapi.IsNotModified to check whether the returned error was
 25097  // because http.StatusNotModified was returned.
 25098  func (c *ProjectsLocationsSfdcInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 25099  	gensupport.SetOptions(c.urlParams_, opts...)
 25100  	res, err := c.doRequest("json")
 25101  	if res != nil && res.StatusCode == http.StatusNotModified {
 25102  		if res.Body != nil {
 25103  			res.Body.Close()
 25104  		}
 25105  		return nil, gensupport.WrapError(&googleapi.Error{
 25106  			Code:   res.StatusCode,
 25107  			Header: res.Header,
 25108  		})
 25109  	}
 25110  	if err != nil {
 25111  		return nil, err
 25112  	}
 25113  	defer googleapi.CloseBody(res)
 25114  	if err := googleapi.CheckResponse(res); err != nil {
 25115  		return nil, gensupport.WrapError(err)
 25116  	}
 25117  	ret := &GoogleProtobufEmpty{
 25118  		ServerResponse: googleapi.ServerResponse{
 25119  			Header:         res.Header,
 25120  			HTTPStatusCode: res.StatusCode,
 25121  		},
 25122  	}
 25123  	target := &ret
 25124  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25125  		return nil, err
 25126  	}
 25127  	return ret, nil
 25128  	// {
 25129  	//   "description": "Deletes an sfdc instance.",
 25130  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}",
 25131  	//   "httpMethod": "DELETE",
 25132  	//   "id": "integrations.projects.locations.sfdcInstances.delete",
 25133  	//   "parameterOrder": [
 25134  	//     "name"
 25135  	//   ],
 25136  	//   "parameters": {
 25137  	//     "name": {
 25138  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 25139  	//       "location": "path",
 25140  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 25141  	//       "required": true,
 25142  	//       "type": "string"
 25143  	//     }
 25144  	//   },
 25145  	//   "path": "v1alpha/{+name}",
 25146  	//   "response": {
 25147  	//     "$ref": "GoogleProtobufEmpty"
 25148  	//   },
 25149  	//   "scopes": [
 25150  	//     "https://www.googleapis.com/auth/cloud-platform"
 25151  	//   ]
 25152  	// }
 25153  
 25154  }
 25155  
 25156  // method id "integrations.projects.locations.sfdcInstances.get":
 25157  
 25158  type ProjectsLocationsSfdcInstancesGetCall struct {
 25159  	s            *Service
 25160  	name         string
 25161  	urlParams_   gensupport.URLParams
 25162  	ifNoneMatch_ string
 25163  	ctx_         context.Context
 25164  	header_      http.Header
 25165  }
 25166  
 25167  // Get: Gets an sfdc instance. If the instance doesn't exist,
 25168  // Code.NOT_FOUND exception will be thrown.
 25169  //
 25170  // - name: The name that is associated with the SfdcInstance.
 25171  func (r *ProjectsLocationsSfdcInstancesService) Get(name string) *ProjectsLocationsSfdcInstancesGetCall {
 25172  	c := &ProjectsLocationsSfdcInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25173  	c.name = name
 25174  	return c
 25175  }
 25176  
 25177  // Fields allows partial responses to be retrieved. See
 25178  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25179  // for more information.
 25180  func (c *ProjectsLocationsSfdcInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesGetCall {
 25181  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25182  	return c
 25183  }
 25184  
 25185  // IfNoneMatch sets the optional parameter which makes the operation
 25186  // fail if the object's ETag matches the given value. This is useful for
 25187  // getting updates only after the object has changed since the last
 25188  // request. Use googleapi.IsNotModified to check whether the response
 25189  // error from Do is the result of In-None-Match.
 25190  func (c *ProjectsLocationsSfdcInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesGetCall {
 25191  	c.ifNoneMatch_ = entityTag
 25192  	return c
 25193  }
 25194  
 25195  // Context sets the context to be used in this call's Do method. Any
 25196  // pending HTTP request will be aborted if the provided context is
 25197  // canceled.
 25198  func (c *ProjectsLocationsSfdcInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesGetCall {
 25199  	c.ctx_ = ctx
 25200  	return c
 25201  }
 25202  
 25203  // Header returns an http.Header that can be modified by the caller to
 25204  // add HTTP headers to the request.
 25205  func (c *ProjectsLocationsSfdcInstancesGetCall) Header() http.Header {
 25206  	if c.header_ == nil {
 25207  		c.header_ = make(http.Header)
 25208  	}
 25209  	return c.header_
 25210  }
 25211  
 25212  func (c *ProjectsLocationsSfdcInstancesGetCall) doRequest(alt string) (*http.Response, error) {
 25213  	reqHeaders := make(http.Header)
 25214  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25215  	for k, v := range c.header_ {
 25216  		reqHeaders[k] = v
 25217  	}
 25218  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25219  	if c.ifNoneMatch_ != "" {
 25220  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25221  	}
 25222  	var body io.Reader = nil
 25223  	c.urlParams_.Set("alt", alt)
 25224  	c.urlParams_.Set("prettyPrint", "false")
 25225  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 25226  	urls += "?" + c.urlParams_.Encode()
 25227  	req, err := http.NewRequest("GET", urls, body)
 25228  	if err != nil {
 25229  		return nil, err
 25230  	}
 25231  	req.Header = reqHeaders
 25232  	googleapi.Expand(req.URL, map[string]string{
 25233  		"name": c.name,
 25234  	})
 25235  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25236  }
 25237  
 25238  // Do executes the "integrations.projects.locations.sfdcInstances.get" call.
 25239  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 25240  // will be non-nil. Any non-2xx status code is an error. Response
 25241  // headers are in either
 25242  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 25243  // (if a response was returned at all) in
 25244  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25245  // whether the returned error was because http.StatusNotModified was
 25246  // returned.
 25247  func (c *ProjectsLocationsSfdcInstancesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 25248  	gensupport.SetOptions(c.urlParams_, opts...)
 25249  	res, err := c.doRequest("json")
 25250  	if res != nil && res.StatusCode == http.StatusNotModified {
 25251  		if res.Body != nil {
 25252  			res.Body.Close()
 25253  		}
 25254  		return nil, gensupport.WrapError(&googleapi.Error{
 25255  			Code:   res.StatusCode,
 25256  			Header: res.Header,
 25257  		})
 25258  	}
 25259  	if err != nil {
 25260  		return nil, err
 25261  	}
 25262  	defer googleapi.CloseBody(res)
 25263  	if err := googleapi.CheckResponse(res); err != nil {
 25264  		return nil, gensupport.WrapError(err)
 25265  	}
 25266  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 25267  		ServerResponse: googleapi.ServerResponse{
 25268  			Header:         res.Header,
 25269  			HTTPStatusCode: res.StatusCode,
 25270  		},
 25271  	}
 25272  	target := &ret
 25273  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25274  		return nil, err
 25275  	}
 25276  	return ret, nil
 25277  	// {
 25278  	//   "description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.",
 25279  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}",
 25280  	//   "httpMethod": "GET",
 25281  	//   "id": "integrations.projects.locations.sfdcInstances.get",
 25282  	//   "parameterOrder": [
 25283  	//     "name"
 25284  	//   ],
 25285  	//   "parameters": {
 25286  	//     "name": {
 25287  	//       "description": "Required. The name that is associated with the SfdcInstance.",
 25288  	//       "location": "path",
 25289  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 25290  	//       "required": true,
 25291  	//       "type": "string"
 25292  	//     }
 25293  	//   },
 25294  	//   "path": "v1alpha/{+name}",
 25295  	//   "response": {
 25296  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 25297  	//   },
 25298  	//   "scopes": [
 25299  	//     "https://www.googleapis.com/auth/cloud-platform"
 25300  	//   ]
 25301  	// }
 25302  
 25303  }
 25304  
 25305  // method id "integrations.projects.locations.sfdcInstances.list":
 25306  
 25307  type ProjectsLocationsSfdcInstancesListCall struct {
 25308  	s            *Service
 25309  	parent       string
 25310  	urlParams_   gensupport.URLParams
 25311  	ifNoneMatch_ string
 25312  	ctx_         context.Context
 25313  	header_      http.Header
 25314  }
 25315  
 25316  // List: Lists all sfdc instances that match the filter. Restrict to
 25317  // sfdc instances belonging to the current client only.
 25318  //
 25319  // - parent: The client, which owns this collection of SfdcInstances.
 25320  func (r *ProjectsLocationsSfdcInstancesService) List(parent string) *ProjectsLocationsSfdcInstancesListCall {
 25321  	c := &ProjectsLocationsSfdcInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25322  	c.parent = parent
 25323  	return c
 25324  }
 25325  
 25326  // Filter sets the optional parameter "filter": Filtering as supported
 25327  // in
 25328  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 25329  func (c *ProjectsLocationsSfdcInstancesListCall) Filter(filter string) *ProjectsLocationsSfdcInstancesListCall {
 25330  	c.urlParams_.Set("filter", filter)
 25331  	return c
 25332  }
 25333  
 25334  // PageSize sets the optional parameter "pageSize": The size of entries
 25335  // in the response. If unspecified, defaults to 100.
 25336  func (c *ProjectsLocationsSfdcInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsSfdcInstancesListCall {
 25337  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 25338  	return c
 25339  }
 25340  
 25341  // PageToken sets the optional parameter "pageToken": The token returned
 25342  // in the previous response.
 25343  func (c *ProjectsLocationsSfdcInstancesListCall) PageToken(pageToken string) *ProjectsLocationsSfdcInstancesListCall {
 25344  	c.urlParams_.Set("pageToken", pageToken)
 25345  	return c
 25346  }
 25347  
 25348  // ReadMask sets the optional parameter "readMask": The mask which
 25349  // specifies fields that need to be returned in the SfdcInstance's
 25350  // response.
 25351  func (c *ProjectsLocationsSfdcInstancesListCall) ReadMask(readMask string) *ProjectsLocationsSfdcInstancesListCall {
 25352  	c.urlParams_.Set("readMask", readMask)
 25353  	return c
 25354  }
 25355  
 25356  // Fields allows partial responses to be retrieved. See
 25357  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25358  // for more information.
 25359  func (c *ProjectsLocationsSfdcInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesListCall {
 25360  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25361  	return c
 25362  }
 25363  
 25364  // IfNoneMatch sets the optional parameter which makes the operation
 25365  // fail if the object's ETag matches the given value. This is useful for
 25366  // getting updates only after the object has changed since the last
 25367  // request. Use googleapi.IsNotModified to check whether the response
 25368  // error from Do is the result of In-None-Match.
 25369  func (c *ProjectsLocationsSfdcInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesListCall {
 25370  	c.ifNoneMatch_ = entityTag
 25371  	return c
 25372  }
 25373  
 25374  // Context sets the context to be used in this call's Do method. Any
 25375  // pending HTTP request will be aborted if the provided context is
 25376  // canceled.
 25377  func (c *ProjectsLocationsSfdcInstancesListCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesListCall {
 25378  	c.ctx_ = ctx
 25379  	return c
 25380  }
 25381  
 25382  // Header returns an http.Header that can be modified by the caller to
 25383  // add HTTP headers to the request.
 25384  func (c *ProjectsLocationsSfdcInstancesListCall) Header() http.Header {
 25385  	if c.header_ == nil {
 25386  		c.header_ = make(http.Header)
 25387  	}
 25388  	return c.header_
 25389  }
 25390  
 25391  func (c *ProjectsLocationsSfdcInstancesListCall) doRequest(alt string) (*http.Response, error) {
 25392  	reqHeaders := make(http.Header)
 25393  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25394  	for k, v := range c.header_ {
 25395  		reqHeaders[k] = v
 25396  	}
 25397  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25398  	if c.ifNoneMatch_ != "" {
 25399  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25400  	}
 25401  	var body io.Reader = nil
 25402  	c.urlParams_.Set("alt", alt)
 25403  	c.urlParams_.Set("prettyPrint", "false")
 25404  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcInstances")
 25405  	urls += "?" + c.urlParams_.Encode()
 25406  	req, err := http.NewRequest("GET", urls, body)
 25407  	if err != nil {
 25408  		return nil, err
 25409  	}
 25410  	req.Header = reqHeaders
 25411  	googleapi.Expand(req.URL, map[string]string{
 25412  		"parent": c.parent,
 25413  	})
 25414  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25415  }
 25416  
 25417  // Do executes the "integrations.projects.locations.sfdcInstances.list" call.
 25418  // Exactly one of
 25419  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse or error
 25420  // will be non-nil. Any non-2xx status code is an error. Response
 25421  // headers are in either
 25422  // *GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse.ServerRespons
 25423  // e.Header or (if a response was returned at all) in
 25424  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25425  // whether the returned error was because http.StatusNotModified was
 25426  // returned.
 25427  func (c *ProjectsLocationsSfdcInstancesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse, error) {
 25428  	gensupport.SetOptions(c.urlParams_, opts...)
 25429  	res, err := c.doRequest("json")
 25430  	if res != nil && res.StatusCode == http.StatusNotModified {
 25431  		if res.Body != nil {
 25432  			res.Body.Close()
 25433  		}
 25434  		return nil, gensupport.WrapError(&googleapi.Error{
 25435  			Code:   res.StatusCode,
 25436  			Header: res.Header,
 25437  		})
 25438  	}
 25439  	if err != nil {
 25440  		return nil, err
 25441  	}
 25442  	defer googleapi.CloseBody(res)
 25443  	if err := googleapi.CheckResponse(res); err != nil {
 25444  		return nil, gensupport.WrapError(err)
 25445  	}
 25446  	ret := &GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse{
 25447  		ServerResponse: googleapi.ServerResponse{
 25448  			Header:         res.Header,
 25449  			HTTPStatusCode: res.StatusCode,
 25450  		},
 25451  	}
 25452  	target := &ret
 25453  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25454  		return nil, err
 25455  	}
 25456  	return ret, nil
 25457  	// {
 25458  	//   "description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.",
 25459  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances",
 25460  	//   "httpMethod": "GET",
 25461  	//   "id": "integrations.projects.locations.sfdcInstances.list",
 25462  	//   "parameterOrder": [
 25463  	//     "parent"
 25464  	//   ],
 25465  	//   "parameters": {
 25466  	//     "filter": {
 25467  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 25468  	//       "location": "query",
 25469  	//       "type": "string"
 25470  	//     },
 25471  	//     "pageSize": {
 25472  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 25473  	//       "format": "int32",
 25474  	//       "location": "query",
 25475  	//       "type": "integer"
 25476  	//     },
 25477  	//     "pageToken": {
 25478  	//       "description": "The token returned in the previous response.",
 25479  	//       "location": "query",
 25480  	//       "type": "string"
 25481  	//     },
 25482  	//     "parent": {
 25483  	//       "description": "Required. The client, which owns this collection of SfdcInstances.",
 25484  	//       "location": "path",
 25485  	//       "pattern": "^projects/[^/]+/locations/[^/]+$",
 25486  	//       "required": true,
 25487  	//       "type": "string"
 25488  	//     },
 25489  	//     "readMask": {
 25490  	//       "description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.",
 25491  	//       "format": "google-fieldmask",
 25492  	//       "location": "query",
 25493  	//       "type": "string"
 25494  	//     }
 25495  	//   },
 25496  	//   "path": "v1alpha/{+parent}/sfdcInstances",
 25497  	//   "response": {
 25498  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse"
 25499  	//   },
 25500  	//   "scopes": [
 25501  	//     "https://www.googleapis.com/auth/cloud-platform"
 25502  	//   ]
 25503  	// }
 25504  
 25505  }
 25506  
 25507  // Pages invokes f for each page of results.
 25508  // A non-nil error returned from f will halt the iteration.
 25509  // The provided context supersedes any context provided to the Context method.
 25510  func (c *ProjectsLocationsSfdcInstancesListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse) error) error {
 25511  	c.ctx_ = ctx
 25512  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 25513  	for {
 25514  		x, err := c.Do()
 25515  		if err != nil {
 25516  			return err
 25517  		}
 25518  		if err := f(x); err != nil {
 25519  			return err
 25520  		}
 25521  		if x.NextPageToken == "" {
 25522  			return nil
 25523  		}
 25524  		c.PageToken(x.NextPageToken)
 25525  	}
 25526  }
 25527  
 25528  // method id "integrations.projects.locations.sfdcInstances.patch":
 25529  
 25530  type ProjectsLocationsSfdcInstancesPatchCall struct {
 25531  	s                                          *Service
 25532  	name                                       string
 25533  	googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance
 25534  	urlParams_                                 gensupport.URLParams
 25535  	ctx_                                       context.Context
 25536  	header_                                    http.Header
 25537  }
 25538  
 25539  // Patch: Updates an sfdc instance. Updates the sfdc instance in
 25540  // spanner. Returns the sfdc instance.
 25541  //
 25542  //   - name: Resource name of the SFDC instance
 25543  //     projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}
 25544  //     .
 25545  func (r *ProjectsLocationsSfdcInstancesService) Patch(name string, googlecloudintegrationsv1alphasfdcinstance *GoogleCloudIntegrationsV1alphaSfdcInstance) *ProjectsLocationsSfdcInstancesPatchCall {
 25546  	c := &ProjectsLocationsSfdcInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25547  	c.name = name
 25548  	c.googlecloudintegrationsv1alphasfdcinstance = googlecloudintegrationsv1alphasfdcinstance
 25549  	return c
 25550  }
 25551  
 25552  // UpdateMask sets the optional parameter "updateMask": Field mask
 25553  // specifying the fields in the above SfdcInstance that have been
 25554  // modified and need to be updated.
 25555  func (c *ProjectsLocationsSfdcInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSfdcInstancesPatchCall {
 25556  	c.urlParams_.Set("updateMask", updateMask)
 25557  	return c
 25558  }
 25559  
 25560  // Fields allows partial responses to be retrieved. See
 25561  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25562  // for more information.
 25563  func (c *ProjectsLocationsSfdcInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesPatchCall {
 25564  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25565  	return c
 25566  }
 25567  
 25568  // Context sets the context to be used in this call's Do method. Any
 25569  // pending HTTP request will be aborted if the provided context is
 25570  // canceled.
 25571  func (c *ProjectsLocationsSfdcInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesPatchCall {
 25572  	c.ctx_ = ctx
 25573  	return c
 25574  }
 25575  
 25576  // Header returns an http.Header that can be modified by the caller to
 25577  // add HTTP headers to the request.
 25578  func (c *ProjectsLocationsSfdcInstancesPatchCall) Header() http.Header {
 25579  	if c.header_ == nil {
 25580  		c.header_ = make(http.Header)
 25581  	}
 25582  	return c.header_
 25583  }
 25584  
 25585  func (c *ProjectsLocationsSfdcInstancesPatchCall) doRequest(alt string) (*http.Response, error) {
 25586  	reqHeaders := make(http.Header)
 25587  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25588  	for k, v := range c.header_ {
 25589  		reqHeaders[k] = v
 25590  	}
 25591  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25592  	var body io.Reader = nil
 25593  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcinstance)
 25594  	if err != nil {
 25595  		return nil, err
 25596  	}
 25597  	reqHeaders.Set("Content-Type", "application/json")
 25598  	c.urlParams_.Set("alt", alt)
 25599  	c.urlParams_.Set("prettyPrint", "false")
 25600  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 25601  	urls += "?" + c.urlParams_.Encode()
 25602  	req, err := http.NewRequest("PATCH", urls, body)
 25603  	if err != nil {
 25604  		return nil, err
 25605  	}
 25606  	req.Header = reqHeaders
 25607  	googleapi.Expand(req.URL, map[string]string{
 25608  		"name": c.name,
 25609  	})
 25610  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25611  }
 25612  
 25613  // Do executes the "integrations.projects.locations.sfdcInstances.patch" call.
 25614  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcInstance or error
 25615  // will be non-nil. Any non-2xx status code is an error. Response
 25616  // headers are in either
 25617  // *GoogleCloudIntegrationsV1alphaSfdcInstance.ServerResponse.Header or
 25618  // (if a response was returned at all) in
 25619  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25620  // whether the returned error was because http.StatusNotModified was
 25621  // returned.
 25622  func (c *ProjectsLocationsSfdcInstancesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcInstance, error) {
 25623  	gensupport.SetOptions(c.urlParams_, opts...)
 25624  	res, err := c.doRequest("json")
 25625  	if res != nil && res.StatusCode == http.StatusNotModified {
 25626  		if res.Body != nil {
 25627  			res.Body.Close()
 25628  		}
 25629  		return nil, gensupport.WrapError(&googleapi.Error{
 25630  			Code:   res.StatusCode,
 25631  			Header: res.Header,
 25632  		})
 25633  	}
 25634  	if err != nil {
 25635  		return nil, err
 25636  	}
 25637  	defer googleapi.CloseBody(res)
 25638  	if err := googleapi.CheckResponse(res); err != nil {
 25639  		return nil, gensupport.WrapError(err)
 25640  	}
 25641  	ret := &GoogleCloudIntegrationsV1alphaSfdcInstance{
 25642  		ServerResponse: googleapi.ServerResponse{
 25643  			Header:         res.Header,
 25644  			HTTPStatusCode: res.StatusCode,
 25645  		},
 25646  	}
 25647  	target := &ret
 25648  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25649  		return nil, err
 25650  	}
 25651  	return ret, nil
 25652  	// {
 25653  	//   "description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.",
 25654  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}",
 25655  	//   "httpMethod": "PATCH",
 25656  	//   "id": "integrations.projects.locations.sfdcInstances.patch",
 25657  	//   "parameterOrder": [
 25658  	//     "name"
 25659  	//   ],
 25660  	//   "parameters": {
 25661  	//     "name": {
 25662  	//       "description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.",
 25663  	//       "location": "path",
 25664  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 25665  	//       "required": true,
 25666  	//       "type": "string"
 25667  	//     },
 25668  	//     "updateMask": {
 25669  	//       "description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.",
 25670  	//       "format": "google-fieldmask",
 25671  	//       "location": "query",
 25672  	//       "type": "string"
 25673  	//     }
 25674  	//   },
 25675  	//   "path": "v1alpha/{+name}",
 25676  	//   "request": {
 25677  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 25678  	//   },
 25679  	//   "response": {
 25680  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance"
 25681  	//   },
 25682  	//   "scopes": [
 25683  	//     "https://www.googleapis.com/auth/cloud-platform"
 25684  	//   ]
 25685  	// }
 25686  
 25687  }
 25688  
 25689  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.create":
 25690  
 25691  type ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall struct {
 25692  	s                                         *Service
 25693  	parent                                    string
 25694  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 25695  	urlParams_                                gensupport.URLParams
 25696  	ctx_                                      context.Context
 25697  	header_                                   http.Header
 25698  }
 25699  
 25700  // Create: Creates an sfdc channel record. Store the sfdc channel in
 25701  // Spanner. Returns the sfdc channel.
 25702  //
 25703  // - parent: "projects/{project}/locations/{location}" format.
 25704  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Create(parent string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall {
 25705  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25706  	c.parent = parent
 25707  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 25708  	return c
 25709  }
 25710  
 25711  // Fields allows partial responses to be retrieved. See
 25712  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25713  // for more information.
 25714  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall {
 25715  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25716  	return c
 25717  }
 25718  
 25719  // Context sets the context to be used in this call's Do method. Any
 25720  // pending HTTP request will be aborted if the provided context is
 25721  // canceled.
 25722  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall {
 25723  	c.ctx_ = ctx
 25724  	return c
 25725  }
 25726  
 25727  // Header returns an http.Header that can be modified by the caller to
 25728  // add HTTP headers to the request.
 25729  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Header() http.Header {
 25730  	if c.header_ == nil {
 25731  		c.header_ = make(http.Header)
 25732  	}
 25733  	return c.header_
 25734  }
 25735  
 25736  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) doRequest(alt string) (*http.Response, error) {
 25737  	reqHeaders := make(http.Header)
 25738  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25739  	for k, v := range c.header_ {
 25740  		reqHeaders[k] = v
 25741  	}
 25742  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25743  	var body io.Reader = nil
 25744  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 25745  	if err != nil {
 25746  		return nil, err
 25747  	}
 25748  	reqHeaders.Set("Content-Type", "application/json")
 25749  	c.urlParams_.Set("alt", alt)
 25750  	c.urlParams_.Set("prettyPrint", "false")
 25751  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcChannels")
 25752  	urls += "?" + c.urlParams_.Encode()
 25753  	req, err := http.NewRequest("POST", urls, body)
 25754  	if err != nil {
 25755  		return nil, err
 25756  	}
 25757  	req.Header = reqHeaders
 25758  	googleapi.Expand(req.URL, map[string]string{
 25759  		"parent": c.parent,
 25760  	})
 25761  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25762  }
 25763  
 25764  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.create" call.
 25765  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 25766  // will be non-nil. Any non-2xx status code is an error. Response
 25767  // headers are in either
 25768  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 25769  // (if a response was returned at all) in
 25770  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 25771  // whether the returned error was because http.StatusNotModified was
 25772  // returned.
 25773  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 25774  	gensupport.SetOptions(c.urlParams_, opts...)
 25775  	res, err := c.doRequest("json")
 25776  	if res != nil && res.StatusCode == http.StatusNotModified {
 25777  		if res.Body != nil {
 25778  			res.Body.Close()
 25779  		}
 25780  		return nil, gensupport.WrapError(&googleapi.Error{
 25781  			Code:   res.StatusCode,
 25782  			Header: res.Header,
 25783  		})
 25784  	}
 25785  	if err != nil {
 25786  		return nil, err
 25787  	}
 25788  	defer googleapi.CloseBody(res)
 25789  	if err := googleapi.CheckResponse(res); err != nil {
 25790  		return nil, gensupport.WrapError(err)
 25791  	}
 25792  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 25793  		ServerResponse: googleapi.ServerResponse{
 25794  			Header:         res.Header,
 25795  			HTTPStatusCode: res.StatusCode,
 25796  		},
 25797  	}
 25798  	target := &ret
 25799  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25800  		return nil, err
 25801  	}
 25802  	return ret, nil
 25803  	// {
 25804  	//   "description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.",
 25805  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 25806  	//   "httpMethod": "POST",
 25807  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.create",
 25808  	//   "parameterOrder": [
 25809  	//     "parent"
 25810  	//   ],
 25811  	//   "parameters": {
 25812  	//     "parent": {
 25813  	//       "description": "Required. \"projects/{project}/locations/{location}\" format.",
 25814  	//       "location": "path",
 25815  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 25816  	//       "required": true,
 25817  	//       "type": "string"
 25818  	//     }
 25819  	//   },
 25820  	//   "path": "v1alpha/{+parent}/sfdcChannels",
 25821  	//   "request": {
 25822  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 25823  	//   },
 25824  	//   "response": {
 25825  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 25826  	//   },
 25827  	//   "scopes": [
 25828  	//     "https://www.googleapis.com/auth/cloud-platform"
 25829  	//   ]
 25830  	// }
 25831  
 25832  }
 25833  
 25834  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.delete":
 25835  
 25836  type ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall struct {
 25837  	s          *Service
 25838  	name       string
 25839  	urlParams_ gensupport.URLParams
 25840  	ctx_       context.Context
 25841  	header_    http.Header
 25842  }
 25843  
 25844  // Delete: Deletes an sfdc channel.
 25845  //
 25846  // - name: The name that is associated with the SfdcChannel.
 25847  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Delete(name string) *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall {
 25848  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25849  	c.name = name
 25850  	return c
 25851  }
 25852  
 25853  // Fields allows partial responses to be retrieved. See
 25854  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25855  // for more information.
 25856  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall {
 25857  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25858  	return c
 25859  }
 25860  
 25861  // Context sets the context to be used in this call's Do method. Any
 25862  // pending HTTP request will be aborted if the provided context is
 25863  // canceled.
 25864  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall {
 25865  	c.ctx_ = ctx
 25866  	return c
 25867  }
 25868  
 25869  // Header returns an http.Header that can be modified by the caller to
 25870  // add HTTP headers to the request.
 25871  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Header() http.Header {
 25872  	if c.header_ == nil {
 25873  		c.header_ = make(http.Header)
 25874  	}
 25875  	return c.header_
 25876  }
 25877  
 25878  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) doRequest(alt string) (*http.Response, error) {
 25879  	reqHeaders := make(http.Header)
 25880  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 25881  	for k, v := range c.header_ {
 25882  		reqHeaders[k] = v
 25883  	}
 25884  	reqHeaders.Set("User-Agent", c.s.userAgent())
 25885  	var body io.Reader = nil
 25886  	c.urlParams_.Set("alt", alt)
 25887  	c.urlParams_.Set("prettyPrint", "false")
 25888  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 25889  	urls += "?" + c.urlParams_.Encode()
 25890  	req, err := http.NewRequest("DELETE", urls, body)
 25891  	if err != nil {
 25892  		return nil, err
 25893  	}
 25894  	req.Header = reqHeaders
 25895  	googleapi.Expand(req.URL, map[string]string{
 25896  		"name": c.name,
 25897  	})
 25898  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25899  }
 25900  
 25901  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.delete" call.
 25902  // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any
 25903  // non-2xx status code is an error. Response headers are in either
 25904  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was
 25905  // returned at all) in error.(*googleapi.Error).Header. Use
 25906  // googleapi.IsNotModified to check whether the returned error was
 25907  // because http.StatusNotModified was returned.
 25908  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 25909  	gensupport.SetOptions(c.urlParams_, opts...)
 25910  	res, err := c.doRequest("json")
 25911  	if res != nil && res.StatusCode == http.StatusNotModified {
 25912  		if res.Body != nil {
 25913  			res.Body.Close()
 25914  		}
 25915  		return nil, gensupport.WrapError(&googleapi.Error{
 25916  			Code:   res.StatusCode,
 25917  			Header: res.Header,
 25918  		})
 25919  	}
 25920  	if err != nil {
 25921  		return nil, err
 25922  	}
 25923  	defer googleapi.CloseBody(res)
 25924  	if err := googleapi.CheckResponse(res); err != nil {
 25925  		return nil, gensupport.WrapError(err)
 25926  	}
 25927  	ret := &GoogleProtobufEmpty{
 25928  		ServerResponse: googleapi.ServerResponse{
 25929  			Header:         res.Header,
 25930  			HTTPStatusCode: res.StatusCode,
 25931  		},
 25932  	}
 25933  	target := &ret
 25934  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25935  		return nil, err
 25936  	}
 25937  	return ret, nil
 25938  	// {
 25939  	//   "description": "Deletes an sfdc channel.",
 25940  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 25941  	//   "httpMethod": "DELETE",
 25942  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.delete",
 25943  	//   "parameterOrder": [
 25944  	//     "name"
 25945  	//   ],
 25946  	//   "parameters": {
 25947  	//     "name": {
 25948  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 25949  	//       "location": "path",
 25950  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 25951  	//       "required": true,
 25952  	//       "type": "string"
 25953  	//     }
 25954  	//   },
 25955  	//   "path": "v1alpha/{+name}",
 25956  	//   "response": {
 25957  	//     "$ref": "GoogleProtobufEmpty"
 25958  	//   },
 25959  	//   "scopes": [
 25960  	//     "https://www.googleapis.com/auth/cloud-platform"
 25961  	//   ]
 25962  	// }
 25963  
 25964  }
 25965  
 25966  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.get":
 25967  
 25968  type ProjectsLocationsSfdcInstancesSfdcChannelsGetCall struct {
 25969  	s            *Service
 25970  	name         string
 25971  	urlParams_   gensupport.URLParams
 25972  	ifNoneMatch_ string
 25973  	ctx_         context.Context
 25974  	header_      http.Header
 25975  }
 25976  
 25977  // Get: Gets an sfdc channel. If the channel doesn't exist,
 25978  // Code.NOT_FOUND exception will be thrown.
 25979  //
 25980  // - name: The name that is associated with the SfdcChannel.
 25981  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Get(name string) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 25982  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25983  	c.name = name
 25984  	return c
 25985  }
 25986  
 25987  // Fields allows partial responses to be retrieved. See
 25988  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 25989  // for more information.
 25990  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 25991  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25992  	return c
 25993  }
 25994  
 25995  // IfNoneMatch sets the optional parameter which makes the operation
 25996  // fail if the object's ETag matches the given value. This is useful for
 25997  // getting updates only after the object has changed since the last
 25998  // request. Use googleapi.IsNotModified to check whether the response
 25999  // error from Do is the result of In-None-Match.
 26000  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 26001  	c.ifNoneMatch_ = entityTag
 26002  	return c
 26003  }
 26004  
 26005  // Context sets the context to be used in this call's Do method. Any
 26006  // pending HTTP request will be aborted if the provided context is
 26007  // canceled.
 26008  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall {
 26009  	c.ctx_ = ctx
 26010  	return c
 26011  }
 26012  
 26013  // Header returns an http.Header that can be modified by the caller to
 26014  // add HTTP headers to the request.
 26015  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Header() http.Header {
 26016  	if c.header_ == nil {
 26017  		c.header_ = make(http.Header)
 26018  	}
 26019  	return c.header_
 26020  }
 26021  
 26022  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) doRequest(alt string) (*http.Response, error) {
 26023  	reqHeaders := make(http.Header)
 26024  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26025  	for k, v := range c.header_ {
 26026  		reqHeaders[k] = v
 26027  	}
 26028  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26029  	if c.ifNoneMatch_ != "" {
 26030  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 26031  	}
 26032  	var body io.Reader = nil
 26033  	c.urlParams_.Set("alt", alt)
 26034  	c.urlParams_.Set("prettyPrint", "false")
 26035  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 26036  	urls += "?" + c.urlParams_.Encode()
 26037  	req, err := http.NewRequest("GET", urls, body)
 26038  	if err != nil {
 26039  		return nil, err
 26040  	}
 26041  	req.Header = reqHeaders
 26042  	googleapi.Expand(req.URL, map[string]string{
 26043  		"name": c.name,
 26044  	})
 26045  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26046  }
 26047  
 26048  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.get" call.
 26049  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 26050  // will be non-nil. Any non-2xx status code is an error. Response
 26051  // headers are in either
 26052  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 26053  // (if a response was returned at all) in
 26054  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26055  // whether the returned error was because http.StatusNotModified was
 26056  // returned.
 26057  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 26058  	gensupport.SetOptions(c.urlParams_, opts...)
 26059  	res, err := c.doRequest("json")
 26060  	if res != nil && res.StatusCode == http.StatusNotModified {
 26061  		if res.Body != nil {
 26062  			res.Body.Close()
 26063  		}
 26064  		return nil, gensupport.WrapError(&googleapi.Error{
 26065  			Code:   res.StatusCode,
 26066  			Header: res.Header,
 26067  		})
 26068  	}
 26069  	if err != nil {
 26070  		return nil, err
 26071  	}
 26072  	defer googleapi.CloseBody(res)
 26073  	if err := googleapi.CheckResponse(res); err != nil {
 26074  		return nil, gensupport.WrapError(err)
 26075  	}
 26076  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 26077  		ServerResponse: googleapi.ServerResponse{
 26078  			Header:         res.Header,
 26079  			HTTPStatusCode: res.StatusCode,
 26080  		},
 26081  	}
 26082  	target := &ret
 26083  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26084  		return nil, err
 26085  	}
 26086  	return ret, nil
 26087  	// {
 26088  	//   "description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.",
 26089  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 26090  	//   "httpMethod": "GET",
 26091  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.get",
 26092  	//   "parameterOrder": [
 26093  	//     "name"
 26094  	//   ],
 26095  	//   "parameters": {
 26096  	//     "name": {
 26097  	//       "description": "Required. The name that is associated with the SfdcChannel.",
 26098  	//       "location": "path",
 26099  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 26100  	//       "required": true,
 26101  	//       "type": "string"
 26102  	//     }
 26103  	//   },
 26104  	//   "path": "v1alpha/{+name}",
 26105  	//   "response": {
 26106  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 26107  	//   },
 26108  	//   "scopes": [
 26109  	//     "https://www.googleapis.com/auth/cloud-platform"
 26110  	//   ]
 26111  	// }
 26112  
 26113  }
 26114  
 26115  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.list":
 26116  
 26117  type ProjectsLocationsSfdcInstancesSfdcChannelsListCall struct {
 26118  	s            *Service
 26119  	parent       string
 26120  	urlParams_   gensupport.URLParams
 26121  	ifNoneMatch_ string
 26122  	ctx_         context.Context
 26123  	header_      http.Header
 26124  }
 26125  
 26126  // List: Lists all sfdc channels that match the filter. Restrict to sfdc
 26127  // channels belonging to the current client only.
 26128  //
 26129  // - parent: The client, which owns this collection of SfdcChannels.
 26130  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) List(parent string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26131  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26132  	c.parent = parent
 26133  	return c
 26134  }
 26135  
 26136  // Filter sets the optional parameter "filter": Filtering as supported
 26137  // in
 26138  // https://developers.google.com/authorized-buyers/apis/guides/list-filters.
 26139  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Filter(filter string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26140  	c.urlParams_.Set("filter", filter)
 26141  	return c
 26142  }
 26143  
 26144  // PageSize sets the optional parameter "pageSize": The size of entries
 26145  // in the response. If unspecified, defaults to 100.
 26146  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) PageSize(pageSize int64) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26147  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 26148  	return c
 26149  }
 26150  
 26151  // PageToken sets the optional parameter "pageToken": The token returned
 26152  // in the previous response.
 26153  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) PageToken(pageToken string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26154  	c.urlParams_.Set("pageToken", pageToken)
 26155  	return c
 26156  }
 26157  
 26158  // ReadMask sets the optional parameter "readMask": The mask which
 26159  // specifies fields that need to be returned in the SfdcChannel's
 26160  // response.
 26161  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) ReadMask(readMask string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26162  	c.urlParams_.Set("readMask", readMask)
 26163  	return c
 26164  }
 26165  
 26166  // Fields allows partial responses to be retrieved. See
 26167  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26168  // for more information.
 26169  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26170  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26171  	return c
 26172  }
 26173  
 26174  // IfNoneMatch sets the optional parameter which makes the operation
 26175  // fail if the object's ETag matches the given value. This is useful for
 26176  // getting updates only after the object has changed since the last
 26177  // request. Use googleapi.IsNotModified to check whether the response
 26178  // error from Do is the result of In-None-Match.
 26179  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26180  	c.ifNoneMatch_ = entityTag
 26181  	return c
 26182  }
 26183  
 26184  // Context sets the context to be used in this call's Do method. Any
 26185  // pending HTTP request will be aborted if the provided context is
 26186  // canceled.
 26187  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsListCall {
 26188  	c.ctx_ = ctx
 26189  	return c
 26190  }
 26191  
 26192  // Header returns an http.Header that can be modified by the caller to
 26193  // add HTTP headers to the request.
 26194  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Header() http.Header {
 26195  	if c.header_ == nil {
 26196  		c.header_ = make(http.Header)
 26197  	}
 26198  	return c.header_
 26199  }
 26200  
 26201  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) doRequest(alt string) (*http.Response, error) {
 26202  	reqHeaders := make(http.Header)
 26203  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26204  	for k, v := range c.header_ {
 26205  		reqHeaders[k] = v
 26206  	}
 26207  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26208  	if c.ifNoneMatch_ != "" {
 26209  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 26210  	}
 26211  	var body io.Reader = nil
 26212  	c.urlParams_.Set("alt", alt)
 26213  	c.urlParams_.Set("prettyPrint", "false")
 26214  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/sfdcChannels")
 26215  	urls += "?" + c.urlParams_.Encode()
 26216  	req, err := http.NewRequest("GET", urls, body)
 26217  	if err != nil {
 26218  		return nil, err
 26219  	}
 26220  	req.Header = reqHeaders
 26221  	googleapi.Expand(req.URL, map[string]string{
 26222  		"parent": c.parent,
 26223  	})
 26224  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26225  }
 26226  
 26227  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.list" call.
 26228  // Exactly one of
 26229  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse or error will
 26230  // be non-nil. Any non-2xx status code is an error. Response headers are
 26231  // in either
 26232  // *GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse.ServerResponse
 26233  // .Header or (if a response was returned at all) in
 26234  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26235  // whether the returned error was because http.StatusNotModified was
 26236  // returned.
 26237  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse, error) {
 26238  	gensupport.SetOptions(c.urlParams_, opts...)
 26239  	res, err := c.doRequest("json")
 26240  	if res != nil && res.StatusCode == http.StatusNotModified {
 26241  		if res.Body != nil {
 26242  			res.Body.Close()
 26243  		}
 26244  		return nil, gensupport.WrapError(&googleapi.Error{
 26245  			Code:   res.StatusCode,
 26246  			Header: res.Header,
 26247  		})
 26248  	}
 26249  	if err != nil {
 26250  		return nil, err
 26251  	}
 26252  	defer googleapi.CloseBody(res)
 26253  	if err := googleapi.CheckResponse(res); err != nil {
 26254  		return nil, gensupport.WrapError(err)
 26255  	}
 26256  	ret := &GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse{
 26257  		ServerResponse: googleapi.ServerResponse{
 26258  			Header:         res.Header,
 26259  			HTTPStatusCode: res.StatusCode,
 26260  		},
 26261  	}
 26262  	target := &ret
 26263  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26264  		return nil, err
 26265  	}
 26266  	return ret, nil
 26267  	// {
 26268  	//   "description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.",
 26269  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels",
 26270  	//   "httpMethod": "GET",
 26271  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.list",
 26272  	//   "parameterOrder": [
 26273  	//     "parent"
 26274  	//   ],
 26275  	//   "parameters": {
 26276  	//     "filter": {
 26277  	//       "description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.",
 26278  	//       "location": "query",
 26279  	//       "type": "string"
 26280  	//     },
 26281  	//     "pageSize": {
 26282  	//       "description": "The size of entries in the response. If unspecified, defaults to 100.",
 26283  	//       "format": "int32",
 26284  	//       "location": "query",
 26285  	//       "type": "integer"
 26286  	//     },
 26287  	//     "pageToken": {
 26288  	//       "description": "The token returned in the previous response.",
 26289  	//       "location": "query",
 26290  	//       "type": "string"
 26291  	//     },
 26292  	//     "parent": {
 26293  	//       "description": "Required. The client, which owns this collection of SfdcChannels.",
 26294  	//       "location": "path",
 26295  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$",
 26296  	//       "required": true,
 26297  	//       "type": "string"
 26298  	//     },
 26299  	//     "readMask": {
 26300  	//       "description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.",
 26301  	//       "format": "google-fieldmask",
 26302  	//       "location": "query",
 26303  	//       "type": "string"
 26304  	//     }
 26305  	//   },
 26306  	//   "path": "v1alpha/{+parent}/sfdcChannels",
 26307  	//   "response": {
 26308  	//     "$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse"
 26309  	//   },
 26310  	//   "scopes": [
 26311  	//     "https://www.googleapis.com/auth/cloud-platform"
 26312  	//   ]
 26313  	// }
 26314  
 26315  }
 26316  
 26317  // Pages invokes f for each page of results.
 26318  // A non-nil error returned from f will halt the iteration.
 26319  // The provided context supersedes any context provided to the Context method.
 26320  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsListCall) Pages(ctx context.Context, f func(*GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse) error) error {
 26321  	c.ctx_ = ctx
 26322  	defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
 26323  	for {
 26324  		x, err := c.Do()
 26325  		if err != nil {
 26326  			return err
 26327  		}
 26328  		if err := f(x); err != nil {
 26329  			return err
 26330  		}
 26331  		if x.NextPageToken == "" {
 26332  			return nil
 26333  		}
 26334  		c.PageToken(x.NextPageToken)
 26335  	}
 26336  }
 26337  
 26338  // method id "integrations.projects.locations.sfdcInstances.sfdcChannels.patch":
 26339  
 26340  type ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall struct {
 26341  	s                                         *Service
 26342  	name                                      string
 26343  	googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel
 26344  	urlParams_                                gensupport.URLParams
 26345  	ctx_                                      context.Context
 26346  	header_                                   http.Header
 26347  }
 26348  
 26349  // Patch: Updates an sfdc channel. Updates the sfdc channel in spanner.
 26350  // Returns the sfdc channel.
 26351  //
 26352  //   - name: Resource name of the SFDC channel
 26353  //     projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance
 26354  //     }/sfdcChannels/{sfdc_channel}.
 26355  func (r *ProjectsLocationsSfdcInstancesSfdcChannelsService) Patch(name string, googlecloudintegrationsv1alphasfdcchannel *GoogleCloudIntegrationsV1alphaSfdcChannel) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 26356  	c := &ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26357  	c.name = name
 26358  	c.googlecloudintegrationsv1alphasfdcchannel = googlecloudintegrationsv1alphasfdcchannel
 26359  	return c
 26360  }
 26361  
 26362  // UpdateMask sets the optional parameter "updateMask": Field mask
 26363  // specifying the fields in the above SfdcChannel that have been
 26364  // modified and need to be updated.
 26365  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 26366  	c.urlParams_.Set("updateMask", updateMask)
 26367  	return c
 26368  }
 26369  
 26370  // Fields allows partial responses to be retrieved. See
 26371  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
 26372  // for more information.
 26373  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 26374  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26375  	return c
 26376  }
 26377  
 26378  // Context sets the context to be used in this call's Do method. Any
 26379  // pending HTTP request will be aborted if the provided context is
 26380  // canceled.
 26381  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Context(ctx context.Context) *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall {
 26382  	c.ctx_ = ctx
 26383  	return c
 26384  }
 26385  
 26386  // Header returns an http.Header that can be modified by the caller to
 26387  // add HTTP headers to the request.
 26388  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Header() http.Header {
 26389  	if c.header_ == nil {
 26390  		c.header_ = make(http.Header)
 26391  	}
 26392  	return c.header_
 26393  }
 26394  
 26395  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) doRequest(alt string) (*http.Response, error) {
 26396  	reqHeaders := make(http.Header)
 26397  	reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version)
 26398  	for k, v := range c.header_ {
 26399  		reqHeaders[k] = v
 26400  	}
 26401  	reqHeaders.Set("User-Agent", c.s.userAgent())
 26402  	var body io.Reader = nil
 26403  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudintegrationsv1alphasfdcchannel)
 26404  	if err != nil {
 26405  		return nil, err
 26406  	}
 26407  	reqHeaders.Set("Content-Type", "application/json")
 26408  	c.urlParams_.Set("alt", alt)
 26409  	c.urlParams_.Set("prettyPrint", "false")
 26410  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}")
 26411  	urls += "?" + c.urlParams_.Encode()
 26412  	req, err := http.NewRequest("PATCH", urls, body)
 26413  	if err != nil {
 26414  		return nil, err
 26415  	}
 26416  	req.Header = reqHeaders
 26417  	googleapi.Expand(req.URL, map[string]string{
 26418  		"name": c.name,
 26419  	})
 26420  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26421  }
 26422  
 26423  // Do executes the "integrations.projects.locations.sfdcInstances.sfdcChannels.patch" call.
 26424  // Exactly one of *GoogleCloudIntegrationsV1alphaSfdcChannel or error
 26425  // will be non-nil. Any non-2xx status code is an error. Response
 26426  // headers are in either
 26427  // *GoogleCloudIntegrationsV1alphaSfdcChannel.ServerResponse.Header or
 26428  // (if a response was returned at all) in
 26429  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26430  // whether the returned error was because http.StatusNotModified was
 26431  // returned.
 26432  func (c *ProjectsLocationsSfdcInstancesSfdcChannelsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIntegrationsV1alphaSfdcChannel, error) {
 26433  	gensupport.SetOptions(c.urlParams_, opts...)
 26434  	res, err := c.doRequest("json")
 26435  	if res != nil && res.StatusCode == http.StatusNotModified {
 26436  		if res.Body != nil {
 26437  			res.Body.Close()
 26438  		}
 26439  		return nil, gensupport.WrapError(&googleapi.Error{
 26440  			Code:   res.StatusCode,
 26441  			Header: res.Header,
 26442  		})
 26443  	}
 26444  	if err != nil {
 26445  		return nil, err
 26446  	}
 26447  	defer googleapi.CloseBody(res)
 26448  	if err := googleapi.CheckResponse(res); err != nil {
 26449  		return nil, gensupport.WrapError(err)
 26450  	}
 26451  	ret := &GoogleCloudIntegrationsV1alphaSfdcChannel{
 26452  		ServerResponse: googleapi.ServerResponse{
 26453  			Header:         res.Header,
 26454  			HTTPStatusCode: res.StatusCode,
 26455  		},
 26456  	}
 26457  	target := &ret
 26458  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26459  		return nil, err
 26460  	}
 26461  	return ret, nil
 26462  	// {
 26463  	//   "description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.",
 26464  	//   "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}",
 26465  	//   "httpMethod": "PATCH",
 26466  	//   "id": "integrations.projects.locations.sfdcInstances.sfdcChannels.patch",
 26467  	//   "parameterOrder": [
 26468  	//     "name"
 26469  	//   ],
 26470  	//   "parameters": {
 26471  	//     "name": {
 26472  	//       "description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.",
 26473  	//       "location": "path",
 26474  	//       "pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$",
 26475  	//       "required": true,
 26476  	//       "type": "string"
 26477  	//     },
 26478  	//     "updateMask": {
 26479  	//       "description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.",
 26480  	//       "format": "google-fieldmask",
 26481  	//       "location": "query",
 26482  	//       "type": "string"
 26483  	//     }
 26484  	//   },
 26485  	//   "path": "v1alpha/{+name}",
 26486  	//   "request": {
 26487  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 26488  	//   },
 26489  	//   "response": {
 26490  	//     "$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel"
 26491  	//   },
 26492  	//   "scopes": [
 26493  	//     "https://www.googleapis.com/auth/cloud-platform"
 26494  	//   ]
 26495  	// }
 26496  
 26497  }
 26498  

View as plain text